Commit Graph

7 Commits

Author SHA1 Message Date
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
El RIDO e68430e9c5 clarify comments 2025-02-28 21:38:30 +01:00
El RIDO dc983621ac update jsdom dependency, fix tests 2025-02-07 08:19:09 +01:00
El RIDO fd82b937a9 refactor URL generators 2024-01-07 16:06:24 +01:00
El RIDO 210870590c improving cleanup between tests in order to combat the frequent test failures seen recently 2018-12-25 20:16:41 +01:00
El RIDO 2db412873b implementing ESlint suggestions 2018-01-06 07:17:33 +01:00
El RIDO 893d29a046 splitting out Alert, Editor, PasteStatus, Prompt, UiHelper tests 2017-12-15 07:20:51 +01:00