]>
git.p6c8.net - jirafeau.git/log
Hunter Fuller [Thu, 17 Mar 2022 04:17:42 +0000 (23:17 -0500)]
Add support for the X-Sendfile header/module to offload downloads.
With the appropriate config option enabled, Jirafeau will send the
X-Sendfile header instead of sending the file itself. As a result,
Apache/lighttpd will send the file without the intervention of Jirafeau,
and download resumes/seeking will also be enabled for this download.
If the user requested an encrypted file then this will not work, but it
should work in all other cases.
Jerome Jutteau [Sat, 30 Apr 2022 18:53:54 +0000 (20:53 +0200)]
Jirafeau version 4.4.0
closes #292
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Oskar Fagerfjäll [Tue, 19 Jan 2021 05:54:35 +0000 (14:54 +0900)]
fix spelling mistakes
sam lt [Fri, 4 Jun 2021 12:37:30 +0000 (12:37 +0000)]
fix 2 minor typos
Edwin Bos [Wed, 23 Jun 2021 13:42:47 +0000 (15:42 +0200)]
Implement expiry after a fortnight (2 weeks).
MrWouterNL [Mon, 21 Mar 2022 19:46:14 +0000 (20:46 +0100)]
[BUGFIX] Disallow file preview for image/svg+xml files
Jerome Jutteau [Tue, 18 May 2021 07:15:34 +0000 (09:15 +0200)]
[BUGFIX] fix file previewing
- avoid previewing text/*
- javascript side more clear
closes #264
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 18 May 2021 06:59:15 +0000 (08:59 +0200)]
[BUGFIX] setup autocomplete field for passwords
closes #265
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Nicky Galliano [Fri, 5 Feb 2021 10:11:06 +0000 (10:11 +0000)]
Update functions.php.
Following the update to php 8, I got the following debug error when trying to access my instance :
"Array and string offset access syntax with curly braces is no longer supported in [...]/jirafeau/lib/functions.php on line 31"
I just changed the deprecated curly braces into brackets and I was good to go.
Sven Dickert [Wed, 13 Jan 2021 10:31:34 +0000 (11:31 +0100)]
fix #178 "Delete via API does not work"
Jerome Jutteau [Sun, 3 Jan 2021 20:55:11 +0000 (21:55 +0100)]
[TASK] add more information in bug report
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jan 2021 00:40:32 +0000 (01:40 +0100)]
[TASK] add more details in docker documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 2 Jan 2021 23:18:20 +0000 (00:18 +0100)]
[FEATURE] more option docker options
closes #247
also:
- warn user about web_root configuration in docker
- no need to rewrite default options in docker
- option name is the same as Jirafeau but in CAPSLOCK
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 1 Jan 2021 18:29:18 +0000 (19:29 +0100)]
[FEATURE] add basic docker options
- web_root
- var_root
- admin_password
ref #247
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 1 Jan 2021 17:37:06 +0000 (18:37 +0100)]
[TASK] rework docker documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 1 Jan 2021 01:36:06 +0000 (02:36 +0100)]
[TASK] remove useless step
Now that a lot of checks are done throw CI, this step should not be needed anymore.
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 5 Dec 2020 13:13:49 +0000 (14:13 +0100)]
[FEATURE] provide details for bug opening
refs #235
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Wed, 30 Dec 2020 10:11:41 +0000 (11:11 +0100)]
Jirafeau version 4.3.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Wed, 30 Dec 2020 10:11:26 +0000 (11:11 +0100)]
[TASK] update changelog
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Wed, 30 Dec 2020 08:52:09 +0000 (09:52 +0100)]
[FEATURE] allow admin to not log users IP in Jirafeau
New option 'store_uploader_ip' set to true by default.
closes #248
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 22:05:06 +0000 (23:05 +0100)]
[TASK] clean docker documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 21:54:29 +0000 (22:54 +0100)]
[TASK] add line returns for admin cli
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 21:34:50 +0000 (22:34 +0100)]
[TASK] add docker options documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 21:28:20 +0000 (22:28 +0100)]
[TASK] add release notes
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 20:08:34 +0000 (21:08 +0100)]
[TASK] add structure for docker configuration
For now only one option is available: FILE_HASH
You can run Jirafeau's docker with -e FILE_HASH="random" to disable file hashing.
ref #146
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 19:39:47 +0000 (20:39 +0100)]
[TASK] move docker CMD command to separate file
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 20:57:21 +0000 (21:57 +0100)]
[BUGFIX] avoid running admin cli if installation not finished
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 19:34:13 +0000 (20:34 +0100)]
[TASK] clean install.php functions
Move functions to lib/functions.php
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 19:30:20 +0000 (20:30 +0100)]
[TASK] clean dead code from install.php
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 13 Dec 2020 18:59:29 +0000 (19:59 +0100)]
[BUGFIX] Add specific handle for XHR error
Avoid aborting on this type of error, better wait for state change.
Still log "error" and "abort" events.
ref #212
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Dan Untenzu [Thu, 3 Dec 2020 13:55:53 +0000 (14:55 +0100)]
[FEATURE] CI: Add PSR-12 check
The project follows the PSR-2 coding style.
This should be tested automatically in all commits.
Jerome Jutteau [Sat, 5 Dec 2020 12:43:22 +0000 (13:43 +0100)]
[TASK] run php-cs-fixer
php-cs-fixer fix --rules=@PSR2 .
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Dan Untenzu [Thu, 3 Dec 2020 14:26:59 +0000 (15:26 +0100)]
[FEATURE] Add composer
Add composer to allow project installation via packagist.
Refs #91
Jerome Jutteau [Sat, 5 Dec 2020 11:52:10 +0000 (12:52 +0100)]
[BUGFIX] lower POST size when ̀PHP's upload_max_filesize is too low.
When post_max_size == upload_max_filesize, Jifeau sends too large request (files + headers) and serveur still returns 200.
Jirafeau does not see any files and return Error 23.
Javascript client now detect this error and retry with a lower file size to make room for headers.
closes #240
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 5 Dec 2020 11:51:52 +0000 (12:51 +0100)]
[TASK] set explicit PHP settings for docker
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 5 Dec 2020 10:53:40 +0000 (11:53 +0100)]
[TASK] centralize error reporting config
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Dan Untenzu [Thu, 3 Dec 2020 13:40:21 +0000 (14:40 +0100)]
[FEATURE] CI: Raise default PHP version
Use the same PHP versions for CI tests as in
the docker file.
Raise default version to a supported PHP branch.
Dan Untenzu [Thu, 3 Dec 2020 13:37:53 +0000 (14:37 +0100)]
[BUGFIX] CI: Fix YAML indentations
Dan Untenzu [Thu, 3 Dec 2020 13:32:11 +0000 (14:32 +0100)]
[FEATURE] Replace PHP linter package
Replace abandoned PHP Linter package with new source.
Dan Untenzu [Thu, 3 Dec 2020 13:19:25 +0000 (14:19 +0100)]
[FEATURE] Add blog post to Readme
Dan Untenzu [Thu, 3 Dec 2020 13:08:27 +0000 (14:08 +0100)]
[BUGFIX] Replace broken badge source URL
GitLab does nit use the build.svg for a while now.
Replace these with the Open Source Service shields.io.
Jerome Jutteau [Wed, 2 Dec 2020 20:33:44 +0000 (21:33 +0100)]
[TASK] better to test docker image before releasing
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Wed, 2 Dec 2020 20:30:56 +0000 (21:30 +0100)]
[BUGFIX] fix jirafeau docker image
- exposed port
- fix lighttpd user
- setup www-data group
Jerome Jutteau [Wed, 2 Dec 2020 19:30:37 +0000 (20:30 +0100)]
Jirafeau version 4.2.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Sebastien Mennetrier [Fri, 27 Nov 2020 09:59:53 +0000 (10:59 +0100)]
Remove unnecessary 'Term of Service' from locales
Jerome Jutteau [Fri, 20 Nov 2020 18:59:29 +0000 (19:59 +0100)]
[TASK] reword project introduction
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 20 Nov 2020 18:51:44 +0000 (19:51 +0100)]
Donation are welcome to pay demo site hosting
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 20 Nov 2020 18:22:08 +0000 (19:22 +0100)]
[BUGFIX] remove useless ob_flush
- Could generate notices which corrupt files
- Does not seem to be effective
https://www.php.net/manual/en/function.ob-flush.php#109699
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 20 Nov 2020 17:25:25 +0000 (18:25 +0100)]
[BUFIX] fix bash script to send files
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 20 Nov 2020 11:59:56 +0000 (12:59 +0100)]
[BUGFIX] fix broken admin file listing
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Fri, 20 Nov 2020 11:34:44 +0000 (12:34 +0100)]
[TASK] reword file_hash option
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Thu, 19 Nov 2020 21:30:00 +0000 (22:30 +0100)]
[BUGFIX] avoid php warning because async file does not exist yet
Each time an async file is pushed, its size is check in order to not get over a maximal_upload_size option.
On the first push, the destination file does not exist and this generates a warning.
closes #238
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Thu, 19 Nov 2020 21:18:43 +0000 (22:18 +0100)]
[BUGFIX] remove auto-generated FIX ME in config.local.php file
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Thu, 19 Nov 2020 21:15:07 +0000 (22:15 +0100)]
[BUGFIX] fix error return
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Thu, 19 Nov 2020 20:50:31 +0000 (21:50 +0100)]
[BUGFIX] disable php error reporting by default
wrong permission configuration migth trigger error or warning message leaking location of var-folder.
ref #238
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 23:23:18 +0000 (00:23 +0100)]
[TASK] update changelog
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
J. Lavoie [Thu, 12 Nov 2020 23:42:48 +0000 (23:42 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)
Tymofij Lytvynenko [Fri, 6 Nov 2020 11:15:43 +0000 (11:15 +0000)]
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (116 of 116 strings)
J. Lavoie [Thu, 22 Oct 2020 22:08:05 +0000 (22:08 +0000)]
Translated using Weblate (Italian)
Currently translated at 99.1% (115 of 116 strings)
J. Lavoie [Thu, 22 Oct 2020 22:05:59 +0000 (22:05 +0000)]
Translated using Weblate (French)
Currently translated at 100.0% (116 of 116 strings)
Yaron Shahrabani [Thu, 15 Oct 2020 20:53:18 +0000 (20:53 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 99.1% (115 of 116 strings)
Yaron Shahrabani [Wed, 14 Oct 2020 12:10:38 +0000 (12:10 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 82.7% (96 of 116 strings)
Srikanth L [Sun, 4 Oct 2020 14:54:35 +0000 (14:54 +0000)]
Translated using Weblate (Tamil)
Currently translated at 18.1% (21 of 116 strings)
ssantos [Thu, 1 Oct 2020 19:39:43 +0000 (19:39 +0000)]
Translated using Weblate (Portuguese)
Currently translated at 100.0% (116 of 116 strings)
Yaron Shahrabani [Tue, 29 Sep 2020 11:37:19 +0000 (11:37 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 73.2% (85 of 116 strings)
ssantos [Mon, 28 Sep 2020 16:58:11 +0000 (16:58 +0000)]
Translated using Weblate (Portuguese)
Currently translated at 100.0% (116 of 116 strings)
ssantos [Sat, 12 Sep 2020 21:28:08 +0000 (21:28 +0000)]
Translated using Weblate (Portuguese)
Currently translated at 97.4% (113 of 116 strings)
Luna Jernberg [Thu, 20 Aug 2020 08:55:03 +0000 (08:55 +0000)]
Translated using Weblate (Swedish)
Currently translated at 100.0% (116 of 116 strings)
Luna Jernberg [Tue, 18 Aug 2020 12:19:49 +0000 (12:19 +0000)]
Translated using Weblate (Swedish)
Currently translated at 99.1% (115 of 116 strings)
ssantos [Sun, 19 Jul 2020 19:29:54 +0000 (19:29 +0000)]
Translated using Weblate (Portuguese)
Currently translated at 94.8% (110 of 116 strings)
Oğuz Ersen [Mon, 29 Jun 2020 18:27:25 +0000 (18:27 +0000)]
Translated using Weblate (Turkish)
Currently translated at 100.0% (116 of 116 strings)
Milo Ivir [Wed, 1 Jul 2020 14:33:14 +0000 (14:33 +0000)]
Translated using Weblate (Croatian)
Currently translated at 100.0% (116 of 116 strings)
Laurentiu Dobrota [Tue, 30 Jun 2020 15:13:44 +0000 (15:13 +0000)]
Translated using Weblate (Romanian)
Currently translated at 75.8% (88 of 116 strings)
Milo Ivir [Wed, 1 Jul 2020 14:30:26 +0000 (14:30 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)
Szylu [Sun, 28 Jun 2020 15:59:09 +0000 (15:59 +0000)]
Translated using Weblate (Polish)
Currently translated at 98.2% (114 of 116 strings)
ButterflyOfFire [Mon, 11 May 2020 12:45:14 +0000 (12:45 +0000)]
Translated using Weblate (Arabic)
Currently translated at 92.2% (107 of 116 strings)
Milo Ivir [Sat, 9 May 2020 11:23:36 +0000 (11:23 +0000)]
Translated using Weblate (Croatian)
Currently translated at 100.0% (116 of 116 strings)
Milo Ivir [Sun, 10 May 2020 12:04:55 +0000 (12:04 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)
Milo Ivir [Thu, 7 May 2020 22:37:03 +0000 (22:37 +0000)]
Translated using Weblate (Croatian)
Currently translated at 95.6% (111 of 116 strings)
Milo Ivir [Sun, 3 May 2020 23:04:38 +0000 (23:04 +0000)]
Translated using Weblate (Croatian)
Currently translated at 94.8% (110 of 116 strings)
Jeannette L [Mon, 27 Apr 2020 03:34:29 +0000 (03:34 +0000)]
Translated using Weblate (Italian)
Currently translated at 99.1% (115 of 116 strings)
Jeannette L [Mon, 27 Apr 2020 03:33:30 +0000 (03:33 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)
Allan Nordhøy [Wed, 22 Apr 2020 05:31:08 +0000 (05:31 +0000)]
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (116 of 116 strings)
Jeannette L [Sun, 19 Apr 2020 01:31:18 +0000 (01:31 +0000)]
Translated using Weblate (Italian)
Currently translated at 99.1% (115 of 116 strings)
Jeannette L [Sun, 19 Apr 2020 01:30:06 +0000 (01:30 +0000)]
Translated using Weblate (German)
Currently translated at 93.1% (108 of 116 strings)
anonymous [Sun, 19 Apr 2020 01:27:19 +0000 (01:27 +0000)]
Translated using Weblate (French)
Currently translated at 100.0% (116 of 116 strings)
Allan Nordhøy [Sun, 12 Apr 2020 09:56:08 +0000 (09:56 +0000)]
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.1% (115 of 116 strings)
hüseyinyıldız [Sat, 11 Apr 2020 17:46:45 +0000 (17:46 +0000)]
Translated using Weblate (Turkish)
Currently translated at 100.0% (116 of 116 strings)
Laurentiu Dobrota [Sat, 11 Apr 2020 19:25:14 +0000 (19:25 +0000)]
Translated using Weblate (Romanian)
Currently translated at 76.7% (89 of 116 strings)
Jerome Jutteau [Sun, 15 Nov 2020 23:19:58 +0000 (00:19 +0100)]
[TASK] Add 4.2.0 changelog
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 22:54:31 +0000 (23:54 +0100)]
[BUGFIX] always prefer using HTML5 features if available
Classic uploads (one single post request) were used even if HTML5 features were available as an optimization to avoid more requests than needed.
However, in case of badly configured server Jirafeau cannot try to resend a file with a lower size like async uploads.
Now, the js client is always using async uploads if HTML5 feature is available.
ref #234
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 22:53:27 +0000 (23:53 +0100)]
[BUGFIX] show proper error on classic upload failure
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 22:44:33 +0000 (23:44 +0100)]
[BUGFIX] retry on communication error with server
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 22:30:05 +0000 (23:30 +0100)]
[BUGFIX] detect and adapt server limitation
This fix retry to transfer when js client gets a 413 (Request Entity Too Large).
Chunk size is lowered at each retry.
Jirafeau administrators seeing 413 errors should check their server settings.
fixes #234
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 22:29:28 +0000 (23:29 +0100)]
[TASK] add default lighttpd max-request-value
usefull for eventual debug purposes
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 21:09:11 +0000 (22:09 +0100)]
[TASK] move changelog and upgrade doc to separate file
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 20:41:14 +0000 (21:41 +0100)]
[TASK] fix email of Jérôme Jutteau
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 20:37:35 +0000 (21:37 +0100)]
[BUGFIX] fixing upload speed units
closes #225
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 20:20:11 +0000 (21:20 +0100)]
[TASK] fix documentation
closes #229
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 15 Nov 2020 20:16:30 +0000 (21:16 +0100)]
[TASK] remove outdated comment
fixes #232
patrick-canterino.de