Commit graph

186 commits

Author SHA1 Message Date
dece 62997b9385 help: display current config 2021-05-13 01:26:50 +02:00
dece f63d875fc3 logging 2021-05-13 01:25:50 +02:00
dece 8b1561e689 identity: present cert instead of waiting for 60 2021-05-13 01:24:29 +02:00
dece 57f01720d6 identity: add basic identity management 2021-05-12 22:34:18 +02:00
dece 6ceb75b84c config: add download_path 2021-05-09 23:02:56 +02:00
dece 056616b130 page_pad: fix crashes on some fail refresh
would have been better to understand why it crashed but yolo
2021-05-09 15:55:27 +02:00
dece 5aa03da3e8 help: improve view and list commands 2021-05-09 02:03:45 +02:00
dece 4fbd51348f readme: add history_limit 2021-05-09 01:42:31 +02:00
dece 3a88a898c9 browser: open last download with external commands 2021-05-09 01:39:42 +02:00
dece f1c5d8dfc9 history: fix going back
Ultimately a simple link list does not do all you want, so now the
history maintains a list of visited links that are useful to display,
but also a backlink list to let the user move to the previous pages.
2021-05-09 00:46:26 +02:00
dece 397a143695 navigation: rework entirely URL management
oh and fix the whole history mess a bit
2021-05-08 22:47:34 +02:00
dece b26dad0d0d rendering: fix crash on empty pages 2021-05-07 21:54:09 +02:00
dece 6b0a622017 gemtext: fix issue with preformatted blocks 2021-05-04 22:29:00 +02:00
dece 1fddf4c2b2 tofu: proper implementation 2021-04-19 02:04:18 +02:00
dece 80ec71f30b command_line: add a prompt function 2021-04-19 00:28:20 +02:00
dece 396391ea80 help: add help page 2021-04-18 16:13:41 +02:00
dece 6574048763 command_line: fix new line issue when using editor 2021-04-18 14:17:20 +02:00
dece 3a818812a9 config: add config management
A config file is now created and used, and a few hardcoded things in the
source have been moved to the config file \o/
2021-04-18 14:17:20 +02:00
dece 4fbfa37937 browser: do not send requests with too long URLs 2021-04-18 01:17:33 +02:00
dece cf48818c24 protocol: download unknown mime types 2021-04-17 22:59:54 +02:00
dece b2fdabea71 linting 2021-04-17 22:02:29 +02:00
dece cee04f10c7 browser: add missing horizontal scrolling features 2021-04-17 22:02:06 +02:00
dece 535ab0aa16 command_line: allow external editor for writing 2021-04-17 21:54:11 +02:00
dece 7b9a314481 navigation: fix parameters left in URL for parents 2021-04-17 21:52:20 +02:00
dece f3a3a36039 browser: render all "text/*" Gemini responses 2021-04-16 19:56:56 +02:00
dece 347b5a81cc browser: open editor to view/edit sources & pages 2021-04-16 19:30:33 +02:00
dece bce65a1472 browser: minor fixes 2021-04-16 19:30:14 +02:00
dece 6bc4dbcc5d metalines: split contents from rendering module 2021-03-28 18:57:23 +02:00
dece 8aee7fdfba gemtext: add links/title to parsing result
parse_gemtext used to return only the element list, requiring subsequent
loops to find a title or collect links; now it's all done at the same
time!
2021-03-28 18:55:52 +02:00
dece 1f938fd2af clean and fix minor issues 2021-03-28 18:28:54 +02:00
dece bd7cfce520 browser: split in several files 2021-03-28 18:28:35 +02:00
dece 5b3e91336f bookmarks: basic bookmark management 2021-03-18 01:56:24 +01:00
dece d6bcd1f706 page: split page/page_pad modules
Also add title to Page but really this needs a big cleanup.
2021-03-18 01:55:31 +01:00
dece 40133a1e6b browser: bypass cache when reloading, duh 2021-03-16 19:38:25 +01:00
dece b508ab8128 navigation: add a "go to root" function 2021-03-16 19:38:11 +01:00
dece cf6b67f78b navigation: add function to go to parent URL 2021-03-16 19:12:28 +01:00
dece 5d1e13ea6a rendering: add typings 2021-03-14 00:09:24 +01:00
dece a37ed6f64d page: add docs 2021-03-14 00:09:24 +01:00
dece 0c786087ea gemtext: auto-close preformatted blocks
The spec does not say if preformatted text should be rendered or not if
the file stops before the closing fence is found. The wording makes me
think it is more adequate to auto-close the block in this case.
2021-03-14 00:09:24 +01:00
dece fef350804c browser: add a cache 2021-03-14 00:09:24 +01:00
dece dd4a4196a8 mime: basic MIME type management 2021-03-14 00:09:24 +01:00
dece 2767402d9f clean 2021-03-14 00:09:24 +01:00
dece 1ff23e58e8 tofu: fix bug in save_cert_stash 2021-03-14 00:09:24 +01:00
dece 05c54eff48 page: move page content to a separate class 2021-03-14 00:09:24 +01:00
dece 3d15074bdd browser: clean 2021-03-13 20:38:56 +01:00
dece 33f215dd3e browser: rework default movement keys 2021-03-13 20:38:56 +01:00
dece bcc9a72d97 command_line: fix issue with digits input 2021-03-13 20:38:56 +01:00
dece e517df7836 tofu: add save_cert_stash 2021-03-13 20:38:56 +01:00
dece 0b79bd9e9e command_line: move input validation there
This absolutely un-atomic commit also introduces the Links class to hold
methods regarding link lookups on top of the standard dict class.
2021-03-13 20:38:56 +01:00
dece 83db26ada7 fs: add minimal module to get some directories 2021-03-13 20:38:56 +01:00