offpunk/CHANGELOG

253 lines
14 KiB
Plaintext
Raw Normal View History

2022-01-31 13:33:05 +00:00
# Offpunk History
## 2.0-beta2 - unreleased
Changes since beta1
- "--sync" can optionnaly take some lists as arguments, in order to make for specific sync
- prompt color is now part of the theme
- improves handling of base64 images
- fixes gophermap being considered as gemtext files
2023-09-11 15:26:57 +00:00
- fixes opening mailto links
- attempt at hiding XMLparsedAsHTMLWarning from BS4 library
- chafa now used by default everywhere if version > 1.10
Releasing 2.0-beta1 - September 05th 2023 This is an an experimental release. Bug reports and feedbacks are welcome on the offpunk-devel list. - WARNING: pyproject.toml has not been updated and is currently non-functional. Help needed! - IMPORTANT: Licence has been changed to AGPL for ideological reasons - IMPORTANT: Contact adress has been changed to offpunk2 on the same domain (because of spam) - IMPORTANT: code has been splitted into 7 differents files. Installation/packaging should be adapted. Major features: - New command-line tool: "netcache" - New command-line tool: "ansicat" - New command-line tool: "opnk" - "theme" command allows customization of the colours - "--config-file" allows to start offpunk with custom config (#16) Improvments: - Reading position is saved for the whole session - Rendering is cached for the session, allowing faster browsing of a page already visited - "redirect" supports domains starting with "*" to also block all subdomins - "--images-mode" allow to choose at startup which images should be dowloaded (none,readable,full) - Support for multi-format rendering (such as RSS feeds with html elements) - The cache is now automatically upgraded if needed (see .version in your cache) Other changes from 1.X: - Images of html files are now downloaded with the html (slower sync but better reading experience) - URL do not default anymore to "gemini://" if not protocol are indicated. (ongoing discussion in #21) - "accept_bad_ssl_certificates" now more agressive for http and really accepts them all - Gopher-only: we don’t support naming a page after the name of the incoming link - Gemini-only: support for client generated certificates has been removed - "file" is now marked as a dependency (thank Guillaume Loret)
2023-09-05 12:03:15 +00:00
## 2.0-beta1 - September 05th 2023
This is an an experimental release. Bug reports and feedbacks are welcome on the offpunk-devel list.
Releasing 2.0-beta1 - September 05th 2023 This is an an experimental release. Bug reports and feedbacks are welcome on the offpunk-devel list. - WARNING: pyproject.toml has not been updated and is currently non-functional. Help needed! - IMPORTANT: Licence has been changed to AGPL for ideological reasons - IMPORTANT: Contact adress has been changed to offpunk2 on the same domain (because of spam) - IMPORTANT: code has been splitted into 7 differents files. Installation/packaging should be adapted. Major features: - New command-line tool: "netcache" - New command-line tool: "ansicat" - New command-line tool: "opnk" - "theme" command allows customization of the colours - "--config-file" allows to start offpunk with custom config (#16) Improvments: - Reading position is saved for the whole session - Rendering is cached for the session, allowing faster browsing of a page already visited - "redirect" supports domains starting with "*" to also block all subdomins - "--images-mode" allow to choose at startup which images should be dowloaded (none,readable,full) - Support for multi-format rendering (such as RSS feeds with html elements) - The cache is now automatically upgraded if needed (see .version in your cache) Other changes from 1.X: - Images of html files are now downloaded with the html (slower sync but better reading experience) - URL do not default anymore to "gemini://" if not protocol are indicated. (ongoing discussion in #21) - "accept_bad_ssl_certificates" now more agressive for http and really accepts them all - Gopher-only: we don’t support naming a page after the name of the incoming link - Gemini-only: support for client generated certificates has been removed - "file" is now marked as a dependency (thank Guillaume Loret)
2023-09-05 12:03:15 +00:00
- WARNING: pyproject.toml has not been updated and is currently non-functional. Help needed!
- IMPORTANT: Licence has been changed to AGPL for ideological reasons
- IMPORTANT: Contact adress has been changed to offpunk2 on the same domain (because of spam)
- IMPORTANT: code has been splitted into 7 differents files. Installation/packaging should be adapted.
2023-09-03 21:20:54 +00:00
Major features:
2023-07-30 21:12:01 +00:00
- New command-line tool: "netcache"
- New command-line tool: "ansicat"
- New command-line tool: "opnk"
2023-09-03 21:20:54 +00:00
- "theme" command allows customization of the colours
2023-08-15 20:54:50 +00:00
- "--config-file" allows to start offpunk with custom config (#16)
2023-09-03 21:20:54 +00:00
Improvments:
- Reading position is saved for the whole session
- Rendering is cached for the session, allowing faster browsing of a page already visited
2023-08-31 19:35:08 +00:00
- "redirect" supports domains starting with "*" to also block all subdomins
- "--images-mode" allow to choose at startup which images should be dowloaded (none,readable,full)
- Support for multi-format rendering (such as RSS feeds with html elements)
2023-08-29 09:47:51 +00:00
- The cache is now automatically upgraded if needed (see .version in your cache)
2023-09-03 21:20:54 +00:00
Other changes from 1.X:
- Images of html files are now downloaded with the html (slower sync but better reading experience)
Releasing 2.0-beta1 - September 05th 2023 This is an an experimental release. Bug reports and feedbacks are welcome on the offpunk-devel list. - WARNING: pyproject.toml has not been updated and is currently non-functional. Help needed! - IMPORTANT: Licence has been changed to AGPL for ideological reasons - IMPORTANT: Contact adress has been changed to offpunk2 on the same domain (because of spam) - IMPORTANT: code has been splitted into 7 differents files. Installation/packaging should be adapted. Major features: - New command-line tool: "netcache" - New command-line tool: "ansicat" - New command-line tool: "opnk" - "theme" command allows customization of the colours - "--config-file" allows to start offpunk with custom config (#16) Improvments: - Reading position is saved for the whole session - Rendering is cached for the session, allowing faster browsing of a page already visited - "redirect" supports domains starting with "*" to also block all subdomins - "--images-mode" allow to choose at startup which images should be dowloaded (none,readable,full) - Support for multi-format rendering (such as RSS feeds with html elements) - The cache is now automatically upgraded if needed (see .version in your cache) Other changes from 1.X: - Images of html files are now downloaded with the html (slower sync but better reading experience) - URL do not default anymore to "gemini://" if not protocol are indicated. (ongoing discussion in #21) - "accept_bad_ssl_certificates" now more agressive for http and really accepts them all - Gopher-only: we don’t support naming a page after the name of the incoming link - Gemini-only: support for client generated certificates has been removed - "file" is now marked as a dependency (thank Guillaume Loret)
2023-09-05 12:03:15 +00:00
- URL do not default anymore to "gemini://" if not protocol are indicated. (ongoing discussion in #21)
2023-09-03 21:20:54 +00:00
- "accept_bad_ssl_certificates" now more agressive for http and really accepts them all
- Gopher-only: we dont support naming a page after the name of the incoming link
- Gemini-only: support for client generated certificates has been removed
- "file" is now marked as a dependency (thank Guillaume Loret)
2023-07-30 21:12:01 +00:00
## 1.10 - July 31st 2023
2023-03-27 18:51:03 +00:00
- IMPORTANT : new optional dependency : python-chardet
- IMPORTANT : Gopher directory index filename changed from "index.txt" to "gophermap". To update the cache to the new format run the `migrate-offpunk-cache` script (Sotiris Papatheodorou)
- "set accept_bad_ssl_certificates True" now also used for Gemini expired certificates
- Add missing chardet module (Sotiris Papatheodorou)
- Fix merging dictionaries with common keys (Sotiris Papatheodorou)
- Fix Gopher requests (rewrite URL parsing code per RFC 4266)
2023-03-13 16:02:15 +00:00
## 1.9.2 - March 13th 2023
2023-03-12 11:53:27 +00:00
- Switch from setup.py to flit (Anna cybertailor Vyalkova)
2023-03-12 18:54:02 +00:00
- Bump requirements to python >= 3.7 (Anna cybertailor Vyalkova)
2023-03-12 11:53:27 +00:00
2023-03-08 22:11:32 +00:00
## 1.9.1 - March 8th 2023
- Fixed crash with archive without GI (thanks Étienne Mollier)
2023-03-08 10:21:04 +00:00
## 1.9 - March 8th 2023
This is a bug-fixing release.
2023-03-07 15:23:25 +00:00
- We now have a man page thanks to phoebos!
- ".." as abbreviation to "up" (by Sotiris Papatheodorou)
- Fix support for UTF-8 domains in Gemini (Maeve Sproule, fixes #5)
- Assume UTF-8 when the header answer with an unknown encoding
- Default handlers have been removed (not everybody use feh and zathura)
2022-12-12 14:30:49 +00:00
- Fix a crash when subscribing without GI (reported by sodimel on linuxfr)
- Fix a crash when trying to access a link without GI (Ben Winston)
- Fix a crash when rss items dont have a title (eg: Mastodon rss)
- Fix a crash with badly formatted links in gopher ( #7 by xiu)
- Fix a crash were some HTML content is seen a bytes instead of a string
2023-03-03 14:21:03 +00:00
- Fix a crash when displaying embedded CDATA html in feed. But #10 is still open.
- Fix error handling assuming that requests is installed
2023-03-07 13:36:24 +00:00
- Ugly fix for a rare certificate bug (fix #11)
- Improve compatibility with python prior 3.9 by replacing a dict union
2022-12-10 21:16:12 +00:00
## 1.8 - December 11th 2022
- Official URL is now https://sr.ht/~lioploum/offpunk/
2022-12-10 21:16:12 +00:00
- SECURITY: Avoid passing improperly-escaped paths to shell (fixes notabug #9) (by Maeve Sproule)
2022-11-24 11:24:03 +00:00
- Add support for the finger protocol (by Sotiris Papatheodorou)
2022-11-30 19:57:23 +00:00
- "restricted" mode has been removed because unmaintained (code cleanup)
- "set accept_bad_ssl_certificates True" allows to lower HTTPS SSL requirements (also with --assume-yes)
2022-11-16 20:45:51 +00:00
- Accept "localhost" as a valid URL
2022-11-24 09:48:38 +00:00
- Better feedback when --sync an URL which is streaming
- Removed cgi dependency (soon deprecated)
2022-12-02 11:49:37 +00:00
- Fix: crash with some svg data:image (which are now ignored)
- Fix images from "full" mode not being downloaded
2022-11-20 23:07:21 +00:00
- Fix a crash when ls on empty page (thanks Marty Oehme)
2022-11-16 13:44:47 +00:00
- Fix: A variable was not initialised without python-cryptography
- Fix: "cp raw" was not accessing the temp_file correctly
- Fix: ANSI handling off arrows in readline (by Ben Winston)
2022-11-15 16:01:13 +00:00
## 1.7.1 - November 15th 2022
- Correcting a stupid crash in search (thanks kelbot for the report)
2022-11-15 12:55:39 +00:00
## 1.7 - November 15th 2022
2022-11-14 20:33:40 +00:00
- New "search" command which uses kennedy.gemi.dev by default.
- New "wikipedia" command, which uses vault.transjovian.org by default.
- Aliases "wen", "wfr" and "wes" for Wikipedia in English, French and Spanish.
- Autocompletion for the list/add/move commands (thats incredibly useful!)
2022-11-10 22:50:16 +00:00
- If a link is found in plain text in a gopher/gemini page, it is now
added to the list of links for that page. Useful for gopher.
- Create system lists when needed to avoid failure on clean system
2022-11-01 16:22:26 +00:00
- Solve a crash when parsing wrong URL (related to bug #9 )
- Solve a crash when loading webpages with empty links
- Solve a crash when trying to load a wrong URL into tour
2022-11-15 13:13:37 +00:00
=> gemini://ploum.be/2022-11-15-offpunk17-sourcehut.gmi
2022-10-12 09:29:37 +00:00
## 1.6 - October 12th 2022
2022-10-07 14:07:03 +00:00
- Support for base64 encoded pictures in HTML pages (opening them full screen only works offline)
2022-09-25 21:33:36 +00:00
- A list can be added to a tour with "tour $LIST_NAME".
- Check for timg > 1.3.2 to avoid dealing with old versions (bug reported by Valvin)
- Redirect are now honoured also when --sync (bug #15, thanks kelbot)
- RSS feeds are now automatically downloaded with a webpage (bug #14)
- Solved the bug where an invalid URL would break correspondance between url and numbers
- Considers .xml files as feed by default to avoid false-detection as SVG
2022-10-07 22:16:28 +00:00
- Replaced default libreddit.com redirection to teddit.net (bug #12 by kelbot)
2022-10-12 09:29:37 +00:00
- The "beta" option has been removed as it is not used (update your config if needed)
2022-09-25 21:33:36 +00:00
2022-08-04 10:13:57 +00:00
## 1.5 - August 4th 2022
2022-04-26 11:15:20 +00:00
- Removed optional dependency to ripgrep. "grep --color=auto" is good enough.
2022-04-29 08:41:08 +00:00
- "open url" to open current URL in a browser with xdg-open
2022-07-21 15:02:36 +00:00
- "redirect" now replaces "set redirects" to improve discoverability
2022-07-24 08:40:08 +00:00
- "redirect" now allows urls to be blocked. By default, facebook.com and google-analytics.com are blocked
- Fixed a bug when trying to download base64 image
2022-08-04 10:07:41 +00:00
=> gemini://rawtext.club/~ploum/2022-08-04-offpunk15.gmi
2022-04-26 11:15:20 +00:00
2022-04-25 14:01:00 +00:00
## 1.4 - April 25th 2022
2022-04-02 16:12:46 +00:00
- Making python-readability optional
2022-04-06 10:14:57 +00:00
- Removing "next" and "previous" which are quite confusing and not obvious
2022-04-10 21:45:34 +00:00
- Archiving now works regardless of the view you are in.
2022-04-02 16:12:46 +00:00
- Fixing a crash when accessing an empty html page
- Not trying to display non-image files to avoid errors. (this requires "file")
2022-04-02 15:55:45 +00:00
2022-04-02 14:56:03 +00:00
## 1.3 - April 2th 2022
2022-03-29 20:08:30 +00:00
- Removed dependency to python-magic. File is now used directly (and should be on every system).
- Removed dependency to python-editor. If no $VISUAL or $EDITOR, please use "set editor" in Offpunk.
- Images are now downloaded before displaying an HTML page (can be disabled with "set download_images_first False")
- Introduced "set redirects" which redirects twitter,youtube,medium,reddit to alternative frontends.
2022-03-25 12:37:23 +00:00
- New behaviour for "find" (or "/") which is to grep through current page (ripgrep used if detected)
2022-03-29 11:28:20 +00:00
- Default width set to 80 as many gopherholes and gemini capsules have it hardcoded
- Streaming URL without valid content-length are now closed after 5Mo of download (thanks to Eoin Carney for reporting the issue)
- Gif animations are now displayed once when viewed (instead of a still frame).
- Restored some AV-98 certificate validation code that was lost Idont know how.
2022-03-29 11:28:20 +00:00
- Improved clarity of dependencies in "version"
- Fixed a crash when the cache is already a dir inside a dir.
- Fixed a crash when manually entering an unknown gopher URL while offline
2022-03-29 11:08:35 +00:00
- Fixed an error with older less version
2022-03-31 09:13:11 +00:00
- Fixed bookmarks not being automatically created at first "add"
- Call to shell commands has been refactorised to improve compatibility with python 3.6 (with testing from Pelle Nilsson)
- requirements.txt has been contributed by Toby Kurien. Thanks!
2022-04-02 15:27:07 +00:00
=> gemini://rawtext.club/~ploum/2022-04-02-offpunk13.gmi
## 1.2 - March 24th 2022
2022-03-23 21:19:31 +00:00
Very experimental release:
- Completely rewritten the HMTL, Gemtext and Gopher renderer. Tests needed!
2022-03-22 10:11:35 +00:00
- Removed dependancy to ansiwrap. We dont use it anymore (which is an important achievement)
- Lists are now accessed via the protocol "list://".
2022-03-23 15:19:23 +00:00
- "view full" can now be bookmarked/synchronized as a separate entity.
- "view normal" introduced to get back to the normal view.
2022-03-23 21:19:31 +00:00
Small improvements:
2022-03-19 14:58:28 +00:00
- Limit width of --sync output
- Solved list names becoming very long in the history
2022-03-19 11:17:02 +00:00
- Fixed a crash when trying to save a folder
2022-03-23 21:19:31 +00:00
=> gemini://rawtext.club/~ploum/2022-03-24-ansi_html.gmi
2022-03-19 11:17:02 +00:00
2022-03-18 21:27:45 +00:00
## 1.1 - March 18th 2022
- Perfect rendering of pictures with chafa 1.8+ and compatible terminal (Kitty)
- timg is supported as an alternative to chafa (with a little glitch)
- "cp cache" put the path of the cached content in clipboard
2022-03-15 22:43:21 +00:00
- "cp url X" will copy the URL of link X (suggested by Eoin Carney)
- "fold" has been removed as it doesnt work well and can be replaced with "!fold".
2022-03-16 08:47:53 +00:00
- Improved clipboard URL detection an fixed crash when binary in clipboard
2022-03-17 14:34:43 +00:00
- HTML: renderering of <pre> has been improved
- HTML: links in titles were previously missed
- Fixed crash when chafa is not installed (Thanks Xavier Hinault for the report)
- Fixed crash when python-readability not installed (Thanks Nic for the report)
- Fixed some gif not being displayed
- Fixed some URL being wronlgy interpreted as IPv6
## 1.0 - March 14th 2022
- Default width is now the standard 72
- Content and pictures now centered for more elegant reading
- "less" has been renamed "view"
- "view feed" and "view feeds" to see the first/all feeds on a HTML page
- "view full" has been improved by dropping inline CSSand JS.
2022-03-08 21:21:44 +00:00
- "up" can now take integer as argument to go up multiple steps.
2022-03-07 14:36:16 +00:00
- Fixed a crash when accessing links in list (thanks Matthieu Talbot for the report)
- Fixed a crash in "info" due to a typo in a variable name rarely accessed.
2022-03-08 21:21:44 +00:00
- Removed dependancy to python-xdg by implementing the logic (which saved lines of code!)
2022-03-12 17:41:38 +00:00
- python-pil is only needed if chafa < 1.10
2022-03-14 11:10:11 +00:00
=> gemini://rawtext.club/~ploum/2022-03-14-offpunk_and_cyberpunk.gmi
2022-03-07 14:36:16 +00:00
2022-03-04 22:56:57 +00:00
## 0.9 - March 05th 2022
2022-03-04 22:38:35 +00:00
- Initial Spartan protocol support
- Http links with content above 20Mo are not downloaded during sync (except when explicitely requested)
2022-02-27 21:32:25 +00:00
- Improving subscriptions with more feedback and better detection
- Avoid deprecated SSL methods (thanks Phoebos for the report)
2022-03-04 22:38:35 +00:00
- Links in to_fetch are fetched, no matter the cache
2022-02-27 21:32:25 +00:00
- Fixed multiple crashes
2022-03-05 15:36:39 +00:00
=> gemini://rawtext.club/~ploum/2022-03-05-offpunk09.gmi
2022-02-20 22:22:25 +00:00
## 0.4 - Feb 21st 2022
2022-02-15 18:43:50 +00:00
UPGRADE: Users who subscribed to pages before 0.4 should run once the command "list subscribe subscribed". Without that, the subscribed list will be seen as a normal list by sync.
- New list command : "list freeze" and "list suscribe"
- Pictures are now displayed directely in terminal (suggested by kelbot)
2022-02-18 14:52:27 +00:00
- "open" command to open current page/image/file with external handler.
- "set width XX" now works to set the max width. If smaller, terminal width is used (thanks kelbot for reporting the bug)
- RSS feeds are now rendered as Gemlogs to improve consistency while browsing
2022-02-18 14:52:27 +00:00
- "subscribe" will detect feeds in html pages if any
- "less" will restore previous position in a page (requires less 572+)
- Improved syncing performances and multiple bug/crash fixes.
2022-02-18 14:52:27 +00:00
- "version" will now display info about your system installation
- "info" command will display technical information about current page
2022-02-18 21:55:32 +00:00
- "sync" allows you to do the sync from within Offpunk
2022-02-20 22:22:25 +00:00
=> gemini://rawtext.club/~ploum/2022-02-21-offpunk04.gmi
2022-02-11 10:23:28 +00:00
## 0.3 - Feb 11th 2022
New Features:
2022-02-10 22:41:10 +00:00
- Gopher supported natively (early version, might have many bugs)
2022-02-06 13:08:25 +00:00
- support for RSS and Atom feed (you can subscribe to them)
- "less full" allows to see the full html page instead of only the article view
2022-02-06 13:08:25 +00:00
(also works with feeds to see descriptions of each post instead of a simple list)
- Option --depth to customize your sync. Be warned, more than 1 is crazy.
- Option --disable-http to allows deep syncing of gemini-only ressources
2022-02-10 16:19:20 +00:00
- Vastly improved HTML rendering with support for images (you need the binary "chafa" on your system)
Other Small Improvements:
2022-02-03 15:49:23 +00:00
- Disabled https_everywhere by default (caching problems and some websites not supporting it)
- Modified --sync logic to make it more intuitive (thanks Bjorn Westergard)
- Caching more problems to avoid refetch
- Offpunk has now an User-Agent when http browsing to avoid being blocked as a bot
- Changed XDG logic to improve compatibility (thanks Klaus Alexander)
2022-02-11 10:23:28 +00:00
=> gemini://rawtext.club/~ploum/2022-02-11-offpunk03.gmi
2022-02-03 15:49:23 +00:00
2022-01-31 13:33:05 +00:00
## 0.2 - Jan 31st 2022
- config directories have been moved to follow the XDG specifications
- support for http, https and mailto links (https_everywhere is enabled by default, see "set" command)
- support for HTML pages, rendered as articles
- Mutiple bookmarks lists and management of them through commands list, add, archive, move
- Subscriptions have been moved to a separate list with the subscribe command
- History is persistent and saved to disk
- Copy command allows to copy content or url into buffer
- Search as been renamed find, in the hope of implementing a real search in the future
- --fetch-later allows to mark a content to be fetched from other software.
- --assume-yes allows to choose the default answer to certificates warnings during --sync.
=> gemini://rawtext.club/~ploum/2022-01-31-offpunk02.gmi Announcing Offpunk 0.2
## 0.1 - Jan 3rd 2022
2022-02-03 15:49:23 +00:00
- initial release as an independant software from AV-98 (thanks solarpunk)
- Including contributions published by Bjorn on Notabug (thanks ew0k)
2022-01-31 13:33:05 +00:00
- less used by default for all content with custom options
- online/offline mode
- content is cached for offline use
- bookmarks are cached and subscribed through the --sync option
- tour is persistent and saved to disk
- reload while offline mark the content to be fetched during next --sync
=> gemini://rawtext.club/~ploum/2022-01-03-offpunk.gmi Announce of Offpunk 0.1