Commit graph

191 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
Ribas160
5d119768c3
JavaScript unit tests for new SI units added, privatebin.js SRI updated 2025-07-24 00:33:38 +03:00
Ribas160
863cb89ad9
Switch from binary bytes to SI-units 2025-07-23 21:06:20 +03:00
El RIDO
a1ca7954d8
apply StyleCI recommendation 2025-07-22 10:56:17 +02:00
El RIDO
e50a809855
upgrade base-x to 5.0.1 2025-07-22 10:32:08 +02:00
El RIDO
f3e2c53729
upgrade kjua to 0.10.0 2025-07-22 09:49:48 +02:00
El RIDO
f68650ce5f
upgrade bootstrap to 5.3.7 2025-07-22 09:45:15 +02:00
El RIDO
734b85eb08
remove more v1 remnants
kudos @Ribas160
2025-07-21 12:28:40 +02:00
El RIDO
cdb8010f6d
Merge branch 'master' into drop-legacy-zerobin-support 2025-07-21 11:42:47 +02:00
Ribas160
07ba4f179d Set bootstrap5 template as default 2025-07-19 13:24:37 +03:00
El RIDO
71587cddaf
Merge branch 'master' into drop-legacy-zerobin-support 2025-07-16 06:10:08 +02:00
El RIDO
13869e46be
updating jdenticon library to 2.0.0, minimum PHP version 7.4 2025-07-14 22:01:11 +02:00
El RIDO
3ba29ea29e
Merge branch 'master' into jdenticons-default 2025-07-14 21:42:23 +02:00
El RIDO
c4e0abab02
Merge branch 'master' into drop-legacy-zerobin-support 2025-07-14 21:41:50 +02:00
TW - Vincent
778a7dec71
Mod_security2 BodyProcessor json compliance 2025-07-08 13:44:48 +02:00
El RIDO
8668e7b366
removed support for privatebin_data, privatebin_db & zerobin_db model class configurations
kudos @Ribas160 for suggesting this
2025-07-05 17:45:02 +02:00
El RIDO
f7cf389f36
remove v1 backend support and version checks in the frontend 2025-07-05 17:21:12 +02:00
El RIDO
07caf3ff64
switch to Jdenticons as the default icon generator 2025-07-05 11:30:16 +02:00
El RIDO
6d5323e351
drop legacy paste format support
remove support for ZeroBin & v1 pastes and base64 & rawinflate libraries
2025-07-05 11:06:30 +02:00
Ribas160
38955754f3 Fixed hightlight file upload on bootstrap5 template 2025-07-04 18:18:00 +03:00
Ribas160
0ce8627561 Fixed adding attachments from clipboard 2025-07-04 18:15:28 +03:00
Ribas160
692e7af196 - window.confirm fallbacks for page template removed
- page template removed from configuration-test-generator
2025-07-03 13:13:42 +03:00
Ribas160
3d3d80c60b Remove page template 2025-07-02 17:38:13 +03:00
Ribas160
fa662547fe Attachments with empty file name fix 2025-06-29 21:30:11 +03:00
Ribas160
fcce915a5f Duplicate attachment for every comment fix 2025-06-29 21:27:11 +03:00
El RIDO
389b215b2f
Merge pull request #1564 from Ribas160/file_name_and_size_on_download_page
Show file name and size on download page
2025-06-28 14:01:41 +02:00
Ribas160
a2ca2ecb37 Use 1024 based file size units to follow consistency 2025-06-28 14:00:50 +03:00
El RIDO
964b4da50a
Merge pull request #1545 from PrivateBin/fixes
Fixes for zlib caching & handling undefined globals
2025-06-27 16:49:00 +02:00
Ribas160
d01c37c59d Show file name and size on download page 2025-06-26 18:12:22 +03:00
Ribas160
c7b9ce0bc2 Merge branch 'master' into dompurify-3.2.6
# Conflicts:
#	lib/Configuration.php
2025-06-26 13:37:00 +03:00
El RIDO
f49c042cc9
document change necessary to allow PDF preview to work in Firefox & Chrome
Since attachement upload is not enabled by default, I suggest to retain the safer CSP as the default but document what is necassary. Disabling the sandboxing is problematic.
2025-06-07 11:44:02 +02:00
El RIDO
8d720e4990
Merge branch 'master' into dompurify-3.2.6 2025-06-07 10:41:48 +02:00
El RIDO
34028229c8
Merge branch 'master' into fixes 2025-06-07 10:37:23 +02:00
Ribas160
095a5be0b6 Allow multiple files 2025-06-02 14:35:54 +03:00
Ribas160
6dac586f41 Fix the duplicated message box in comments 2025-05-24 12:38:39 +03:00
Ribas160
5654ef2db8 Hide Reply button in the discussions once clicked to avoid losing the text input 2025-05-23 13:37:38 +03:00
El RIDO
dededc9935
upgrade DOMpurify library to 3.2.6 2025-05-20 07:51:50 +02:00
El RIDO
bace4695ac
update zlib js suffix, as a cache breaker 2025-05-18 20:21:34 +02:00
El RIDO
31162e8011
upgrading DOMpurify library to 3.2.5 2025-04-06 08:30:49 +02:00
Michael Kuilboer
9221629d8d Fix available templates configuration and adding custom themes 2025-03-06 02:27:31 +01:00
Ribas160
412987ea5b Merge remote-tracking branch 'origin/master' into allow_change_template
# Conflicts:
#	lib/Configuration.php
2025-02-14 15:36:57 +02:00
El RIDO
95188eea94
chore: update SRI hash 2025-02-11 19:51:24 +01:00
Ribas160
5b54f2cdb0 Use the traditional "template" config key, update unit-tests 2025-02-10 18:19:36 +02:00
ribas160
edad5ba1e0 Config documentation update 2025-02-08 21:49:27 +02:00
ribas160
a4b0a993c7 Doc blocks added, available templates may be set in the general configuration file 2025-02-08 14:32:20 +02:00
Ribas160
c7a4ced9e1 Added the ability to web users to change the theme 2025-02-05 15:24:15 +02:00
El RIDO
58d11f2ba0
upgrading DOMpurify library to 3.2.4 2025-01-31 08:16:03 +01:00
ribas160
48eb6ef87a Custom clipboard object added to the unit tests 2025-01-10 16:24:49 +02:00
Ribas160
6c651ea676 CopyToClipboard unit tests 2025-01-07 17:40:18 +02:00
ribas160
67a1dfb683 Keep paste URL, if changing language in dropdown 2025-01-05 23:21:25 +02:00