Commit Graph

2713 Commits

Author SHA1 Message Date
Peter Bieringer
86fda2b6c3 test: isort fix 2026-04-23 06:13:32 +02:00
Peter Bieringer
351ad693d2 user/path value check: adjust test cases 2026-04-23 06:13:32 +02:00
Peter Bieringer
541359977e put: disable log of backtrace on error 2026-04-23 06:13:32 +02:00
Peter Bieringer
13e7a6e569 path value check: extend pattern 2026-04-23 06:13:32 +02:00
Peter Bieringer
2be334922a user/path value check: add support for no-unicode 2026-04-23 06:13:32 +02:00
Peter Bieringer
5a6bae0a2c user/path value check: add additional option 2026-04-23 06:13:32 +02:00
Peter Bieringer
0d658c08ea storage: expose unicode support, fix typos 2026-04-23 06:13:32 +02:00
Peter Bieringer
c44ac6bae5 fix for ee21e004b33dc39de4cb84b92ff5cd8a12d7c3ed 2026-04-23 06:13:32 +02:00
Peter Bieringer
a10649d2ba test: sharing/create/map earlier access check 2026-04-23 06:13:32 +02:00
Peter Bieringer
eb3448cf39 sharing/create/map: access check now earlier 2026-04-23 06:13:32 +02:00
Peter Bieringer
a980a5a353 logging: change result loglevel also for some seldom methods 2026-04-23 06:13:32 +02:00
Peter Bieringer
0864fd1b31 sharing/properties overlay add ICAL:calendar-order to whitelist 2026-04-23 06:13:31 +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
8ebf56ea17 sharing/csv: fix improper quote conversion 2026-04-23 06:13:31 +02:00
Peter Bieringer
7dcfd4ae19 sharing/csv: honor stock encoding 2026-04-23 06:13:31 +02:00
Peter Bieringer
175a07e7ca remove not working and disabled optimization, see https://github.com/Kozea/Radicale/pull/2087 2026-04-23 06:13:31 +02:00
Peter Bieringer
70bcaf3ad1 change result loglevel depending on status 2026-04-23 06:13:31 +02:00
Peter Bieringer
eecfdcaf69 sharing: adjust loglevel or add forgotten log 2026-04-23 06:13:31 +02:00
Peter Bieringer
53d5a89165 use new format checker for path/user 2026-04-23 06:13:31 +02:00
Peter Bieringer
af5121ab34 new option for checking path/user value 2026-04-23 06:13:31 +02:00
Max Berger
7f3895099f UI: Show title and description in sharing dialogs 2026-04-22 22:38:16 +02:00
Max Berger
66d4827250 UI: Dynamic window titles including URL 2026-04-22 22:13:40 +02:00
Max Berger
ecac9c6ced UI: Bugfix showing sharing permissions 2026-04-22 20:59:06 +02:00
Peter Bieringer
a60ba7ae7f pathutils: change loglevel for detection 2026-04-19 11:59:42 +02:00
Peter Bieringer
6638e15fd0 storage/mtime resultion test: do not stop hard in case mtime cannot be set 2026-04-19 11:58:59 +02:00
Peter Bieringer
93a4d9390c add various test cases for filesystems 2026-04-19 11:58:59 +02:00
Peter Bieringer
1a34c78261 test and display features of used collection base directory 2026-04-19 11:58:59 +02:00
Peter Bieringer
cd4d832003 Adjust: respond with 500 in case principal collection cannot be created (e.g. filesystem issues) 2026-04-19 11:58:59 +02:00
Peter Bieringer
e998943a73 application startup: stop if TEMP is set but not writable or even not existing 2026-04-19 11:58:59 +02:00
Peter Bieringer
1b1c4cf0ef fix https://github.com/Kozea/Radicale/issues/2095 2026-04-19 11:56:57 +02:00
Max Berger
3866a648e7 UI: Only clear errors on successful login 2026-04-16 23:00:57 +02:00
Peter Bieringer
17e461cd82 put: extend log line 2026-04-15 21:41:14 +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
c7625650c1 storage/pathutils: temp test 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
Peter Bieringer
7a55e8164b storage: add and take use of flag _filesystem_root_folder_is_collision_free 2026-04-14 20:45:04 +02:00
Peter Bieringer
f6eb5634cd storage: fix mtime granularity detection by switching to relative adjustment (fix broken vfat support) 2026-04-14 20:45:04 +02:00
Peter Bieringer
07e3a2cbad pathutils: add tests for symlink support or collision-free folder and improve path_to_filesystem 2026-04-14 20:45:04 +02:00
Peter Bieringer
9fab1bc9cc mkcalendar/mkcol: return CONFLICT in case of file name collision 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
80b0aaf24f auth/htpasswd: deal with bcrypt maximum password length
bcrypt < 5 always truncated overlong passwords for us, since version 5
we need to do that on our own or hope our password library does it for
us.

In order to support both passlib and libpass with bcrypt >= 5 we simply
truncate if needed so it does not matter which of the two libraries is
used.

Closes: #1896
Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 18:21:38 +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