]> git.p6c8.net - jirafeau/pcanterino.git/log
jirafeau/pcanterino.git
3 days agoJirafeau 4.8.0 is ready master 4.8.0
Patrick Canterino [Sun, 15 Nov 2026 13:57:09 +0000 (14:57 +0100)]
Jirafeau 4.8.0 is ready

3 days agoUpdated README
Patrick Canterino [Sun, 15 Nov 2026 13:55:58 +0000 (14:55 +0100)]
Updated README

3 days agoUpdated CHANGELOG, AUTHORS and Docker README
Patrick Canterino [Sun, 15 Nov 2026 13:51:39 +0000 (14:51 +0100)]
Updated CHANGELOG, AUTHORS and Docker README

5 days agoWe require PHP 8.1
Patrick Canterino [Fri, 13 Nov 2026 18:45:54 +0000 (19:45 +0100)]
We require PHP 8.1

5 days agoUpdated CHANGELOG
Patrick Canterino [Fri, 13 Nov 2026 18:44:59 +0000 (19:44 +0100)]
Updated CHANGELOG

5 days agoMerge branch 'fix_issue_51' into next-release
Patrick Canterino [Fri, 13 Nov 2026 18:32:45 +0000 (19:32 +0100)]
Merge branch 'fix_issue_51' into next-release

2 weeks agoAdded EXT_LIM EXT_NOT_ALLOWED to remaining locale files and added German translation
Patrick Canterino [Wed, 4 Nov 2026 17:13:10 +0000 (18:13 +0100)]
Added EXT_LIM EXT_NOT_ALLOWED to remaining locale files and added German translation

2 weeks agoIgnore config.local.php when building the Docker image
Patrick Canterino [Wed, 4 Nov 2026 17:05:52 +0000 (18:05 +0100)]
Ignore config.local.php when building the Docker image

2 weeks ago(Very) Simple check for debug output if we are running in Docker
Patrick Canterino [Mon, 2 Nov 2026 19:37:26 +0000 (20:37 +0100)]
(Very) Simple check for debug output if we are running in Docker

2 weeks agoAllow to set disallowed file extensions in Docker using an env variable
Patrick Canterino [Mon, 2 Nov 2026 19:24:34 +0000 (20:24 +0100)]
Allow to set disallowed file extensions in Docker using an env variable

2 weeks agoMerge branch 'f_issue_53' into 'next-release'
Blackeye [Sat, 31 Oct 2026 12:48:23 +0000 (13:48 +0100)]
Merge branch 'f_issue_53' into 'next-release'

fix for  password-protected download always fails with "Error 10" since 4.7.2

Closes #53

See merge request jirafeau/Jirafeau!41

2 weeks agoaligned naming convention for md5_legacy_hash_compare so it is the same in both files...
Blackeye [Sat, 31 Oct 2026 12:45:41 +0000 (13:45 +0100)]
aligned naming convention for md5_legacy_hash_compare so it is the same in both files (script, f)

2 weeks agoMerge branch 'allow-disallow-extensions' into 'next-release'
Blackeye [Sat, 31 Oct 2026 00:32:20 +0000 (01:32 +0100)]
Merge branch 'allow-disallow-extensions' into 'next-release'

Add a config option to forbid certain file extensions for uploads

See merge request jirafeau/Jirafeau!39

3 weeks agoaligned to fix_issue_53
Blackeye [Wed, 28 Oct 2026 16:17:28 +0000 (17:17 +0100)]
aligned to fix_issue_53

3 weeks agoadded comment for explanation why the hash needs a prefix
Blackeye [Wed, 28 Oct 2026 15:49:53 +0000 (16:49 +0100)]
added comment for explanation why the hash needs a prefix

3 weeks agofix for issue 53 - fixed hash compare in script.php
Blackeye [Wed, 28 Oct 2026 15:45:13 +0000 (16:45 +0100)]
fix for issue 53 - fixed hash compare in script.php

3 weeks agoUse braces on every if in control_selected_file_extension
TehPeGaSuS [Sun, 25 Oct 2026 23:19:25 +0000 (00:19 +0100)]
Use braces on every if in control_selected_file_extension

