El RIDO
8752354d63
apply StyleCI fixes
2024-10-25 07:12:30 +02:00
El RIDO
93a2b97d69
add failing test case, dedup code
2024-10-23 08:17:13 +02:00
El RIDO
a36d72e914
handle potential key cast
...
since we introduced strict types, this test occasionally fails when a ID consisting only of decimal numbers gets generated
2024-10-11 07:13:20 +02:00
El RIDO
cebc9acce6
enable strict types in PHP
2024-06-04 07:13:55 +02:00
El RIDO
a9f1926b96
implement chrono privacy for pastes, addresses #1290
2024-05-01 20:16:03 +02:00
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
github-actions[bot]
8812b09f5f
Merge remote-tracking branch 'origin/master' into php8
2022-01-31 05:41:10 +00:00
El RIDO
585d5db983
apply StyleCI recommendation
2022-01-22 08:47:34 +01:00
El RIDO
2182cdd44f
generalize OCI handling of queries and results
2022-01-22 08:45:12 +01:00
El RIDO
9c81d85bb7
phpunit compatibility
2021-10-07 22:34:15 +02:00
El RIDO
168ce1d85c
phpunit compatibility
2021-10-07 22:25:51 +02:00
El RIDO
1f95f57be9
phpunit compatibility
2021-10-07 22:22:32 +02:00
El RIDO
a2e479192f
phpunit compatibility
2021-10-07 22:20:25 +02:00
El RIDO
3f469f715f
Merge branch 'master' into php8
2021-10-07 22:17:11 +02:00
Mark van Holsteijn
b4c75b541b
removed json encoding from get/setValue
2021-06-13 21:16:30 +02:00
El RIDO
fa4fe2852d
address Scrutinizer issues
2021-06-13 11:12:19 +02:00
El RIDO
bbcf57de0e
address Scrutinizer issues
2021-06-13 11:08:38 +02:00
El RIDO
93135e0abf
improving code coverage
2021-06-13 10:44:26 +02:00
Mark van Holsteijn
1b88eef356
improved implementation of GoogleStorageBucket
2021-06-10 21:39:15 +02:00
Mark van Holsteijn
1232717334
added purgeValues to GCS
2021-06-09 22:27:34 +02:00
El RIDO
a203e6322b
implementing key/value store of Persistance in Database storage
2021-06-09 07:47:40 +02:00
Mark van Holsteijn
55efc858b5
simplest implementation of kv support on gcs
2021-06-07 09:11:24 +02:00
El RIDO
ffe48092fe
suppress error_log output of GoogleCloudStorage class in unit testing
2021-06-05 05:38:05 +02:00
Mark van Holsteijn
342270d6dd
added Google Cloud Storage support
2021-05-28 22:39:50 +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
06b90ff48e
sticking to arrays to reduce conversions, inversion of control to simplify logic
2019-05-05 21:03:58 +02:00
El RIDO
6e15903f1e
make DatabaseTest work pass again, support reading & writing version 1 & 2 pastes & comments
2019-05-05 14:36:47 +02:00
El RIDO
a5e8eeaaf9
StyleCI: Obey the alphabet #342
2018-07-29 16:15:52 +02:00
El RIDO
f9c8441edb
renaming controller #342
2018-07-29 15:17:35 +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
57ebc7338d
Merge branch 'master' into js-unit-testing
2017-03-25 09:06:04 +01: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
1457b5ec6a
ensuring tests will work with PHP 5.4, the currently oldest supported version
2017-02-12 15:16:29 +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
e925833090
bumping version number to 1.0
2016-08-25 09:53:31 +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