1
0
Fork 0
mirror of https://github.com/PrivateBin/PrivateBin.git synced 2025-07-29 22:21:03 +02:00
PrivateBin/lib/Persistence
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 
2025-07-24 10:46:31 +02:00
..
AbstractPersistence.php enable strict types in PHP 2024-06-04 07:13:55 +02:00
PurgeLimiter.php enable strict types in PHP 2024-06-04 07:13:55 +02:00
ServerSalt.php enable strict types in PHP 2024-06-04 07:13:55 +02:00
TrafficLimiter.php replaced the term "paste" with the more generic "document" 2025-07-24 10:46:31 +02:00