3 weeks agoShow the disallowed extensions list only when the selected file matches
TehPeGaSuS [Sun, 25 Oct 2026 22:48:51 +0000 (23:48 +0100)]
Show the disallowed extensions list only when the selected file matches

3 weeks agoAccept a leading dot in disallowed_extensions entries
TehPeGaSuS [Sun, 25 Oct 2026 22:45:56 +0000 (23:45 +0100)]
Accept a leading dot in disallowed_extensions entries

3 weeks agoWrite vertical tab as \v in jirafeau_is_extension_allowed
TehPeGaSuS [Fri, 23 Oct 2026 18:38:10 +0000 (20:38 +0200)]
Write vertical tab as \v in jirafeau_is_extension_allowed

4 weeks agoMatch compound extensions such as tar.gz in disallowed_extensions
TehPeGaSuS [Mon, 19 Oct 2026 19:04:17 +0000 (21:04 +0200)]
Match compound extensions such as tar.gz in disallowed_extensions

4 weeks agoRemoved linting for PHP 7.4 since it is EOL
Patrick Canterino [Sun, 18 Oct 2026 20:55:09 +0000 (22:55 +0200)]
Removed linting for PHP 7.4 since it is EOL

Also, linting does not work on GitLab's CI anymore, because of dependency issues

4 weeks agoEscape the disallowed extensions list in the upload form's onchange attribute
TehPeGaSuS [Sun, 18 Oct 2026 14:28:41 +0000 (16:28 +0200)]
Escape the disallowed extensions list in the upload form's onchange attribute

4 weeks agoKeep the size error when the extension is also forbidden
TehPeGaSuS [Fri, 16 Oct 2026 10:42:58 +0000 (12:42 +0200)]
Keep the size error when the extension is also forbidden

4 weeks agoIgnore trailing dots and whitespace when checking file extension
TehPeGaSuS [Fri, 16 Oct 2026 10:38:32 +0000 (12:38 +0200)]
Ignore trailing dots and whitespace when checking file extension

4 weeks agoDisable the send button instead of hiding it for forbidden extensions
TehPeGaSuS [Fri, 16 Oct 2026 10:36:00 +0000 (12:36 +0200)]
Disable the send button instead of hiding it for forbidden extensions

4 weeks agoUpdated CHANGELOG
Patrick Canterino [Fri, 16 Oct 2026 10:16:08 +0000 (12:16 +0200)]
Updated CHANGELOG

4 weeks agoUpdated list of authors
Patrick Canterino [Fri, 16 Oct 2026 10:10:28 +0000 (12:10 +0200)]
Updated list of authors

4 weeks agoReplaced some double quotes by single quotes, check size of async file
Patrick Canterino [Fri, 16 Oct 2026 09:54:49 +0000 (11:54 +0200)]
Replaced some double quotes by single quotes, check size of async file

4 weeks agoMerge branch 'optional-time-param' into 'next-release'
Patrick Canterino [Fri, 16 Oct 2026 09:30:12 +0000 (11:30 +0200)]
Merge branch 'optional-time-param' into 'next-release'

Make time parameter optional in script.php

See merge request jirafeau/Jirafeau!38

4 weeks agoMerge branch 'fix-onetime-download-stats' into 'next-release'
Patrick Canterino [Fri, 16 Oct 2026 09:29:39 +0000 (11:29 +0200)]
Merge branch 'fix-onetime-download-stats' into 'next-release'

Write download stats before deleting one-time link

See merge request jirafeau/Jirafeau!40

4 weeks agoDuring admin cleanup of expired files, consider an empty "time" value as an invalid...
Patrick Canterino [Thu, 15 Oct 2026 12:53:56 +0000 (14:53 +0200)]
During admin cleanup of expired files, consider an empty "time" value as an invalid file and remove it

4 weeks agoMore validation of async ref and code strings
Patrick Canterino [Thu, 15 Oct 2026 12:36:16 +0000 (14:36 +0200)]
More validation of async ref and code strings

Ref string MUST be 32 characters, code string MUST be 4 characters.

