817 Commits

Author SHA1 Message Date
Jerome Jutteau
ecfc8a70b8 [FEATURE] Support diffent types of file hashing
Useful to avoid hash efforts on large files.

ref #206

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-12-04 22:34:30 +01:00
Jerome Jutteau
5d7c0d3ce0 [TASK] mass renaming md5 -> hash
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-12-04 21:33:44 +01:00
Jerome Jutteau
70d841a8fc Freeze next-release for at least week before releasing.
ref #203

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-23 00:25:32 +01:00
Jerome Jutteau
871a40df8b Jirafeau version 4.1.1
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
4.1.1
2019-11-22 23:58:28 +01:00
Jerome Jutteau
fa5a6464a3 [FIX] lang sanity check
fix #205

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-22 23:55:37 +01:00
Jerome Jutteau
a793f57ef0 Jirafeau version 4.1.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
4.1.0
2019-11-22 23:10:03 +01:00
Jerome Jutteau
86058c0638 [TASK] update release task list
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-22 23:01:31 +01:00
Jerome Jutteau
ec1f742add [TASK] Fix php.ini for docker
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-22 22:49:43 +01:00
Jerome Jutteau
f950bd1463 [BUGFIX] Fix Accept-Language support
Accept-Language was partially supported.
It now make the difference between zh and zh_TW for instance.
It is also able to fallback to next user supported language.

Fix #204

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-22 22:47:18 +01:00
Jerome Jutteau
0c8f8d01c6 [FEATURE] Add support for Chinese (Taiwan) lang
ref #204

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-22 20:38:51 +01:00
Mattias Münster
2670977fe2
Translated using Weblate (Swedish)
Currently translated at 97.4% (111 of 114 strings)
2019-11-19 12:04:31 +01:00
Erik Lundin
ebcb7402a9 Avoid code duplication when authorizing upload 2019-11-12 02:17:40 +01:00
Erik Lundin
a00401257a Fix upload IP check
If no IP addresses are listed at 'upload_ip_nopassword', index.php won't
show any login form and indicate the session as authenticated. During
the actual upload, script.php will show the error 'Error 2: No password
nor allowed IP'.

