summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-01-05Fix some minor PHP 8.1 deprecation warningsAndrey Andreev6-12/+11
2022-01-05Close #6021: Suppress possible E_DEPRECATION notices about ↵Andrey Andreev6-6/+6
mbstring.func_overload
2022-01-05[ci skip] Changelog maintenanceAndrey Andreev1-1/+2
2022-01-05PHP 8.1 compatibility for sessions (ref #6078)Andrey Andreev11-33/+274
2021-12-20Remove usage of deprecated strftime(), gmstrftime()Andrey Andreev1-1/+1
2021-12-20PHP 8.1 update to mysqli database driverAndrey Andreev1-0/+7
2021-12-20PHP 8.1 update to postgre database driverAndrey Andreev2-3/+3
2021-12-20ftp_connect() returns an FTP\Connection object instead of resource in PHP 8.1Andrey Andreev1-1/+1
2021-12-20finfo_open() returns an finfo object instead of resource in PHP 8.1Andrey Andreev1-1/+1
2021-12-20Merge pull request #6074 from philsturgeon/ci3-php8Andrey Andreev26-89/+135
CodeIgniter 3.0 on PHP 8
2021-12-20[ci skip] Merge pull request #6071 from ddonatek/patch-1George Petculescu1-1/+1
Added another SVG mimetype
2021-09-14Merge pull request #6045 from gxgpet/develop_fixtravisAndrey Andreev10-25/+50
Fixes Travis pipeline. Adding PHPUnit 8.
2021-09-14[ci skip] Merge pull request #6054 from gphg/attributesAndrey Andreev1-4/+2
export-ignore user_guide_src/
2021-08-30get_lexer_list.py: Use python3 instead of pythonkeigel20011-1/+1
Starting with the Debian 11 (bullseye) and Ubuntu 20.04 LTS (focal) releases, all python packages use explicit python3 or python2 interpreter and do not use unversioned /usr/bin/python at all. No packaged scripts should depend on the existence of '/usr/bin/python'.
2021-04-11Update NEWS3.6.1Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-04-11Copy filename when repasting fileFlorian Pritz3-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-04-11Add links to new android clientFlorian Pritz2-0/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2021-03-24[ci skip] Add SameSite=Strict to CSRF cookieAndrey Andreev2-9/+30
2021-03-24Merge pull request #6028 from vibbow/patch-1George Petculescu1-1/+1
Update Session.php
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>