Commit Graph

172 Commits

Author SHA1 Message Date
Lionel Dricot 4212a4fd2b off-98 prompt 2021-12-10 15:24:26 +01:00
Lionel Dricot 9da4fd150b basic --synconly mode is now working 2021-12-10 11:27:48 +01:00
Lionel Dricot 6586f0834a some links are still crashing with sync_only 2021-12-09 18:05:46 +01:00
Lionel Dricot 0c333ce4bb sync-only mode now cache bookmarks 2021-12-09 17:23:50 +01:00
Lionel Dricot f58b96e894 first step for a sync_only mode 2021-12-09 15:12:32 +01:00
Lionel Dricot 9fb7c610bf ugly hack to fix caching for URL without / at the end 2021-12-07 13:08:43 +01:00
Lionel Dricot 9cc713431c Offline now works for basic usecase ! 2021-12-06 17:03:22 +01:00
Lionel Dricot b1c9220fc5 offline switchg 2021-12-06 16:43:16 +01:00
Lionel Dricot acdc83ed6d permanent cache is now created 2021-12-06 16:17:01 +01:00
Lionel Dricot 07ee2e9782 cache path by default 2021-12-04 21:01:11 +01:00
Lionel Dricot 1fff962e45 bad code to have cache_path 2021-12-04 19:52:08 +01:00
Lionel Dricot 79b24e960c adding comment to understand 2021-12-02 16:27:14 +01:00
Björn Wärmedal 62898d3938 Jake's solution for the local files bug 2021-11-18 12:02:00 +01:00
Björn Wärmedal 292a68fc23 Removed a bunch of unnecessary certificate checks. 2021-10-06 11:07:08 +02:00
Björn Wärmedal 49db2732be Updated contributors list. Thank you Jake for the tour reverse-range and https proxy solutions! 2021-08-25 08:07:18 +02:00
Björn Wärmedal 6c38132259 Added https proxy setting, similar to gopher proxy. Also bumped version number. 2021-08-25 08:03:12 +02:00
Björn Wärmedal 4408963c69 Reverse tour add: 'tour 50-40' will now add all links in that range in that order. 2021-08-25 08:01:16 +02:00
Björn Wärmedal 7468dcef77 replaced GUS with geminispace.info, since GUS is dead 2021-04-27 09:55:12 +02:00
Björn Wärmedal c86cbdedca Increased default timeout (geminispace.info searches usually take longer) 2021-04-27 09:53:58 +02:00
Björn Wärmedal b6bae540ba Show name of activated client cert 2021-02-03 08:06:27 +01:00
Solderpunk 129c56c1d4 Fix another hasty cache hack bug. 2020-09-03 21:21:04 +02:00
Solderpunk ba0f707669 Ignore the cache when reloading a page. 2020-09-01 23:27:59 +02:00
Solderpunk 67f9c662b3 Add option to disable caching. 2020-09-01 23:11:55 +02:00
Solderpunk 545d5f917d Count cache hits in black box output. 2020-09-01 21:14:17 +02:00
Solderpunk f45630450f Make sure early terminations of _fetch_over_network happen via an exception, not by returning None. Factor out certificate handling interface. 2020-08-31 21:18:15 +02:00
Solderpunk 4e8f3dcd05 Fix variable name bug introduced by hasty hacking of cache system. 2020-08-31 21:17:06 +02:00
Solderpunk 08c60e202b Turn some magic numbers into constants. 2020-08-30 23:17:21 +02:00
Solderpunk 0f328141b9 Initial implementation of short-term caching. 2020-08-30 20:21:15 +02:00
Solderpunk 4d652e0fef Remove more transient client certificate stuff. 2020-08-30 18:16:31 +02:00
Solderpunk da8b6cc7f3 Visually distinguish non-Gemini links from Gemini links. 2020-08-30 17:23:36 +02:00
Solderpunk 969d3c1b18 Permit use of ~ in key/cert files. 2020-08-30 16:52:06 +02:00
Solderpunk e20ac17107 Stop treating transient client certificates as a special case. 2020-08-18 21:41:51 +02:00
Solderpunk d39cddcc84 Make default MIME handlers more generic. 2020-08-18 21:14:04 +02:00
Solderpunk 03be5bfebf Use proper handler resolution logic for the text/gemini case (so that settings for text/* can apply). 2020-08-18 21:13:26 +02:00
Solderpunk 72754114f4 Error out if a URL attempts to redirect to itself. 2020-08-18 21:06:12 +02:00
Solderpunk 1509f895f1 Rename handle_index handle_gemtext, for clarity. It should have been called handle_menu in VF-1 in the first place, anyway. 2020-08-18 21:05:49 +02:00
govynnus 99e5ceec65 Fix some bugs in the 'cert' UI
- os.path.exists() allows directories so use os.path.isfile() instead
- os.path.isfile() does not interpret '~' as /home/<user> so add note to users
- Use right certificate directory in `mycert` example
- Display a message and abort if no previously generated certs
2020-08-14 22:13:21 +01:00
Solderpunk ce834dd231 Use correct handler for text/gemini content. 2020-08-11 22:01:47 +02:00
Solderpunk 96cf8e13fe ACTUALLY fix time conversion bug as attempted in 76d7d, grumble, grumble... 2020-06-14 12:28:34 +02:00
Solderpunk 097458754e Bump version for development. 2020-06-13 23:42:36 +02:00
Solderpunk b972ca7d5d Release 1.0.1. 2020-06-13 23:39:04 +02:00
Solderpunk 76d7d23a2a Fix time conversion bug in blackbox command. 2020-06-13 15:36:05 +02:00
Vee 3cf447cc3a Standardize abbrevs formatting
The output format for `help` includes a trailing and leading blank line,
which were missing from `abbrevs` output. Additionally, `help` includes
a colon at the end of the header line, which this commit also adds to
`abbrevs` output.
2020-06-13 06:39:18 -04:00
Solderpunk dfa1dd7fd0 Don't choke on non gopher/gemini/http(s) links. Closes #18. 2020-06-09 22:13:42 +02:00
Solderpunk 44ee42ba8a Check that a file exists before trying to delete it. Rare errors can cause code paths leading to attempted double deletion. 2020-06-08 21:52:28 +02:00
Solderpunk 9526c384db Bump version for development. 2020-06-08 18:49:26 +02:00
Solderpunk 9a80987587 Cut 1.0.0! 2020-06-07 22:51:02 +02:00
Solderpunk be20eb4a50 Add docstrings for client cert methods. 2020-06-07 20:42:19 +02:00
Solderpunk b8fa8233bc Support new status code 11. 2020-06-07 19:13:00 +02:00
Solderpunk 94cf54df18 Recognise quote line type. 2020-06-07 19:09:53 +02:00