]> git.p6c8.net - jirafeau_project.git/log
jirafeau_project.git
5 weeks agoUpdated Docker README
Patrick Canterino [Wed, 16 Oct 2024 17:50:05 +0000 (19:50 +0200)]
Updated Docker README

- Mount local directory for data storage
- Syntax highlighting

5 weeks agoUpdated README and CHANGELOG
Patrick Canterino [Mon, 14 Oct 2024 17:40:29 +0000 (19:40 +0200)]
Updated README and CHANGELOG

5 weeks agoMerge branch 'bug_admin_download_encrypted' into 'next-release'
Patrick Canterino [Sat, 12 Oct 2024 14:48:50 +0000 (14:48 +0000)]
Merge branch 'bug_admin_download_encrypted' into 'next-release'

Removed the download button and the corresponding link for encrypted files from the admin interface

See merge request jirafeau/Jirafeau!6

5 weeks agoRemoved the download button and the corresponding link for encrypted files from the...
Patrick Canterino [Sat, 12 Oct 2024 14:48:50 +0000 (14:48 +0000)]
Removed the download button and the corresponding link for encrypted files from the admin interface

2 months agoMerge branch 'new-copyright-header' into 'next-release'
Patrick Canterino [Sun, 8 Sep 2024 14:26:07 +0000 (14:26 +0000)]
Merge branch 'new-copyright-header' into 'next-release'

Updated copyright header, new list of authors in separate file

See merge request jirafeau/Jirafeau!5

2 months agoUpdated copyright header, new list of authors in separate file
Patrick Canterino [Sun, 8 Sep 2024 14:26:07 +0000 (14:26 +0000)]
Updated copyright header, new list of authors in separate file

2 months agoUpdated CHANGELOG
Patrick Canterino [Tue, 3 Sep 2024 17:49:49 +0000 (19:49 +0200)]
Updated CHANGELOG

2 months agoAdded screenshots directory to .dockerignore
Patrick Canterino [Tue, 3 Sep 2024 17:34:19 +0000 (19:34 +0200)]
Added screenshots directory to .dockerignore

2 months agoMerge branch 'new-screenshots' into 'next-release'
Patrick Canterino [Mon, 2 Sep 2024 17:14:13 +0000 (17:14 +0000)]
Merge branch 'new-screenshots' into 'next-release'

Update screenshots in README and store them in the repository

See merge request jirafeau/Jirafeau!4

2 months agoUpdate screenshots in README and store them in the repository
Patrick Canterino [Mon, 2 Sep 2024 17:14:13 +0000 (17:14 +0000)]
Update screenshots in README and store them in the repository

2 months agoMerge branch 'f_modularization_wip_rebased' into 'next-release'
Blackeye [Mon, 26 Aug 2024 11:58:02 +0000 (11:58 +0000)]
Merge branch 'f_modularization_wip_rebased' into 'next-release'

Code Modularization

See merge request jirafeau/Jirafeau!3

2 months agoCode Modularization
Blackeye [Mon, 26 Aug 2024 11:58:02 +0000 (11:58 +0000)]
Code Modularization

3 months agoMerge branch 'master' into next-release
Patrick Canterino [Sun, 18 Aug 2024 15:53:20 +0000 (17:53 +0200)]
Merge branch 'master' into next-release

This will fix the history after commit 4efa531d in master

3 months agoCopied information about Docker from README files from next-release to master master
Patrick Canterino [Sun, 18 Aug 2024 15:52:31 +0000 (17:52 +0200)]
Copied information about Docker from README files from next-release to master

So our users will instantly get this new information whem opening the GitLab page

3 months agoFixed Docker README
Patrick Canterino [Sun, 18 Aug 2024 15:38:00 +0000 (17:38 +0200)]
Fixed Docker README

- URL was incorrect
- Removed warning about outdated image

3 months agoMerge branch 'rebase_integrate_docker_build_and_publish' into 'next-release'
Patrick Canterino [Sun, 18 Aug 2024 14:01:58 +0000 (14:01 +0000)]
Merge branch 'rebase_integrate_docker_build_and_publish' into 'next-release'

#2: Build and publish Docker images using GitLab CI.

See merge request jirafeau/Jirafeau!1

3 months ago#2: Build and publish Docker images using GitLab CI. 1/head
Erik Hubers [Sun, 11 Aug 2024 12:52:52 +0000 (14:52 +0200)]
#2: Build and publish Docker images using GitLab CI.

---
Add the ability to build & publish a docker image to the Gitlab
container registry when tagging a commit.

