790 Commits

Author SHA1 Message Date
Jerome Jutteau
5058cbd048 Jirafeau version 4.4.0
closes #292

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
4.4.0
2022-04-30 20:54:22 +02:00
Oskar Fagerfjäll
3e84a5debe fix spelling mistakes 2022-04-07 07:32:53 +00:00
sam lt
507be5f97b fix 2 minor typos 2022-04-07 07:31:48 +00:00
Edwin Bos
c7f776c8b9 Implement expiry after a fortnight (2 weeks). 2022-04-07 07:30:17 +00:00
MrWouterNL
6d6c111b80
[BUGFIX] Disallow file preview for image/svg+xml files 2022-03-21 20:46:14 +01:00
Jerome Jutteau
03f216f58d [BUGFIX] fix file previewing
- avoid previewing text/*
- javascript side more clear

closes #264

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-05-18 09:58:16 +02:00
Jerome Jutteau
8665ea5fc1 [BUGFIX] setup autocomplete field for passwords
closes #265

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-05-18 09:01:37 +02:00
Nicky Galliano
2bc76d8bae 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.
2021-02-15 13:15:34 +00:00
Sven Dickert
cea71d42c3 fix #178 "Delete via API does not work" 2021-01-31 17:40:26 +00:00
Jerome Jutteau
33bb6cfe31 [TASK] add more information in bug report
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-01-03 22:38:49 +01:00
Jerome Jutteau
4dc0536825 [TASK] add more details in docker documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-01-03 01:40:32 +01:00
Jerome Jutteau
50ba95ede5 [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>
2021-01-03 01:24:39 +01:00
Jerome Jutteau
420be1d8b3 [FEATURE] add basic docker options
- web_root
- var_root
- admin_password

ref #247

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-01-01 21:38:07 +01:00
Jerome Jutteau
a155e54c13 [TASK] rework docker documentation
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-01-01 18:37:06 +01:00
Jerome Jutteau
144887f157 [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>
2021-01-01 02:36:06 +01:00
Jerome Jutteau
9a51f6fc76 [FEATURE] provide details for bug opening
refs #235

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-01-01 02:31:34 +01:00
Jerome Jutteau
cd86d83c47 Jirafeau version 4.3.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
4.3.0
2020-12-30 11:11:41 +01:00
Jerome Jutteau
44e5ad14d3 [TASK] update changelog
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-30 11:11:26 +01:00
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