]> git.p6c8.net - jirafeau_mojo42.git/blob - CHANGELOG.md
[TASK] clean docker documentation
[jirafeau_mojo42.git] / CHANGELOG.md
1 # Note about upgrading
2
3 "in-place upgrade" refers to this general procedure:
4
5 1. Backup your Jirafeau installation!
6 2. Block access to Jirafeau
7 3. Checkout the new version with Git using the [tagged release](https://gitlab.com/mojo42/Jirafeau/tags)
8 * If you have installed Jirafeau just by uploading files on your server, you can download the desired version, overwrite/remove all files and chown/chmod files if needed. Keep a backup of your local configuration file tough.
9 4. With you browser, go to your Jirafeau root page
10 5. Follow the installation wizard, it should propose you the same data folder or even update automatically
11 6. Check your ```/lib/config.local.php``` and compare it with the ```/lib/config.original.php``` to see if new configuration items are available
12
13 # version 4.3.0
14
15 - Fix various docker errors
16 - Fix various upload errors
17 - Add composer (useful for CI)
18 - Code cleanin
19 - Upgrade from 4.2.0: in-place upgrade
20
21 # version 4.2.0
22
23 - New file_hash option to eventually speed-up file identification process
24 - one_time_download is now optional
25 - Litespeed workaround for large files
26 - Admin interface can compute data folder size
27 - REUSE compliance test
28 - multiple docker features: mcrypt support, daily cleanup, unprivilidged user
29 - Add upload password capability in script options
30 - Various bugfixes around retries and error management
31 - Automatically lower chunk size sent to server refusing large chunks
32 - Romanian lang support and other various lang support
33 - Upgrade from 4.1.1: in-place upgrade
34
35 # Version 4.1.1
36
37 - Fix lang sanity check
38 - Upgrade from 4.1.0: in-place upgrade
39
40 # Version 4.1.0
41
42 - Fix upload password and allowed ip (#201)
43 - Code refactorisation of IP checking
44 - Fix expiration dates
45 - Add better support for Accept-Language
46 - Cosmetic fixes
47 - More languages supported and language fixes
48 - Upgrade from 4.0.0: in-place upgrade
49
50 # Version 4.0.0
51
52 - Removed plain-text password support for admin auth (breaking change).
53 - Default folder sub-division to 8 characters (breaking change).
54 - New option `upload_ip_nopassword` to allow a list of IP to access Jirafeau without password
55 - Bugfix with LibreJS
56 - Other minor bug fixes
57 - More languages supported
58
59 ## Upgrade from 3.4.1 to 4.0.0
60
61 You may have to change your administrator password in your config file as admin password are only stored using sha256 (SHA2).
62 To do so, edit `lib/config.local.php` and update `admin_password` option using `echo -n MyNewPassw0rd | sha256sum` command.
63
64 Subfolder division changed in Jirafeau storage. You can either start from a fresh `var-` folder or you need to migrate your data.
65
66 In order to migrate your existing data:
67 1. Be sure to have a working backup of your Jirafeau instance and/or the rest of your hosting before any operation
68 2. Go to `var-` folder
69 3. Be sure you have read and write permissions on files and folders with your current user
70 4. Run the following commands:
71 ```bash
72 # Migrate files folder
73 find files -type f ! -name "*_count" | while read f; do bn="$(basename "$f")"; dst="files/${bn:0:8}/${bn:8:8}/${bn:16:8}/${bn:24:8}/"; mkdir -p "$dst"; mv "$f" "$dst" ; mv "${f}_count" "$dst"; done; find files -maxdepth 1 -type d -iname "?" -exec rm -rf {} \;
74 # Migrate links folder
75 find links -type f | while read link; do bn="$(basename "$link")"; mkdir "links/$bn"; mv "$link" "links/$bn/"; done; find links -maxdepth 1 -type d -iname "?" -exec rm -rf {} \;
76 ```
77
78 # Version 3.4.1
79
80 - Security fixes, thanks [Bishopfox Team](https://www.bishopfox.com/)
81 - Translation fixes
82 - Docker fix
83 - Advertise javascript license for LibreJS compatibility
84 - other minor fixes
85 - Upgrade from 3.4.0: in-place upgrade
86
87 # Version 3.4.0
88
89 - Add encryption support in bash script
90 - Refactoring of lang system for simpler management
91 - Removed installation step asking for language
92 - Merged weblate contributions
93 - Fixed some spelling issues
94 - Upgrade from 3.3.0 : in-place upgrade
95
96 # Version 3.3.0
97
98 - Added Docker Support
99 - Added a copy button next to links to copy URLs in clipboard
100 - Now use a delete page to confirm file deletion (#136)
101 - Fixed object ProgressEvent Error (#127)
102 - Added configuration tips for web servers
103 - More translations
104 - Style fixes
105 - Removed useless alias API support (some old toy)
106 - Upgrade from 3.2.1 : in-place upgrade
107
108 # Version 3.2.1
109
110 - fix download view after an upload
111 - Upgrade from 3.2.0 : in-place upgrade
112
113 # Version 3.2.0
114
115 - Update translations from Update translations from weblate
116 - Better style
117 - Fix regression on admin password setting
118 - Upgrade from 3.1.0 : in-place upgrade
119
120 # Version 3.1.0
121
122 - Fix regression on user authentication (see #113)
123 - Some cosmetic change
124 - Upgrade from 3.0.0 : in-place upgrade
125
126 # Version 3.0.0
127
128 - Remove XHTML doctype, support HTML5 only → breaking change for older browsers
129 - Remove redundant code
130 - Remove baseurl usage and set absolute links instead, which for example fixes SSL issues
131 - Extend contribution guide
132 - Switch to PSR-2 code style (fix line endings, indentations, whitespaces, etc)
133 - Declare system requirements
134 - Catch API errors in upload form
135 - Allow clients to upload files depending on IP or password
136 - Set UTC as timezone to prevent date/time issues
137 - Show readable date & time information
138 - Fix UI glitches in admin panel and upload form
139 - Upgrade from 2.0.0 : in-place upgrade
140
141 # Version 2.0.0
142
143 - Various documentation improvements
144 - Simplify automatic generation of local configuration file
145 - Set a custom title
146 - Bash Script: Enhanced help, show version, return link to web view as well
147 - »Terms of Service« refactored - Enable admin to overwrite the ToS, without changing existing source code → breaking, see upgrade notes
148
149 ## Upgrade from version 1.2.0 to 2.0.0
150
151 The "Terms of Service" text file changed.
152 To reuse a custom version of your ToS, move your ```/tos_text.php``` file to ```/lib/tos.local.txt``` and remove all HTML und PHP Tags, leaving a regular text file.
153
154 # Version 1.2.0
155
156 - Link on API page to generate bash script
157 - More informative error codes for API
158 - Security Fix: Prevent authentication bypass for admin interface
159 - CLI script to remove expired files automatically with a cronjob
160 - SHA-256 hash the admin password
161 - New theme "elegantish"
162 - Fix for JavaScript MIME-Type, prevents blocking the resource on some servers
163 - Show download link for a file in admin interface
164 - Default time for expiration (set to 'month' by default)
165 - New expiration time: 'quarter'
166 - A lof of translation contributions
167 - Code cleanups
168 - Upgrade from 1.1: in-place upgrade
169
170 # Version 1.1
171
172 - New skins
173 - Add optional server side encryption
174 - Unlimited file size upload using HTML5 file API
175 - Show speed and estimated time during upload
176 - A lot of fixes
177 - A lot of new langages
178 - Small API to upload files
179 - Limit access to Jirafeau using IP, mask, passwords
180 - Manage (some) proxy headers
181 - Configure your maximal upload size
182 - Configure file's lifetime durations
183 - Preview URL
184 - Get Jirafeau's version in admin interface
185
186 ### From version 1.0 to 1.1
187
188 - Download URL changed. Add a rewrite rule in your web server configuration to rename ```file.php``` to ```f.php``` to make older, still existing links work again-
189 - The default theme changed. Optionally change the theme in ```lib/config.local.php``` to "courgette"
190
191 ## Version 1.0
192
193 The very first version of Jirafeau after the fork of Jyraphe.
194
195 - Security fix
196 - Keep uploader's ip
197 - Delete link for each upload
198 - No more clear text password storage
199 - Simple langage support
200 - Add an admin interface
201 - New Design
202 - Add term of use
203 - New path system to manage large number of files
204 - New option to show a page at download time
205 - Add option to activate or not preview mode

patrick-canterino.de