For now we'll publish both tag (i.e. `x.x.x`) and `latest` upon trigger.

It's assumed tags are only set on the default branch and only limited
amount people have tag rights. As it publishes `latest` it's important
not to push breaking / untested releases. If required a more elaborate
setup can be created, but let's start somewhere.

For now it's assumed in README.md files we're going to publish to the
GitLab Container Registry, with $CI_REGISTRY/$CI_REGISTRY_IMAGE
variables resolving to `registry.gitlab.com/jirafeau/jirafeau`.

Changes:
- Fixup of several pre-existing linter errors in `php` files
- Cleanup `Dockerfile`, merged `COPY` & `RUN` layers leveraging BuildKit
- Added `publish` pipeline step to be triggered using `tags`
- Updated docker image related references in `README.md`
- Refactored `.gitlab-ci.yaml` to only run `before_script` for linters

3 months agoNew config option to preselect the checkbox for deleting the file after the first...
Patrick Canterino [Sun, 11 Aug 2024 11:20:25 +0000 (13:20 +0200)]
New config option to preselect the checkbox for deleting the file after the first download

3 months agoChanged JIRAFEAU_VERSION so that we can identify that this is a development vesion
Patrick Canterino [Sat, 10 Aug 2024 16:06:31 +0000 (18:06 +0200)]
Changed JIRAFEAU_VERSION so that we can identify that this is a development vesion

4 months agoDefine new constant JIRAFEAU_WEBSITE with the project's website
Patrick Canterino [Mon, 15 Jul 2024 19:18:48 +0000 (21:18 +0200)]
Define new constant JIRAFEAU_WEBSITE with the project's website

Made use of this constant where possible

4 months agoREADME: Deny access to var on Apache using "Require all denied"
Patrick Canterino [Sat, 13 Jul 2024 14:25:32 +0000 (16:25 +0200)]
README: Deny access to var on Apache using "Require all denied"

4 months agoAdded some words about a custom dark theme
Patrick Canterino [Sat, 13 Jul 2024 14:12:01 +0000 (16:12 +0200)]
Added some words about a custom dark theme

Added folder "dark-custom" to .gitignore

4 months agoJirafeau version 4.6.0 4.6.0
Patrick Canterino [Sat, 6 Jul 2024 13:48:59 +0000 (15:48 +0200)]
Jirafeau version 4.6.0

4 months agoFixed headings in Docker README
Patrick Canterino [Sat, 6 Jul 2024 13:42:53 +0000 (15:42 +0200)]
Fixed headings in Docker README

Also mentioned that there is currently no pre-made Docker image

4 months agoFixed headings in README
Patrick Canterino [Sat, 6 Jul 2024 13:40:02 +0000 (15:40 +0200)]
Fixed headings in README

4 months agoFixed headings in CHANGELOG
Patrick Canterino [Sat, 6 Jul 2024 13:38:20 +0000 (15:38 +0200)]
Fixed headings in CHANGELOG

4 months agoAdded link to Sodium extension in README
Patrick Canterino [Sat, 6 Jul 2024 13:20:24 +0000 (15:20 +0200)]
Added link to Sodium extension in README

4 months agoNote the authentication type (by password or by IP no password) in the session
Patrick Canterino [Sat, 6 Jul 2024 12:10:47 +0000 (14:10 +0200)]
Note the authentication type (by password or by IP no password) in the session

This allows us to show the logout button only if the user is authenticated by password

4 months agoTranslated INSTALL_FILE_NOT_FOUND_TITLE and INSTALL_FILE_NOT_FOUND_DESC to German
Patrick Canterino [Sat, 6 Jul 2024 11:33:10 +0000 (13:33 +0200)]
Translated INSTALL_FILE_NOT_FOUND_TITLE and INSTALL_FILE_NOT_FOUND_DESC to German

4 months agoSmall changes to README and CONTRIBUTING
Patrick Canterino [Fri, 5 Jul 2024 16:03:33 +0000 (18:03 +0200)]
Small changes to README and CONTRIBUTING

4 months agoSmall readme adoptions
fm-sys [Mon, 1 Jul 2024 21:46:58 +0000 (23:46 +0200)]
Small readme adoptions

4 months agoChanged URLs to point to new group repository
Patrick Canterino [Mon, 1 Jul 2024 18:15:53 +0000 (20:15 +0200)]
Changed URLs to point to new group repository

4 months agoFixed some things in README (typos, URLS, formatting)
Patrick Canterino [Sun, 30 Jun 2024 13:05:18 +0000 (15:05 +0200)]
Fixed some things in README (typos, URLS, formatting)

