Commit Graph

456 Commits

Author SHA1 Message Date
Peter Bieringer
a10649d2ba test: sharing/create/map earlier access check 2026-04-23 06:13:32 +02:00
Peter Bieringer
2c3f74fd41 test/sharing: add test case for try to change PathOrToken 2026-04-23 06:13:31 +02:00
Peter Bieringer
f0bfa7110e test/sharing: add unicode tests 2026-04-23 06:13:31 +02:00
Peter Bieringer
9137f5bca4 test: add cases for user/path value check 2026-04-23 06:13:31 +02:00
Peter Bieringer
93a4d9390c add various test cases for filesystems 2026-04-19 11:58:59 +02:00
Peter Bieringer
856d6602ea Merge pull request #2089 from henning-schild/henning/staging1
deal with bcrypt>=5 72 chars limit for libpass+passlib
2026-04-15 07:09:09 +02:00
Peter Bieringer
33ffc27384 storage/test/collision: fix for hfs+ and cosmetics 2026-04-15 05:55:07 +02:00
Peter Bieringer
a6d7fcf1b9 storage/detect+test file systems with collision: fix to catch HFS+ (MacOS) 2026-04-14 20:45:04 +02:00
Peter Bieringer
da58a4da13 storage/test/symlink: bugfix 2026-04-14 20:45:04 +02:00
Peter Bieringer
32055f9048 storage/test/symlink: fix path concat 2026-04-14 20:45:04 +02:00
Peter Bieringer
b18cf74332 storage/test: add cases for file name collision 2026-04-14 20:45:04 +02:00
Peter Bieringer
6d25fa07e1 storage/test: adjust condition related to symlink test 2026-04-14 20:45:04 +02:00
Henning Schild
6690e9e3ca radicale/utils: drop bcrypt compat check
We now support passlib and bcrypt5 so the test can be dropped.

Related-to: #1980
Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 19:13:44 +02:00
Henning Schild
7b5c0304bb radicale/tests: use BCRYPT_MAX_PWLEN from auth.htpasswd
Do not define the magic value twice, instead reuse the value from the
auth code also in the related tests.

Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 18:55:05 +02:00
Henning Schild
eb49553b20 test/auth: add another bcrypt max len test
This time the other way around just to be extra sure. Radicale currently
does not ever call bcrypt.hashpw, let alone with an overlong password.

Related-to: #1896
Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 18:21:38 +02:00
Henning Schild
e77a1c5187 test/auth: add bcrypt max len test
The maximum password length of bcrypt is 72 chars, any longer password
will create the same hash. Some password/hashing lib combinations
truncate for us, for others we might catch exceptions. So test all that
to make sure we can handle all combinations.

Related-to: #1896
Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 18:21:38 +02:00
Henning Schild
f65754e0da test/auth: fix bcrypt autodetect test
Was not using "autodetect" as intended.

Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 14:14:38 +02:00
Peter Bieringer
c9ac5f8a9e storage/test: add share-by-softlink case 2026-04-11 17:03:59 +02:00
Peter Bieringer
5388740ac2 hook/email: add additional test cases, extend log for that 2026-04-10 08:35:05 +02:00
Peter Bieringer
c44c414b91 event item with only 1 attendee 2026-04-10 08:33:57 +02:00
Peter Bieringer
b8f3ed8c69 hook/email/test: improve test case 2026-04-10 07:52:51 +02:00
Peter Bieringer
7870d6431a hook/email/test: add new test item 2026-04-10 07:52:51 +02:00
Peter Bieringer
1361638bac hook/email/tests: extend test cases for date-only 2026-04-10 07:52:51 +02:00
Peter Bieringer
5e928ab30e sharing/tests: extend/reorg test cases related to permissions 2026-04-10 05:52:06 +02:00
Peter Bieringer
8c3db53892 sharing/tests: add additional propfind checks 2026-04-09 21:30:48 +02:00
Peter Bieringer
b29171ff8f sharing/tests: flake8 fixes 2026-04-09 20:43:01 +02:00
Peter Bieringer
a9f02f1a60 sharing/token/proppatch: add additional test cases 2026-04-09 20:42:19 +02:00
Peter Bieringer
bd15df3d8a test: add support for custom radicale loglevel 2026-04-05 16:17:18 +02:00
Peter Bieringer
cd98d0fd9b storage/hook/tests: skip if loglevel is not DEBUG and set explicit capture of DEBUG log 2026-04-05 16:13:04 +02:00
Peter Bieringer
a4aa42ec20 fix typo 2026-04-03 16:43:47 +02:00
Peter Bieringer
fc8f188662 sharing/tests: add test cases, cosmetics 2026-04-03 16:13:19 +02:00
Max Berger
b6c1612bf1 share extended permissions in current-user-privilege-set 2026-04-03 08:01:10 +02:00
Peter Bieringer
ad43feacb8 delay_on_error: remove trigger flag from environment 2026-04-03 07:28:29 +02:00
Peter Bieringer
d50479cefb server_delay_on_error: add test 2026-04-03 07:18:09 +02:00
Peter Bieringer
49db75dae8 delay and sharing/token: align+fix 2026-04-02 13:11:24 +02:00
Peter Bieringer
b64e4d0332 sharing/info: test overlay status/support 2026-03-30 06:03:43 +02:00
Peter Bieringer
9e58149dad sharing/token/test: check delay on invalid token 2026-03-29 14:52:41 +02:00
Peter Bieringer
7fd91221ae sharing/test: cosmetics 2026-03-29 14:52:41 +02:00
Peter Bieringer
d81dfa8547 auth/test: check auth_delay on failed login 2026-03-29 14:52:41 +02:00
Peter Bieringer
b07fc395cf code: cosmetics 2026-03-29 14:52:41 +02:00
Peter Bieringer
4b49910dfc test/auth: add support for optional delay 2026-03-29 14:52:41 +02:00
Peter Bieringer
9069626f1a sharing/bday/config-option: remove use of legacy 2026-03-28 10:10:04 +01:00
Max Berger
5ab80a8779 Removed legacy bday sharing from backend 2026-03-28 09:36:02 +01:00
Peter Bieringer
46c84d44b4 storage/get+discover: test for only add items not exceeding max-resource-size 2026-03-26 07:57:13 +01:00
Peter Bieringer
23ae1ccb14 tests/extend copyright 2026-03-26 05:47:42 +01:00
Peter Bieringer
a923ccf2d3 sharing/legacy bday: fallback for list 2026-03-25 06:55:56 +01:00
Peter Bieringer
0dab5ffcf8 sharing/test: remove leftovers 2026-03-25 06:53:26 +01:00
Peter Bieringer
d0106c1a6b sharing/via-proxy: add support and test cases 2026-03-24 21:40:29 +01:00
Peter Bieringer
0fae7c5a7c sharing/tests: replace type bday by conversion 2026-03-24 21:40:29 +01:00
Peter Bieringer
dc8e69c70a sharing/token: add support for bday conversion 2026-03-24 21:40:29 +01:00