Commit Graph

199 Commits

Author SHA1 Message Date
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
Lionel Dricot a961596f69 solved 2 nasty crashes and one infinite loop 2022-01-25 11:49:31 +01:00
Lionel Dricot 70cc059528 get_filename would crash while accessing local ressources 2022-01-24 19:23:03 +01:00
Lionel Dricot 9fa216c11e search is now find (because it’s on current page only) 2022-01-24 17:04:03 +01:00
Lionel Dricot 682631c4cd https_everywhere enabled by default 2022-01-24 16:50:22 +01:00
Lionel Dricot 2e7d213c26 improving subscribtions 2022-01-24 16:21:30 +01:00
Lionel Dricot 976c958bc3 lists can now be deleted 2022-01-24 15:11:49 +01:00
Lionel Dricot fd5da8761d new command : list edit 2022-01-24 12:24:19 +01:00
Lionel Dricot fcf8605af9 size of lists 2022-01-24 11:23:22 +01:00
Lionel Dricot daece10ce5 fixing bugs in the new sync code 2022-01-24 10:58:32 +01:00
Lionel Dricot 3c8db67844 multiple lists are now implemented 2022-01-23 23:14:06 +01:00
Lionel Dricot 1b4e1bf6bf added support for mailto links 2022-01-23 17:40:28 +01:00
Lionel Dricot ffc939094f tour is now a list 2022-01-23 17:09:05 +01:00
Lionel Dricot c8c32e4640 bookmarks are now a list 2022-01-23 13:52:34 +01:00
Lionel Dricot ac4d6547d2 debug of automatic choice 2022-01-23 10:44:19 +01:00
Lionel Dricot 9131c5621f new --assume-yes option for answering question when sync. Without it, no is assumed 2022-01-22 15:33:39 +01:00
Lionel Dricot 0894be5167 new method to manage lists: move 2022-01-22 15:08:06 +01:00
Lionel Dricot 5db7a47e72 you can create lists and add pages to them 2022-01-21 17:42:14 +01:00
Lionel Dricot 57c69df5b6 support query in the URL 2022-01-19 18:44:39 +01:00
Lionel Dricot 7ff4065493 added the --fetch-later command line 2022-01-19 15:21:28 +01:00
Lionel Dricot 7a17f04343 remove offline_web option (not used anymore) 2022-01-19 11:02:49 +01:00
Lionel Dricot d688a5d8ba better handling of paths 2022-01-19 10:46:53 +01:00
Lionel Dricot 9047dbd718 another stupid refactoring bug 2022-01-19 09:41:04 +01:00
Lionel Dricot 14e5fbcc83 refactoring and cleanup: now accessing links directly from gi instead of hiding a go_to 2022-01-18 22:19:43 +01:00
Lionel Dricot bdd006c896 offpunk now respects XDG 2022-01-18 18:04:29 +01:00
Lionel Dricot 9b8c06efce getting rid of from_map_line, never liked that odd method 2022-01-18 14:45:37 +01:00
Lionel Dricot 103610b077 t . was recognized as url, not a tour command 2022-01-18 14:42:09 +01:00
Lionel Dricot 7e9c535c1d stupid bug which break rendering with preformtted content 2022-01-18 14:16:14 +01:00