822 Commits

Author SHA1 Message Date
Jerome Jutteau
beae768cc7 [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>
2020-12-30 10:32:04 +01:00
Jerome Jutteau
b83af6c5d9 [TASK] clean docker documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 23:05:06 +01:00
Jerome Jutteau
a050a0d511 [TASK] add line returns for admin cli
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:56:35 +01:00
Jerome Jutteau
c8487cae33 [TASK] add docker options documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:34:50 +01:00
Jerome Jutteau
07ee94c202 [TASK] add release notes
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:28:20 +01:00
Jerome Jutteau
36e0d29e64 [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>
2020-12-13 22:23:15 +01:00
Jerome Jutteau
c6c5eb250b [TASK] move docker CMD command to separate file
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:23:15 +01:00
Jerome Jutteau
dddcc25511 [BUGFIX] avoid running admin cli if installation not finished
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:23:15 +01:00
Jerome Jutteau
df31fed41e [TASK] clean install.php functions
Move functions to lib/functions.php

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:23:15 +01:00
Jerome Jutteau
4a704a2317 [TASK] clean dead code from install.php
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 20:36:00 +01:00
Jerome Jutteau
32842e276e [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>
2020-12-13 19:59:29 +01:00
Dan Untenzu
6e621f8bd4 [FEATURE] CI: Add PSR-12 check
The project follows the PSR-2 coding style.
This should be tested automatically in all commits.
2020-12-05 12:46:15 +00:00
Jerome Jutteau
b6f423726c [TASK] run php-cs-fixer
php-cs-fixer fix --rules=@PSR2 .

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-05 13:45:04 +01:00
Dan Untenzu
f55334d19e [FEATURE] Add composer
Add composer to allow project installation via packagist.

Refs #91
2020-12-05 12:25:57 +00:00
Jerome Jutteau
a20a3a2f4c [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>
2020-12-05 12:56:27 +01:00
Jerome Jutteau
989cb76f32 [TASK] set explicit PHP settings for docker
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-05 12:51:52 +01:00
Jerome Jutteau
d598ed64ed [TASK] centralize error reporting config
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-05 11:53:40 +01:00
Dan Untenzu
c3c7c86917 [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.
2020-12-03 14:38:09 +00:00
Dan Untenzu
3a340f7689 [BUGFIX] CI: Fix YAML indentations 2020-12-03 14:38:09 +00:00
Dan Untenzu
d9bd5ba08b [FEATURE] Replace PHP linter package
Replace abandoned PHP Linter package with new source.
2020-12-03 14:38:09 +00:00
Dan Untenzu
65aed7759f [FEATURE] Add blog post to Readme 2020-12-03 14:36:41 +00:00
Dan Untenzu
b15dff851a [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.
2020-12-03 14:20:49 +01:00
Jerome Jutteau
1651878a56 [TASK] better to test docker image before releasing
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-02 21:33:44 +01:00
Jerome Jutteau
65b5afd798 [BUGFIX] fix jirafeau docker image
- exposed port
- fix lighttpd user
- setup www-data group
2020-12-02 21:30:56 +01:00
Jerome Jutteau
a916c325ea Jirafeau version 4.2.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
4.2.0
2020-12-02 20:30:37 +01:00
Sebastien Mennetrier
bbc89b1f7e Remove unnecessary 'Term of Service' from locales 2020-11-27 11:20:15 +01:00
Jerome Jutteau
451679a020 [TASK] reword project introduction
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-20 19:59:29 +01:00
Jerome Jutteau
edebdc7835 Donation are welcome to pay demo site hosting
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-20 19:51:44 +01:00
Jerome Jutteau
7caac04de6 [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>
2020-11-20 19:22:08 +01:00
Jerome Jutteau
3426456f3f [BUFIX] fix bash script to send files
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-20 18:25:25 +01:00
Jerome Jutteau
29fffe4a12 [BUGFIX] fix broken admin file listing
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-20 12:59:56 +01:00
Jerome Jutteau
2f02bc687a [TASK] reword file_hash option
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-20 12:38:24 +01:00
Jerome Jutteau
1203cc4e90 [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>
2020-11-19 22:34:59 +01:00
Jerome Jutteau
ae3f16cbe0 [BUGFIX] remove auto-generated FIX ME in config.local.php file
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-19 22:18:43 +01:00
Jerome Jutteau
092766a374 [BUGFIX] fix error return
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-19 22:15:07 +01:00
Jerome Jutteau
9d77c0fe90 [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>
2020-11-19 21:51:58 +01:00
Jerome Jutteau
0c2a55c003 [TASK] update changelog
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-11-16 00:23:18 +01:00
J. Lavoie
0b9b3765e5 Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)
2020-11-16 00:21:37 +01:00
Tymofij Lytvynenko
27483cab01 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (116 of 116 strings)
2020-11-16 00:21:37 +01:00
J. Lavoie
f68fb350ac Translated using Weblate (Italian)
Currently translated at 99.1% (115 of 116 strings)
2020-11-16 00:21:37 +01:00
J. Lavoie
c76b681251 Translated using Weblate (French)
Currently translated at 100.0% (116 of 116 strings)
2020-11-16 00:21:37 +01:00
Yaron Shahrabani
01f1c52390 Translated using Weblate (Hebrew)
Currently translated at 99.1% (115 of 116 strings)
2020-11-16 00:21:37 +01:00
Yaron Shahrabani
f1844c44ad Translated using Weblate (Hebrew)
Currently translated at 82.7% (96 of 116 strings)
2020-11-16 00:21:37 +01:00
Srikanth L
14d3c112ee Translated using Weblate (Tamil)
Currently translated at 18.1% (21 of 116 strings)
2020-11-16 00:21:37 +01:00
ssantos
f7030e1706 Translated using Weblate (Portuguese)
Currently translated at 100.0% (116 of 116 strings)
2020-11-16 00:21:37 +01:00
Yaron Shahrabani
8e461b63d0 Translated using Weblate (Hebrew)
Currently translated at 73.2% (85 of 116 strings)
2020-11-16 00:21:37 +01:00
ssantos
803001cfaa Translated using Weblate (Portuguese)
Currently translated at 100.0% (116 of 116 strings)
2020-11-16 00:21:37 +01:00
ssantos
ff976198f0 Translated using Weblate (Portuguese)
Currently translated at 97.4% (113 of 116 strings)
2020-11-16 00:21:37 +01:00
Luna Jernberg
965f64e458 Translated using Weblate (Swedish)
Currently translated at 100.0% (116 of 116 strings)
2020-11-16 00:21:37 +01:00
Luna Jernberg
2386eafc67 Translated using Weblate (Swedish)
Currently translated at 99.1% (115 of 116 strings)
2020-11-16 00:21:37 +01:00