Commit Graph

226 Commits

Author SHA1 Message Date
Lionel Dricot
4e5dbe4882 added spartan to README 2022-03-05 16:36:39 +01:00
Lionel Dricot
100f69ebe7 releasing 0.9 2022-03-05 11:45:26 +01:00
Lionel Dricot
42f0f06494 Add support for spartan protocol 2022-03-04 23:38:35 +01:00
Lionel Dricot
1e44ae76a0 forgot to increase version number 2022-03-04 16:50:33 +01:00
Lionel Dricot
28feaf6f6d reload doesn’t care about cache anymore 2022-03-04 12:38:41 +01:00
Lionel Dricot
b7c34f3bb9 stupid white space bug 2022-03-04 10:18:57 +01:00
Lionel Dricot
d28a3423d6 Http download which are not to be put in tour are now limited to 20Mo, to avoid downloading large unwanted files 2022-03-03 16:16:32 +01:00
Lionel Dricot
484987e21f max 20mo for http downloads 2022-03-01 22:03:42 +01:00
Lionel Dricot
3faca54050 … spotted in a wild page and implemented 2022-02-27 22:54:28 +01:00
Lionel Dricot
f73577ae08 warn if alreaday subscribed to a feed 2022-02-27 22:32:25 +01:00
Lionel Dricot
b0a2961acc more feedback from subscribe 2022-02-27 22:20:42 +01:00
Lionel Dricot
af57715f99 feed without entries are not feed but html pages 2022-02-25 22:13:40 +01:00
Lionel Dricot
7a05e5514e do not quit on ctrl+c, behaviour is annoying 2022-02-25 14:36:46 +01:00
Lionel Dricot
edb71471dc rare crash on rss detection with some websites 2022-02-25 10:59:54 +01:00
Lionel Dricot
3231f425a9 binary files in gopher 2022-02-24 10:29:14 +01:00
Lionel Dricot
ff12498b49 handle relative path for subscribing to feeds 2022-02-23 12:06:53 +01:00
Lionel Dricot
8c8b6763b2 quit on ctrl+c 2022-02-23 10:43:46 +01:00
Lionel Dricot
6d87b2f4bc solve a crash when calling less after a mailto link 2022-02-22 13:24:36 +01:00
Lionel Dricot
4f56a85e28 move from PROTOCOL_TLS to PROTOCOL_TLS_CLIENT. This should be enough to close #7 2022-02-22 11:15:19 +01:00
Lionel Dricot
d468aced2f abstracting wrapping methods to try replace ansiwrap 2022-02-21 21:20:34 +01:00
Lionel Dricot
3b809c4146 Releasing 0.4 2022-02-21 00:46:14 +01:00
Lionel Dricot
aa8e0cdb3e solve two gopher bugs related to path 2022-02-19 22:09:57 +01:00
Lionel Dricot
fb29a83cc6 displaying lists where a page appear in info 2022-02-19 21:36:54 +01:00
Lionel Dricot
f669bd9bed change process name to offpunk 2022-02-18 23:50:08 +01:00
Lionel Dricot
f6820ba244 sync can now be called inside offpunk 2022-02-18 22:55:32 +01:00
Lionel Dricot
d1ce7bd662 removing reference to cmdqueue in case we want to migrate to cmd2 2022-02-18 17:13:20 +01:00
Lionel Dricot
6f36970b34 new info command 2022-02-18 15:52:27 +01:00
Lionel Dricot
cd5bba7b7b subscribe now detect embeded RSS feeds 2022-02-18 14:11:09 +01:00
Lionel Dricot
f0623c1b93 should fix a rare crash when fetching redirected urls 2022-02-18 12:14:42 +01:00
Lionel Dricot
7d91ee0eb9 using new --incsearch for less if available 2022-02-17 23:16:16 +01:00
Lionel Dricot
87e8364932 cleaning up the less history file 2022-02-17 17:47:16 +01:00
Lionel Dricot
75397963cf restoring last position when less-ing a page 2022-02-17 17:19:11 +01:00
Lionel Dricot
80bf937f03 get less version 2022-02-17 15:57:04 +01:00
Lionel Dricot
279bd12748 proper separation of get_cache_path 2022-02-17 12:51:48 +01:00
Lionel Dricot
78e428d3a7 starting to remove self.path from GeminiItem 2022-02-17 12:38:50 +01:00
Lionel Dricot
136c8cfce7 cache_path is now generated upon request for case where it might become a folder afterward 2022-02-17 10:42:18 +01:00
Lionel Dricot
06f2c1b838 how a directory went to get mime ? 2022-02-17 10:02:45 +01:00
Lionel Dricot
cf4dc86b03 tentatively improve html rendering 2022-02-17 09:58:42 +01:00
Lionel Dricot
b9e0cf4b0b fix for gopher selectors 2022-02-16 09:45:38 +01:00
Lionel Dricot
4fa3a718a8 fixing a tour bug and making the width dynamic 2022-02-15 21:57:14 +01:00
Lionel Dricot
0b5e516361 list help is synonym for help list 2022-02-15 16:50:33 +01:00
Lionel Dricot
33cc967df1 don’t save gi if it doesn’t exist 2022-02-15 16:05:10 +01:00
Lionel Dricot
39caf95381 we fetch frozen list if no valid cache exists 2022-02-15 15:18:07 +01:00
Lionel Dricot
4464a605b0 I was too quick to commit the new feature 2022-02-15 15:05:08 +01:00
Lionel Dricot
bc0358f6c9 New list subscribe and list freeze commands 2022-02-15 14:56:35 +01:00
Lionel Dricot
aa75f713ea reverting the non-recursive render of image in links 2022-02-15 10:17:00 +01:00
Lionel Dricot
8ae7587ab4 improving rendering of images nested in links and of non-breaking spaces 2022-02-15 00:04:30 +01:00
Lionel Dricot
fdd1f36de6 vastly improved version command to see status of different features 2022-02-14 23:02:53 +01:00
Lionel Dricot
5cf26e28fa improve unicode handling and rss detection 2022-02-14 11:54:51 +01:00
Lionel Dricot
e1ab504f69 --fetch-later now directly add to tour if a cached version already exists 2022-02-14 11:28:12 +01:00
Lionel Dricot
26009c7f75 RSS feeds are now rendered as gemlogs 2022-02-14 11:05:39 +01:00
Lionel Dricot
7781d7123c fixing blue title for RSS feeds 2022-02-14 10:25:55 +01:00
Lionel Dricot
bf20721be5 fix crash with some mailto links 2022-02-13 23:18:42 +01:00
Lionel Dricot
176bcd438b Making Html renderer working with fragments to improve FeedRenderer 2022-02-13 22:59:16 +01:00
Lionel Dricot
85551f5af5 abstracting renderers to make them more coherent 2022-02-13 17:50:15 +01:00
Lionel Dricot
67fbf9902e fixing, once again, a crash wit too long path 2022-02-13 16:35:30 +01:00
Lionel Dricot
ed5298b67e avoid crash with badly formatted images 2022-02-13 10:59:10 +01:00
Lionel Dricot
74bbf76814 FolderRenderer (currently only used for listing lists 2022-02-13 01:12:55 +01:00
Lionel Dricot
3029a3a218 Improving lists and making an abstract renderer 2022-02-13 00:37:31 +01:00
Lionel Dricot
b85e9e8f04 handlers are now only used for non-text 2022-02-12 19:07:55 +01:00
Lionel Dricot
15b7591424 fixing a crash because a variable interfered witht the CMD module 2022-02-12 14:41:05 +01:00
Lionel Dricot
980ad72510 We now render images in terminal and introduce the open command. Beware, it is very experimental 2022-02-12 14:24:43 +01:00
Lionel Dricot
ff9adf4aea Making offpunk working for variable width. Thanks to Kelbot for pointing it was not working 2022-02-12 13:12:37 +01:00
Lionel Dricot
ec8fb1fda6 optimisation to not run image processor when syncing 2022-02-11 12:32:59 +01:00
Lionel Dricot
9cdb52383d improved image robustness 2022-02-11 12:01:05 +01:00
Lionel Dricot
4b39b7eac1 releasing 0.3 2022-02-11 11:33:37 +01:00
Lionel Dricot
dc7e9156c8 improved handling of gopher connections and support for animated gif 2022-02-11 11:12:36 +01:00
Lionel Dricot
2413c1bf19 support for gopher 2022-02-10 23:46:59 +01:00
Lionel Dricot
f0177f62f8 support for images nested in links 2022-02-10 17:19:20 +01:00
Lionel Dricot
691d2ee07c This is a very funny experiment with chapa to display image in
webpages
2022-02-09 21:46:29 +01:00
Lionel Dricot
d0294fb58c trying to fallback on html if theres no entries in the feed. 2022-02-07 00:29:26 +01:00
Lionel Dricot
f205dde0b6 full functionnal support for RSS and Atom 2022-02-06 15:48:24 +01:00
Lionel Dricot
8b1e28427b Basic support for RSS/Atom feeds 2022-02-06 14:08:25 +01:00
Lionel Dricot
81f3ff9f5b use magic by default if available to get mimetype 2022-02-06 12:55:54 +01:00
Lionel Dricot
79572a93ca small html rendering improvement 2022-02-05 14:42:35 +01:00
Lionel Dricot
c405f8ddd9 improved title for non-fetched ressource 2022-02-05 12:46:32 +01:00
Lionel Dricot
08aedd4b42 improving html rendering 2022-02-05 00:26:51 +01:00
Lionel Dricot
11e6b3ccbc README improvments 2022-02-04 16:10:49 +01:00
Lionel Dricot
8de8c9ff7f new option --disable-http 2022-02-04 15:55:22 +01:00
Lionel Dricot
1cb3f48845 minor improvement in handling html titles 2022-02-04 13:38:33 +01:00
Lionel Dricot
c985f1e8b4 aborting when an url is too long (this is an OS limitation) 2022-02-04 13:00:29 +01:00
Lionel Dricot
5d19662e3e adding depth and support for img in html 2022-02-04 01:14:22 +01:00
Lionel Dricot
db991b2fd2 new argument to command less : full, allowing to disable readability 2022-02-03 21:56:23 +01:00
Lionel Dricot
ba2c2f0d0e updated VERSIONS 2022-02-03 16:49:23 +01:00
Lionel Dricot
e7f7e417e6 vastly improved syncing performance by building caches in more situation and disabling https_everywhere 2022-02-03 13:38:07 +01:00
Lionel Dricot
ee1c660d74 This is an experiment to make --sync more intuitive based on Bjorn
Westergard’s feedback

See his post:
gemini://bjornwestergard.com/log/offpunk.gmi
2022-02-02 12:57:55 +01:00
Lionel Dricot
1881b98d96 adding our own user-agent else offpunk is considered as a bot by many http servers 2022-02-01 15:53:07 +01:00
Lionel Dricot
591c848478 close #6 (please test). It seems there are two XDG modules out there which are both incompatibles. The one is Debian seems to be a mix of both so I migrated to the correct way of using it (thanks to Klaus Alexander for providing code example). If this doesn’t work for everyone, we will have to support both way (code also provided by Klaus Alexander) 2022-02-01 12:32:51 +01:00
Lionel Dricot
6b0c362b5e do not update history while syncing 2022-01-31 15:32:34 +01:00
Lionel Dricot
ed81c3245f removing a forgotten print 2022-01-31 15:07:59 +01:00
Lionel Dricot
635dfdbf80 releasing 0.2 2022-01-31 14:55:34 +01:00
Lionel Dricot
4980890ac4 fixing a crash 2022-01-31 11:54:17 +01:00
Lionel Dricot
2dbe7de21c improving documentation 2022-01-30 19:33:04 +01:00
Lionel Dricot
fb6511d51d pretty titles in list and not adding lists to history 2022-01-30 19:11:23 +01:00
Lionel Dricot
b611c1ec87 fixing a bug where mailto: url were not counted as URL in a page 2022-01-30 17:47:03 +01:00
Lionel Dricot
f2944d35af first step to transform renderers into their own objects 2022-01-29 15:37:18 +01:00
Lionel Dricot
69db426ab8 fixing bug #4 (thanks for the report) 2022-01-28 13:25:55 +01:00
Lionel Dricot
06b2e178fb history is now a list 2022-01-26 19:35:05 +01:00
Lionel Dricot
41f0900373 implementing the archive list 2022-01-26 18:52:38 +01:00
Lionel Dricot
bd09d7cc61 localhost:// is now the widely used file:// 2022-01-25 12:20:11 +01:00