Commit Graph

875 Commits

Author SHA1 Message Date
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
El RIDO 99e0b7efac fix brackets, kudos @kanna5 2024-12-25 07:27:58 +01:00
El RIDO be18dcb838 upgrading DOMpurify library to 3.2.3 2024-12-22 11:17:34 +01:00
El RIDO 6587466a9b remove async & ES6 feature detection
It requires eval and webcrypto got introduced in older Chrome & Firefox versions, so seems superfluous to keep.
2024-11-26 07:01:34 +01:00
El RIDO 6b180ac7b1 Merge branch 'master' into wasm-streaming 2024-11-24 21:15:56 +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
El RIDO 9028ddbb97 update all language files & SRI hashes
all tests pass, still need to replicate template changes and do manual testing to validate the UX
2024-11-24 12:49:21 +01:00
El RIDO 544c4d2f5f prototype keyboard trap toggle
- needs updating all language files
- replicate changes to all templates
2024-11-24 11:45:46 +01:00
El RIDO 1a434b0e8d incrementing version 2024-11-16 08:02:20 +01:00
El RIDO ec2e981984 upgrading DOMpurify library to 3.1.7 2024-10-19 11:17:53 +02:00
El RIDO 97edbcc167 Merge branch 'master' into navigate-after-delete 2024-10-18 22:39:04 +02:00
rugk e675b2547f Fix
Fixes https://github.com/PrivateBin/PrivateBin/issues/1420

I have not tested it practically (just a quick hotfix), but given the code history and this was what worked before, I guess this should work. 🙃
2024-10-16 23:09:00 +02:00
parthiv-m f2b60d3765 Add _is_deleted status message to Controller and prompt for button click after paste delete 2024-10-13 17:45:05 -04:00
parthiv-m d69d29f3a9 Fix: Once a paste is deleted, navigate to
the home page after 5 seconds; change type
of the corresponding alert to alert-success
2024-10-07 17:42:37 -04:00
El RIDO ab2d2f2477 upgrading DOMpurify library to 3.1.6 2024-08-03 09:52:30 +02:00
El RIDO 031bcef317 incrementing version 2024-07-09 20:36:26 +02:00
El RIDO 17f924118e address warnings and errors in github actions 2024-07-07 14:13:59 +02:00
El RIDO ab05ed9532 bootstrap5 dark mode toggle unset on dark browser preference, fixes #1340 2024-06-13 20:00:26 +02:00
El RIDO b9d24b74b3 Merge branch 'version-sed' 2024-05-30 18:52:18 +02:00
9401adarsh 372fb58d20 fix: password input not resetting bug, add resetPasswordInput() method 2024-05-29 16:20:28 +05:30
El RIDO 05402ef304 remove version from doc blocs
- @version in file header level isn't used on code docs, it is intended
  for API versions at class or method level
- avoids needing to update all these files on version increment
- avoids needing to regenerate SRI hashes for privatebin.js through
  extra phpunit run
- simplifies VERSION_FILES list
- avoids having to filter above list during loop
- adds a few missing doc bloc headers
2024-05-28 21:03:22 +02:00
El RIDO c04c7b0f34 update SRI hashes, npm lock file 2024-05-21 07:14:12 +02:00
Adarsh Ashokan 7c7b5abad3 fix: downloadText() method to accommodate .md file format 2024-05-21 00:51:41 +05:30
El RIDO f9f8f18781 helper interacts with rawText call 2024-05-18 21:55:14 +02:00
El RIDO 5e5b394291 fix rawText test and split parts into hideAllButtons test 2024-05-18 20:02:54 +02:00
Ankiiisharma bae6e6ff25 Added test case to verify rawText
Added test case to verify rawText manipulates button visibility correctly
2024-05-18 00:09:23 +05:30
El RIDO 22419cd68a incrementing version 2024-05-13 19:18:30 +02:00
El RIDO 619fbb6653 Merge remote-tracking branch 'origin/dompurify' 2024-05-13 06:57:41 +02:00
El RIDO b080fd5e39 Merge pull request #1322 from PrivateBin/bootstrap-expiration-time
expiration time selection fix for bootstrap template
2024-05-13 06:43:30 +02:00
El RIDO ee3b5ec08a chore: upgrade DOMPurify from v3.1.2 to 3.1.3 2024-05-12 10:18:49 +02:00
El RIDO 9239c0267f Merge pull request #1307 from PrivateBin/experimental-8.4
Add upload test results job in CI
2024-05-12 10:12:25 +02:00
El RIDO 81ad352c8c improve TopNav.getExpiration test 2024-05-09 16:11:15 +02:00
El RIDO 2c8b5ed0e4 expiration time selection for bootstrap template, fixes #1309 2024-05-09 15:55:42 +02:00
Marvin Zurborg 0405422a4c Rephrase the WebAssembly error on unsupported browser
Rephrase the WebAssembly error on unsupported browser
2024-05-06 08:07:02 +00:00
El RIDO 5067e9222c incrementing version 2024-05-05 20:43:33 +02:00
El RIDO 843aa00473 Merge branch 'chrono-privacy' 2024-05-05 19:34:22 +02:00
El RIDO 6028a1d801 chore: upgrade jQuery from v3.7.0 to 3.7.1 2024-05-05 11:50:12 +02:00
El RIDO b00528388f Merge branch 'master' into chrono-privacy 2024-05-05 10:25:31 +02:00
El RIDO 06fb606aa7 Merge branch 'master' into bootstrap 2024-05-04 16:15:07 +02:00
rugk 61259a2e60 chore: remove source map URL 2024-05-04 13:50:51 +00:00
rugk 7a738d6893 test: also update DOMPurify in tests 2024-05-04 15:38:04 +02:00
El RIDO 0f9158b37b allow disabling comment date display using discussiondatedisplay configuration option 2024-05-04 14:38:41 +02:00
rugk 8443d3e397 Add CI test script to package.json 2024-05-04 13:12:23 +02:00
El RIDO 81fdf8ebfc re-lax samesite cookie policy
As per discussion in code review:

> Cookies are always scoped in browsers. That's not the issue. SameSite attribute just protects against CSRF attacks. But Get requests (aka links) are also "protected" with Strict, which breaks it… and for users that is highly confusing when they (apparently arbitrarily) do not get the language they have set before when clicking a link.

https://github.com/PrivateBin/PrivateBin/pull/1287#discussion_r1589299210
2024-05-04 12:12:31 +02:00
rugk 4500794980 chore: ugrade DOMPurify from v3.0.8 to 3.1.2
This incluces v3.1.1, which says:
> Note that this is a security release and should be upgraded to immediately.

https://github.com/cure53/DOMPurify/releases/tag/3.1.1

The release notes of the actual version itself are https://github.com/cure53/DOMPurify/releases/tag/3.1.2

I do not found more information on the vulnerability that apparently is in there.

* [x] manually tested and works
2024-05-03 15:55:53 +00:00
El RIDO c66d3f05da semantics 2024-04-23 22:11:58 +02:00
El RIDO 658383e6d1 set lang cookie with strict SameSite property 2024-04-21 11:36:31 +02:00