updated VERSIONS

This commit is contained in:
Lionel Dricot 2022-02-03 16:49:23 +01:00
parent e7f7e417e6
commit ba2c2f0d0e
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,14 @@
# Offpunk History
## 0.2.1 or 0.3 - Unreleased
Small improvements:
- 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)
## 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)
@ -14,8 +23,8 @@
=> gemini://rawtext.club/~ploum/2022-01-31-offpunk02.gmi Announcing Offpunk 0.2
## 0.1 - Jan 3rd 2022
- initial release as an independant software from AV-98
- Including contributions published by Bjorn on Notabug.
- initial release as an independant software from AV-98 (thanks solarpunk)
- Including contributions published by Bjorn on Notabug (thanks ew0k)
- less used by default for all content with custom options
- online/offline mode
- content is cached for offline use

View File

@ -673,6 +673,8 @@ class GeminiItem():
# URL/subfolder/file.gmi.
# This causes loss of data in the cache
# proper solution would be to save "sufolder" as "sufolder/index.gmi"
# If the subdirectory doesnt exist, we recursively try to find one
# until it exists to avoid a file blocking the creation of folders
root_dir = cache_dir
while not os.path.exists(root_dir):
root_dir = os.path.dirname(root_dir)