Code string MUST be a valid hex string.

Compare code using hash_equals().

5 weeks agoCheck async ref files before opening.
Patrick Canterino [Wed, 14 Oct 2026 13:04:59 +0000 (15:04 +0200)]
Check async ref files before opening.

Ref files MUST be files, not directories.

Ref files MUST NOT be emtpy.

5 weeks agoCheck if ref string is a valid hex string
Patrick Canterino [Mon, 12 Oct 2026 13:41:10 +0000 (15:41 +0200)]
Check if ref string is a valid hex string

7 weeks agoWrite download stats before deleting one-time link
Max Hausch [Tue, 29 Sep 2026 07:22:37 +0000 (09:22 +0200)]
Write download stats before deleting one-time link

2 months agoAdd disallowed_extensions config with server and client validation
ThePeGaSuS [Mon, 7 Sep 2026 11:02:50 +0000 (13:02 +0200)]
Add disallowed_extensions config with server and client validation

Add $cfg['disallowed_extensions'] as a single-purpose blacklist field
(supersedes MR !39's allowed/forbidden approach per maintainer
feedback). Server-side validation runs in both the direct-upload and
async-init branches of script.php, covering browser and CLI/curl
uploads alike. Client-side JS mirrors the existing file-size check,
warning the user and hiding the send button before they submit an
upload with a disallowed extension, and the disallowed list is shown
next to the file-size hint on the upload form.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MGzCMiwvovH9jLpoAJZvkF

2 months agoMake time parameter optional in script.php
ThePeGaSuS [Sat, 5 Sep 2026 17:44:37 +0000 (19:44 +0200)]
Make time parameter optional in script.php

Defaults to availability_default from config when time is not provided.

3 months agoMerge branch 'next-release' into 'next-release'
Patrick Canterino [Wed, 12 Aug 2026 11:25:44 +0000 (13:25 +0200)]
Merge branch 'next-release' into 'next-release'

Promoting MR 35 to Next-Rrelease Except the Password Hashing that is Already Implemented

See merge request jirafeau/Jirafeau!37

4 months ago Begin a new release cycle
Patrick Canterino [Sat, 27 Jun 2026 08:59:44 +0000 (10:59 +0200)]
 Begin a new release cycle

4 months ago Jirafeau 4.7.2 is ready 4.7.2
Patrick Canterino [Sat, 27 Jun 2026 08:56:22 +0000 (10:56 +0200)]
 Jirafeau 4.7.2 is ready

4 months agoShow value of "debug_enforce_classic_upload" in bug report info
Patrick Canterino [Sat, 27 Jun 2026 08:55:29 +0000 (10:55 +0200)]
Show value of "debug_enforce_classic_upload" in bug report info

4 months agoAlso hooking regex on script.php
Davi Torres [Mon, 22 Jun 2026 15:09:17 +0000 (11:09 -0400)]
Also hooking regex on script.php

4 months agoMore character scaping on indes and install.
Davi Torres [Mon, 22 Jun 2026 15:08:17 +0000 (11:08 -0400)]
More character scaping on indes and install.

4 months agoHooking regex to the begining of the line and using safe comparison.
Davi Torres [Mon, 22 Jun 2026 15:05:55 +0000 (11:05 -0400)]
Hooking regex to the begining of the line and using safe comparison.

4 months agoPrevent CSRF by using htmlspecialchars on header and footer.
Davi Torres [Mon, 22 Jun 2026 15:03:44 +0000 (11:03 -0400)]
Prevent CSRF by using htmlspecialchars on header and footer.

5 months agoUpdated CHANGELOG
Patrick Canterino [Sat, 13 Jun 2026 13:44:42 +0000 (15:44 +0200)]
Updated CHANGELOG

5 months ago Added "debug_enforce_classic_upload" to Docker options
Patrick Canterino [Sat, 13 Jun 2026 13:35:26 +0000 (15:35 +0200)]
 Added "debug_enforce_classic_upload" to Docker options

5 months agoAdded TehPeGaSuS to the list of authors
Patrick Canterino [Fri, 5 Jun 2026 14:49:58 +0000 (16:49 +0200)]
Added TehPeGaSuS  to the list of authors

