summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-04-11Add links to new android clientFlorian Pritz2-0/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21Update NEWS3.6.0Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21Pygments: Add json and crystal filename extensionsFlorian Pritz2-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21NEWS: Mention PHP 8 fixesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21Update composer.lockFlorian Pritz1-77/+274
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21PHP8: Fix expected error string in test_libraries_procrunnerFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21PHP8: Fix generation of code coverage reportFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21PHP8: Fix testsuite compatibilityFlorian Pritz2-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21PHP8: Merge remote-tracking branch 'upstream/3.1-stable' into devFlorian Pritz160-240/+346
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-21PHP8: Update code coverage plugin for compabtibilityFlorian Pritz2-4/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-02-04[ci skip] Fix is_callable()-reliant logic broken by PHP 8Andrey Andreev4-3/+4
Close #6006, #6007
2021-02-04[ci skip] Add changelog entry for #6013Andrey Andreev1-0/+1
2021-02-04[ci skip] Remove a comment made obsolete by PR #6013Andrey Andreev1-2/+0
2021-02-04[ci skip] Merge pull request #6013 from 1stwebdesigns/new_branchAndrey Andreev1-1/+1
Fix Flashdata time comparison for PHP 8
2021-01-05[ci skip] Close #5973Andrey Andreev1-1/+1
2021-01-05[ci skip] Merge pull request #5980 from devnetkc/docs-5761Andrey Andreev1-0/+1
chore: Add to main readme contribute guide link
2021-01-05[ci skip] Close #6005: Fix typos in email helper docsAndrey Andreev1-3/+3
2020-10-07Update NEWS3.5.0Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-10-07API: Update API version to 2.2.0Florian Pritz4-7/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-10-07API: Only consider public methods as API endpointsFlorian Pritz1-1/+1
We are not only interested in checking if a method exists here, but really also if it can be called (e.g. if it is public). Private methods should not be considered as potential API endpoints. Before this, private methods could be called, leading to a 500 error due to a call to the private method. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-10-07API: Add `minimum-id-length` post parameterSimon Schuster6-21/+114
This parameter controls the generated id for files (file/upload) and multipastes (file/create_multipaste). The post parameter has to be a positive integer value >= 2. Changes by Florian Pritz: - minor style and typo fixes - NEWS entry - check expected error reply content in tests Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-10-07docker: Fix python binarySimon Schuster1-0/+1
Filebin unconditionally expects a 'python' command to be in path that is compatible with the installed pygments library. For alpine, this means a python3 binary. Therefore, we symlink /usr/bin/python3 to /usr/bin/python.
2020-09-20docker: Always regenerated config files on container startupFlorian Pritz2-15/+11
We should really regenerate the configs, run migrations and hooks during each container startup. Otherwise you really can't update anything at all. The only thing that we do not do multiple times is adding the admin user, but the add_user method already checks for that and simply displayed an error. Hiding that error is probably not worth the effort so we just add a quick explanatory comment before the potential error. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-09-20docker: Fix database error during initial migrationFlorian Pritz1-1/+1
The following error was shown during initial startup of the container and the database was obviously not initialized because of this. I'm not sure why it happens, but setting the database name in the config (in addition to the name in the PDO connection string) fixes the problem. > Database error: A Database Error Occurred > > Error Number: 42000/1102 > Incorrect database name '' > SHOW TABLES FROM `` > Filename: libraries/Migration.php > Line Number: 167 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-09-18updated Dockerfile and README.mdAndreas Steding2-3/+3
2020-07-09[ci skip] Correct fix for #5906Andrey Andreev1-1/+1
2020-07-09[ci skip] Merge pull request #5970 from sapics/fix/user-guide-urlAndrey Andreev158-171/+173
Fix user guide url
2020-07-09[ci skip] Merge pull request #5922 from robsonpiere/developAndrey Andreev1-1/+2
Add UptimeRobot user agent
2020-07-09Merge pull request #5946 from sapics/travis/php74Andrey Andreev2-25/+74
Pass the travis php7.4 test
2020-06-12Update NEWS3.4.5Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-06-12thumbnail-view.js: Detect automatic image rotation in recent browsersFlorian Pritz2-1/+19
The default value has been changed to `from-image` and at least with Firefox 76 and Chromium 83 this leads to double rotated images. Disabling the automatic rotation with `image-orientation: none` in CSS leads to incorrectly scaled images, (likely, but unverified) because the width/height are returned incorrectly/rotated in jquery/javascript. Whatever it may be, the easier fix is to just check for the new default value and if the browser handles orientation automatically, we disable our own code. https://github.com/w3c/csswg-drafts/issues/3799 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-04-19Update NEWS3.4.4Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-04-19Update composer.lockFlorian Pritz1-63/+76
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-04-19Update composer dependency versionsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-04-19Reclassify various exceptions as InsufficientPermissionsExceptionFlorian Pritz3-3/+3
That way they get the correct HTTP status code and they also get ignored by the logging code. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-04-19Reclassify various exceptions as UserInputExceptionFlorian Pritz5-15/+16
These are errors that a user can correct themselves so we should classify them accordingly. That way they get the correct HTTP status code and they also get ignored by the logging code. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-04-19Log HTTP 500 PublicApiException to error logFlorian Pritz2-0/+4
These return a 500 HTTP error code and when using a CLI download tool, you might not see the returned HTML error message. To make debugging easier we also log them to the error log. Some extending exceptions also return different error codes (e.g. UserInputException) so we filter these by only logging if the return code is 500. If a user/admin sees that code they likely expect a log entry. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-03-30[ci skip] Update upgrade instructions for 3.1.12Andrey Andreev1-0/+6
2020-03-30[ci skip] Merge pull request #5918 from wobility/patch-1Andrey Andreev1-0/+2
Update with heic format
2020-03-30[ci skip] Add changelog entry for PR #5895Andrey Andreev1-0/+1
2020-03-30[ci skip] Merge pull request #5895 from joshkel/pdo-db-closeAndrey Andreev1-0/+13
Fix database connection leak when closing PDO connection
2020-03-30[ci skip] Merge pull request #5907 from pkarunyu/developAndrey Andreev1-2/+2
Fixed double spacing in mimes.php
2020-03-30[ci skip] Add changelog entry for #5903Andrey Andreev1-0/+1
2020-03-30[ci skip] Merge pull request #5903 from achraf52/patch-2Andrey Andreev1-1/+1
Add HTTP/2.0 server protocol value variation
2020-03-30[ci skip] Fix #5906Andrey Andreev2-12/+4
2020-02-11[ci skip] Fix #5901Andrey Andreev3-4/+5
2020-02-09Fix error when repasting non-existent IDFlorian Pritz1-4/+5
We shouldn't treat a possibly boolean value as an array (`$filedata["data_id"]`). Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-28[ci skip] Docs spaces-to-tabs correctionAndrey Andreev1-2/+2
2020-01-28[ci skip] Add changelog entry for PR #5890Andrey Andreev1-0/+1
2020-01-28[ci skip] Merge pull request #5890 from jerkob/developAndrey Andreev2-0/+19
Adds a public trans_active function to determine transaction state