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

patrick-canterino.de