Commit Graph

61 Commits

Author SHA1 Message Date
Solderpunk 6d4c8e2dc9 First stab at putting an interactive interface on client certificates. 2020-05-10 12:35:46 +02:00
Solderpunk f6f0c5d34a Various inscrutible TLS changes. 2020-04-12 21:20:29 +02:00
Solderpunk 8b3e77fa41 Add restricted mode for gemini.circumlunar.space kiosk. 2020-04-07 22:46:05 +02:00
Solderpunk 8e5e175a7e Fix TLS for Python 3.8. See #6. 2020-04-02 22:15:39 +02:00
Solderpunk c934237cbe Enhance bookmarks command to accept a numeric index. Closes #4. 2020-03-24 20:41:37 +01:00
Michael Lazar b078e4315d Add support for TLS client certificates 2020-03-22 22:12:00 -04:00
Solderpunk a701145459 Handle unorderd items and headings. 2020-03-07 21:30:34 +01:00
Solderpunk 7f89b94f25 Handle preformatted content. 2020-03-07 21:11:49 +01:00
Solderpunk 6c017f3b96 Wrap long lines. 2020-02-03 21:34:17 +01:00
Solderpunk c0f4c8eae4 Open HTTP(S) links in the system browser. 2019-11-05 19:58:04 +02:00
Solderpunk 0fdf9ac473 Don't clobber https scheme of absolute URLs when normalising. 2019-11-05 19:57:29 +02:00
Solderpunk dc6c64c741 Fix redirect logic, and handle permanent redirects. 2019-10-15 22:12:32 +03:00
Solderpunk 8c5c779415 Permit manual control of redirects. 2019-10-14 19:47:02 +03:00
Solderpunk a0e4acf352 Try not to get trapped by excessive or looping redirects. 2019-10-13 20:42:04 +03:00
lel 210d0459eb Simplify trailing slash handling to make going up work 2019-09-28 03:28:01 -04:00
lel 7997c40e94 Simplify handling of going up from root 2019-09-28 03:22:01 -04:00
lel 620800c9da Fix separate unrelated crash when going up from root 2019-09-28 02:40:18 -04:00
lel 3d8eecd346 Fix crash when going up from root 2019-09-28 02:39:42 -04:00
lel 12587685d4 Add newline to string formatting 2019-09-28 02:04:45 -04:00
Solderpunk 998b25cdb6 Try to get Python 3.4 working... 2019-08-25 16:26:45 +03:00
Solderpunk 7852a3f544 Fix bookmarking, again. 2019-08-18 23:29:45 +03:00
Solderpunk afc4d7e8fd TLS hardening. 2019-08-18 22:59:49 +03:00
Solderpunk f6a8f20a07 Fix bookmarking. 2019-08-18 22:32:34 +03:00
Solderpunk ddb3a5a893 Detect unsupported schemes. 2019-08-14 21:16:58 +03:00
Solderpunk 3562a6db25 Make sure absolutisation of https links works correctly! 2019-08-14 21:16:46 +03:00
Solderpunk 1b7da02def Include TLS version in debug output. 2019-08-13 21:21:20 +03:00
Solderpunk 242cf484f0 Get tough on non-standard status codes! 2019-08-13 20:40:14 +03:00
Solderpunk 8dd08fa609 Fix silly syntax errors. 2019-08-13 20:39:55 +03:00
Solderpunk 518dadb31e Simplify and unify GeminiItem methods. 2019-08-13 20:36:58 +03:00
Solderpunk b4623c0ccc Remove debugging print. 2019-08-13 20:24:20 +03:00
Solderpunk 6c8921a219 Avoid duplication of calls to of urlunparse. 2019-08-13 20:24:00 +03:00
Solderpunk b75b1d94ff Initial implementation of input support. 2019-08-13 20:17:40 +03:00
Solderpunk 9c51f4b6b9 Call the part of the header after status meta, not mime. 2019-08-13 20:00:15 +03:00
Solderpunk e7e296a959 Fix Input handling stub. 2019-08-13 19:58:20 +03:00
Solderpunk 9d9b044080 Simplify Exception handling a bit. Unlike in VF-1, we can't recover from network errors with redundant mirrors, so there's no need to separate network errors from other errors early on. 2019-08-13 19:58:05 +03:00
Solderpunk a968fd3f92 Get rid of more vestigial colour stuff. 2019-08-13 19:56:38 +03:00
Solderpunk d8d59f51e4 OOPify GeminiItems - makes interface code a bit tidier and concentrates all URL wrangling in one place. I *think* this makes things clearer. 2019-08-13 19:56:15 +03:00
Solderpunk 642117f553 Remove redundant mirror stuff, which doesn't exist in Gemini. 2019-08-13 18:11:29 +03:00
Solderpunk 1f1ab73fcf Expanded and more compliant handling of responses. 2019-08-13 18:09:29 +03:00
Solderpunk 13ddad1759 Enable IPv6 by default. 2019-08-13 13:04:39 +03:00
Solderpunk eca5de5d0f Get rid of item type colour code stuff. 2019-08-13 13:04:26 +03:00
Solderpunk c65b37c5c4 Make Gopher proxy configurable via 'set'. 2019-08-13 13:04:07 +03:00
Solderpunk aa203b95ea Don't needlessly strip lines. 2019-08-12 21:49:18 +03:00
Solderpunk f1ef1a1211 Fix hacking to include scheme in GeminiItems. 2019-08-12 21:48:57 +03:00
Solderpunk 9d7a40fb78 Permit non-tab whitespace in response header. 2019-08-12 21:48:33 +03:00
Solderpunk ec38b5de4c Whoops! Set default proxy to localhost, not conman. Sorry, Sean... 2019-08-12 18:08:11 +03:00
Solderpunk 0f964b0128 Quick and dirty hack in of support for a Gopher proxy. 2019-08-12 17:14:42 +03:00
Solderpunk d37eaae706 Don't include default ports in URL. 2019-08-11 23:24:37 +03:00
Solderpunk 1ba4ec5768 Updated status handling. 2019-08-11 22:26:30 +03:00
Solderpunk 67d3c2ed22 Change to new request format. 2019-08-11 22:26:14 +03:00