5 months agoModified copyright header of all themes
Patrick Canterino [Fri, 5 Jun 2026 14:35:55 +0000 (16:35 +0200)]
Modified copyright header of all themes

5 months agoApplied CSS for "show password box" to other themes
Patrick Canterino [Fri, 5 Jun 2026 14:31:44 +0000 (16:31 +0200)]
Applied CSS for "show password box" to other themes

5 months agoApplied patch by @Blackstareye from merge request !30
Patrick Canterino [Fri, 5 Jun 2026 14:23:42 +0000 (16:23 +0200)]
Applied patch by @Blackstareye  from merge request !30

Now we have an eye button for toggling the password to clear text

5 months agoMerge branch 'patch-1' into 'show_password_box'
Patrick Canterino [Fri, 5 Jun 2026 14:16:41 +0000 (16:16 +0200)]
Merge branch 'patch-1' into 'show_password_box'

Add a Show password checkbox

See merge request jirafeau/Jirafeau!30

5 months agoMerge branch 'fix_legacy_upload' into 'next-release'
Patrick Canterino [Fri, 5 Jun 2026 14:02:08 +0000 (16:02 +0200)]
Merge branch 'fix_legacy_upload' into 'next-release'

Fixed file encryption on classic upload

See merge request jirafeau/Jirafeau!34

5 months agoMerge branch 'md5_to_sha256' into 'next-release'
Patrick Canterino [Fri, 5 Jun 2026 14:01:33 +0000 (16:01 +0200)]
Merge branch 'md5_to_sha256' into 'next-release'

Md5 to sha256

See merge request jirafeau/Jirafeau!33

5 months agoFixed error message occuring on classic upload
Patrick Canterino [Sun, 31 May 2026 16:55:05 +0000 (18:55 +0200)]
Fixed error message occuring on classic upload

Changed handling of XHR responses

5 months agoFixed temporary filenames of encrypted files during classic upload
Patrick Canterino [Sun, 31 May 2026 13:49:28 +0000 (15:49 +0200)]
Fixed temporary filenames of encrypted files during classic upload

5 months agoRenamed cfg option debug_enforce_legacy_upload to debug_enforce_classic_upload
Patrick Canterino [Sun, 31 May 2026 13:30:50 +0000 (15:30 +0200)]
Renamed cfg option debug_enforce_legacy_upload  to debug_enforce_classic_upload

5 months agoFixed file encryption in classic uploads
Patrick Canterino [Sun, 31 May 2026 13:29:37 +0000 (15:29 +0200)]
Fixed file encryption in classic uploads

Encrypted files uploaded using classic (synchronous) uploads were marked using "C" identifying legacy mcrypt encryption
=> changed to "C2" identifying Sodium encryption

5 months agoSmall refactoring
Patrick Canterino [Sun, 31 May 2026 13:07:50 +0000 (15:07 +0200)]
Small refactoring

5 months agoAdded config option to enforce legacy synchronous file upload
Patrick Canterino [Fri, 29 May 2026 14:57:14 +0000 (16:57 +0200)]
Added config option to enforce legacy synchronous file upload

This is useful for debugging, we use it for issue #48

5 months agoFixed linter error
Patrick Canterino [Fri, 29 May 2026 13:48:02 +0000 (15:48 +0200)]
Fixed linter error

5 months agoPrefixed SHA256 password hashes
Patrick Canterino [Fri, 29 May 2026 13:35:41 +0000 (15:35 +0200)]
Prefixed SHA256 password hashes

This way we can identify them and still compare to legacy MD5 hashes

5 months agoHere we actually NEED MD5. This one affects only legacy files encrypted using mcrypt.
Patrick Canterino [Fri, 29 May 2026 13:13:29 +0000 (15:13 +0200)]
Here we actually NEED MD5. This one affects only legacy files encrypted using mcrypt.

5 months agoMerge branch 'proposal_ci_php_linting_with_warning' into 'next-release'
Blackeye [Thu, 28 May 2026 18:21:13 +0000 (20:21 +0200)]
Merge branch 'proposal_ci_php_linting_with_warning' into 'next-release'

