aboutsummaryrefslogtreecommitdiffstats
path: root/admin/database.php
AgeCommit message (Collapse)AuthorFilesLines
2024-12-01PHP Keywords and types should be in lowercaseThomas Lange1-4/+4
Follow PSR-12 and use lowercase variants of PHP reserved keywords. See: https://www.php-fig.org/psr/psr-12/#25-keywords-and-types Find all uppercase occurrences of "or", "and", "null", "true" and "false" and change them to the lowercase variant.
2021-08-05Show error message if CSRF token does not matchesThomas Lange1-8/+12
Print an error message for various actions in the administration area if the security token is invalid, instead of silently preventing the user's desired action to perform if the token is invalid for some reason. This change applies for the delete actions on all entity types and also for the login action and the database command execution form; the forms for creating/modifying entities had already shown a CSRF error before.
2021-06-26Use const to define expressionless admin constantsThomas Lange1-2/+2
2021-06-14Remove more redundant try/catch blocksThomas Lange1-22/+13
Remove all try/catch blocks where the exception handling did not differ from the exception handler already defined by "set_exception_handler".
2019-10-29Remove PHP closing tags and add LF to text filesThomas Lange1-1/+0
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
2017-10-24Some comments have been updated, unnecessary whitespace at the end of some ↵Thomas Lange1-1/+1
files was removed and some missing PHP closing tags were added.
2017-04-11The control structures "require_once" have been replaced by a simple ↵Thomas Lange1-1/+1
"require" (except within the 403.php and 404.php where it makes sense, because these files can be directly called or included).
2017-04-11Class "ExceptionHandler" has been removed and several files has been changed.Thomas Lange1-1/+1
2017-02-26Added support for multiple queries in a single request.Thomas Lange1-2/+5
2017-02-24Initial commit.v1.0Thomas Lange1-0/+49