Commit Graph

3469 Commits

Author SHA1 Message Date
El RIDO
2b76898546 preserve configured SRI hashes 2024-07-19 08:05:40 +02:00
El RIDO
5ef8a094e7
re-add missing attribute 2024-07-09 22:47:15 +02:00
El RIDO
4b6c8356f5
clarify use of cache buster, avoid using regex 2024-07-09 22:35:21 +02:00
El RIDO
3c6df4573e
apply StyleCI recommendation 2024-07-09 22:21:01 +02:00
El RIDO
6261c94fc9
break unit tests if mismatch between JS files and SRI configuration array is detected 2024-07-09 22:20:08 +02:00
El RIDO
118c919663
adjust regex due to StyleCI spacing change 2024-07-09 21:51:19 +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
d2f311d246
chore: prepare for next release 2024-07-09 21:27:49 +02:00
El RIDO
031bcef317
incrementing version 2024-07-09 20:36:26 +02:00
El RIDO
0c4e810e67
Merge branch 'shorten-non-self-url' 2024-07-09 20:33:54 +02:00
El RIDO
8712ed6a5d
Merge pull request #1357 from PrivateBin/b5-textarea-height
bootstrap5 textarea height relative to viewport height
2024-07-09 20:28:17 +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
3cba170f32
re-order stubs to the end of the file for easier maintenance 2024-07-07 15:10:17 +02:00
El RIDO
d097631469
possibly not necessary? 2024-07-07 14:28:29 +02:00
El RIDO
84d4d31c73
composer is not part of the matrix, don't try and process event.json 2024-07-07 14:22:48 +02:00
El RIDO
17f924118e
address warnings and errors in github actions 2024-07-07 14:13:59 +02:00
El RIDO
e0bca0d4dc simpler PostgreSQL table lookup query, fixes #1361 2024-07-07 12:37:28 +02:00
El RIDO
f662640554
Merge pull request #1366 from PrivateBin/crowdin-translation
New Crowdin updates
2024-06-30 19:46:57 +02:00
PrivateBin Translator Bot
4fe51b5578 New translations en.json (Ukrainian) 2024-06-30 13:22:12 +02:00
El RIDO
8e6e31db5c
fix test, basepath needs to be set 2024-06-30 07:45:06 +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
0eae149474
Merge pull request #1360 from PrivateBin/crowdin-translation
New Crowdin updates
2024-06-22 06:51:27 +02:00
PrivateBin Translator Bot
5461f279d7 New translations en.json (Corsican) 2024-06-21 16:11:15 +02:00
El RIDO
3abbd107ca
Merge pull request #1356 from PrivateBin/b5-darkmode-toggle-state-init
bootstrap5 dark mode toggle unset on dark browser preference
2024-06-15 08:42:05 +02:00
El RIDO
eb42915991
bootstrap5 textarea height relative to viewport height, fixes #1349 2024-06-13 20:22:40 +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
e4902e1bf1
Merge pull request #1355 from PrivateBin/dependabot/github_actions/dawidd6/action-download-artifact-6
Bump dawidd6/action-download-artifact from 5 to 6
2024-06-13 07:49:28 +02:00
dependabot[bot]
4d912b082b
Bump dawidd6/action-download-artifact from 5 to 6
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 5 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](deb3bb8325...bf251b5aa9)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 11:12:15 +00:00
El RIDO
d190507fbe
Merge pull request #1350 from PrivateBin/strict_types
enable strict types
2024-06-08 18:36:17 +02:00
El RIDO
3c6bf26dc8
Merge pull request #1353 from PrivateBin/crowdin-translation
New Crowdin updates
2024-06-06 06:10:06 +02:00
PrivateBin Translator Bot
036563d320 New translations en.json (Norwegian) 2024-06-06 06:08:07 +02:00
El RIDO
51eec9a776
Merge pull request #1352 from PrivateBin/dependabot/github_actions/dawidd6/action-download-artifact-5
Bump dawidd6/action-download-artifact from 3.1.4 to 5
2024-06-06 06:03:25 +02:00
dependabot[bot]
48b4c6ce5b
Bump dawidd6/action-download-artifact from 3.1.4 to 5
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3.1.4 to 5.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](09f2f74827...deb3bb8325)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 11:09:50 +00:00
El RIDO
662d0e1430 document change 2024-06-04 07:32:13 +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
b9d24b74b3 Merge branch 'version-sed' 2024-05-30 18:52:18 +02:00
El RIDO
b32efe0187 disable snyk scan on forks, they won't have the necessary secret 2024-05-30 07:54:19 +02:00
El RIDO
6aa292e33d document changes 2024-05-30 07:31:13 +02:00
El RIDO
4875bedac7
Merge pull request #1346 from 9401adarsh/password-input-bug-fix
fix: reset password input field on creation of new paste
2024-05-29 22:12:56 +02:00
9401adarsh
750a0adce4 chore: update sri hashes to reflect changes in js/ 2024-05-29 16:21:08 +05:30
9401adarsh
372fb58d20 fix: password input not resetting bug, add resetPasswordInput() method 2024-05-29 16:20:28 +05:30
El RIDO
4c347ea08e
Merge pull request #1345 from PrivateBin/crowdin-translation
New Crowdin updates
2024-05-29 07:49:55 +02:00
PrivateBin Translator Bot
9f5de7284e New translations en.json (French) 2024-05-28 22:11:41 +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
f313578892
Merge pull request #1343 from PrivateBin/db-version-upgrade
refactor database schema upgrade to support skipping versions
2024-05-26 08:40:29 +02:00
El RIDO
99a3e087ed refactor database schema upgrade to support skipping versions 2024-05-25 09:40:41 +02:00