mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 01:39:15 +02:00
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
This commit is contained in:
parent
e2bf8ffb2d
commit
ddd2d72064
62 changed files with 1141 additions and 1140 deletions
|
@ -181,7 +181,7 @@ class TrafficLimiter extends AbstractPersistence
|
|||
return true;
|
||||
}
|
||||
}
|
||||
throw new Exception(I18n::_('Your IP is not authorized to create pastes.'));
|
||||
throw new Exception(I18n::_('Your IP is not authorized to create documents.'));
|
||||
}
|
||||
|
||||
// disable limits if set to less then 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue