Peter Varkoly
2dc0fd29dc
Initial version of ldap authentication backend.
2022-02-19 11:57:58 +01:00
Unrud
11dd0e9380
Ignore configuration file if access denied
...
Fixes #1215
Bug was introduced in 4c44940ec1
2022-02-07 13:38:44 +01:00
Unrud
e3a982dbce
Cosmetics
2022-01-15 22:33:55 +01:00
Lauri Tirkkonen
4c44940ec1
config & rights: use open() for better error messages
...
ConfigParser().read() doesn't differentiate between different types of
failure to read files, causing eg. "No such file" to be logged in all
cases, for example if permissions are insufficient. fix that by using
open() and ConfigParser().read_file() instead.
2022-01-11 20:20:21 +01:00
Unrud
bbaf0ebd8c
Change name in file header
2021-12-09 16:55:46 +01:00
Unrud
dba6338968
Rename opposite to opposite_aliases
2021-11-10 22:16:30 +01:00
Unrud
7c9c873b13
Don't modify DEFAULT_CONFIG_SCHEMA
2021-11-10 22:14:51 +01:00
Unrud
cecb17df03
More type hints
2021-09-26 22:24:45 +02:00
Unrud
73e42f8101
Enable static type checking
2021-09-26 22:24:45 +02:00
Unrud
5333751e45
Allow float for server->timeout setting
2020-10-25 20:32:32 +01:00
Unrud
7096ab74e8
Don't modify global constants
2020-10-04 05:38:58 +02:00
Unrud
d48bacc8e3
Improve log messages
...
Log failed login attempts with remote host as warning (closes #1104 )
Add component UID to log message about invalid recurrence rules (reference #602 )
Use "forwarded for" instead of "forwarded by" for remote host
2020-09-26 22:08:23 +02:00
Tuna Celik
bfe4332ac5
Refactoring
2020-08-17 02:23:49 +02:00
Tuna Celik
5253a464ab
Addd hook capability
2020-08-17 02:05:02 +02:00
Unrud
150dd0c4cd
Trim all (ASCII) whitespace characters
2020-05-19 07:06:44 +02:00
Unrud
593f9b688c
Remove unnecessary string trimming
2020-05-19 06:48:12 +02:00
Unrud
9c622b57d5
Allow callable in configuration for plugin.type
...
Example:
```python3
\# Load default configuration
my_config = config.load()
\# Pass a class directly
my_config.update({"auth": {"type": MyAuth}})
\# Pass an object directly
my_rights = MyRights()
my_config.update({"rights": {"type": lambda config: my_rights}})
app = Application(my_config)
````
2020-04-09 22:01:35 +02:00
Unrud
180e96b332
Move internal options to other sections
2020-02-19 09:50:36 +01:00
Unrud
8e3465b5d4
Specify option type in _allow_extra
2020-02-19 09:50:30 +01:00
Unrud
5371be2b39
Mark internal configuration options and sections with underscore
2020-02-19 09:50:27 +01:00
Unrud
0bda1f4c16
Improve error messages
2020-02-19 09:50:25 +01:00
Unrud
66fabbead9
Use socket pairs to communicate with client threads
2020-02-19 09:50:19 +01:00
Unrud
cc22927353
Bind sockets for IPv4 and IPv6
2020-02-19 09:49:56 +01:00
Unrud
a872b633fb
Refactor: Remove method Configuration.log_config_sources
2020-02-19 09:48:42 +01:00
Unrud
11ea3cc7a4
Remove settings for TLS protocol and ciphers
...
Use the recommended default settings instead.
2020-02-19 09:48:38 +01:00
Unrud
4a43b17840
Remove reverse DNS lookup
...
It wasn't working for years because the functionality was removed from http.server.
Nobody complained.
2020-02-19 09:48:34 +01:00
Unrud
6108d8d759
Remove unsecure methods from htpasswd and make md5 default
2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026
Cosmetic changes (pylint)
2020-01-17 12:59:14 +01:00
Unrud
41a91f7da1
Optional config source description
2020-01-15 03:19:44 +01:00
Unrud
a8a1fc470b
Allow boolean raw_value for boolean config entries
2020-01-15 00:33:21 +01:00
Unrud
2e4924a0da
Improve documentation
2020-01-13 15:51:10 +01:00
Unrud
88a0af8ba1
Improve documentation
2020-01-12 23:32:28 +01:00
Unrud
d3d11d0ec8
Report internal config sources
2020-01-12 23:32:27 +01:00
Unrud
967b6a463d
Remove unnecessary optimizations
2020-01-12 23:32:27 +01:00
Unrud
caf5ff1080
Change default value for external users
2020-01-12 23:32:26 +01:00
Unrud
a7f4ffa7d4
Rename Configuration.inspect to log_config_sources
...
The old name was misleading.
2020-01-12 23:32:25 +01:00
Unrud
b7590f8c84
Rework configuration
2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9
Update copyright
2019-06-17 04:13:24 +02:00
Unrud
515a5c9d18
cosmetics
2018-09-09 14:58:43 +02:00
Unrud
7002d06f4d
remove unused extra_config argument
2018-09-09 07:28:35 +02:00
Unrud
5e0a387ed9
remove whitespace before email
2018-09-04 03:33:47 +02:00
Unrud
6c12b13ec1
reduce default parallel connections to 8
2018-08-28 16:19:48 +02:00
Unrud
8869b34470
refactor
2018-08-28 16:19:43 +02:00
Unrud
8281769edf
Move filesystem_fsync config from section storage to internal
2018-08-18 12:56:39 +02:00
Unrud
4282ea46e4
Add section for internal configuration
2018-08-18 12:56:38 +02:00
Unrud
59f7104dce
Replace option "debug" with "level" in "logging"
2018-08-16 08:00:02 +02:00
Unrud
6b281e1726
Move realm
config from server
to auth
2018-08-16 08:00:01 +02:00
Unrud
6f15cddfbc
Don't pollute WSGI environ with OS environ
2018-08-16 07:59:59 +02:00
Unrud
e5e13faa7c
Remove daemonization
2018-08-16 07:59:59 +02:00
Unrud
e96410c6e7
Only support file based locking
2018-08-16 07:59:58 +02:00