Commit Graph

4466 Commits

Author SHA1 Message Date
El RIDO
0acb738372 amended wording 2026-01-30 22:18:02 +01:00
El RIDO
955521359a amended wording 2026-01-28 07:39:08 +01:00
El RIDO
771f0acb6d Merge branch 'master' into linter-ai-findings 2026-01-28 07:37:14 +01:00
El RIDO
f6c01a6489 update SRI hash 2026-01-28 07:21:32 +01:00
El RIDO
b36edf5a72 Merge pull request #1759 from cloudscape-germany/feature/exhaustive-bot-list
Feature/exhaustive bot list
2026-01-28 07:15:49 +01:00
El RIDO
2210ad6c91 Merge pull request #1764 from PrivateBin/linter-unneded-defensive-code
address unneeded defensive code lint
2026-01-28 06:32:03 +01:00
Cloudscape Germany
0d24bac155 Update js/legacy.js
Co-authored-by: El RIDO <elrido@gmx.net>
2026-01-27 14:50:23 +01:00
Cloudscape Germany
4711d9135a Remove monitoring services from legacy.js
Removed monitoring and uptime services from the list.
2026-01-25 21:10:36 +01:00
Cloudscape Germany
9c40afbdf3 Update js/legacy.js
Co-authored-by: El RIDO <elrido@gmx.net>
2026-01-25 21:06:23 +01:00
Cloudscape Germany
3b543d3271 Update js/legacy.js
Co-authored-by: El RIDO <elrido@gmx.net>
2026-01-25 21:04:38 +01:00
Cloudscape Germany
885ad4ff70 Update js/legacy.js
Co-authored-by: El RIDO <elrido@gmx.net>
2026-01-25 21:03:51 +01:00
Cloudscape Germany
0f4ac5e98e Update js/legacy.js
Co-authored-by: El RIDO <elrido@gmx.net>
2026-01-25 20:58:24 +01:00
El RIDO
d00fb264fb deduplicate code, clarifications 2026-01-25 10:37:32 +01:00
El RIDO
520408b830 typos 2026-01-25 10:36:10 +01:00
El RIDO
2c3dc983b6 typos and robots.txt clarifications 2026-01-25 10:08:50 +01:00
El RIDO
0ed48c455f address unneeded defensive code lint
IMHO this check is actually necessary, as we do call the function with an empty argument. So we need a guard there, but we could simplify it a bit, by making the argument an empty array by default. I still kept the check for undefined (line 3249, first check) in case the caller passes us an undefined variable.

