nervuri
b216653887
Begin README with fork description.
2022-05-23 00:00:00 +00:00
nervuri
d31b41ad1f
Update README.
2021-12-26 20:54:48 +02:00
nervuri
65160e927a
Exclude "\n" character from fragment highlight.
2021-12-26 20:37:33 +02:00
nervuri
c186417856
Refactor code, for clarity.
2021-12-25 20:45:43 +02:00
nervuri
c55563113a
Fix fragment highlighting bug.
...
Fix fragment highlighting when multiple matches are found on the same line.
2021-12-25 20:38:01 +02:00
nervuri
07291e828a
Fix display bug in `less raw`
2021-12-25 20:34:53 +02:00
nervuri
71ff278c59
Add more polish to fragment generation commands.
...
1. Use heading numbers instead of line numbers in `fragment -h`.
2. Open `fr -h` and `fr -l` output in `less`, if it doesn't fit in the
terminal.
3. A bit of refactoring, for clarity.
2021-12-25 13:54:24 +02:00
nervuri
5ce221ae8b
Remove -G option in do_less.
2021-12-21 12:20:21 +02:00
nervuri
7d82c27b05
Change fragment match prefix to U+0016 x 3.
...
Thanks to John Cowan for suggesting it:
https://gitlab.com/gemini-specification/gemini-text/-/issues/3#note_790663541
2021-12-21 12:16:37 +02:00
nervuri
733540e2eb
Add polish to fragment generation commands.
2021-12-21 01:33:11 +02:00
nervuri
a469ce515a
Fix fragment-related display bug.
2021-12-20 21:25:25 +02:00
nervuri
60613529b0
Generate fragment by line or heading, to a specific occurrence of repeated text.
2021-12-20 21:17:26 +02:00
nervuri
5ccd2a57da
Search for specific occurrence of fragment text.
2021-12-20 21:14:36 +02:00
nervuri
dc2503c89d
Remove fragment type prefixes.
2021-12-20 18:27:42 +02:00
nervuri
548f984e0d
Generate heading fragments by index.
2021-12-19 22:32:42 +02:00
nervuri
74da61846f
Improve handling of URI fragments.
2021-12-19 22:26:45 +02:00
nervuri
dc15d27991
Move gemtext parsing to a separate function.
2021-12-19 22:21:28 +02:00
nervuri
54bb392684
View raw gemtext with `cat raw` & `less raw`.
2021-12-19 22:19:54 +02:00
nervuri
07bd86f935
Remove regex library import.
2021-12-19 22:18:05 +02:00
nervuri
dda21ff72d
Fragment types: remove "regex", add "heading".
2021-12-19 15:17:54 +02:00
nervuri
aa9693f478
Add fork explanation.
2021-12-17 20:42:58 +02:00
nervuri
996dc9f081
Add support for URI fragments.
2021-12-17 18:50:55 +02: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
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
Solderpunk
4e634a539b
Merge pull request 'Fix some bugs in the 'cert' UI' ( #22 ) from govynnus/AV-98:bugfix-cert into master
...
Reviewed-on: solderpunk/AV-98#22
2020-08-15 11:40:32 +00: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
solderpunk
afa67f40ae
Merge pull request 'Standardize abbrevs formatting' ( #19 ) from vee/AV-98:vee/abbrevs-formatting into master
2020-06-13 09:16:09 -04: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