Unrud
0221fc357b
Use sys.platform instead of os.name
...
mypy only recognizes sys.platform
2022-02-01 17:56:02 +01:00
Unrud
4564de9f9d
Load no config file for --config without argument
2021-12-24 18:13:18 +01:00
Unrud
f75671354c
Revert "Require argument for --config command-line option"
...
This reverts commit e629e9a2e1
.
2021-12-24 18:00:09 +01:00
Unrud
537737da32
Change type of stack_frame to Optional[...]
2021-12-19 12:58:35 +01:00
Unrud
fb9cfeb81e
Change type of signal number to int
2021-12-19 12:49:26 +01:00
Unrud
bbaf0ebd8c
Change name in file header
2021-12-09 16:55:46 +01:00
Unrud
e629e9a2e1
Require argument for --config command-line option
2021-11-14 23:31:00 +01:00
Unrud
98b49ac2b6
Optional argument for boolean command-line options
2021-11-14 23:30:59 +01:00
Unrud
08e789d993
Support backend specific options and HTTP headers via command-line
2021-11-14 23:30:59 +01:00
Unrud
b23aa4629c
Refactor command line argument parser
2021-11-14 23:30:58 +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
742a067171
Disallow abbreviated arguments
2020-10-23 22:26:28 +02:00
Unrud
0e8949ff71
Internal server: Shutdown server via socket
2020-10-04 14:40:52 +02:00
Unrud
7096ab74e8
Don't modify global constants
2020-10-04 05:38:58 +02:00
Unrud
30c9c55358
Exit immediately after cleanup when signal is received
...
Waiting for clients introduces the risk that we exceed some timeout (e.g. from systemd) and get killed instead.
2020-08-31 14:11:42 +02:00
Unrud
5371be2b39
Mark internal configuration options and sections with underscore
2020-02-19 09:50:27 +01:00
Unrud
3b99d64935
Cosmetic changes
2020-02-19 09:50:00 +01:00
Unrud
a872b633fb
Refactor: Remove method Configuration.log_config_sources
2020-02-19 09:48:42 +01:00
Unrud
db7587c593
Cosmetic changes
2020-01-21 19:40:02 +01:00
Unrud
866aa34f54
Cosmetic changes
2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026
Cosmetic changes (pylint)
2020-01-17 12:59:14 +01:00
Unrud
9b51e495ea
Allow --config parameter multiple times
2020-01-13 15:51:11 +01:00
Unrud
88a0af8ba1
Improve documentation
2020-01-12 23:32:28 +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
9d72341df2
Use CRITICAL level for start-up failures
2018-09-06 09:12:54 +02:00
Unrud
5e0a387ed9
remove whitespace before email
2018-09-04 03:33:47 +02:00
Unrud
5a433f5476
Test internal server
2018-09-04 03:33:45 +02:00
Unrud
8869b34470
refactor
2018-08-28 16:19:43 +02:00
Unrud
59f7104dce
Replace option "debug" with "level" in "logging"
2018-08-16 08:00:02 +02:00
Unrud
3d77238a4b
Move WSGI server to server.py
2018-08-16 08:00:00 +02:00
Unrud
e5e13faa7c
Remove daemonization
2018-08-16 07:59:59 +02:00
Unrud
54b9995e22
Use module-wide logger and remove logging config
2018-08-16 07:59:55 +02:00
Frank Sachsenheim
50d3d01ea3
Uses absoulte imports as recommended in PEP-8
2018-04-20 16:03:36 +02:00
Unrud
2df009fac8
Add --verify-storage argument
2017-08-25 19:13:09 +02:00
Unrud
6d39a61a51
Shut down server on SIGINT on Windows
...
select.select blocks SIGINT on Windows.
2017-07-30 11:27:08 +02:00
Unrud
d34ee1217d
Revert "Shut down server on SIGINT on Windows"
...
This reverts commit f8de674bd2
.
2017-07-30 11:21:04 +02:00
Unrud
f8de674bd2
Shut down server on SIGINT on Windows
2017-07-30 11:00:24 +02:00
Unrud
276de4fd3a
Allow additional config options for external plugins
2017-06-21 09:54:33 +02:00
Unrud
3af5809d71
Add option for CA certificate for validating clients
...
This can be used to secure TCP traffic between Radicale and a reverse proxy
2017-06-02 12:41:03 +02:00
Unrud
fd55bbce15
Adjust imports for isort
2017-06-01 11:54:04 +02:00
Unrud
c9664137a5
Improve error handling
...
* Check the configuration file for errors (check option names and basic type checking).
* Perform basic type checking on command line arguments.
* Only print stack traces in debug mode.
* Include much more information in error messages (e.g. include the path of invalid files).
* Send Bad Request to clients for invalid XML requests or iCalendar data.
* Change the log level of some messages.
2017-05-31 11:31:54 +02:00
Unrud
9cd9ad9a02
Only register exit function if a PID file was created
...
The function only deletes the PID file.
2017-05-30 07:41:50 +02:00
Unrud
6762fc1cad
Expand user on PID path
2017-05-30 05:10:07 +02:00
Unrud
fcccb3f7af
Daemonize after creation of network sockets
...
The original process should exit after the server is ready.
See also https://www.freedesktop.org/software/systemd/man/daemon.html#SysV%20Daemons
2017-05-30 05:10:07 +02:00
Unrud
360e88f350
Write PID file in original process
...
This ensures that the PID is written, when the process exists.
2017-05-30 05:10:07 +02:00