El RIDO
46c0fc851c
Merge branch 'master' into php8
2022-11-17 06:04:12 +01:00
Felix J. Ogris
9a61e8fd48
started script for storage backend migrations
...
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
2022-11-01 16:02:17 +01:00
El RIDO
3f469f715f
Merge branch 'master' into php8
2021-10-07 22:17:11 +02:00
El RIDO
93135e0abf
improving code coverage
2021-06-13 10:44:26 +02:00
El RIDO
17c3cb35c0
change tests for phpunit 9 support, breaking support with phpunit 5.6
2020-10-11 10:31:24 +02:00
El RIDO
37a620df95
return type void is required as of PHPunit 7, breaking test compatibility with PHP < 7.1
2020-10-10 12:22:20 +02:00
El RIDO
6f90df9545
updating tests by dropping PHPunit 4.6 support
2020-10-10 12:08:58 +02:00
El RIDO
02f3cc739f
documentation on fnv1a64 is lacking, but tests show it was only introduced with PHP 5.6
2019-05-10 22:46:39 +02:00
El RIDO
700f8a0ea7
made all php unit tests pass again
2019-05-10 07:55:39 +02:00
El RIDO
76dc01b959
finishing changes in models, removing last md5 test cases, tightening up allowed POST data
2019-05-06 22:15:21 +02:00
El RIDO
9f26894b2e
PHP < 5.6 compatibility and StyleCI recommendations
2017-10-08 17:10:51 +02:00
El RIDO
4f06feef81
implemented JSON file conversion on purge and storage in PHP files for data leak protection
2017-10-08 16:59:31 +02:00
El RIDO
577586c47f
wrote a unit test to generate old style pastes and comments and check that the purge converts them to PHP files
2017-10-08 16:44:22 +02:00
El RIDO
f7853cf439
removing duplicate code, cleanup of temporary test files
2017-03-24 23:42:11 +01:00
El RIDO
6db9dae66b
applying styleCI recommendations
2017-03-24 21:35:50 +01:00
El RIDO
ce92bfa934
updated .htaccess format, refactored .htaccess creation logic and improving code coverage, fixes #194
2017-03-24 21:30:08 +01:00
El RIDO
577031cc1f
written unit test to reproduce #149
2016-12-25 12:04:47 +01:00
El RIDO
1f46823942
applying patch based on StyleCI ruleset
2016-10-29 10:24:08 +02:00
El RIDO
390ef09764
minor cleanup
2016-08-11 15:03:48 +02:00
El RIDO
6cb7454d07
Added tests for JSON errors, should help us figure out the cause of the problem in #11
2016-08-11 14:41:52 +02:00
El RIDO
b45bef8388
Renamed classes for full PSR-2 compliance, some cleanup
2016-08-09 11:54:42 +02:00