Commit Graph

4545 Commits

Author SHA1 Message Date
dependabot[bot]
e680917be9 chore(deps): bump dawidd6/action-download-artifact from 15 to 16
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 15 to 16.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](fe9d59ce33...2536c51d3d)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-26 11:52:41 +00:00
rugk
32ab4dade5 Merge pull request #1790 from PrivateBin/devcontainer/phpunit
fix(devcontainer): try making VSCode test extension work (PHPUnit/Mocha)
2026-02-25 09:50:27 +01:00
rugk
ee4d5975f8 Merge pull request #1730 from PrivateBin/xss/jsImprove
Simplify parsing untrusted code and strengthen DOMPurify config
2026-02-25 08:08:28 +01:00
rugk
d988632486 Merge pull request #1795 from PrivateBin/dependabot/js
Enable Dependabot for JavaScript dependencies
2026-02-25 08:05:51 +01:00
rugk
e8dce7aa36 chore: remove sqlite as it apparently was already installed 2026-02-24 14:24:07 +00:00
rugk
9620031f30 test: pin version of PHPUnit 2026-02-24 13:43:56 +00:00
rugk
7283bcaec0 test(devcontainer): properly install PHP extensions for testing 2026-02-24 13:43:34 +00:00
rugk
285f592e70 test(phpunit): fix PHPUnit different CWD with a custom command
As per https://github.com/recca0120/vscode-phpunit/issues/385#issuecomment-3947799942

Also needed to set `XDEBUG_MODE`.

