Peter Bieringer
3cc790a9a3
log PYTHONPATH on startup if found in environment
2025-04-22 22:03:28 +02:00
Peter Bieringer
e144ecf06b
fix testcases related to https://github.com/Kozea/Radicale/issues/1765
2025-04-22 21:32:13 +02:00
Peter Bieringer
12714cd25c
fix for https://github.com/Kozea/Radicale/issues/1765
2025-04-22 21:31:59 +02:00
Peter Bieringer
0ef93a9c8a
update copyright
2025-04-22 21:31:25 +02:00
Peter Bieringer
e15b9ae02a
Merge pull request #1762 from imgajus/add-starttls-support
...
Add LDAP start_tls support
2025-04-21 22:36:00 +02:00
Peter Bieringer
06b7e98ea2
extend copyright
2025-04-21 22:22:02 +02:00
Peter Bieringer
8382ee1223
add test case for https://github.com/Kozea/Radicale/issues/1760
2025-04-21 22:19:25 +02:00
Peter Bieringer
2d197d1ae0
fix broken value extract from property for https://github.com/Kozea/Radicale/issues/1760
2025-04-21 22:18:56 +02:00
gajus
b805393bd9
Standardize LDAP security configuration naming
2025-04-21 21:26:58 +02:00
gajus
1162a3a011
Add support for start_tls
2025-04-19 17:02:45 +02:00
Miles Liu
24138389ed
fix(auth/ldap): Extract user attribute from list in _login3
...
This commit modifies `_login3` to check if the attribute value is a
list and, if so, extracts the first element (`[0]`) as the login
identifier. If the value is not a list, it's used directly (fallback).
2025-04-17 14:02:40 +08:00
Peter Bieringer
e907e90119
fix a typo
2025-04-10 05:44:35 +02:00
Peter Bieringer
f41533cca7
fix for https://github.com/Kozea/Radicale/issues/1515
2025-03-29 08:38:16 +01:00
Peter Bieringer
393a26814b
extend copyright
2025-03-29 08:37:57 +01:00
Peter Bieringer
ecaed3188c
change location of main lock file back to original
2025-03-29 06:57:10 +01:00
Peter Bieringer
c23821ad0c
conditionally create missing collection* folders on startup
2025-03-28 07:36:17 +01:00
Peter Bieringer
b744e9658c
use collection-root location for lock instead of base directory
2025-03-28 07:35:43 +01:00
Peter Bieringer
3ee5433397
use proper cache location for lock
2025-03-28 07:35:15 +01:00
Peter Bieringer
3eb61a82a6
add support for cwd+path
2025-03-27 08:30:48 +01:00
Peter Bieringer
fb986ea02e
fix for flake8
2025-03-27 08:30:22 +01:00
Peter Bieringer
af09d532c3
catch unsupported placeholder
2025-03-27 07:57:28 +01:00
Peter Bieringer
70b66ddfe2
extend copyright
2025-03-27 07:57:13 +01:00
Peter Bieringer
6b83c409d4
Merge pull request #1742 from BastelBaus/patch-2
...
Update ldap.py
2025-03-26 05:50:28 +01:00
BastelBaus@gmail.com
5d5b12c124
fixed flake8 errors
2025-03-24 22:14:29 +01:00
BastelBaus
2439266d0e
Update ldap.py
...
Bugfix, user_entry['attributes'][self._ldap_user_attr] is already the string so user_entry['attributes'][self._ldap_user_attr][0] would give only the first character and not the full user attribute
2025-03-24 20:25:51 +01:00
BastelBaus
3af690fcb6
Update ldap.py
2025-03-24 20:13:38 +01:00
BastelBaus
98152062df
Update ldap.py
2025-03-24 20:11:40 +01:00
BastelBaus
bcbf0918a9
Update ldap.py
2025-03-24 20:10:53 +01:00
BastelBaus
f40c4d6e9b
Update config.py
2025-03-24 20:10:10 +01:00
BastelBaus
633dfbc875
Update config.py
2025-03-24 20:09:35 +01:00
BastelBaus
94ad295124
Update config.py
...
added ldap_authentik_timestamp_hack to config file
2025-03-23 18:08:00 +01:00
BastelBaus
7399286ec9
Update ldap.py
...
timestamp hack
2025-03-23 18:04:53 +01:00
Peter Bieringer
2ef99e5e85
Fix: auth/htpasswd related to detection and use of bcrypt
2025-03-19 06:17:34 +01:00
Peter Bieringer
be43ce5161
change default of authentication type to "denyall" for secure-by-default
2025-03-15 14:34:51 +01:00
Peter Bieringer
69f85a0bdf
only display warning if not started as wsgi
2025-03-14 21:33:36 +01:00
Peter Bieringer
358ae55540
add warning in case authentication based on environment is selected and server is not listen to loopback addresses only
2025-03-13 21:48:14 +01:00
Peter Bieringer
e22fbe282b
centralize format_address
2025-03-13 21:47:44 +01:00
Peter Bieringer
b0d649f8b9
adjust copyright
2025-03-13 21:31:50 +01:00
Peter Bieringer
3a13ffbc51
forgotten bcrypt pattern extension
2025-03-10 06:00:30 +01:00
Peter Bieringer
9f0385fd67
add some autodetect cases, add 2 additional bcrypt algo
2025-03-09 08:51:20 +01:00
Peter Bieringer
3963bb4d82
extend logging, adjust loglevel for hash error
2025-03-09 08:50:53 +01:00
Peter Bieringer
cffb2aaae3
add support for additional bcrypt algo on autodetect, improve autodetect logic and log not matching hash length
2025-03-09 08:49:30 +01:00
Peter Bieringer
95a8899002
quote error message
2025-03-08 17:28:35 +01:00
Peter Bieringer
41ab96e142
catch ValueError on verify, adjust log level for failed logins
2025-03-08 17:27:02 +01:00
Peter Bieringer
a284d18c16
make encryption visible to other functions
2025-03-08 17:26:28 +01:00
Peter Bieringer
914320826f
extend request log with HTTPS info
2025-03-08 16:50:35 +01:00
Peter Bieringer
9372344bb1
extend header information with HTTPS info
2025-03-08 16:49:28 +01:00
Peter Bieringer
c4a48828d3
extend copyright
2025-03-08 16:48:59 +01:00
Peter Bieringer
c3c78db8ae
Merge pull request #1724 from pbiering/support-for-bundled-InfCloud-client
...
Support for bundled InfCloud client
2025-03-07 07:38:54 +01:00
Przemysław Buczkowski
25402ab641
Use AUTHENTICATE PLAIN instead of LOGIN
...
Makes imaplib use more modern AUTHENTICATE verb
rather than LOGIN.
The immediate benefit is that now the credentials
can be non-ASCII.
In the future, it may be used to add other
authentication methods, such as OAuth.
References:
* https://datatracker.ietf.org/doc/html/rfc6855.html#page-5
* https://bugs.python.org/issue13700
2025-03-06 13:08:51 +00:00