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
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
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
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
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
El RIDO
6587466a9b
remove async & ES6 feature detection
...
It requires eval and webcrypto got introduced in older Chrome & Firefox versions, so seems superfluous to keep.
2024-11-26 07:01:34 +01:00
El RIDO
6b180ac7b1
Merge branch 'master' into wasm-streaming
2024-11-24 21:15:56 +01:00
El RIDO
71797d1dd4
changes required for jsdoc, adding legacy.js to code coverage
2019-09-22 21:18:19 +02:00
El RIDO
955317d924
make codacy a bit happier
2019-09-19 19:47:19 +02:00
El RIDO
7c61f59dcd
removing untranslated string for non-human entities, moving insecure notice to template, so it can remains translated
2019-09-19 19:14:48 +02:00
El RIDO
70c38db81d
adding ES6 and async feature detection to correctly flag old chromes and operas with the modern browser error
2019-09-18 07:47:26 +02:00
El RIDO
4332d0edb0
making legacy.js work even on IE 6 by avoiding jQuery
2019-09-18 07:31:32 +02:00
El RIDO
5810f17c31
fixing HTTP only error detection in Chrome and Android by ensuring all logic is contained in legacy.js
2019-09-17 21:41:25 +02:00
El RIDO
1a42158dd1
address Codacy's concern about missing semicolons
2019-09-14 09:53:22 +02:00
El RIDO
713ce148a4
address Codacy's concern that i is already defined
2019-09-14 09:50:47 +02:00
El RIDO
63426d6f8b
splitting out PrivateBin.InitialCheck class into Legacy.Check and working on making it compatible with IE 11
2019-09-14 09:41:52 +02:00