Commit Graph

203 Commits

Author SHA1 Message Date
Lionel Dricot 9d5a1a9e4c don’t refresh more than every 1h 2021-12-16 13:10:55 +01:00
Lionel Dricot de840bdf9f Solve accessing url without trailing / and add online command 2021-12-16 10:43:25 +01:00
Lionel Dricot ce38b49ba6 by default, mimetype is text/gemini 2021-12-15 11:49:40 +01:00
Lionel Dricot 502668c3c6 support for caching every MIMETYPE 2021-12-15 11:45:55 +01:00
Lionel Dricot 3d6c702fda more elegant solution when redirecting to index.gmi 2021-12-15 11:05:38 +01:00
Lionel Dricot 10d6c3110f Hell of a hack for naughty bug + handle offline reload 2021-12-14 16:33:17 +01:00
Lionel Dricot 1a21c902cb content not cached will be marked for next sync 2021-12-14 16:07:02 +01:00
Lionel Dricot f457f08c2f new links found while syncing are automatically added to tour (and tour is preserved accross session 2021-12-14 15:26:37 +01:00
Lionel Dricot f1d85094c9 tour is now saved accross session 2021-12-14 15:12:43 +01:00
Lionel Dricot 72f2b5f91c --synconly is now --sync and has a fancy output 2021-12-14 14:06:07 +01:00
Lionel Dricot 1bf23193c4 trying to not open xml files in synconly also prevented parsing and thus recursive retrieval 2021-12-14 13:29:09 +01:00
Lionel Dricot 2ac144dc00 offline web browser option 2021-12-13 14:30:40 +01:00
Lionel Dricot a5c2341785 synconly a lot more faster and efficient 2021-12-13 13:49:12 +01:00
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 9342bccec7 more bugs listed in README 2021-12-07 14:06:48 +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 25247eaa90 README 2021-12-06 17:13:19 +01:00
Lionel Dricot 26e083d894 README 2021-12-06 17:12:45 +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 37e2c671e4 Updated version in setup.py as well 2021-08-25 08:34:24 +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 94c0de9b15 Clarify status as a fork of AV-98 in Readme 2021-05-05 09:13:49 +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 265a69a6ed Document RC files. Closes #27. 2020-12-24 13:27:18 +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