PrivateBin/lib
El RIDO ddd2d72064
replaced the term "paste" with the more generic "document"
Some of the references to "paste" in code or comments got changed as well, but to clarify the intended usage of the terms:

- A PrivateBin document can consist of a paste text (key "paste" in the encrypted payload) and one or several attachments and discussion entries.
- Internally the root document is called a "Paste" and each discussion entry is called a "Discussion".
- When referring to a whole document with one paste and optional discussion(s), we call it just "document".
- When talking about a particular JSON payload type in the internal logic, i.e. during storage or transmission, we call them a paste or discussion to distinguish which type we refer to.

closes #397
2025-07-24 10:46:31 +02:00
..
Data address Scrutinizer reported issues 2025-07-19 21:01:38 +02:00
Model replaced the term "paste" with the more generic "document" 2025-07-24 10:46:31 +02:00
Persistence replaced the term "paste" with the more generic "document" 2025-07-24 10:46:31 +02:00
.htaccess updating shipped .htaccess files for Apache 2.4 as per https://httpd.apache.org/docs/2.4/upgrading.html#access - Thanks @EchoDev, fixes #194 2017-03-11 08:56:14 +01:00
Configuration.php replaced the term "paste" with the more generic "document" 2025-07-24 10:46:31 +02:00
Controller.php replaced the term "paste" with the more generic "document" 2025-07-24 10:46:31 +02:00
Filter.php Switch from binary bytes to SI-units 2025-07-23 21:06:20 +03:00
FormatV2.php pass by reference, closes #858 2025-03-11 08:22:21 +01:00
I18n.php apply StyleCI recommendation 2025-03-13 09:32:39 +01:00
Json.php pass by reference, closes #858 2025-03-11 08:22:21 +01:00
Model.php enable strict types in PHP 2024-06-04 07:13:55 +02:00
Request.php replaced the term "paste" with the more generic "document" 2025-07-24 10:46:31 +02:00
TemplateSwitcher.php Set bootstrap5 template as default 2025-07-19 13:24:37 +03:00
View.php Fix error when a custom template is not in the default available templates list 2025-06-18 14:51:11 +03:00
Vizhash16x16.php address Scrutinizer reported issues 2025-07-19 21:47:18 +02:00
YourlsProxy.php - str_starts_with, str_contains used instead of strpos === 0, strpos !== 0, strpos === false, strpos !== false 2025-01-04 00:46:20 +02:00