]>
git.p6c8.net - jirafeau/pcanterino.git/log
Patrick Canterino [Sun, 15 Nov 2026 13:51:39 +0000 (14:51 +0100)]
Updated CHANGELOG, AUTHORS and Docker README
Patrick Canterino [Fri, 13 Nov 2026 18:45:54 +0000 (19:45 +0100)]
We require PHP 8.1
Patrick Canterino [Fri, 13 Nov 2026 18:44:59 +0000 (19:44 +0100)]
Updated CHANGELOG
Patrick Canterino [Fri, 13 Nov 2026 18:32:45 +0000 (19:32 +0100)]
Merge branch 'fix_issue_51' into next-release
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
Patrick Canterino [Wed, 4 Nov 2026 17:05:52 +0000 (18:05 +0100)]
Ignore config.local.php when building the Docker image
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
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
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
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)
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
Blackeye [Wed, 28 Oct 2026 16:17:28 +0000 (17:17 +0100)]
aligned to fix_issue_53
Blackeye [Wed, 28 Oct 2026 15:49:53 +0000 (16:49 +0100)]
added comment for explanation why the hash needs a prefix
Blackeye [Wed, 28 Oct 2026 15:45:13 +0000 (16:45 +0100)]
fix for issue 53 - fixed hash compare in script.php
TehPeGaSuS [Sun, 25 Oct 2026 23:19:25 +0000 (00:19 +0100)]
Use braces on every if in control_selected_file_extension
TehPeGaSuS [Sun, 25 Oct 2026 22:48:51 +0000 (23:48 +0100)]
Show the disallowed extensions list only when the selected file matches
TehPeGaSuS [Sun, 25 Oct 2026 22:45:56 +0000 (23:45 +0100)]
Accept a leading dot in disallowed_extensions entries
TehPeGaSuS [Fri, 23 Oct 2026 18:38:10 +0000 (20:38 +0200)]
Write vertical tab as \v in jirafeau_is_extension_allowed
TehPeGaSuS [Mon, 19 Oct 2026 19:04:17 +0000 (21:04 +0200)]
Match compound extensions such as tar.gz in disallowed_extensions
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
TehPeGaSuS [Sun, 18 Oct 2026 14:28:41 +0000 (16:28 +0200)]
Escape the disallowed extensions list in the upload form's onchange attribute
TehPeGaSuS [Fri, 16 Oct 2026 10:42:58 +0000 (12:42 +0200)]
Keep the size error when the extension is also forbidden
TehPeGaSuS [Fri, 16 Oct 2026 10:38:32 +0000 (12:38 +0200)]
Ignore trailing dots and whitespace when checking file extension
TehPeGaSuS [Fri, 16 Oct 2026 10:36:00 +0000 (12:36 +0200)]
Disable the send button instead of hiding it for forbidden extensions
Patrick Canterino [Fri, 16 Oct 2026 10:16:08 +0000 (12:16 +0200)]
Updated CHANGELOG
Patrick Canterino [Fri, 16 Oct 2026 10:10:28 +0000 (12:10 +0200)]
Updated list of authors
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
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
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
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
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().
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.
Patrick Canterino [Mon, 12 Oct 2026 13:41:10 +0000 (15:41 +0200)]
Check if ref string is a valid hex string
Max Hausch [Tue, 29 Sep 2026 07:22:37 +0000 (09:22 +0200)]
Write download stats before deleting one-time link
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
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.
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
Patrick Canterino [Sat, 27 Jun 2026 08:59:44 +0000 (10:59 +0200)]
Begin a new release cycle
Patrick Canterino [Sat, 27 Jun 2026 08:56:22 +0000 (10:56 +0200)]
Jirafeau 4.7.2 is ready
Patrick Canterino [Sat, 27 Jun 2026 08:55:29 +0000 (10:55 +0200)]
Show value of "debug_enforce_classic_upload" in bug report info
Davi Torres [Mon, 22 Jun 2026 15:09:17 +0000 (11:09 -0400)]
Also hooking regex on script.php
Davi Torres [Mon, 22 Jun 2026 15:08:17 +0000 (11:08 -0400)]
More character scaping on indes and install.
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.
Davi Torres [Mon, 22 Jun 2026 15:03:44 +0000 (11:03 -0400)]
Prevent CSRF by using htmlspecialchars on header and footer.
Patrick Canterino [Sat, 13 Jun 2026 13:44:42 +0000 (15:44 +0200)]
Updated CHANGELOG
Patrick Canterino [Sat, 13 Jun 2026 13:35:26 +0000 (15:35 +0200)]
Added "debug_enforce_classic_upload" to Docker options
Patrick Canterino [Fri, 5 Jun 2026 14:49:58 +0000 (16:49 +0200)]
Added TehPeGaSuS to the list of authors
Patrick Canterino [Fri, 5 Jun 2026 14:35:55 +0000 (16:35 +0200)]
Modified copyright header of all themes
Patrick Canterino [Fri, 5 Jun 2026 14:31:44 +0000 (16:31 +0200)]
Applied CSS for "show password box" to other themes
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
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
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
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
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
Patrick Canterino [Sun, 31 May 2026 13:49:28 +0000 (15:49 +0200)]
Fixed temporary filenames of encrypted files during 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
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
Patrick Canterino [Sun, 31 May 2026 13:07:50 +0000 (15:07 +0200)]
Small refactoring
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
Patrick Canterino [Fri, 29 May 2026 13:48:02 +0000 (15:48 +0200)]
Fixed linter error
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
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.
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
Patrick Canterino [Wed, 4 Feb 2026 11:36:38 +0000 (12:36 +0100)]
Mentioned CVE-2026-1466 in CHANGELOG
Blackeye [Wed, 4 Feb 2026 00:47:30 +0000 (01:47 +0100)]
pat pat - ci linting
Blackeye [Wed, 4 Feb 2026 00:39:18 +0000 (01:39 +0100)]
fixed script md5 -> sha256
Blackeye [Wed, 4 Feb 2026 00:33:51 +0000 (01:33 +0100)]
#34 - change md5 to sha256
Blackeye [Tue, 3 Feb 2026 22:31:42 +0000 (23:31 +0100)]
updated php-cs-fixer version to latest version
Blackeye [Tue, 3 Feb 2026 22:19:50 +0000 (23:19 +0100)]
rearanged anchors and added linting proposal
Patrick Canterino [Fri, 30 Jan 2026 12:22:47 +0000 (13:22 +0100)]
Updated CHANGELOG
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
TehPeGaSuS [Mon, 26 Jan 2026 22:03:25 +0000 (23:03 +0100)]
Another attempt to fix linting
TehPeGaSuS [Mon, 26 Jan 2026 21:46:29 +0000 (22:46 +0100)]
Trying to make linting happy
TehPeGaSuS [Mon, 26 Jan 2026 21:25:20 +0000 (22:25 +0100)]
Upload New File
TehPeGaSuS [Mon, 26 Jan 2026 20:59:12 +0000 (21:59 +0100)]
Add a `Show password checkbox`
Patrick Canterino [Sun, 25 Jan 2026 13:39:52 +0000 (14:39 +0100)]
Begin a new release cycle
Patrick Canterino [Sun, 25 Jan 2026 13:35:16 +0000 (14:35 +0100)]
Jirafeau 4.7.1 is ready
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
Patrick Canterino [Mon, 19 Jan 2026 18:36:45 +0000 (19:36 +0100)]
Updated CHANGELOG
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
Patrick Canterino [Sun, 18 Jan 2026 13:58:01 +0000 (14:58 +0100)]
Added slt to list of authors
Patrick Canterino [Sun, 18 Jan 2026 13:30:14 +0000 (14:30 +0100)]
Updated CHANGELOG
Patrick Canterino [Sun, 18 Jan 2026 13:20:21 +0000 (14:20 +0100)]
Further description of issue #40 in README
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)
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
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
Patrick Canterino [Sun, 4 Jan 2026 13:43:49 +0000 (14:43 +0100)]
Mentioned issue #40 as a known issue in the README file
Patrick Canterino [Mon, 8 Sep 2025 10:09:50 +0000 (12:09 +0200)]
Begin a new release cycle
Patrick Canterino [Mon, 8 Sep 2025 10:03:48 +0000 (12:03 +0200)]
Jirafeau 4.7.0 is ready
Patrick Canterino [Mon, 8 Sep 2025 09:54:03 +0000 (11:54 +0200)]
Updated list of authors
Patrick Canterino [Mon, 8 Sep 2025 09:50:56 +0000 (11:50 +0200)]
Updated CHANGELOG
Patrick Canterino [Sat, 30 Aug 2025 12:28:22 +0000 (14:28 +0200)]
Updated CHANGELOG
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
Florian [Sat, 30 Aug 2025 12:13:45 +0000 (12:13 +0000)]
add short link support
Patrick Canterino [Tue, 12 Aug 2025 13:04:20 +0000 (15:04 +0200)]
Fixed indentation
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
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
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 [Sat, 9 Aug 2025 13:13:44 +0000 (15:13 +0200)]
Download statistics were not shown in the admin interface
This feature got accidentally lost during refactoring
Patrick Canterino [Sat, 9 Aug 2025 13:06:13 +0000 (15:06 +0200)]
The generated download password was not shown in the "finished" page
This feature got accidentally lost during refactoring
Also made the form field readonly
patrick-canterino.de