Commit Graph

588 Commits

Author SHA1 Message Date
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 5aa7a95841 avoid unnecessary indentation 2024-12-27 13:42:16 +01: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 8752354d63 apply StyleCI fixes 2024-10-25 07:12:30 +02:00
El RIDO e468f07626 avoid clever key manipulation, all we need are incremental numbers starting at 1 2024-10-25 06:58:05 +02:00
El RIDO cf83e3825f ensure key is cast to string, fixes #1435 2024-10-23 08:23:02 +02:00
El RIDO ec2e981984 upgrading DOMpurify library to 3.1.7 2024-10-19 11:17:53 +02:00
El RIDO 980bdc922f Update SRI 2024-10-18 23:08:02 +02:00
parthiv-m 11326f86ba Update SRI 2024-10-18 11:51:57 -04:00
parthiv-m 5acecdb879 Fix for styleci failures 2024-10-13 17:51:45 -04: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
Alexis Toulotte d0d0d7b6e5 fix: Get rid of unused code 2024-09-03 09:40:08 +11:00
Alexis Toulotte 46c92e7404 fix(configuration): Use "model_options[opt]" section from "conf.php" 2024-09-03 09:19:01 +11:00
Alexis Toulotte 05644d39f8 fix(configuration): Allow non persistent SQL connections 2024-08-30 11:10:25 +11:00
El RIDO ab2d2f2477 upgrading DOMpurify library to 3.1.6 2024-08-03 09:52:30 +02:00
El RIDO 2b76898546 preserve configured SRI hashes 2024-07-19 08:05:40 +02:00
El RIDO 4b6c8356f5 clarify use of cache buster, avoid using regex 2024-07-09 22:35:21 +02:00
El RIDO e051cde317 apply StyleCI recommendation 2024-07-09 21:48:40 +02:00
El RIDO d27e7e8ee3 make scriptTag parameter a string for flexibility and clarity 2024-07-09 21:38:41 +02:00
El RIDO 7294ea7847 Merge branch 'master' into sri-into-config 2024-07-09 21:32:42 +02:00
El RIDO cf95e0b1d1 Merge branch 'master' into pg-tables-query 2024-07-09 21:30:17 +02:00
El RIDO 031bcef317 incrementing version 2024-07-09 20:36:26 +02:00
El RIDO 8b3b16be44 SRI hashes are now configurable, no longer hardcoded in templates
- addresses #1365
- should make upgrades easier for those using custom templates
- if the JS files got customized, the default SRI hashes can be replaced in the conf.php file, added commented section in conf.sample.php
2024-07-07 16:36:52 +02:00
El RIDO e0bca0d4dc simpler PostgreSQL table lookup query, fixes #1361 2024-07-07 12:37:28 +02:00
El RIDO 2c711e9d3c prevent bypassing YOURLS proxy URL filter, allowing to shorten non-self URLs 2024-06-29 20:28:18 +02:00
El RIDO 68ccaaace0 address unit test failures due to strict typing 2024-06-04 07:27:45 +02:00
El RIDO cebc9acce6 enable strict types in PHP 2024-06-04 07:13:55 +02:00
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 99a3e087ed refactor database schema upgrade to support skipping versions 2024-05-25 09:40:41 +02:00
El RIDO b96c8ae531 revert version increment in database upgrade 2024-05-25 09:14:24 +02:00
El RIDO 22419cd68a incrementing version 2024-05-13 19:18:30 +02:00
El RIDO 5067e9222c incrementing version 2024-05-05 20:43:33 +02:00
El RIDO 9b99712fce handle further PHP 8.2 deprecations
PHP 8.2 deprecates implicit conversion from float to int if it loses precision, hence the explicit conversion. I missed these in 6bcef2fa24
2024-05-05 11:17:33 +02:00
El RIDO 49bc97e295 apply StyleCI recommendation 2024-05-05 11:16:17 +02:00
El RIDO b00528388f Merge branch 'master' into chrono-privacy 2024-05-05 10:25:31 +02:00
El RIDO 0f9158b37b allow disabling comment date display using discussiondatedisplay configuration option 2024-05-04 14:38:41 +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
El RIDO 5425ea79f8 Merge branch 'master' into bootstrap5 2024-05-04 12:08:10 +02:00
El RIDO 041068b590 apply Scrutinizer recommendation 2024-05-01 21:07:24 +02:00