4 months agoChanged links to point to my fork
Patrick Canterino [Fri, 28 Jun 2024 13:29:52 +0000 (15:29 +0200)]
Changed links to point to my fork

4 months agoUpdated CHANGELOG to reflect the changes since 4.5.0
Patrick Canterino [Thu, 27 Jun 2024 12:29:01 +0000 (14:29 +0200)]
Updated CHANGELOG to reflect the changes since 4.5.0

4 months agoFixed some things in README, especially the inline code
Patrick Canterino [Thu, 27 Jun 2024 12:03:15 +0000 (14:03 +0200)]
Fixed some things in README, especially the inline code

4 months agoMerge branch 'multi-http-admins' into next-release
Patrick Canterino [Thu, 27 Jun 2024 10:31:46 +0000 (12:31 +0200)]
Merge branch 'multi-http-admins' into next-release

4 months agoUpdated README
Patrick Canterino [Thu, 27 Jun 2024 10:19:54 +0000 (12:19 +0200)]
Updated README

4 months agoMerged next-release into master
Patrick Canterino [Thu, 27 Jun 2024 10:15:52 +0000 (12:15 +0200)]
Merged next-release into master

5 months agoAdd @Blackstareye's fork
Jérôme Jutteau [Fri, 21 Jun 2024 07:19:36 +0000 (07:19 +0000)]
Add @Blackstareye's fork

@ref #360

5 months agoUpdate some badges in README
Jerome Jutteau [Wed, 12 Jun 2024 19:26:41 +0000 (21:26 +0200)]
Update some badges in README

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
5 months agoEnd of maintenance
Jerome Jutteau [Wed, 12 Jun 2024 19:05:29 +0000 (21:05 +0200)]
End of maintenance

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
7 months agoAllow multiple usernames when using HTTP authentication for the admin interface
Patrick Canterino [Sun, 19 Mar 2023 13:15:50 +0000 (14:15 +0100)]
Allow multiple usernames when using HTTP authentication for the admin interface

Changed $cfg['admin_http_auth_user'] to an array to provide multiple usernames.
The option to provide a string here is preserved for backward compatibility.

7 months agoFixed some mistakes in german translation
Patrick Canterino [Sun, 26 Nov 2023 13:17:16 +0000 (14:17 +0100)]
Fixed some mistakes in german translation

7 months agoFixed a typo
Patrick Canterino [Wed, 3 Apr 2024 13:14:14 +0000 (15:14 +0200)]
Fixed a typo

7 months agoCentralize legacy mcrypt decryption in `jirafeau_decrypt_file_legacy()`
Patrick Canterino [Wed, 3 Apr 2024 12:44:01 +0000 (14:44 +0200)]
Centralize legacy mcrypt decryption in `jirafeau_decrypt_file_legacy()`

Same as with `jirafeau_decrypt_file()` in a previous commit

`jirafeau_decrypt_file_legacy()` was also broken, a `mcrypt_generic_init()` was missing

7 months agoFixed function comments
Patrick Canterino [Wed, 3 Apr 2024 12:36:16 +0000 (14:36 +0200)]
Fixed function comments

7 months agoDefine constants only if Sodium is available
Patrick Canterino [Wed, 3 Apr 2024 12:21:33 +0000 (14:21 +0200)]
Define constants only if Sodium is available

7 months agoCentralize decryption in `jirafeau_decrypt_file()`
Patrick Canterino [Mon, 1 Apr 2024 13:37:37 +0000 (15:37 +0200)]
Centralize decryption in `jirafeau_decrypt_file()`

Previously the decryption code in f.php was a copy of `jirafeau_decrypt_file()`.
Now, we let the funtion write to `php://output`.

`jirafeau_decrypt_file()` was previously broken because of me doing copy-paste...

7 months agoMention that source and destination file must not be the same and abort if they are...
Patrick Canterino [Mon, 1 Apr 2024 13:08:53 +0000 (15:08 +0200)]
Mention that source and destination file must not be the same and abort if they are the same

7 months agoDefine some Sodium constants from newer PHP versions if they are not available
Patrick Canterino [Sat, 30 Mar 2024 13:02:22 +0000 (14:02 +0100)]
Define some Sodium constants from newer PHP versions if they are not available

7 months agoCheck return value of `rename()` after encryption
Patrick Canterino [Sat, 30 Mar 2024 12:51:40 +0000 (13:51 +0100)]
Check return value of `rename()` after encryption

