- addresses #1365
- should make upgrades easier for those using custom templates
- if the JS files got customized, the default SRI hashes can be replaced in the conf.php file, added commented section in conf.sample.php
using filter_vars instead of filter_input, because our unit tests depend on manipulating global arrays, which are not used by filter_input - we would have to mock the function in the unit testing, it therefore is cleaner to use the same code paths in testing as in production
some inputs in I18n and TrafficLimiter remain unfiltered, since we already validate them by other means (IP lib and/or preg_match)
our minimum PHP version is 7.3, so we can drop the two < 5.6 fallback checks
having had to re-do all of these steps on a new environment, I noticed
some inconsistencies and updated the doc:
- moved unit testing doc into common doc folder, so it is easier to find
- removed no longer supported Janitor reference
- removed note regarding generated test duration, current version takes
less than a minute
- addressed each function removal & phpunit deprecations
It started failing after we removed the cache from the Database class,
but the behaviour is still correct (exception when something goes wrong
during comment storing).
todo: GCS
added GCS, no GLOBALS, two methods for saving pastes and comments
use GLOBALS for verbosity again
added getAllPastes() to all storage providers
moved to bin, added --delete options, make use of $store->getAllPastes()
added --delete-* options to help
longopts without -- *sigh*
fixed arguments
drop singleton behaviour to allow multiple backends of the same type simultaneously
remove singleton from Model, collapse loop in migrate.php
comments is not indexed
tests without data singleton
fix
exit if scandir() fails
extended meta doc