]>
git.p6c8.net - jirafeau.git/log
Jerome Jutteau [Wed, 6 Jul 2022 09:25:02 +0000 (11:25 +0200)]
[TASK] Update changelog
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Wed, 6 Jul 2022 09:14:16 +0000 (11:14 +0200)]
[BUGFIX] fix admin moving buttons on focus
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 5 Jul 2022 11:53:41 +0000 (13:53 +0200)]
[TASK] avoid copying install.php in docker image
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 5 Jul 2022 11:46:16 +0000 (13:46 +0200)]
[TASK] Disabling file deduplication by default.
File hashing is a pretty intensive task both for CPU and disk.
This feature seems not to be a must have and can produce unwanted side effects.
Very large file can take a lot of time to be hashed at the end of transfert, producing protential timeouts and user frustration.
Users can still enable file deduplication feature by setting `file_hash` to `md5`.
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 5 Jul 2022 11:19:20 +0000 (13:19 +0200)]
[TASK] re-arrange Docker overlays to speedup image creation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 5 Jul 2022 07:59:08 +0000 (09:59 +0200)]
[TASK] simplify Dockerfile
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 5 Jul 2022 06:23:01 +0000 (08:23 +0200)]
[BUGFIX] retry transfering with lower size for any HTTP error code
When a timeout is too low compared to sent size, server will return a 500 error.
Jirafeau retry to send again but do not try to reduce chunk size.
This patch will make Jiarfeau split in half it's sent size each an error occurs.
ref #273
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Mon, 4 Jul 2022 22:33:43 +0000 (00:33 +0200)]
[BUGFIX] jirafeau_ini_to_bytes with no modifier
When setting a PHP ini value like `post_max_size`,
the value may not have a modifier (e.g. "M") and
for "0" input, the function return empty string.
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Mon, 4 Jul 2022 21:38:25 +0000 (23:38 +0200)]
[BUGFIX] Manage PHP configuration with "unlimited" upload
Setting `post_max_size` and `upload_max_filesize` PHP options to "0" is unmanaged by Jirafeau.
It tries to send 0 bytes and Javascript have some zero division errors.
This commit will use $max_upload_chunk_size_bytes option when available.
If $max_upload_chunk_size_bytes is also set to zero, chunk size is set an arbitrary value of 10M.
Non html-5 users will not have size limitation shown.
fixes #272
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Mon, 4 Jul 2022 07:15:53 +0000 (09:15 +0200)]
[FEATURE] Support light/dark mode
A new option `dark_style` is introduced to set which dark theme administrators want to user.
If administrator don"t want to use a dark mode, they can just set `dark_syle` and `style` option to the same value.
closes #305
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 15:17:32 +0000 (17:17 +0200)]
[BUGFIX] fix proposed web root during installation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 14:38:09 +0000 (16:38 +0200)]
[BUGFIX] Print nice error when install.php is missing and we need it.
Also show header when printing this type of fatal error
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 14:27:15 +0000 (16:27 +0200)]
[BUGFIX] Fix user/group id in Dockerfile
fixes #304
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 14:14:43 +0000 (16:14 +0200)]
[TASK] update docker image with PHP 8.1
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 12:16:22 +0000 (14:16 +0200)]
[BUGFIX] fix and simplify delete confirmation form
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 11:38:23 +0000 (13:38 +0200)]
[BUGFIX] Limit upload chunk size to a reasonable value
Not really a bug but avoid users to fall in php configuration traps.
ref #303
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sun, 3 Jul 2022 08:42:33 +0000 (10:42 +0200)]
Add more details about upload error
ref #303
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 2 Jul 2022 15:00:52 +0000 (17:00 +0200)]
Update CHANGELOG regarding new options
ref #303
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 2 Jul 2022 14:35:50 +0000 (16:35 +0200)]
Detail more errors
A user which just have "Error" is hard to help.
This should help understanding what is happening.
ref #303
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Tue, 17 May 2022 16:32:13 +0000 (18:32 +0200)]
[TASK] Add example of admin password generation
ref #297
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
Jerome Jutteau [Sat, 30 Apr 2022 19:15:36 +0000 (21:15 +0200)]
[FEATURE] IRC channel is now open on libera.chat
closes #294
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
bendia [Tue, 21 Dec 2021 21:21:19 +0000 (22:21 +0100)]
[BUGFIX] use i18n string_id to avoid "FIXME" errors in install.php
This fix has been backported from #101 merge request in next-release
Thanks @bendia
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
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)
patrick-canterino.de