Commit graph

179 commits

Author SHA1 Message Date
Mikhail Romanov
8c4b3bb114
Insert file names as break-separated text nodes
Co-authored-by: El RIDO <elrido@gmx.net>
2025-11-12 11:27:44 +01:00
Ribas160
88fd86b994
Use pure JavaScript to create a div element 2025-11-12 11:26:49 +01:00
Ribas160
b14da334f4
Insert drag and drop file names as a text, not html 2025-11-12 11:26:01 +01:00
Ribas160
d03ec380d1
fix: error fetching attachments from blob 2025-11-12 11:24:21 +01:00
El RIDO
41dcdbc41d
ensure there is still a space between commenter icon and name 2025-11-12 11:21:45 +01:00
El RIDO
68972322d9
Refactored jQuery DOM element creation
using plain JavaScript, to ensure text nodes are sanitized
2025-11-12 11:20:32 +01:00
El RIDO
1f5ed30a63
update DOMpurify library from 3.2.7 to 3.3.0 2025-11-12 11:17:51 +01:00
El RIDO
dc3bc8b23d
suppress noise from early initialization during unit tests
the tests still all passed, but the missing browser globals in the node environment could cause misleading messages in the mocha output
2025-11-12 11:11:24 +01:00
El RIDO
e3ec9dc963
upgrade kjua to 0.10.0 2025-11-12 11:07:03 +01:00
El RIDO
c7c0420d63
upgrade base-x to 5.0.1 2025-11-12 11:03:12 +01:00
El RIDO
3e3ee8abc5
update bootstrap CSS library from 5.3.7 to 5.3.8 2025-11-12 10:52:07 +01: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
El RIDO
ffd4210fe2
Comment is now superfluous thanks to better code. 🎉
Co-authored-by: rugk <rugk+git@posteo.de>
2025-01-05 19:28:35 +01:00
El RIDO
4076a831eb
Merge branch 'master' into keyboard-trap 2025-01-05 07:23:41 +01:00
El RIDO
5936dbbb10
Merge branch 'master' into Ribas160-ux_adjustments_delete_link 2025-01-05 07:07:54 +01:00
ribas160
7b57d7b289 - trash icon added to bootstrap-icons.svg
- made delete link a separate button
- unit tests updated
2025-01-04 22:53:32 +02:00
El RIDO
eaa60e3a81
Merge branch 'master' into purify-3.2.3 2025-01-04 08:58:00 +01:00
El RIDO
45b38770db
Merge branch 'master' into keyboard-trap 2025-01-04 08:48:08 +01:00
ribas160
b86eb93dbe Added the button to copy the paste link to the clipboard 2025-01-03 18:19:12 +02:00
ribas160
0462da6e8e - used bootstrap 5 CSS icon named copy, bootstrap 3 CSS glyphicon named duplicate
- keyboard-shortcuts made more accessible by wrapping the keys into kbd-tags
- translate messages may contain allowed HTML tags
- added the record to the CHANGELOG.md
2025-01-02 15:13:44 +02:00
ribas160
a6a7df9a72 Merge remote-tracking branch 'upstream/master' into copy_to_clipboard_btn
# Conflicts:
#	i18n/ar.json
#	i18n/bg.json
#	i18n/ca.json
#	i18n/co.json
#	i18n/cs.json
#	i18n/de.json
#	i18n/el.json
#	i18n/en.json
#	i18n/es.json
#	i18n/et.json
#	i18n/fi.json
#	i18n/fr.json
#	i18n/he.json
#	i18n/hi.json
#	i18n/hu.json
#	i18n/id.json
#	i18n/it.json
#	i18n/ja.json
#	i18n/jbo.json
#	i18n/ko.json
#	i18n/ku.json
#	i18n/la.json
#	i18n/lt.json
#	i18n/nl.json
#	i18n/no.json
#	i18n/oc.json
#	i18n/pl.json
#	i18n/pt.json
#	i18n/ro.json
#	i18n/ru.json
#	i18n/sk.json
#	i18n/sl.json
#	i18n/sv.json
#	i18n/th.json
#	i18n/tr.json
#	i18n/uk.json
#	i18n/zh.json
#	lib/Configuration.php
2024-12-29 22:19:35 +02:00
ribas160
6c39a1441c Copy paste to clipboard button added. Copy paste to clipboard shortcut added 2024-12-28 18:42:46 +02:00
El RIDO
333f0568b6
fix bootstrap 5 modal usage
kudos @kanna5
2024-12-27 09:17:35 +01:00
El RIDO
84866f9b09
Merge branch 'master' into keyboard-trap 2024-12-27 07:33:50 +01:00