See: https://github.com/PrivateBin/PrivateBin/security/quality/rules/js%2Funneeded-defensive-code - Copilot suggested to simply remove the if-condition and its else block, which I think is wrong.
2026-01-25 09:26:14 +01:00
Cloudscape Germany
968ec9cada Fix JSDoc type for badBotUA variable
Update JSDoc type annotation for badBotUA variable
2026-01-24 12:55:59 +01:00
Cloudscape Germany
15643689fd Add exhaustive list of bot identifiers to badBotUA array
- Minimizes false positives by using specific patterns like 'bot/', '-bot'
- Catches most bot variants without being overly broad
- Maintains case-sensitivity for precision
- Includes both common patterns and specific known bots
2026-01-24 12:40:44 +01:00
El RIDO
7806faf16c Merge pull request #1756 from WoutResseler/master
Update hash for privatebin.js
2026-01-22 06:59:06 +01:00
rugk
8b37926486 Merge pull request #1754 from PrivateBin/ai-llm-disclosure
docs: require users to disclose in PR whether an AI/LLM tool is used
2026-01-20 16:32:18 +01:00
woutresseler
33c93f4d40 Update hash for privatebin.js 2026-01-20 13:18:57 +01:00
El RIDO
9f0270634c Merge pull request #1755 from PrivateBin/docs/robots-txt
docs: clarify that robots.txt is not fail-safe
2026-01-18 12:33:03 +01:00
rugk
c2ed57c13f docs: clarify that robots.txt is not fail-safe
As per https://github.com/orgs/PrivateBin/discussions/1747
2026-01-17 14:22:27 +01:00
rugk
df4560802b docs: add AI "trap" 2026-01-17 14:14:42 +01:00
rugk
b722030b4a docs: require users to disclose in PR whether an A/LLM tool is used
Add disclosure section for AI tool usage in PRs.
2026-01-16 17:52:07 +01:00
El RIDO
b0830439e3 Merge pull request #1746 from PrivateBin/crowdin-translation
New Crowdin updates
2026-01-06 06:42:09 +01:00
PrivateBin Translator Bot
c6bf32391d New translations en.json (Slovenian) 2026-01-06 02:37:02 +01:00
PrivateBin Translator Bot
2f0834c209 New translations en.json (Slovenian) 2026-01-06 01:31:52 +01:00
El RIDO
49135506d2 Merge pull request #1745 from PrivateBin/dependabot/github_actions/dawidd6/action-download-artifact-12
Bump dawidd6/action-download-artifact from 11 to 12
2025-12-25 14:06:20 +01:00
dependabot[bot]
db422cfe6a Bump dawidd6/action-download-artifact from 11 to 12
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 11 to 12.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](ac66b43f0e...0bd50d53a6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-25 11:03:31 +00:00
El RIDO
02046cffdf Merge pull request #1741 from PrivateBin/wrong_formatter_value_for_cloned_document
The content format is not reset when creating a new document
2025-12-17 19:37:19 +01:00
El RIDO
482a7835ea Merge pull request #1743 from PrivateBin/dependabot/github_actions/actions/upload-artifact-6
Bump actions/upload-artifact from 5 to 6
2025-12-16 06:49:49 +01:00
dependabot[bot]
10b4a6ba4b Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:04:11 +00:00
El RIDO
87428d377c Merge pull request #1740 from PrivateBin/crowdin-translation
New Crowdin updates
2025-12-14 20:07:48 +01:00
El RIDO
c3ffb46988 Merge pull request #1738 from PrivateBin/dependabot/github_actions/actions/cache-5
Bump actions/cache from 4 to 5
2025-12-14 20:04:20 +01:00
Ribas160
b1f57bddd1 Fix eslint errors 2025-12-14 09:18:56 +02:00
Ribas160
ed9b3d1aa0 fix: The content format is not reset on create a new or clone document 2025-12-14 09:08:48 +02:00
PrivateBin Translator Bot
de44e79517 New translations en.json (Polish) 2025-12-13 10:30:04 +01:00
dependabot[bot]
3f5858616d Bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 11:04:20 +00:00
El RIDO
5a067e893f Merge pull request #1737 from PrivateBin/attachment_disappears_after_paste_fix
fix: Attachment disappears after a "paste" in the message area
2025-12-10 07:11:47 +01:00
Ribas160
54d002d26f fix: Attachment disappears after a "paste" in the message area 2025-12-09 15:43:59 +02:00
El RIDO
52c0846dad Merge pull request #1734 from PrivateBin/php85
Enable PHP 8.5 testing and handle deprecations
2025-12-03 19:10:03 +01:00
El RIDO
4f28c357ae Merge pull request #1715 from PrivateBin/i18n/soften-html-encoding
fix: do not encode source JSON translation string resulting in wrong display of special characters like '
2025-12-03 19:07:17 +01:00
El RIDO
f9e48ae561 Merge pull request #1733 from PrivateBin/sv-enable
enable Swedish translations
2025-12-02 19:09:54 +01:00
El RIDO
eaf8f9f92e address PHP 8.5 deprecation 2025-12-02 07:07:04 +01:00
El RIDO
6f778eeec3 address PHP 8.5 deprecation 2025-12-02 06:54:36 +01:00
El RIDO
c6343be01b enable PHP 8.5 for testing 2025-12-02 06:44:53 +01:00
El RIDO
aa931c7a5c enable Swedish translations 2025-12-02 06:40:07 +01:00
El RIDO
a844c19386 Merge pull request #1728 from PrivateBin/crowdin-translation
New Crowdin updates
2025-12-02 06:06:14 +01:00
PrivateBin Translator Bot
fdfe8877bc New translations en.json (Swedish) 2025-12-01 21:51:02 +01:00