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
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
Unrud
54b9995e22
Use module-wide logger and remove logging config
2018-08-16 07:59:55 +02:00
Unrud
3d2ffe0c8e
Raise default limits
2018-08-14 20:08:42 +02:00
Frank Sachsenheim
50d3d01ea3
Uses absoulte imports as recommended in PEP-8
2018-04-20 16:03:36 +02:00
Unrud
276de4fd3a
Allow additional config options for external plugins
2017-06-21 09:54:33 +02:00
Unrud
78a62aee86
Merge pull request #565 from Unrud/synctoken
...
Support for sync-token and sync-collection
2017-06-02 13:01:54 +02:00
Unrud
7687afc4c6
Merge pull request #622 from Unrud/clientcertificate
...
Add option for CA certificate for validating clients
2017-06-02 12:59:35 +02:00
Unrud
f633b48a7a
Real sync-collection support for the multifilesystem backend
2017-06-02 12:53:37 +02:00
Unrud
6edaf27a38
rename backend from "None" to "none"
2017-06-02 12:43:23 +02:00
Unrud
1812aeb238
include expected type of config option in error
2017-06-02 12:42:40 +02:00
Unrud
881757815f
Add simple range checking to config options
2017-06-02 12:42:19 +02:00