7 months agoShow a warning in admin interface if Sodium is not available
Patrick Canterino [Fri, 29 Mar 2024 12:12:31 +0000 (13:12 +0100)]
Show a warning in admin interface if Sodium is not available

7 months agoMention changed encryption algorithm and module in README
Patrick Canterino [Thu, 28 Mar 2024 17:06:56 +0000 (18:06 +0100)]
Mention changed encryption algorithm and module in README

7 months agoRe-emplementing encryption using Sodium
Patrick Canterino [Thu, 28 Mar 2024 16:50:24 +0000 (17:50 +0100)]
Re-emplementing encryption using Sodium

Changes:
- Encryption using Sodium
- Key is generated using random_bytes() (cryptographically secure)
- Encryption is done using a second file, which is renamed after encryption is
  complete (by using the same file, we would encrypt already encrypted data
  again)
- A file encrypted using Sodium is marked with "C2" in the link file, so we can
  distinguish them from files encrypted using mcrypt

ToDo:
- Error checking
- Show a warning in the admin interface if Sodium is not available

12 months agomod_usertrack was deprecated and seems to be retired (currently installing from lates...
Fabien Clément [Wed, 8 Nov 2023 09:25:23 +0000 (09:25 +0000)]
mod_usertrack was deprecated and seems to be retired (currently installing from latest php 8.1 alpine image)
I remove it and application still seems to work as expected

17 months agoProvide URL scheme in installer
Patrick Canterino [Thu, 27 Apr 2023 18:17:07 +0000 (20:17 +0200)]
Provide URL scheme in installer

17 months agoFixed and improved Docker image options.
Sandybunting [Tue, 27 Sep 2022 16:31:08 +0000 (16:31 +0000)]
Fixed and improved Docker image options.

Fixed the Docker image TITLE option and added a DARK_STYLE option.

Changes made to docker_config.php and the docker README

17 months agoRequire Root to make access denied prettier
Jack Footner [Thu, 9 Mar 2023 05:27:35 +0000 (15:57 +1030)]
Require Root to make access denied prettier

17 months agoAdd new `admin_ip` configuration option
Jack Footner [Thu, 9 Mar 2023 05:02:57 +0000 (15:32 +1030)]
Add new `admin_ip` configuration option

17 months ago[FEATURE] Add meta viewport
Dan Untenzu [Wed, 15 Mar 2023 13:40:43 +0000 (14:40 +0100)]
[FEATURE] Add meta viewport

Add the generic meta viewport tag,
to support responsive themes.

Refs #328

17 months agofix: docker lighttpd mod_usertrack not found
Andrea Zucchelli [Sat, 10 Jun 2023 22:08:03 +0000 (00:08 +0200)]
fix: docker lighttpd mod_usertrack not found

17 months agofix:remove deprecated strftime
Andrea Zucchelli [Sat, 10 Jun 2023 21:57:28 +0000 (23:57 +0200)]
fix:remove deprecated strftime

19 months agofix: favicon location
Mathis Mensing [Wed, 5 Apr 2023 07:00:53 +0000 (09:00 +0200)]
fix: favicon location

23 months agokeep and show basic download stats
Wim Livens [Sun, 2 Oct 2022 22:40:02 +0000 (00:40 +0200)]
keep and show basic download stats

23 months agofix wrong location for cfg access
gwunderlich [Fri, 2 Sep 2022 14:42:37 +0000 (16:42 +0200)]
fix wrong location for cfg access

23 months agofix input validation on required/regex setting
gwunderlich [Fri, 2 Sep 2022 14:35:41 +0000 (16:35 +0200)]
fix input validation on required/regex setting

23 months agoadd function to check or generate file download passwords
gwunderlich [Fri, 2 Sep 2022 12:57:39 +0000 (14:57 +0200)]
add function to check or generate file download passwords

2 years agoFix for mcrypt error, when encrypting files of size = X*1024 bytes
gwunderlich [Mon, 14 Nov 2022 14:23:21 +0000 (15:23 +0100)]
Fix for mcrypt error, when encrypting files of size = X*1024 bytes

2 years ago[BUGFIX] Fix Linter
Jerome Jutteau [Fri, 26 Aug 2022 07:34:15 +0000 (09:34 +0200)]
[BUGFIX] Fix Linter

Update to php-cs-fixer which supports php >7.4 and >8.1. Removed unsupported versions

closes #320

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] Fix php-cs-fixer errors
Jerome Jutteau [Wed, 24 Aug 2022 22:08:43 +0000 (00:08 +0200)]
[TASK] Fix php-cs-fixer errors

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] rework user auth
Jerome Jutteau [Wed, 24 Aug 2022 20:09:15 +0000 (22:09 +0200)]
[TASK] rework user auth

