Commit graph

4190 commits

Author SHA1 Message Date
rugk
cfc687d62b style: fix indentation 2025-09-03 14:12:12 +00:00
rugk
168fed64b9 chore: apply Scruintizer diff 2025-09-03 14:11:35 +00:00
rugk
4f13d93af2 style: use explicit types 2025-09-03 13:53:51 +00:00
rugk
f76704a88c refactor: simplify tests 2025-09-03 13:48:28 +00:00
rugk
dbaa70ec11 test: move ftp example to rejected because of foreign URL 2025-09-03 13:45:30 +00:00
rugk
879b696f22 wipfix: correct contatenation of options 2025-09-03 13:43:57 +00:00
rugk
0a398d73f0 chore(codespace): install stuff for PHP unit testing 2025-09-03 12:57:55 +00:00
rugk
fae7e233f3 test: write some tests for testing proxy ensurance 2025-09-03 12:38:44 +00:00
rugk
64165d9928 chore: always ignore composer PHP bin dir 2025-09-03 12:38:13 +00:00
rugk
bdfe74c077 chore: fix Codespace COmposer/PHPUnit PATH 2025-09-03 12:37:55 +00:00
rugk
2c1a17a07f
Strengthen validation of URL in proxy services
This should definitively rule out any circumstances, where invalid URLs could cause problems.

Both URL validity is checked before it is forwarded to the URL shortener proxy _and_ the host part is explicitly compared to make sure the domain is really the same one.

TOOD:
* [ ] some tests may be needed here (hmpff…)
2025-09-02 22:40:22 +02:00
El RIDO
a72545c994
Merge pull request #1636 from PrivateBin/crowdin-translation
New Crowdin updates
2025-08-30 19:23:03 +02:00
PrivateBin Translator Bot
e31027d71e New translations en.json (Corsican) 2025-08-30 17:54:07 +02:00
El RIDO
5cc963be1b
deduplicate proxy view operations 2025-08-30 09:22:44 +02:00
El RIDO
5cc66bb29b
Merge pull request #1629 from karthikkasturi/shlink
Added shlink integration
2025-08-30 09:19:41 +02:00
El RIDO
a97af156a0
Merge pull request #1633 from PrivateBin/crowdin-translation
New Crowdin updates
2025-08-21 18:13:10 +02:00
PrivateBin Translator Bot
374f937418 New translations en.json (Czech) 2025-08-21 16:56:25 +02:00
PrivateBin Translator Bot
53cf3063b9 New translations en.json (Czech) 2025-08-21 15:18:24 +02:00
Karthik Kasturi
77395c147f updated test cases, added clarity in error messages 2025-08-20 01:23:06 +00:00
Karthik Kasturi
39e527915e Add test cases for shlink 2025-08-19 23:55:32 +00:00
Karthik Kasturi
0be1cef224 i18n updates 2025-08-19 21:39:16 +01:00
Karthik Kasturi
7ec8bc6ef1 chore: moved proxy classes to different folder and namespaces 2025-08-19 20:34:39 +01:00
El RIDO
c317dc423b
Merge pull request #1631 from PrivateBin/crowdin-translation
New Crowdin updates
2025-08-18 21:42:18 +02:00
PrivateBin Translator Bot
7380b3d5d4 New translations en.json (Corsican) 2025-08-18 19:21:45 +02:00
Karthik Kasturi
4a39a2ad0f refactor: added AbstractProxy base class for shortener proxies 2025-08-15 23:28:44 +01:00
Karthik Kasturi
714e455479 style fixes 2025-08-15 00:20:11 +01:00
Karthik Kasturi
0808052acf Added shlink integration 2025-08-15 00:07:51 +01:00
El RIDO
ebe275d509
Merge pull request #1627 from karthikkasturi/auto-shorten-urls
Auto shorten urls
2025-08-14 07:56:35 +02:00
Karthik Kasturi
0460f18ca0 chore: added new translation 2025-08-14 01:21:49 +01:00
Karthik Kasturi
eab8b3b7c9 Updated changelog 2025-08-14 00:48:36 +01:00
Karthik Kasturi
94e0d718cf update SRI 2025-08-14 00:39:59 +01:00
Karthik Kasturi
059e64adb1 Auto Shortening URLs 2025-08-14 00:29:28 +01:00
El RIDO
08c44cfb05
Merge pull request #1626 from PrivateBin/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-13 07:12:42 +02:00
dependabot[bot]
09bab8744f
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 17:11:00 +00:00
El RIDO
50b8c1de50
Merge pull request #1625 from karthikkasturi/copy-short-link
Update Copy Link url after short url is generated
2025-08-09 15:01:05 +02:00
El RIDO
8eac99c2ec
Merge pull request #1623 from karthikkasturi/master
Update scripts to defer
2025-08-09 14:58:52 +02:00
Karthik Kasturi
397d006479
Updated bootstrap.php to include scripts as defer 2025-08-08 12:44:53 +05:30
Karthik Kasturi
065d9eaa23
Updated SRI and Changelog 2025-08-06 23:36:36 +05:30
Karthik Kasturi
ce188671db
Update Copy Link url after short url is generated 2025-08-05 01:14:37 +05:30
Karthik Kasturi
4f8fc4873a
Update scripts to defer 2025-08-04 03:09:04 +05:30
El RIDO
f739b5b6a9
Merge pull request #1621 from jacquesbh/configuration-isnt-private
Use protected instead of private $_configuration
2025-08-01 07:09:30 +02:00
El RIDO
35319c1622
Merge pull request #1620 from 1024pix/fix/paste-password-in-passworddecrypt
fix: allow pasting a password for decrypting a paste
2025-08-01 06:54:19 +02:00
Jacques Bodin-Hullin
51d8e92e6a
feat(configuration): Use protected instead of private
This way we can override the $_configuration property using
a new Configuration extending the PrivateBin one.
2025-07-31 23:59:58 +02:00
Nicolas Lepage
8e3f59a49c
chroe: adds bugfix in CHANGELOG.md 2025-07-31 16:31:37 +02:00
Nicolas Lepage
79dc03660b
chore: updates SRI hash for privatebin.js 2025-07-31 16:19:42 +02:00
Nicolas Lepage
13f5922397
fix: attach paste listener on message field
paste listener prevents default behavior in unexpected cases
such as pasting a password in the passworddecrypt field

attaching the paste listener on the message field
instead of the whole document should fix this problem
2025-07-31 16:14:13 +02:00
El RIDO
7435097731
Merge pull request #1618 from AnonymousWP/chore(translation)-update-Dutch-translation
chore(translation): fix incorrect Dutch wording for `document`
2025-07-29 17:11:47 +02:00
Anonymoussaurus
b77544a6b1
chore(translation): fix incorrect Dutch wording for document
* 'de' -> 'het'
* 'deze' -> 'dit'
* 'notitie' -> 'document'
* 'documents' -> 'documenten'
2025-07-29 11:40:26 +02:00
El RIDO
99265e5464
avoid undefined variable warning 2025-07-29 07:49:56 +02:00
El RIDO
f495aa2cfc
Merge pull request #1617 from PrivateBin/crowdin-translation
New Crowdin updates
2025-07-28 17:49:43 +02:00