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

patrick-canterino.de