The reason is that jirafeau_challenge_upload_ip returns true if the
supplied IP whitelist is empty, but uploading without a password doesn't
work this way (and shouldn't).

I took the liberty to split 'jirafeau_challenge_upload_ip' into one
function for the normal IP check, and one for checking if allowed to
upload without a password. Having function names that clearly
communicates the intent makes it easier to avoid bugs.
2019-11-12 02:17:34 +01:00
Jerome Jutteau
0ae47dc192 [FIX] Typo USING_SERIVCE -> USING_SERVICE
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-12 00:25:04 +01:00
j-broo
9cc17fe0ab Open TOS in new tab, link protected. 2019-11-12 00:22:07 +01:00
j-broo
374e4718dd Suggestion: Open footer links in new tabs, with link hijacking protection. Keeps user on the main Jirafeau page they don't lose data. 2019-11-12 00:16:59 +01:00
j-broo
cf120158b2 Spelling and consistency corrections 2019-11-12 00:13:56 +01:00
Jerome Jutteau
c3114e0b2e [TASK] Size checking adjustments
- identation
- print GB when >= 1024
- show limitation in MB when > 0
- hide text under file selection when there is no limit

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-12 00:10:56 +01:00
j-broo
0b85af176c Propose change of copy icon to Unicode "clipboard" icon, the current icon does not display properly in many browsers. Clipboard icon also makes more sense - copy link to clipboard. https://www.compart.com/en/unicode/U+1F4CB 2019-11-11 23:23:47 +01:00
j-broo
18a49e2771 Update for installations that allow large files - If file is over 1 GB, display units in GB. Avoids displaying strings like "3000 MB" 2019-11-11 10:17:01 +00:00
j-broo
d0a3851f3a Better looking file list table for interface 2019-11-08 21:24:14 +00:00
j-broo
0f7bae2556 Update functions.js.php 2019-11-08 21:16:11 +00:00
j-broo
cadde9373f Update settings.php 2019-11-08 21:11:29 +00:00
Jerome Jutteau
07721aec51 [TASK] Reword migration to Jirafeau 4.0.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-05 23:48:41 +01:00
Zoltán Faludi
2aa55680e1 update hungarian translation 2019-11-05 23:33:36 +01:00
Jerome Jutteau
ef766af557 [TASK] Explain how to migrate to Jirafeau 4.0.0 2019-11-05 21:16:33 +01:00
Jerome Jutteau
a0701eee3e [TASK] Refresh lang support in README.md
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-11-05 00:19:22 +01:00
Jerome Jutteau
dcc863e71b Jirafeau version 4.0.0
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
4.0.0
2019-11-04 23:55:10 +01:00
GoZ
7d441626dc Update PHP to 7.3-fpm-alpine 2019-11-04 23:01:48 +01:00
Mattias Münster
4a53cd6344 Translated using Weblate (Swedish)
Currently translated at 100.0% (114 of 114 strings)
2019-10-22 12:22:48 +02:00
Guilherme Andrade
3868c90b34 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (114 of 114 strings)
2019-10-22 12:22:48 +02:00
Dark Horse
a6ef005d53 Translated using Weblate (Bengali (India))
Currently translated at 21.1% (24 of 114 strings)
2019-10-22 12:22:48 +02:00
Sabri Ünal
2a04a560f1 Translated using Weblate (Turkish)
Currently translated at 100.0% (114 of 114 strings)
2019-10-22 12:22:48 +02:00
ssantos
da1fc48384 Translated using Weblate (German)
Currently translated at 100.0% (114 of 114 strings)
2019-10-22 12:22:48 +02:00
Jerome Jutteau
7511bd6115 [TASK] Inform about encryption mode server side
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-10-21 23:04:33 +02:00
sebastien
ee1e3a1d4c [BUGFIX] prevent send button to "move" when focused or hovered 2019-10-21 21:36:13 +02:00
sebastien
ec83f46ba4 [BUGFIX] prevent PREV_STEP button to be disproportionnate cause of \n in "" 2019-10-21 21:36:13 +02:00
sebastien
1a41ef82ac [BUGFIX] prevent NEXT_STEP button to be disproportionnate cause of \n in "" 2019-10-21 21:36:13 +02:00
sebastien
066e714713 Typo fix « » 2019-10-21 21:36:13 +02:00
sebastien
486d4f5ea5 [BUGFIX] allow no ip user to connect and stay connected 2019-10-21 21:36:13 +02:00
sebastien
7d1d6fe244 French translation improvement 2019-10-21 21:36:13 +02:00
sebastien
96f7e6adb9 [BUGFIX] Prevent addCopyListener to add event on undefined button when preview option set to false 2019-10-21 21:36:13 +02:00
sebastien
08efa741a5 [BUGFIX] Replace \r by \r\n in email link for windows thunderbird compatibility 2019-10-21 21:36:13 +02:00
sebastien
d09ba57608 [BUGFIX] Replace text by password field 2019-10-21 21:36:13 +02:00
Jerome Jutteau
caa3a139b7 [BUGFIX] Fix crash when admin downloads
If the admin tries to download a big file, the file read can cause a
crash.

Fixes #174

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-10-21 21:36:13 +02:00
Jerome Jutteau
71944676be [FEATURE] change folder sub-division in var
WARNING: breaking change.

Folders in Jirafeau are originally split with 1 char.
e.g: a/3/b/c/6/f/1...

This is now set to 4 chars for better lisibility.
Older Jirafeau installation can put back to 1 char by editing this file.
This could eventually be a configuration item.

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-09-12 12:02:40 +02:00
Jerome Jutteau
f45aaf86ea [TASK] Remove plaintext password support
Finally remove support for admin password in plaintext

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2019-09-12 11:02:40 +02:00
Matthieu Schneider
f07477cb28 [FEATURE] Add check ip_nopassword in challenge_upload function 2019-09-05 23:35:39 +02:00
Matthieu Schneider
7578ca7e1d [FEATURE] No logout button for upload_ip_nopassword 2019-09-05 23:35:39 +02:00
Matthieu Schneider
6c160f2205 [FEATURE] Add check config for upload_ip_nopassword 2019-09-05 23:35:39 +02:00