Peter Bieringer
73f8f950d0
add content from https://github.com/Kozea/Radicale/pull/1073
2025-01-03 07:19:33 +01:00
Peter Bieringer
234be74b87
Merge pull request #1666 from marschap/LDAPauth-patches
...
LDAP auth patches - thank you!
2025-01-02 21:11:32 +00:00
Peter Bieringer
45f2a4cc0e
Merge pull request #1667 from jackwilsdon/fix-ipv6-test
...
Fix test failing on systems without IPv6 support - thank you very much!
2025-01-02 21:05:45 +00:00
Jack Wilsdon
532fad9ba6
Fix test failing on systems without IPv6 support
2025-01-02 12:18:53 +00:00
Peter Marschall
99f5ec389d
LDAP auth: indroduce config option 'ldap_user_attribute'
...
This option gives us
- flexible authentication options where the name used for logging on
does not have to be the account name
e.g. use ldap_filter = (&(obhjectclass=inetOrgperson)(|(cn={0]})(mail={0})))
to allow loginng on using the cn or the mail address
- automatically consistent / canonicalized username values
(i.e. exactly the way the LDAP server returns them)
2025-01-02 12:05:39 +01:00
Peter Marschall
0253682c00
LDAP auth: do not blindly assume groups have a 2-letter naming attribute
...
Instead, strip away everything before (and including) the '=' sign of ther RDN.
2025-01-02 12:05:39 +01:00
Peter Marschall
8c2feb4726
LDAP auth: escape values used in LDAP filters to avoid possible injection of malicious code.
2025-01-02 12:05:39 +01:00
Peter Marschall
c243ae4ebf
LDAP auth: require exactly one result when searching for the LDAP user DN
...
This makes sure not fail securely when the query returns multiple entries
- correct grammar in some cases
- we're doing _authentication here, not authorization
- uppercase LDAP in messages & comments
- rename variable _ldap_version to _ldap_module_version
to avoid misunderstanding it as LDAP's protocol version
- align formatting & messages better between _login2() and _login3()
2025-01-02 12:05:39 +01:00
Peter Marschall
6f82333ff7
LDAP auth: harmonize _login2() and _login3() methods
2025-01-02 12:05:32 +01:00
Peter Bieringer
ac8abbd12c
3.3.4.dev
2024-12-30 08:15:55 +01:00
Peter Marschall
b22038c746
LDAP auth: a little bit of cleanup
...
- correct grammar in some cases
- we're doing authentication here, not authorization
- uppercase LDAP in messages & comments
- rename variable _ldap_version to _ldap_module_version
to avoid misunderstanding it as LDAP's protocol version
2024-12-29 17:36:01 +01:00
Peter Bieringer
c2b2274dad
update release
2024-12-28 08:05:39 +01:00
Peter Bieringer
2674f9a382
enhance and fix logwatch
2024-12-28 07:56:10 +01:00
Peter Bieringer
51960bcab8
extend doc related to config options used
2024-12-27 09:04:47 +01:00
Peter Bieringer
a5dd4d8a7d
Merge pull request #1665 from itglob/master
...
Disable overloading BaseAuth login method
2024-12-26 16:19:15 +00:00
IM
94898ef6c1
flake8 E302
2024-12-25 22:28:01 +03:00
IM
7df2fb35a7
Disable overloading BaseAuth login method
2024-12-25 21:56:04 +03:00
Peter Bieringer
a4266c9690
Merge pull request #1664 from pbiering/issue-1133
...
Fix for Issue 1133
2024-12-25 10:36:08 +00:00
Peter Bieringer
1e8d9eda50
fix found by mypy
2024-12-24 12:10:47 +01:00
Peter Bieringer
0b00218d75
log precondition result on PUT request / changelog
2024-12-24 12:04:09 +01:00
Peter Bieringer
7e23c603c1
log precondition result on PUT request
2024-12-24 12:04:05 +01:00
Peter Bieringer
6569e481df
Merge pull request #1663 from pbiering/logwatch
...
Contrib: logwatch config and script
2024-12-24 07:29:46 +00:00
Peter Bieringer
b19418f43c
update
2024-12-24 08:25:31 +01:00
Peter Bieringer
e2934a12c0
Contrib: logwatch config and script
2024-12-24 08:24:13 +01:00
Peter Bieringer
c8010fa4be
fix https://github.com/Kozea/Radicale/issues/1647
2024-12-23 07:07:43 +01:00
Peter Bieringer
b784f476b4
Merge pull request #1660 from pbiering/show-mtime-info-by-default
...
Show mtime info by default
2024-12-18 21:34:28 +00:00
Peter Bieringer
335584a6b7
make tox happy
2024-12-18 22:28:02 +01:00
Peter Bieringer
9e9d036387
display always mtime result
2024-12-18 22:18:38 +01:00
Peter Bieringer
006c2d2bc0
Merge pull request #1659 from pbiering/suppress-duplicate-log-on-startup
...
Improve: suppress duplicate log lines on startup
2024-12-18 20:43:07 +00:00
Peter Bieringer
b356edd6be
Improve: suppress duplicate log lines on startup
2024-12-18 20:51:33 +01:00
Peter Bieringer
59450e8c2d
add additional ReadWritePaths entry, fix existing one
2024-12-18 20:14:56 +01:00
Peter Bieringer
1a76e1ad50
cosmetics
2024-12-18 19:40:32 +01:00
Peter Bieringer
6ebe9aee76
Merge pull request #1657 from pbiering/storage-verify-nosync-cache-precision
...
Storage verify nosync / show cache precision
2024-12-16 20:03:25 +00:00
Peter Bieringer
6214111f4f
make tox happy
2024-12-16 20:58:59 +01:00
Peter Bieringer
0f6dcb7192
disable fsync during storage verification
2024-12-16 20:43:10 +01:00
Peter Bieringer
4b1183ae00
disable fsync during storage verification
2024-12-16 20:43:10 +01:00
Peter Bieringer
c1c8ab2887
remove test code
2024-12-16 20:43:10 +01:00
Peter Bieringer
836827ac8f
remove test code
2024-12-16 20:43:10 +01:00
Peter Bieringer
3d4cd7f034
Add: display mtime_ns precision of storage folder with condition warning if too less
2024-12-16 20:43:06 +01:00
Peter Bieringer
a606477e3f
update for 3.3.2
2024-12-15 13:08:59 +01:00
Peter Bieringer
c33e96c5a3
Merge pull request #1655 from pbiering/item-cache-mtime-size
...
Item cache mtime size option
2024-12-15 11:59:33 +00:00
Peter Bieringer
dc51a74e5a
add test case
2024-12-15 12:51:02 +01:00
Peter Bieringer
5f79b089c8
fix option name
2024-12-15 12:21:39 +01:00
Peter Bieringer
fc7c50b4cb
add note about storage verification
2024-12-15 12:20:24 +01:00
Peter Bieringer
11dad85404
fix types (mpy)
2024-12-15 11:45:38 +01:00
Peter Bieringer
dc20f518dd
item-cache-mtime-size: changelog
2024-12-15 11:41:08 +01:00
Peter Bieringer
62bdfeab40
item-cache-mtime-size: feature
2024-12-15 11:40:58 +01:00
Peter Bieringer
ff3f2fc3de
item-cache-mtime-size new option doc
2024-12-15 11:40:20 +01:00
Peter Bieringer
4bb00e6070
item-cache-mtime-size: add new option
2024-12-15 11:40:02 +01:00
Peter Bieringer
b7ae6b378b
Merge pull request #1654 from pbiering/set-prodid-on-collection-upload
...
Set prodid on collection upload
2024-12-15 07:43:49 +00:00