Commit Graph

567 Commits

Author SHA1 Message Date
Stephan Kristyn cfea0fb20e Now leaving styling to customer if he wants the filename and filesize as a hyperlink or outside the hyperlink 2026-02-11 19:03:34 +01:00
Stephan Kristyn 755be747a6 Refactoring the way DOM element is created and styled. Now leaving styling to customer 2026-02-11 18:41:44 +01:00
Stephan Kristyn 42d516c07a Removing unnecessary alterations 2026-02-10 18:30:42 +01:00
Stephan Kristyn 9ab16674aa Adding Bootstrap Classname to dynamically created child element 2026-02-10 18:22:17 +01:00
El RIDO a4eaa77b82 address semicolon insertion lint
> Code that uses automatic semicolon insertion inconsistently is hard to read and maintain.

See: https://github.com/PrivateBin/PrivateBin/security/quality/rules/js%2Fautomatic-semicolon-insertion
2026-01-25 09:41:52 +01:00
El RIDO b4db5f8e57 apply null coalescing operator, strict equality, avoid aliases, prefer empty 2025-11-20 08:19:14 +01:00
El RIDO 3a23117ebf Refactored translation of exception messages 2025-11-19 09:36:40 +01:00
El RIDO fd2c2ae0c5 update DOMpurify library from 3.2.7 to 3.3.0 2025-10-25 10:52:40 +02:00
El RIDO b7286cf99a fix bootstrap template password peek display 2025-10-13 18:51:15 +02:00
El RIDO ed9bdc4272 update DOMpurify library from 3.2.6 to 3.2.7 2025-10-09 08:57:20 +02:00
El RIDO 23624d693c shorten show password message
as per suggestion of @rugk during review
2025-10-06 22:08:04 +02:00
El RIDO d50231a531 apply suggestions to use existing bootstrap icons
as per discussion in https://github.com/PrivateBin/PrivateBin/pull/1647#discussion_r2345917795
2025-10-05 09:47:39 +02:00
Karthik Kasturi f9c958da90 Password peek 🫣 2025-09-11 21:34:12 +00:00
Karthik Kasturi 059e64adb1 Auto Shortening URLs 2025-08-14 00:29:28 +01:00
Karthik Kasturi 397d006479 Updated bootstrap.php to include scripts as defer 2025-08-08 12:44:53 +05:30
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 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 6d5323e351 drop legacy paste format support
remove support for ZeroBin & v1 pastes and base64 & rawinflate libraries
2025-07-05 11:06:30 +02: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
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
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
El RIDO ebb9e231aa Merge pull request #1516 from PrivateBin/js-devel-dep-update
update jsdom
2025-02-28 22:39:03 +01:00
El RIDO e0b6aee65a indentation 2025-02-27 08:17:03 +01: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
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 be18dcb838 upgrading DOMpurify library to 3.2.3 2024-12-22 11:17:34 +01:00
El RIDO 3d59d3da50 change focus order for accessibility
tabbing out of the textarea jumps to the "Create" button, then the tab-toggle
2024-11-24 16:17:45 +01:00
El RIDO c7195aaf9a replicate template changes, fix bugs
- fixes QR code height introducing space even when hidden in page layout
- fix modals in bootstrap 5 (modal syntax changed heavily, no longer jQuery integrated)
- hide and show tab-toggle depending on application state
- don't encode HTML entities in translated messages containing kbd tags (in addition to links)
2024-11-24 15:42:38 +01:00
rugk 6876e14679 Merge remote-tracking branch 'origin/master' into fix-webkit 2024-10-22 22:32:32 +00:00
rugk 628b60dcb4 refactor: deferring everything including all potential deps
Also works on Safari…
2024-10-22 22:29:42 +00:00
El RIDO 07aeed1c4c Merge branch 'master' into fix-webkit 2024-10-19 11:35:57 +02:00
El RIDO ec2e981984 upgrading DOMpurify library to 3.1.7 2024-10-19 11:17:53 +02:00
parthiv-m 788146012e Fix failing tests, update button icon and text according to feedback 2024-10-17 21:56:27 -04:00
theProton 922971590e Merge branch 'PrivateBin:master' into navigate-after-delete 2024-10-17 21:22:29 -04:00
rugk 8d435d7c14 Fix style by removing optional parameter
Co-authored-by: El RIDO <elrido@gmx.net>
2024-10-18 02:59:20 +02:00
rugk 64ed6e96ee fix: load in WebKit again by loading jquery, base and deflate libs non-async'ly 2024-10-16 22:46:18 +00:00