Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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