El RIDO
a91d0afebd
ensure there is still a space between commenter icon and name
2025-10-28 16:35:58 +01:00
El RIDO
2f70456e9a
incrementing version
2025-10-28 16:08:13 +01:00
El RIDO
8293d1fb5d
apply ESLint recommendation
2025-10-28 11:33:47 +01:00
El RIDO
43cf8b53ac
Merge branch 'master' into purify-3.3.0
2025-10-28 11:27:17 +01:00
El RIDO
c4f8482b30
Refactored jQuery DOM element creation
...
using plain JavaScript, to ensure text nodes are sanitized
2025-10-25 12:56:55 +02:00
El RIDO
fd2c2ae0c5
update DOMpurify library from 3.2.7 to 3.3.0
2025-10-25 10:52:40 +02:00
El RIDO
ca70c7555d
Add tests of malicious file names
2025-10-24 15:00:56 +02:00
El RIDO
10cb5e132c
do not increment unrelated versions in package lock file
...
revert accidental changes from commit 9b7daf5d0a and exclude package lock from version increment
2025-10-12 11:53:31 +02:00
El RIDO
9b7daf5d0a
incrementing version
2025-10-12 08:50:13 +02:00
El RIDO
06496a1b0e
update bootstrap CSS library from 5.3.7 to 5.3.8
2025-10-09 09:24:08 +02:00
El RIDO
ed9bdc4272
update DOMpurify library from 3.2.6 to 3.2.7
2025-10-09 08:57:20 +02:00
rugk
851befb39d
Merge branch 'master' into eslint
2025-10-08 18:31:10 +02:00
El RIDO
0d052d8ddb
improve readability
2025-10-08 18:08:39 +02:00
El RIDO
5ae2ebcc77
revert to regex to address issue discovered by CodeQL
2025-10-07 00:44:53 +02:00
El RIDO
e35894e4f8
address eslint errors
2025-10-07 00:31:11 +02:00
El RIDO
42b89a9300
address eslint errors
2025-10-07 00:29:16 +02:00
El RIDO
e7c2aa4d60
address eslint errors
2025-10-07 00:11:49 +02:00
El RIDO
f0560bcc27
address eslint errors
2025-10-06 23:47:08 +02:00
El RIDO
51481656ba
attempting to improve eslint config
2025-10-06 23:12:19 +02:00
El RIDO
bef55b3bb1
Merge branch 'master' into karthikkasturi-master
2025-10-06 22:11:52 +02:00
El RIDO
23624d693c
shorten show password message
...
as per suggestion of @rugk during review
2025-10-06 22:08:04 +02:00
rugk
cdbeaeb076
style(js): fix auto-fixable problems in JS test files
2025-10-06 17:29:52 +00:00
rugk
c2c1f37885
fix: make EsLint run only for PrivateBin.js
2025-10-06 17:28:15 +00:00
rugk
1250c4009b
style(js): fix auto-fixable problems in privatebin.js
2025-10-06 17:27:38 +00:00
rugk
bcbd116040
style: move EsLint into correct directory
2025-10-06 17:20:17 +00:00
rugk
dd17f1dcc3
Merge remote-tracking branch 'origin/js-unit-readability' into eslint
2025-10-06 17:09:04 +00:00
rugk
57e40e4fcc
chore: add EsLint to dev dependencies
2025-10-06 17:02:29 +00:00
El RIDO
7f93242279
upgrade eslint config and remove workaround for implicit globals
...
we seem to have used eslint through codeclimate in the past, but that service seems no longer integrated, possibly due to no longer being free
2025-10-06 18:30:19 +02:00
El RIDO
ead315251f
suppress noise from early initialization during unit tests
...
the tests still all passed, but the missing browser globals in the node environment could cause misleading messages in the mocha output
2025-10-06 17:38:09 +02:00
El RIDO
d40dac4825
improve error reporting
2025-10-06 17:35:34 +02:00
El RIDO
b8037d869c
stick to a single code style
2025-10-06 15:50:26 +02:00
El RIDO
e853a934ea
improve JS unit test readability & error reporting
2025-10-06 14:52:08 +02:00
galindosarah
8c06cecf56
Added emailTemplateTest
2025-10-06 12:26:38 +02:00
El RIDO
2e5d6dddac
Merge branch 'master' into karthikkasturi-master
2025-10-05 09:51:34 +02:00
El RIDO
d50231a531
apply suggestions to use existing bootstrap icons
...
as per discussion in https://github.com/PrivateBin/PrivateBin/pull/1647#discussion_r2345917795
2025-10-05 09:47:39 +02:00
rugk
a0c0d3d37b
Make sure legacy check returns true only on HTTPS (not like ftp or whatever)
...
I am not sure why it was expressed so convoluted before?
Found that in https://github.com/orgs/PrivateBin/discussions/1657
2025-09-30 14:21:17 +02:00
El RIDO
f03f2bf28d
simplify cache breaker extraction
2025-09-25 22:06:38 +02:00
TW - Vincent
9b496acde5
Update privatebin.js
2025-09-21 19:02:12 +02:00
TW - Vincent
b0df8e10f5
Update privatebin.js
2025-09-21 19:01:30 +02:00
TW - Vincent
1967c05a88
Update privatebin.js
2025-09-21 18:31:54 +02:00
Karthik Kasturi
f9c958da90
Password peek 🫣
2025-09-11 21:34:12 +00:00
Karthik Kasturi
24afa5a1d8
removed CSP tag from shortenerproxy.php
2025-09-11 18:17:30 +01:00
Karthik Kasturi
191ed63b04
fix regex check for short url in response
2025-09-10 16:02:06 +01:00
Karthik Kasturi
059e64adb1
Auto Shortening URLs
2025-08-14 00:29:28 +01:00
Karthik Kasturi
ce188671db
Update Copy Link url after short url is generated
2025-08-05 01:14:37 +05:30
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
6003f52dba
incrementing version
2025-07-28 09:34:48 +02:00
El RIDO
ddd2d72064
replaced the term "paste" with the more generic "document"
...
Some of the references to "paste" in code or comments got changed as well, but to clarify the intended usage of the terms:
- A PrivateBin document can consist of a paste text (key "paste" in the encrypted payload) and one or several attachments and discussion entries.
- Internally the root document is called a "Paste" and each discussion entry is called a "Discussion".
- When referring to a whole document with one paste and optional discussion(s), we call it just "document".
- When talking about a particular JSON payload type in the internal logic, i.e. during storage or transmission, we call them a paste or discussion to distinguish which type we refer to.
closes #397
2025-07-24 10:46:31 +02:00
Ribas160
5d119768c3
JavaScript unit tests for new SI units added, privatebin.js SRI updated
2025-07-24 00:33:38 +03:00
Mikhail Romanov
390f8ddc53
The rest of SI units added
...
Co-authored-by: El RIDO <elrido@gmx.net >
2025-07-24 00:20:33 +03:00