Commit Graph

2980 Commits

Author SHA1 Message Date
PrivateBin Translator Bot
33e9025d09 New translations en.json (Finnish) 2023-12-04 15:14:57 +01:00
dependabot[bot]
6133f6c35c
Bump phpunit/phpunit from 9.6.14 to 9.6.15
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.14 to 9.6.15.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.15/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.14...9.6.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 11:37:40 +00:00
El RIDO
0107b1258e
forgot to update SRI hashes
caused in b150450fac
2023-12-04 06:10:47 +01:00
El RIDO
65f289e516
Merge pull request #1202 from PrivateBin/release-prep
1.6.1 release preparations
2023-12-03 17:07:19 +01:00
El RIDO
b150450fac
address nodejs unit testing issue
mocha tests started failing as of node 20.10.0, likely due to this change:
https://github.com/nodejs/node/pull/49936

Error was:
node:internal/deps/undici/undici:11730
    Error.captureStackTrace(err, this);
          ^

TypeError: Failed to parse URL from js/zlib-1.2.13.wasm
    at Object.fetch (node:internal/deps/undici/undici:11730:11)
    at async initialize (/home/runner/work/PrivateBin/PrivateBin/js/zlib-1.2.13.js:31:26) {
  [cause]: TypeError: Invalid URL: js/zlib-1.2.13.wasm
      at new URLImpl (/home/runner/work/PrivateBin/PrivateBin/js/node_modules/jsdom-url/node_modules/whatwg-url/lib/URL-impl.js:21:13)
      at new URLImplCore (/home/runner/work/PrivateBin/PrivateBin/js/node_modules/jsdom-url/lib/URLImpl.js:18:9)
      at new URLCore (/home/runner/work/PrivateBin/PrivateBin/js/node_modules/jsdom-url/lib/URL.js:28:9)
      at Object.construct (/home/runner/work/PrivateBin/PrivateBin/js/node_modules/class-proxy/index.js:18:23)
      at new Request (node:internal/deps/undici/undici:5270:25)
      at fetch (node:internal/deps/undici/undici:9508:25)
      at Object.fetch (node:internal/deps/undici/undici:11728:18)
      at fetch (node:internal/process/pre_execution:314:27)
      at initialize (/home/runner/work/PrivateBin/PrivateBin/js/zlib-1.2.13.js:31:32)
      at Object.<anonymous> (/home/runner/work/PrivateBin/PrivateBin/js/zlib-1.2.13.js:145:17)
      at Object.<anonymous> (/home/runner/work/PrivateBin/PrivateBin/js/zlib-1.2.13.js:146:4)
[...]

Notice that the error occurs on line 31, meaning that fetch is not
undefined anymore. Node works on supporting fetch, which would make our
workaround using fs.readFileSync obsolete, but it (or rather the undici
library) currently doesn't support relative URLs.
2023-12-03 14:40:59 +01:00
El RIDO
aa1a44e329
upgrading DOMpurify to 3.0.6 2023-12-03 14:02:30 +01:00
El RIDO
ee151ad29d
fix phpdoc parameters for newer releases 2023-12-03 13:54:35 +01:00
El RIDO
c090f8d27f
fixed comments
so that these functions end up on the correct jsdoc page
2023-12-03 13:41:17 +01:00
El RIDO
8c1310c334
update unit test doc & PHP 8 fixes
having had to re-do all of these steps on a new environment, I noticed
some inconsistencies and updated the doc:
- moved unit testing doc into common doc folder, so it is easier to find
- removed no longer supported Janitor reference
- removed note regarding generated test duration, current version takes
  less than a minute
- addressed each function removal & phpunit deprecations
2023-12-03 13:40:04 +01:00
El RIDO
c895c511c1
Merge pull request #1201 from PrivateBin/dependabot/composer/phpunit/phpunit-9.6.14
Bump phpunit/phpunit from 9.6.13 to 9.6.14
2023-12-02 18:20:58 +01:00
dependabot[bot]
421fd4901f
Bump phpunit/phpunit from 9.6.13 to 9.6.14
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.14.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.14/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.13...9.6.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 11:58:32 +00:00
El RIDO
b2bf90d14e
Merge pull request #1200 from PrivateBin/php83
enable unit testing on PHP 8.3 &  8.4 nightly
2023-11-28 20:48:19 +01:00
El RIDO
8d97569de0
enable testing on PHP 8.3 and 8.4
at this time both are still installed out of nightly builds, though 8.3
got released last week, see:
https://github.com/shivammathur/setup-php#tada-php-support
2023-11-26 09:54:28 +01:00
El RIDO
d34f9c0b8c
new phpdoc temp file location 2023-11-26 09:50:36 +01:00
El RIDO
9614ee90f2
Merge pull request #1190 from PrivateBin/node20
Use Node20 for tests
2023-10-25 12:43:33 +02:00
El RIDO
95d6a0d3b9
Merge pull request #1189 from PrivateBin/dependabot/github_actions/actions/setup-node-4
Bump actions/setup-node from 3 to 4
2023-10-25 12:39:56 +02:00
rugk
b9d74ecd35
Use Node20 for tests
A try following https://github.com/PrivateBin/PrivateBin/pull/1189#pullrequestreview-1695447526
2023-10-24 19:03:47 +02:00
dependabot[bot]
9114ca00bf
Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 11:05:40 +00:00
El RIDO
0fb40d5d3a
Merge pull request #1183 from PrivateBin/crowdin-translation
New Crowdin updates
2023-10-22 14:19:20 +02:00
PrivateBin Translator Bot
cb4e95b917 New translations en.json (Japanese) 2023-10-19 10:37:44 +02:00
PrivateBin Translator Bot
52b0e0b369 New translations en.json (Japanese) 2023-10-19 08:18:59 +02:00
PrivateBin Translator Bot
515bfd8122 New translations en.json (Japanese) 2023-10-19 07:11:36 +02:00
PrivateBin Translator Bot
fbc302c0a1 New translations en.json (Japanese) 2023-10-19 06:07:25 +02:00
PrivateBin Translator Bot
b62e9dbc6e New translations en.json (Japanese) 2023-10-19 01:05:19 +02:00
PrivateBin Translator Bot
5c2496d474 New translations en.json (Japanese) 2023-10-18 05:59:11 +02:00
PrivateBin Translator Bot
f3eb2759ce New translations en.json (Japanese) 2023-10-18 04:26:14 +02:00
PrivateBin Translator Bot
cdb7ec0443 New translations en.json (Japanese) 2023-10-17 18:47:08 +02:00
PrivateBin Translator Bot
05dc1dd32e New translations en.json (Japanese) 2023-10-17 17:27:56 +02:00
El RIDO
b70be94538
Merge pull request #1181 from voidquark/master
Update Ansible Galaxy links in Installation.md
2023-10-02 06:45:04 +02:00
VoidQuark
9a4c5b30c6
Update Ansible Galaxy links in Installation.md 2023-10-01 20:43:11 +02:00
El RIDO
4ef0318495
Merge pull request #1179 from PrivateBin/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-24 07:36:04 +02:00
dependabot[bot]
58f919ecdd
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 11:33:49 +00:00
El RIDO
7518ea74c5
Merge pull request #1175 from PrivateBin/slsa-release
release workflow for SLSA & changelog
2023-09-22 05:24:04 +02:00
El RIDO
7e1dfdb012
Merge pull request #1178 from PrivateBin/crowdin-translation
New Crowdin updates
2023-09-20 22:12:53 +02:00
El RIDO
1a4e2f8f06 Merge branch 'master' into crowdin-translation 2023-09-20 22:09:59 +02:00
PrivateBin Translator Bot
8053daec14 New translations en.json (Corsican) 2023-09-20 07:33:00 +02:00
PrivateBin Translator Bot
9612637881 New translations en.json (Occitan) 2023-09-20 07:32:59 +02:00
PrivateBin Translator Bot
fb1ea260ba New translations en.json (Latin) 2023-09-20 07:32:58 +02:00
PrivateBin Translator Bot
17b629018c New translations en.json (Lojban) 2023-09-20 07:32:57 +02:00
PrivateBin Translator Bot
a92407ea4e New translations en.json (Hindi) 2023-09-20 07:32:56 +02:00
PrivateBin Translator Bot
441ac9d8d9 New translations en.json (Estonian) 2023-09-20 07:32:56 +02:00
PrivateBin Translator Bot
046ccf2000 New translations en.json (Thai) 2023-09-20 07:32:55 +02:00
PrivateBin Translator Bot
6c7c0ec09c New translations en.json (Indonesian) 2023-09-20 07:32:54 +02:00
PrivateBin Translator Bot
b0f4a63705 New translations en.json (Chinese Simplified) 2023-09-20 07:32:53 +02:00
PrivateBin Translator Bot
1b772d0404 New translations en.json (Ukrainian) 2023-09-20 07:32:52 +02:00
PrivateBin Translator Bot
8dbf954870 New translations en.json (Turkish) 2023-09-20 07:32:51 +02:00
PrivateBin Translator Bot
69efa00d7f New translations en.json (Swedish) 2023-09-20 07:32:50 +02:00
PrivateBin Translator Bot
d17a0f091b New translations en.json (Slovenian) 2023-09-20 07:32:49 +02:00
PrivateBin Translator Bot
6a1371822a New translations en.json (Slovak) 2023-09-20 07:32:48 +02:00
PrivateBin Translator Bot
0cc5880354 New translations en.json (Russian) 2023-09-20 07:32:47 +02:00