This is a cleaner way to upload files and also prepare for #311.

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years agoJirafeau version 4.5.0 4.5.0
Jerome Jutteau [Tue, 19 Jul 2022 11:17:43 +0000 (13:17 +0200)]
Jirafeau version 4.5.0

closes #306

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years agoRevert "[TASK] update CI to add PHP 8.1"
Jerome Jutteau [Fri, 15 Jul 2022 12:27:23 +0000 (14:27 +0200)]
Revert "[TASK] update CI to add PHP 8.1"

This reverts commit 8b1d336a1c2693b7f372df10860b96aa8d8a6a82.

2 years ago[BUGFIX] Negative download speed display
Jerome Jutteau [Fri, 15 Jul 2022 11:46:09 +0000 (13:46 +0200)]
[BUGFIX] Negative download speed display

fixes #309

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years agoFix JIRAFEAU_UPLOAD_PASSWD use.
Asharas [Sun, 10 Jul 2022 20:03:11 +0000 (22:03 +0200)]
Fix JIRAFEAU_UPLOAD_PASSWD use.

Variable in help is described as JIRAFEAU_UPLOAD_PASSWD but both tested
and assigned variables have the wrong name.

2 years ago[BUGFIX] fix admin moving buttons on focus on dark-courgette
Jerome Jutteau [Thu, 7 Jul 2022 13:20:03 +0000 (15:20 +0200)]
[BUGFIX] fix admin moving buttons on focus on dark-courgette

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] Fix weblate warning regarding ku lang.
Jerome Jutteau [Wed, 6 Jul 2022 18:34:35 +0000 (20:34 +0200)]
[TASK] Fix weblate warning regarding ku lang.

Original warning:
> Files for translated languages are using ambiguous language codes.
> These language codes indicate a macrolanguage, and it is usually better to use the code of the individual language instead.

> Language code: ku
> Suggested individual language codes: ckb, kmr, sdh

I will arbitrally choose ckb because I ignore differences about those individual languages and I'am sorry for this.
Feel free to edit, open an issue or edit those individual languages.

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] Update release process
Jerome Jutteau [Wed, 6 Jul 2022 18:09:46 +0000 (20:09 +0200)]
[TASK] Update release process

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] Update changelog
Jerome Jutteau [Wed, 6 Jul 2022 18:02:50 +0000 (20:02 +0200)]
[TASK] Update changelog

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] import weblate the hard way
Jerome Jutteau [Wed, 6 Jul 2022 17:46:15 +0000 (19:46 +0200)]
[TASK] import weblate the hard way

Webblate git repository was conflicting with gitlab's origin since two release.
This induced a lot of conflicts which are now resolved in this single commit.
Weblate will be hard-based on this commit.

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] update CI to add PHP 8.1
Jerome Jutteau [Sun, 3 Jul 2022 15:21:42 +0000 (17:21 +0200)]
[TASK] update CI to add PHP 8.1

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[TASK] Update changelog
Jerome Jutteau [Wed, 6 Jul 2022 09:25:02 +0000 (11:25 +0200)]
[TASK] Update changelog

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[BUGFIX] fix admin moving buttons on focus
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>
2 years ago[TASK] avoid copying install.php in docker image
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>
2 years ago[TASK] Disabling file deduplication by default.
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>
2 years ago[TASK] re-arrange Docker overlays to speedup image creation
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>
2 years ago[TASK] simplify Dockerfile
Jerome Jutteau [Tue, 5 Jul 2022 07:59:08 +0000 (09:59 +0200)]
[TASK] simplify Dockerfile

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2 years ago[BUGFIX] retry transfering with lower size for any HTTP error code
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>
2 years ago[BUGFIX] jirafeau_ini_to_bytes with no modifier
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>
2 years ago[BUGFIX] Manage PHP configuration with "unlimited" upload
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>
2 years ago[FEATURE] Support light/dark mode
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>
2 years ago[BUGFIX] fix proposed web root during installation
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>
2 years ago[BUGFIX] Print nice error when install.php is missing and we need it.
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>
2 years ago[BUGFIX] Fix user/group id in Dockerfile
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>
2 years ago[TASK] update docker image with PHP 8.1
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>
2 years ago[BUGFIX] fix and simplify delete confirmation form
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>
2 years ago[BUGFIX] Limit upload chunk size to a reasonable value
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>
2 years agoAdd more details about upload error
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>
2 years agoUpdate CHANGELOG regarding new options
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>

patrick-canterino.de