CHANGELOG 14 KB

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