summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
10 daysRelease 4.0.2HEAD4.0.2masterdevFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
10 daysfix(pygments): Improve systemd file detectionFlorian Pritz2-1/+13
Improved version of 4c6c4b8c19797333b4d93a266afd7f243694d875 since my test file was detected as text/plain, not as application/x-wine-extension-ini. Signed-off-by: Florian Pritz <bluewind@xinu.at>
10 dayschore(pygments): Fix sort order in extension listFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
10 daysMerge branch 'feature/systemd-service-lexer' of ↵Florian Pritz1-0/+1
https://github.com/hashworks/filebin into dev
10 daysfix(duser_db): Guard against NULL valuesFlorian Pritz2-0/+13
When a user is deleted, their details are set to NULL. When no username is specific for a password reset, this can trigger an email being sent to an empty recipient which will not be deliverable. Just to be safe, guard against NULL values for all the user related functions. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2024-02-24Use systemd lexer for systemd .service file mimetypeshashworks1-0/+1
Uploading systemd foo.service files results in the application/x-wine-extension-ini mimetype, which triggers a download on various browsers. This fixes that and displays them using the systemd lexer instead.
2024-01-14Release 4.0.14.0.1Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2024-01-14feat(PHP8.3): Fix assert_options deprecation warningsFlorian Pritz2-8/+1
All current asserations are only for development/debug related checks and safe to disable on production so we do not need to force any settings via the deprecate `assert_options` function here and we can just remove this code. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29Update NEWSFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29feat(PHP8.2): Fix dynamic properties deprecation warningsFlorian Pritz2-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29fix: Remove double CSRF checkingFlorian Pritz1-1/+0
The second verification (by us) fails. The constructor already performs a verification so we do not need to. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29fix: Add missing parameter for CSRF security class constructorFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29feat(PHP8.2): Fix dynamic properties deprecation warningsFlorian Pritz6-0/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29fix: Remove call to non-existant Model constructorFlorian Pritz3-4/+0
This has been removed in the recently merged changes from CI upstream. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29feat(PHP8.2): Fix deprecated string interpolationFlorian Pritz8-18/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29Merge remote-tracking branch 'upstream/develop' into devFlorian Pritz124-6200/+1418
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-29feat(PHP8.2): Fix dynamic properties deprecation warningsFlorian Pritz6-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2023-01-26Fixes #6175George Petculescu1-2/+2
This was introduced via #3752.
2022-12-01Fixes #6169George Petculescu1-1/+1
2022-12-01Fixes #6174George Petculescu2-3/+5
Improves Log_test::test_configuration() test
2022-12-01Merge pull request #6155 from sashashura/patch-1George Petculescu1-0/+3
GitHub Workflows security hardening
2022-12-01[ci skip] Merge pull request #6176 from ↵George Petculescu1-3/+3
tenzap/testfixassertMatchesRegularExpression Adapt unit tests so as not to fail with PHPUnit 8.5
2022-12-01[ci skip] Merge pull request #6179 from jedio60/docum-feat1George Petculescu1-1/+1
In the tutorial, fix a bad sentence
2022-11-27In the tutorial, fix a bad sentencejediodev1-1/+1
New text is: two methods to view news items: one for [...] and one for [...] Signed-off-by: jediodev <jediodev@gmail.com>
2022-11-10Adapt unit tests so as not to fail with PHPUnit 8.5tenzap1-3/+3
When the phpunit tests are run with phpunit 8.5, they will fail because the test would call assertMatchesRegularExpression which doesn't exists in that version. So check the existence of the method instead of checking the class 'PHPUnit_Runner_Version'.
2022-11-06Merge pull request #6150 from orionstar/developGeorge Petculescu3-6/+6
fixes #6149 + removing deprecated variable variables in general
2022-08-29Update test-phpunit.ymlAlex1-0/+3
2022-07-24fixes #6149László Bóra3-6/+6
remove deprecated variable variables / string interpolation in variable names
2022-07-10docs: Update Android client repo URLFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-06-27Merge pull request #6140 from Mouerr/developGeorge Petculescu2-3/+4
Bug Fix: [cookie_helper.php] set_cookie was missing sameSite argument
2022-06-26fix(docker): Update alpine image and php packagesFlorian Pritz1-3/+3
Build is broken without this. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-06-26Fixes #6141George Petculescu1-1/+1
2022-06-26fix(composer.json): Update required PHP version to 7.0Florian Pritz1-1/+1
Should have been part of 37bd983bf0cc956a6c814f161bec1061e9cc9572 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-06-26docs: Fix typoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-06-21Bug Fix: [cookie_helper.php] set_cookie was missing sameSite argumentMouad Err2-3/+4
2022-04-10Release 4.0.04.0.0Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-04-10chore: Update composer.lockFlorian Pritz1-33/+33
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-04-10fix(multipaste): Handle missing items in multipaste queueFlorian Pritz2-0/+6
This fixes an exception if the multipaste queue contains an item that does not exist any more, e.g. because it has been deleted after it was added to the queue. `Exception 1/1 'ErrorException' with message 'Trying to access array offset on value of type bool' in /srv/http/filebin/application/controllers/file/Multipaste.php:103` Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-04-10feat(PHP8.1): Fix float to int conversion precision lossFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-04-10feat(PHP8.1): Add null-checksFlorian Pritz3-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-04-10feat(PHP8.1)!: Fix deprecated null argumentsFlorian Pritz3-2/+4
BREAKING CHANGE: Syntax raises minimal PHP version to 7.0 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-04-10Merge remote-tracking branch 'upstream/3.1-stable' into devFlorian Pritz178-219/+534
2022-04-10NEWS: Fix missing release versionFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2022-03-03[ci skip] Minor formatting fix in changelogAndrey Andreev1-1/+0
2022-03-03Merge branch '3.1-stable' into developAndrey Andreev5-2/+28
2022-03-03[ci skip] Doc updates for 3.1.13 start and changelog entry for #6107Andrey Andreev6-4/+31
2022-03-03[ci skip] Remove epub-related stuff from build-release scriptAndrey Andreev1-1/+1
2022-03-03[ci skip] Merge pull request #6107 from ducng99/patch-1Andrey Andreev1-1/+1
Fix SessionUpdateTimestampHandlerInterface name
2022-03-03[ci skip] Merge pull request #6107 from ducng99/patch-1Andrey Andreev1-1/+1
Fix SessionUpdateTimestampHandlerInterface name
2022-03-03Fix SessionUpdateTimestampHandlerInterface nameThomas Nguyen1-1/+1