Commit graph

1750 commits

Author SHA1 Message Date
Bishtawi
ee2af306d7 Support loading ldap secret from file 2024-11-05 00:35:36 -08:00
Peter Bieringer
687624a403 fix spelling 2024-11-02 13:23:41 +01:00
Jean-Denis Girard
c6cc7f3486 Skip Dovecot auth tests on Windows (try again...) 2024-10-31 09:28:35 -10:00
Jean-Denis Girard
652e768650 Skip Dovecot auth tests on Windows 2024-10-31 06:36:47 -10:00
Jean-Denis Girard
f25a5fbc79 Rebase galaxy4public patch on top of bf4f5834 2024-10-30 10:33:10 -10:00
Peter Bieringer
059afef35d log content in case of multiple main components error 2024-10-29 07:19:45 +01:00
Peter Bieringer
59c638461b Fix: only expand VEVENT on REPORT request 2024-10-12 07:25:29 +02:00
Peter Bieringer
c438ccb215 fix #1852 2024-10-08 08:06:06 +02:00
Peter Bieringer
d7c09e218f extend copyright 2024-10-08 08:05:52 +02:00
Peter Bieringer
a78e32de4d
Merge pull request #1553 from deronnax/pyupgrade-py38
pyupgrade --py38-plus
2024-10-05 22:55:36 +02:00
Peter Bieringer
ba9776d688 change default, remove leftover 2024-09-30 21:43:50 +02:00
Peter Bieringer
eed6bcee01 add collection rights for dedicated test cases 2024-09-30 21:33:29 +02:00
Peter Bieringer
457af284e1 whitelist new permissions 2024-09-30 21:28:29 +02:00
Peter Bieringer
e0594d5b33 permit_overwrite_collection doc + rights + test cases 2024-09-30 21:26:24 +02:00
Peter Bieringer
d41aa60d61 cosmetics 2024-09-30 21:26:24 +02:00
Peter Bieringer
973b26b2e9 add new option rights/permit_overwrite_collection 2024-09-30 21:26:24 +02:00
Peter Bieringer
fc77cf9d66 revert 0f87897e 2024-09-30 21:16:36 +02:00
Peter Bieringer
06a9cf2886 extend whitelisted permission chars 2024-09-30 21:15:10 +02:00
Peter Bieringer
53bc6167d3 add support for dedicated forbid/permit permission 2024-09-30 21:14:39 +02:00
Peter Bieringer
72e4c4fadd add explicit permit/forbid test cases 2024-09-30 21:14:29 +02:00
Peter Bieringer
4ef5cad20f add test case 2024-09-29 18:10:53 +02:00
Peter Bieringer
a449d8774b enforce default for tests 2024-09-29 18:10:29 +02:00
Peter Bieringer
0f87897eb7 change default rights/permit_delete_collection from True to False (failsafe) 2024-09-29 17:44:44 +02:00
Peter Bieringer
40c8b3d038 log in case delete of collection is prevented 2024-09-29 17:44:21 +02:00
Peter Bieringer
d15e836079 extend copyright 2024-09-29 17:44:05 +02:00
Dipl. Ing. Péter Varkoly
e887b06d21 Fix syntax 2024-09-23 15:49:58 +02:00
Dipl. Ing. Péter Varkoly
b1c682de57 Enhance docomentation.
Fix imports
2024-09-23 15:46:08 +02:00
Dipl. Ing. Péter Varkoly
0feca04086 Implementing ssl connection for ldap auth 2024-09-23 10:19:50 +02:00
Dipl. Ing. Péter Varkoly
ccb59444c3 Remove trailing whitespaces and unsused import. 2024-09-22 19:01:09 +02:00
Dipl. Ing. Péter Varkoly
97479190e8 Adapt imports. 2024-09-22 18:57:48 +02:00
Dipl. Ing. Péter Varkoly
d1ceb620e4 Adapt function template discovery to the implementation 2024-09-22 18:38:21 +02:00
Dipl. Ing. Péter Varkoly
a272d3039e Implement using group calenders.
Based on the ldap groups the user is member of group calender usage is implemented.
The group calenders must be placed in the GROUPS directory based under collection_root_folder.
The name of the group calender directory is the base64 encoded name of the group to avoid trouble with spaces and special characters in name.
If the directory does not exist the group will be ignored.
2024-09-22 16:56:53 +02:00
Dipl. Ing. Péter Varkoly
98c5ffdc87 Increase performace: open and parse rigts file only by starting.
Hanlde right sections without user.
2024-09-21 18:39:39 +02:00
Dipl. Ing. Péter Varkoly
645619bac8 Fix format string 2024-09-17 09:33:31 +02:00
Dipl. Ing. Péter Varkoly
b081b3ea06 Fix issue #197 [ERROR] An exception occurred during GET request on '/.web/': string indices must be integers, not 'str' when using LDAP
Enhance logging
2024-09-17 09:25:38 +02:00
Dipl. Ing. Péter Varkoly
a7f33c8795 Reorder imports. 2024-09-12 12:17:34 +02:00
Dipl. Ing. Péter Varkoly
b47c76e9ca Fix definition of _user_groups in rights 2024-09-12 00:59:26 +02:00
Dipl. Ing. Péter Varkoly
da04d95b75 Fixing type definition error. 2024-09-11 14:13:06 +02:00
Dipl. Ing. Péter Varkoly
e05fbeb950 Apply suggestions of mypy 2024-09-11 09:13:26 +02:00
Dipl. Ing. Péter Varkoly
d75b071fec Fix the problems found by flake8. 2024-09-11 08:12:08 +02:00
Dipl. Ing. Péter Varkoly
5cb16a3a2d Fix syntax 2024-09-09 09:42:30 +02:00
Dipl. Ing. Péter Varkoly
606bd30514 Rebase 2024-09-05 10:44:28 +02:00
Peter Bieringer
c63dee71ec Adjustment: option [auth] htpasswd_encryption change default from "md5" to "autodetect" 2024-09-01 17:19:53 +02:00
Peter Bieringer
a79c2ad83e align option name 2024-08-28 08:59:32 +02:00
Peter Bieringer
e852c887d7 Enhancement: add option to toggle debug log of right with doesn't match 2024-08-28 08:03:16 +02:00
Peter Bieringer
4f1e8ce889 add overseen conditional request_content debug log 2024-08-28 07:49:48 +02:00
Peter Bieringer
39662fc680 fix config section info 2024-08-28 07:48:45 +02:00
Peter Bieringer
7da46f392e fix logger.warn->warning 2024-08-27 21:34:52 +02:00
Dipl. Ing. Péter Varkoly
8b8d7729a2 Now ldap auth can use ldap and ldap3 also. 2024-08-26 14:16:40 +02:00
Dipl. Ing. Péter Varkoly
5167f12624 Rebase rights/from_file.py.
Apply proposed/asked changes.
2024-08-26 11:21:53 +02:00