Solderpunk
265a69a6ed
Document RC files. Closes #27 .
2 years ago
Solderpunk
129c56c1d4
Fix another hasty cache hack bug.
3 years ago
Solderpunk
ba0f707669
Ignore the cache when reloading a page.
3 years ago
Solderpunk
67f9c662b3
Add option to disable caching.
3 years ago
Solderpunk
545d5f917d
Count cache hits in black box output.
3 years ago
Solderpunk
f45630450f
Make sure early terminations of _fetch_over_network happen via an exception, not by returning None. Factor out certificate handling interface.
3 years ago
Solderpunk
4e8f3dcd05
Fix variable name bug introduced by hasty hacking of cache system.
3 years ago
Solderpunk
08c60e202b
Turn some magic numbers into constants.
3 years ago
Solderpunk
0f328141b9
Initial implementation of short-term caching.
3 years ago
Solderpunk
4d652e0fef
Remove more transient client certificate stuff.
3 years ago
Solderpunk
da8b6cc7f3
Visually distinguish non-Gemini links from Gemini links.
3 years ago
Solderpunk
969d3c1b18
Permit use of ~ in key/cert files.
3 years ago
Solderpunk
e20ac17107
Stop treating transient client certificates as a special case.
3 years ago
Solderpunk
d39cddcc84
Make default MIME handlers more generic.
3 years ago
Solderpunk
03be5bfebf
Use proper handler resolution logic for the text/gemini case (so that settings for text/* can apply).
3 years ago
Solderpunk
72754114f4
Error out if a URL attempts to redirect to itself.
3 years ago
Solderpunk
1509f895f1
Rename handle_index handle_gemtext, for clarity. It should have been called handle_menu in VF-1 in the first place, anyway.
3 years ago
Solderpunk
4e634a539b
Merge pull request 'Fix some bugs in the 'cert' UI' ( #22 ) from govynnus/AV-98:bugfix-cert into master
...
Reviewed-on: #22
3 years ago
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
3 years ago
Solderpunk
ce834dd231
Use correct handler for text/gemini content.
3 years ago
Solderpunk
96cf8e13fe
ACTUALLY fix time conversion bug as attempted in 76d7d, grumble, grumble...
3 years ago
Solderpunk
097458754e
Bump version for development.
3 years ago
Solderpunk
b972ca7d5d
Release 1.0.1.
3 years ago
Solderpunk
76d7d23a2a
Fix time conversion bug in blackbox command.
3 years ago
solderpunk
afa67f40ae
Merge pull request 'Standardize abbrevs formatting' ( #19 ) from vee/AV-98:vee/abbrevs-formatting into master
3 years ago
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.
3 years ago
Solderpunk
dfa1dd7fd0
Don't choke on non gopher/gemini/http(s) links. Closes #18 .
3 years ago
Solderpunk
44ee42ba8a
Check that a file exists before trying to delete it. Rare errors can cause code paths leading to attempted double deletion.
3 years ago
Solderpunk
9526c384db
Bump version for development.
3 years ago
Solderpunk
9a80987587
Cut 1.0.0!
3 years ago
Solderpunk
d7082d23e5
Add setup.py
3 years ago
Solderpunk
be20eb4a50
Add docstrings for client cert methods.
3 years ago
Solderpunk
c09ae60167
Flesh out README.
3 years ago
Solderpunk
b8fa8233bc
Support new status code 11.
3 years ago
Solderpunk
94cf54df18
Recognise quote line type.
3 years ago
Solderpunk
5331d5254d
Update recognition of list item lines to match recent spec update.
3 years ago
Solderpunk
6306e4ef58
Do not strip non-breaking spaces from advanced line types.
3 years ago
Solderpunk
98dc9a96b4
Fill out LICENSE template! Closes #17 .
3 years ago
Solderpunk
1bc6a69bb9
Permit use of ECDSA.
3 years ago
Solderpunk
8d7715ee4b
Add dancek to contributors, sort contributors alphabetically.
3 years ago
solderpunk
fd8ee5bfb7
Merge pull request 'Add gemini:// support directly to urllib.parse' ( #16 ) from dancek/AV-98:simplify-urljoin into master
...
Thanks a lot! I've never bothered to poke inside `urljoin` before so didn't realise this was so easy to do. I agree that this is far more readable and maintainable.
3 years ago
Hannu Hartikainen
9c82b63ff1
Add gemini:// support directly to urllib.parse
3 years ago
Solderpunk
2fd8fe919b
Do not read more than the maximum number of bytes in a valid response header.
3 years ago
Solderpunk
d5ed0c5d7a
Don't crash when buggy servers send no header at all.
3 years ago
Solderpunk
08ce625575
Arglblargl *actually* fix redirects.
3 years ago
Solderpunk
34e97e4cf3
Fix redirect logic.
3 years ago
Solderpunk
5187e75566
Fix cross-domain redirect warning, and add cross-protocol redirect warning.
3 years ago
Solderpunk
088c415987
Make openssl binary calls compatible with LibreSSL.
3 years ago
Solderpunk
16dc7dc831
Cipher hardening.
3 years ago
Solderpunk
fecd46378c
Use current UTC time for comparison against certificate validity. Closes #14 . Thanks, mozz!
3 years ago