Proposal ci php linting with warning

See merge request jirafeau/Jirafeau!32

9 months agoMentioned CVE-2026-1466 in CHANGELOG
Patrick Canterino [Wed, 4 Feb 2026 11:36:38 +0000 (12:36 +0100)]
Mentioned CVE-2026-1466 in CHANGELOG

9 months agopat pat - ci linting
Blackeye [Wed, 4 Feb 2026 00:47:30 +0000 (01:47 +0100)]
pat pat - ci linting

9 months agofixed script md5 -> sha256
Blackeye [Wed, 4 Feb 2026 00:39:18 +0000 (01:39 +0100)]
fixed script md5 -> sha256

9 months ago#34 - change md5 to sha256
Blackeye [Wed, 4 Feb 2026 00:33:51 +0000 (01:33 +0100)]
#34 - change md5 to sha256

9 months agoupdated php-cs-fixer version to latest version
Blackeye [Tue, 3 Feb 2026 22:31:42 +0000 (23:31 +0100)]
updated php-cs-fixer version to latest version

9 months agorearanged anchors and added linting proposal
Blackeye [Tue, 3 Feb 2026 22:19:50 +0000 (23:19 +0100)]
rearanged anchors and added linting proposal

9 months agoUpdated CHANGELOG
Patrick Canterino [Fri, 30 Jan 2026 12:22:47 +0000 (13:22 +0100)]
Updated CHANGELOG

9 months agoMerge branch 'master' into 'next-release'
Patrick Canterino [Fri, 30 Jan 2026 12:19:15 +0000 (13:19 +0100)]
Merge branch 'master' into 'next-release'

Missing favicon

See merge request jirafeau/Jirafeau!31

9 months agoAnother attempt to fix linting
TehPeGaSuS [Mon, 26 Jan 2026 22:03:25 +0000 (23:03 +0100)]
Another attempt to fix linting

9 months agoTrying to make linting happy
TehPeGaSuS [Mon, 26 Jan 2026 21:46:29 +0000 (22:46 +0100)]
Trying to make linting happy

9 months agoUpload New File
TehPeGaSuS [Mon, 26 Jan 2026 21:25:20 +0000 (22:25 +0100)]
Upload New File

9 months agoAdd a `Show password checkbox`
TehPeGaSuS [Mon, 26 Jan 2026 20:59:12 +0000 (21:59 +0100)]
Add a `Show password checkbox`

9 months agoBegin a new release cycle
Patrick Canterino [Sun, 25 Jan 2026 13:39:52 +0000 (14:39 +0100)]
Begin a new release cycle

9 months agoJirafeau 4.7.1 is ready 4.7.1
Patrick Canterino [Sun, 25 Jan 2026 13:35:16 +0000 (14:35 +0100)]
Jirafeau 4.7.1 is ready

9 months agoUpdated README
Patrick Canterino [Sun, 25 Jan 2026 13:33:36 +0000 (14:33 +0100)]
Updated README

- Notes about lack of end-to-end encryption
- Notes about setting max_upload_chunk_size_bytes manually if updating from an older version

9 months agoUpdated CHANGELOG
Patrick Canterino [Mon, 19 Jan 2026 18:36:45 +0000 (19:36 +0100)]
Updated CHANGELOG

9 months agoDocker image: Updated PHP to 8.3 and removed mime-types.conf from lighttpd.conf
Patrick Canterino [Mon, 19 Jan 2026 18:30:06 +0000 (19:30 +0100)]
Docker image: Updated PHP to 8.3 and removed mime-types.conf from lighttpd.conf

PHP 8.1 is end-of-life
mime-types.conf is not available in recent versions of lighttpd

Fixed issue #45

10 months agoAdded slt to list of authors
Patrick Canterino [Sun, 18 Jan 2026 13:58:01 +0000 (14:58 +0100)]
Added slt to list of authors

10 months agoUpdated CHANGELOG
Patrick Canterino [Sun, 18 Jan 2026 13:30:14 +0000 (14:30 +0100)]
Updated CHANGELOG

