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

patrick-canterino.de