Commit Graph

3192 Commits

Author SHA1 Message Date
El RIDO
65a626f940 inputs sanitation & remove some obsolete version checks
using filter_vars instead of filter_input, because our unit tests depend on manipulating global arrays, which are not used by filter_input - we would have to mock the function in the unit testing, it therefore is cleaner to use the same code paths in testing as in production

some inputs in I18n and TrafficLimiter remain unfiltered, since we already validate them by other means (IP lib and/or preg_match)

our minimum PHP version is 7.3, so we can drop the two < 5.6 fallback checks
2024-03-23 11:27:25 +01:00
El RIDO
9997178928
Merge pull request #1274 from PrivateBin/dependabot/composer/phpunit/phpunit-9.6.18
Bump phpunit/phpunit from 9.6.17 to 9.6.18
2024-03-23 09:04:33 +01:00
dependabot[bot]
6510e1b4e2
Bump phpunit/phpunit from 9.6.17 to 9.6.18
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.17 to 9.6.18.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.17...9.6.18)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-22 12:01:52 +00:00
El RIDO
1870b9075c Merge branch 'cloudrac3r-patch-1' 2024-03-22 07:44:47 +01:00
Chris Dailey
028626ac1e Update conf.sample.php
A small comment addition to `conf.sample.php` that mentions the other strings to use for the included themes. The "bootstrap-dark" one in particular is perhaps not obvious to any user who doesn't look at the contents of `tpl/bootstrap.php`.
2024-03-22 07:42:43 +01:00
dependabot[bot]
44dd410dec Bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-22 07:42:43 +01:00
El RIDO
bf2bb7c4ff
Merge pull request #1272 from nitz/conf-sample-add-theme-names
Update conf.sample.php
2024-03-22 07:37:38 +01:00
El RIDO
1eb3ead364
Merge pull request #1271 from PrivateBin/dependabot/github_actions/slsa-framework/slsa-github-generator-1.10.0
Bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0
2024-03-22 07:36:34 +01:00
Cadence Ember
d4fdc563ae Update all instances of text in language files 2024-03-22 11:25:17 +13:00
Chris Dailey
1c9da2ffac
Update conf.sample.php
A small comment addition to `conf.sample.php` that mentions the other strings to use for the included themes. The "bootstrap-dark" one in particular is perhaps not obvious to any user who doesn't look at the contents of `tpl/bootstrap.php`.
2024-03-21 09:01:01 -04:00
dependabot[bot]
383dbf1c79
Bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 11:46:25 +00:00
Cadence Ember
070ce7e196
Update en.json
Change notice when opening burn after reading
2024-03-20 09:15:05 +13:00
El RIDO
74ac3350a3
Merge pull request #1268 from PrivateBin/crowdin-translation
New Crowdin updates
2024-03-18 19:24:44 +01:00
PrivateBin Translator Bot
5a52f71bb7 New translations en.json (French) 2024-03-18 18:14:41 +01:00
El RIDO
f0794e3c0b document & attribute changes from #1267 2024-03-18 07:48:20 +01:00
El RIDO
db287a10fe
Merge pull request #1267 from asherber/shorten-yourls
Allow for shortenviayourls in query params
2024-03-18 07:42:59 +01:00
Aaron Sherber
7a4c6c010f
Update conf.sample.php 2024-03-16 19:46:57 -04:00
Aaron Sherber
7c9cc7754f
Allow for shortenviayourls in query params 2024-03-16 16:55:49 -04:00
El RIDO
6eb5fdcc06
Merge pull request #1264 from PrivateBin/email-shortend-url
shortened paste URL does not appear in email
2024-03-14 06:59:07 +01:00
El RIDO
e1e0e8399c
phpdoc improvements 2024-03-10 18:01:46 +01:00
El RIDO
89a5d07b94
shortened paste URL does not appear in email
fixes #606
2024-03-10 17:26:30 +01:00
El RIDO
5f00587d71
phpdoc improvements, fixes #1036 2024-03-10 17:07:10 +01:00
El RIDO
53d2d3334d
document & attribute changes 2024-03-10 16:12:40 +01:00
Aaron Sherber
fd7d9f4715
Fix styleci issues 2024-03-09 16:55:44 -05:00
Aaron Sherber
8abf6ae9cb
Always add cache control headers 2024-03-09 16:49:42 -05:00
El RIDO
a62f4babbf
Merge pull request #1258 from PrivateBin/dependabot/composer/phpunit/phpunit-9.6.17
Bump phpunit/phpunit from 9.6.16 to 9.6.17
2024-02-26 12:37:38 +01:00
El RIDO
d52b8af0f5
Merge pull request #1257 from PrivateBin/crowdin-translation
New Crowdin updates
2024-02-26 12:35:33 +01:00
dependabot[bot]
6474c374e2
Bump phpunit/phpunit from 9.6.16 to 9.6.17
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.16 to 9.6.17.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.17/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.16...9.6.17)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 11:13:45 +00:00
PrivateBin Translator Bot
b15571ae4a New translations en.json (German) 2024-02-26 10:05:41 +01:00
El RIDO
c162f04384
Merge pull request #1256 from LMS235/patch-1
Update de.json
2024-02-22 08:46:08 +01:00
Florian
6999ed3f4b
Update de.json
Text verständlicher gemacht
2024-02-21 11:34:33 +01:00
El RIDO
03e7f6a9a7
Merge pull request #1250 from PrivateBin/crowdin-translation
New Crowdin updates
2024-02-17 20:25:15 +01:00
PrivateBin Translator Bot
a1095d0d21 New translations en.json (Arabic) 2024-02-17 17:15:15 +01:00
El RIDO
7576459135
Merge pull request #1249 from PrivateBin/doc-slsa
doc: Fix (direct) link to SLSA verifier
2024-02-17 09:03:14 +01:00
rugk
cb117d6797
doc: Fix (direct) link to SLSA verifier
Apparently the headline changed, this is the direct link for GitHub.
2024-02-16 17:19:17 +01:00
El RIDO
244703babb
Merge pull request #1248 from PrivateBin/crowdin-translation
New Crowdin updates
2024-02-15 07:53:06 +01:00
PrivateBin Translator Bot
b00085f30f New translations en.json (Romanian) 2024-02-15 07:09:13 +01:00
PrivateBin Translator Bot
fc1b1ae0ca New translations en.json (Russian) 2024-02-15 07:09:12 +01:00
PrivateBin Translator Bot
45e335eca6 New translations en.json (German) 2024-02-15 07:09:11 +01:00
PrivateBin Translator Bot
f03bccd31e New translations en.json (Bulgarian) 2024-02-15 07:09:10 +01:00
PrivateBin Translator Bot
04da6db079 New translations en.json (Arabic) 2024-02-15 07:09:09 +01:00
PrivateBin Translator Bot
580a034189 New translations en.json (French) 2024-02-15 07:09:08 +01:00
PrivateBin Translator Bot
6c5a500fcd New translations en.json (Corsican) 2024-02-15 00:50:42 +01:00
PrivateBin Translator Bot
da4ad06758 New translations en.json (Occitan) 2024-02-14 21:17:17 +01:00
PrivateBin Translator Bot
2f394a4714 New translations en.json (Lojban) 2024-02-14 21:17:16 +01:00
PrivateBin Translator Bot
39949cea34 New translations en.json (Estonian) 2024-02-14 21:17:15 +01:00
PrivateBin Translator Bot
a9d287874b New translations en.json (Thai) 2024-02-14 21:17:14 +01:00
PrivateBin Translator Bot
2381e30dc4 New translations en.json (Indonesian) 2024-02-14 21:17:13 +01:00
PrivateBin Translator Bot
0255f72ae0 New translations en.json (Chinese Simplified) 2024-02-14 21:17:12 +01:00
PrivateBin Translator Bot
900200c35f New translations en.json (Ukrainian) 2024-02-14 21:17:11 +01:00