Generally works, but now I get test failures.
2026-02-24 12:37:47 +00:00
rugk
4192751004 Merge remote-tracking branch 'origin/master' into devcontainer/phpunit 2026-02-24 12:13:31 +00:00
rugk
d874ea71a2 test: fix tests 2026-02-24 12:06:46 +00:00
rugk
bf32c7ea64 Enable Dependabot for JavaScript dependencies 2026-02-24 12:30:15 +01:00
rugk
1cc811644f docs: improve JSDoc 2026-02-23 16:00:31 +00:00
rugk
5fd974e247 style: fix/remove trailing comma 2026-02-23 16:00:22 +00:00
rugk
30f80d055b wipfix: fix JS syntax errors 2026-02-23 15:54:56 +00:00
rugk
5dab2392b9 Merge branch 'master' into xss/jsImprove 2026-02-23 16:48:21 +01:00
rugk
69e37c2c04 refactor: introduce purifyHtmlConfigStrictSubset 2026-02-23 16:45:31 +01:00
rugk
dcaa019599 refactor: use modern spread syntax for combining object
Given it's 2026 this really should be supported by all browsers now: https://caniuse.com/mdn-javascript_operators_spread,mdn-javascript_operators_spread_spread_in_arrays,mdn-javascript_operators_spread_spread_in_function_calls,mdn-javascript_operators_spread_spread_in_object_literals
2026-02-23 16:36:46 +01:00
rugk
7e506c7f83 refactor: drastically simplify JS "has HTML" extension again
Co-authored-by: El RIDO <elrido@gmx.net>
2026-02-23 16:31:13 +01:00
rugk
965c4e666e style(devcontainer): re-add omments to VSCode extensions 2026-02-23 15:27:50 +00:00
rugk
72c8769bcb wipfix: try providing path to local node_module mocha 2026-02-23 15:19:09 +00:00
rugk
6ea75a7d6e chore: remove now unneeded global nyc installation 2026-02-23 15:02:52 +00:00
rugk
35a593723d test: record/install mocha & nyc in package.json 2026-02-23 15:00:42 +00:00
rugk
809a79bd3e fix(devcontainer): make it possible to run mocha tests in VSCode using different extension
Indeed https://github.com/maty21/mocha-sidebar/issues/181#issuecomment-1016768595 seems to work and pointed me to a better extension.
This works better than maty.vscode-mocha-sidebar which could not find nyc.
2026-02-23 14:44:21 +00:00
rugk
47c986a781 fix(test): fix directory separator actually being used everywhere 2026-02-23 13:55:16 +00:00
rugk
422f149c52 feat(devcontainer): try provide --bootstrap arg and use global phpunit 2026-02-23 13:40:10 +00:00
rugk
4e437b4ac7 feat(devcontainer): add/auto-install vscode-phpunit extension 2026-02-23 13:38:43 +00:00
rugk
93c6d72107 refactor: install PHPUnit globally for development instead of locally 2026-02-23 13:21:17 +00:00
rugk
a2cc8aa40a Revert (partially) "fix(devcontainer): try adjusting scripts/setup for xdebug VSCode extension"
This reverts commit dd69cb89af partially.
2026-02-23 13:18:23 +00:00
rugk
06135ddc92 refactor(codespace): use proper composer commands for getting paths 2026-02-23 13:12:35 +00:00
El RIDO
65c73dbf93 Merge pull request #1793 from PrivateBin/dependabot/github_actions/dawidd6/action-download-artifact-15
Bump dawidd6/action-download-artifact from 14 to 15
2026-02-18 22:15:24 +01:00
El RIDO
7ed7cdd0e8 ignore CVE that breaks unit tests in Github actions
see: https://github.com/firebase/php-jwt/issues/620
2026-02-18 18:59:27 +01:00
dependabot[bot]
26e7e5eed9 Bump dawidd6/action-download-artifact from 14 to 15
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 14 to 15.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](5c98f0b039...fe9d59ce33)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-18 11:52:39 +00:00
rugk
2efa294386 Merge pull request #1792 from PrivateBin/docs/prtemplate
docs(templates): update PR template to remove WIP prepending nit/suggestion
2026-02-17 07:11:08 +01:00
rugk
c22d58225c Merge pull request #1791 from PrivateBin/devcontainer/typo
style(devcontainer): fix typo
2026-02-17 07:04:17 +01:00
rugk
a0fbafd1fc docs(templates): update PR template to remove WIP prepending nit/suggestion
Given GitHub has full support for draft PRs nowadays, this "workaround" is not needed anymore and can be removed, IMHO.
2026-02-17 00:13:48 +01:00
rugk
d1b45c1e78 style(devcontainer): fix typo
Not a all relevant in any case, but still…
2026-02-17 00:11:39 +01:00
rugk
dd69cb89af fix(devcontainer): try adjusting scripts/setup for xdebug VSCode extension 2026-02-16 22:59:05 +00:00
El RIDO
ed652fd92d Merge pull request #1786 from cloudscape-germany/fix/append-child
refactor: change append child making template adjustments more easy
2026-02-14 08:52:52 +01:00
Stephan Kristyn
5d22847ef1 ES6 Compat code broke everything. Reverting. E2E testing wth multiple files works 2026-02-12 13:48:49 +01:00
Stephan Kristyn
cfea0fb20e Now leaving styling to customer if he wants the filename and filesize as a hyperlink or outside the hyperlink 2026-02-11 19:03:34 +01:00
Stephan Kristyn
755be747a6 Refactoring the way DOM element is created and styled. Now leaving styling to customer 2026-02-11 18:41:44 +01:00
Stephan Kristyn
89838a4871 Removing unnecessary alterations-3 2026-02-10 18:37:21 +01:00
Stephan Kristyn
7467840644 Removing unnecessary alterations-2 2026-02-10 18:34:30 +01:00
Stephan Kristyn
42d516c07a Removing unnecessary alterations 2026-02-10 18:30:42 +01:00
Stephan Kristyn
9ab16674aa Adding Bootstrap Classname to dynamically created child element 2026-02-10 18:22:17 +01:00
Stephan Kristyn
e2b4b8a7f8 Adding new DOM element, CSS and JS code 2026-02-10 14:36:03 +01:00
El RIDO
c0d26b5c08 Merge pull request #1783 from PrivateBin/crowdin-translation
New Crowdin updates
2026-02-07 19:24:17 +01:00
PrivateBin Translator Bot
7ed40d1b71 New translations en.json (Persian) 2026-02-06 20:36:32 +01:00
El RIDO
ec656a5456 credit Persian translation & enable use of Persian plurals 2026-02-06 19:15:02 +01:00
El RIDO
8981641652 Merge pull request #1782 from Ali-Fani/master
Add Persian (fa) language support and update supported languages list
2026-02-06 19:03:00 +01:00