Commit Graph

66 Commits

Author SHA1 Message Date
El RIDO
629f263cf5 pass by reference, closes #858 2025-03-11 08:22:21 +01:00
El RIDO
cebc9acce6 enable strict types in PHP 2024-06-04 07:13:55 +02:00
El RIDO
05402ef304 remove version from doc blocs
- @version in file header level isn't used on code docs, it is intended
  for API versions at class or method level
- avoids needing to update all these files on version increment
- avoids needing to regenerate SRI hashes for privatebin.js through
  extra phpunit run
- simplifies VERSION_FILES list
- avoids having to filter above list during loop
- adds a few missing doc bloc headers
2024-05-28 21:03:22 +02:00
El RIDO
22419cd68a incrementing version 2024-05-13 19:18:30 +02:00
El RIDO
5067e9222c incrementing version 2024-05-05 20:43:33 +02:00
El RIDO
5f00587d71 phpdoc improvements, fixes #1036 2024-03-10 17:07:10 +01:00
El RIDO
aad975a721 incrementing version 2024-02-11 15:31:11 +01:00
El RIDO
a3ee624d3a incrementing version 2024-02-11 14:17:27 +01:00
El RIDO
d0420fb418 1.6.2 release 2023-12-15 07:20:20 +01:00
El RIDO
a7f720d825 ensure English is always added to available languages, fixes #1208
bug got introduced in 3668f1e3f4 and
started affecting release after 896a49c8cf
2023-12-09 11:58:29 +01:00
El RIDO
3bd570bd6a incrementing version 2023-12-04 21:07:17 +01:00
El RIDO
f56907bd38 increment version 2023-09-11 19:36:45 +02:00
El RIDO
01afe7d481 incrementing version 2023-07-09 08:44:22 +02:00
El RIDO
8988899c8c apply StyleCI patch, fixes #1084 2023-06-18 12:54:22 +02:00
El RIDO
e84a8694e4 incrementing version 2022-12-24 05:52:07 +01:00
El RIDO
a93c8ceccb fold extracted function back into the one remaining place calling it 2022-12-13 06:21:37 +01:00
El RIDO
53ab57627e re-add shuffling paste list 2022-12-12 21:28:38 +01:00
El RIDO
e54277f014 re-add 10 * batch size limit in filesystem purge and support v1 dates for sorting mixed versioned comments 2022-12-12 20:48:36 +01:00
El RIDO
b5602dd1ae incrementing version 2022-12-11 05:02:15 +01:00
El RIDO
910675c74b apply StyleCI fix 2022-11-18 05:38:37 +01:00
El RIDO
07bc3285aa moved glob iterator pattern to const, documentation 2022-11-18 05:36:06 +01:00
El RIDO
b8593b1bf2 use a glob iterator to stream through as many matches as needed 2022-11-10 20:36:15 +01:00
El RIDO
94aab6d64b apply StyleCI patch 2022-11-06 09:12:42 +01:00
El RIDO
a799351db3 re-use logic from _getExpiredPastes()
Scrutinizer pointed out that the dieerr() function isn't available in this
class. Code does work when invoked by migrate script, but this way it would
also work in other contexts.
2022-11-06 09:09:50 +01:00
Felix J. Ogris
bde5802a3a syntax fix, changelog 2022-11-01 16:38:06 +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
bff4d3a016 PHP 8.2 compatibility: Use of "self" in callables is deprecated 2022-10-25 07:15:09 +02:00
El RIDO
456ced37c2 incrementing version 2022-04-05 07:30:51 +02:00
El RIDO
9c09018e6e address Scrutinizer issues 2021-06-16 05:50:41 +02:00
El RIDO
3327645fd4 updated doc blocks, comments, fixed indentations, moved some constant strings 2021-06-14 06:44:30 +02:00
El RIDO
1f2dddd9d8 address Codacy issues 2021-06-13 10:53:01 +02:00
El RIDO
a203e6322b implementing key/value store of Persistance in Database storage 2021-06-09 07:47:40 +02:00
El RIDO
7901ec74a7 folding Persistance\ServerSalt into Data\Filesystem 2021-06-08 22:01:29 +02:00
El RIDO
b5a6ce323e folding Persistance\TrafficLimiter into Data\Filesystem 2021-06-08 07:49:22 +02:00
El RIDO
ae486d651b folding Persistance\PurgeLimiter into Data\Filesystem 2021-06-07 21:53:42 +02:00
El RIDO
7bdcc2ae15 conclude scaffolding of AbstractData key/value storage, missing implementation 2021-06-07 07:02:47 +02:00
El RIDO
1a7d0799c0 scaffolding interface for AbstractData key/value storage, folding Persistance\DataStore into Data\Filesystem 2021-06-07 06:53:15 +02:00
El RIDO
458ebcb321 incrementing version 2021-04-05 17:05:14 +02:00
El RIDO
9914c37683 incrementing version 2020-03-22 06:44:04 +01:00
El RIDO
adece1d784 incrementing version 2020-02-16 11:15:51 +01:00
El RIDO
ed590ee557 incrementing version 2020-01-08 19:31:06 +01:00
El RIDO
2d4edfe401 incrementing version number in preparation of release 2019-09-22 19:42:04 +02:00
El RIDO
07018e5876 incrementing version number in preparation of release 2019-07-08 18:35:34 +02:00
El RIDO
bd4dee0f3e fixing copy/paste errors 2019-05-10 21:52:14 +02:00
El RIDO
632d70412a revert scalar type hints to retain support for PHP < 7.0 2019-05-10 21:35:36 +02:00
El RIDO
700f8a0ea7 made all php unit tests pass again 2019-05-10 07:55:39 +02:00
El RIDO
59569bf9fc working on JsonApi tests 2019-05-08 22:11:21 +02:00
El RIDO
9ce41022cf correcting namespaces 2018-11-19 13:09:34 +01:00
El RIDO
b5ebc4a3d7 incrementing version 2018-08-11 19:29:58 +02:00
El RIDO
cfe60db8fd increment version number 2018-07-01 13:11:32 +02:00