10 months agoFurther description of issue #40 in README
Patrick Canterino [Sun, 18 Jan 2026 13:20:21 +0000 (14:20 +0100)]
Further description of issue #40 in README

10 months agoSet default value of max_upload_chunk_size_bytes to 5000000 (5MB)
Patrick Canterino [Sun, 18 Jan 2026 13:14:05 +0000 (14:14 +0100)]
Set default value of max_upload_chunk_size_bytes to 5000000 (5MB)

Higher values can trigger a bug in Chromium based browsers with HTTP/3 on the web server enabled (see issue #40)

10 months agoMerge branch 'bug_mime_sniffing' into 'next-release'
Patrick Canterino [Sat, 10 Jan 2026 15:29:40 +0000 (16:29 +0100)]
Merge branch 'bug_mime_sniffing' into 'next-release'

Disable MIME sniffing to prevent preview of invalid (propably harmful) file types

See merge request jirafeau/Jirafeau!29

10 months agoDisable MIME sniffing to prevent preview of invalid (propably harmful) file types
Patrick Canterino [Sun, 4 Jan 2026 13:54:55 +0000 (14:54 +0100)]
Disable MIME sniffing to prevent preview of invalid (propably harmful) file types

Reported by Yann CAM and Killian CHEVRIER

10 months agoMentioned issue #40 as a known issue in the README file
Patrick Canterino [Sun, 4 Jan 2026 13:43:49 +0000 (14:43 +0100)]
Mentioned issue #40 as a known issue in the README file

14 months agoBegin a new release cycle
Patrick Canterino [Mon, 8 Sep 2025 10:09:50 +0000 (12:09 +0200)]
Begin a new release cycle

14 months agoJirafeau 4.7.0 is ready 4.7.0
Patrick Canterino [Mon, 8 Sep 2025 10:03:48 +0000 (12:03 +0200)]
Jirafeau 4.7.0 is ready

14 months agoUpdated list of authors
Patrick Canterino [Mon, 8 Sep 2025 09:54:03 +0000 (11:54 +0200)]
Updated list of authors

14 months agoUpdated CHANGELOG
Patrick Canterino [Mon, 8 Sep 2025 09:50:56 +0000 (11:50 +0200)]
Updated CHANGELOG

14 months agoUpdated CHANGELOG
Patrick Canterino [Sat, 30 Aug 2025 12:28:22 +0000 (14:28 +0200)]
Updated CHANGELOG

14 months agoMerge branch 'shortlinks' into 'next-release'
Patrick Canterino [Sat, 30 Aug 2025 12:13:45 +0000 (14:13 +0200)]
Merge branch 'shortlinks' into 'next-release'

add short link support

See merge request jirafeau/Jirafeau!24

14 months agoadd short link support
Florian [Sat, 30 Aug 2025 12:13:45 +0000 (12:13 +0000)]
add short link support

15 months agoFixed indentation
Patrick Canterino [Tue, 12 Aug 2025 13:04:20 +0000 (15:04 +0200)]
Fixed indentation

15 months agoMerge branch 'f_issue_35-36' into 'next-release'
Patrick Canterino [Tue, 12 Aug 2025 12:46:59 +0000 (14:46 +0200)]
Merge branch 'f_issue_35-36' into 'next-release'

Fixes for issues 35 and 36

See merge request jirafeau/Jirafeau!26

15 months agoMerge branch 'f_issue_37' into 'next-release'
Patrick Canterino [Tue, 12 Aug 2025 12:45:01 +0000 (14:45 +0200)]
Merge branch 'f_issue_37' into 'next-release'

Fix for issue 37

See merge request jirafeau/Jirafeau!27

15 months agoTrying to upload a file using script.php with an upload password set always ends...
Patrick Canterino [Sat, 9 Aug 2025 13:35:46 +0000 (15:35 +0200)]
Trying to upload a file using script.php with an upload password set always ends up in an "Error 2". Added "!isset($_POST['upload_password'])" to the test condition.

Patch by Yannis Aribaud

patrick-canterino.de