Unrud
6b9fc870c2
BaseServer doesn't have __exit__ in Python < 3.6
2018-09-09 15:19:48 +02:00
Unrud
93c1581e21
tests: enable debugging for new processes
2018-09-09 15:19:48 +02:00
Unrud
f1de843188
test WSGI server
2018-09-09 14:58:51 +02:00
Unrud
171651e205
test command line interface
2018-09-09 14:58:44 +02:00
Unrud
a146521500
test storage verification
2018-09-09 14:58:44 +02:00
Unrud
515a5c9d18
cosmetics
2018-09-09 14:58:43 +02:00
Unrud
ea7916e0fa
cls.logger no longer exists
2018-09-09 14:58:43 +02:00
Unrud
95d8c273c4
restore EAI_ADDRFAMILY after test
2018-09-09 14:58:42 +02:00
Unrud
e4ee569bd2
Measure coverage of forked processes
2018-09-09 07:28:36 +02:00
Unrud
ae99584a7b
Modify OpenSSL's RNG after fork
...
https://docs.python.org/3.7/library/ssl.html#multi-processing
2018-09-09 07:28:36 +02:00
Unrud
7002d06f4d
remove unused extra_config argument
2018-09-09 07:28:35 +02:00
Unrud
4fb851c80e
cleanup and wait for child processes
2018-09-08 14:57:55 +02:00
Unrud
1a26df865c
passlib: use hash() instead of deprecated encrypt()
2018-09-08 14:57:55 +02:00
Unrud
94bb4fbdae
Tests: generalize IPv6 detection
2018-09-08 09:24:46 +02:00
Unrud
7760f4edf0
Travis doesn't support IPv6 on osx and linux with sudo
2018-09-06 10:52:27 +02:00
Unrud
8fe2d987e0
Use IP instead of hostname localhost
2018-09-06 10:52:27 +02:00
Unrud
9d72341df2
Use CRITICAL level for start-up failures
2018-09-06 09:12:54 +02:00
Unrud
9b029ac084
use one application for all hosts
2018-09-06 09:12:53 +02:00
Unrud
dec2ad8bea
Add support for IPv6 hostnames
2018-09-06 09:12:53 +02:00
Unrud
2275ba4f93
Add support for systemd socket activation
2018-09-06 09:12:52 +02:00
Unrud
f1a587e9d7
cosmetics
2018-09-06 09:12:52 +02:00
Unrud
e0eeae02dd
Modify socket in server_bind()
2018-09-06 09:12:51 +02:00
Unrud
9c802e0f57
skip ambiguous isort modules
2018-09-05 11:37:18 +02:00
Unrud
901c5d059f
only use forking on posix
2018-09-05 11:37:18 +02:00
Unrud
35484c9b79
Refactor multifilesystem
2018-09-04 03:33:50 +02:00
Unrud
f2d63ad7f7
Remove duplicate docstring
2018-09-04 03:33:49 +02:00
Unrud
979414ce85
Move get_filtered to BaseCollection
2018-09-04 03:33:48 +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
49d35cf618
Delay SSL handshake
2018-09-04 03:33:43 +02:00
Unrud
17127d97a6
Test web plugin
2018-09-04 03:33:42 +02:00
Unrud
6fc69b480f
Never skip sync token tests
2018-09-04 03:33:42 +02:00
Unrud
aec2a62931
remove unused methods from storage interface
2018-09-04 03:33:39 +02:00
Unrud
a8c587f984
Remove implementation for storage.move()
2018-09-04 03:33:38 +02:00
Unrud
8a817cf402
Copy configuration before modifying
2018-09-04 03:33:36 +02:00
Unrud
5429f5c1a9
assert sanitized and stripped paths
2018-08-28 16:19:50 +02:00
Unrud
c08754cf92
Don't overwrite attributes of classes
2018-08-28 16:19:49 +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
1bdc47bf44
Make predefined rights plugins more restrictive and remove NoneAuth
...
Collections with tag are only allowed as direct children of a principal collections.
2018-08-21 18:43:48 +02:00
Unrud
2cb7060539
Rename storage.Item.item to vobject_item
2018-08-21 18:43:47 +02:00
Unrud
75c1168f54
Remove getattr from storage.Item
2018-08-21 18:43:46 +02:00
Unrud
e098046ad3
Process data before and after the storage is locked
2018-08-21 18:43:46 +02:00
Unrud
0a492a00b1
Allow finer control in rights plugin
...
New permissions:
R: read collections without tag
r: read collections with tag and included objects
W: write and delete collections without tag
w: write and delete collection with tag and included objects
2018-08-21 18:43:45 +02:00
Unrud
72501c6e23
only set level on "radicale" logger
2018-08-21 18:43:45 +02:00
Unrud
09644414b5
set logging level to DEBUG for tests
2018-08-21 18:43:44 +02:00
Unrud
aec94cc5b3
Never create collection without tag via PUT
2018-08-21 18:43:43 +02:00
Unrud
464e4ca920
remove unused code
2018-08-21 18:43:42 +02:00
Unrud
c845c5a372
don't focus login formular when refreshing
...
Prevents browsers from showing saved credentials
2018-08-21 18:43:42 +02:00
Unrud
f2389a1e53
specify filename for downloaded address books and calendars
2018-08-18 16:43:19 +02:00
Unrud
5f8b9e5672
remove left behind debug output
2018-08-18 16:43:18 +02:00
Unrud
af831ff13f
Log thread name when not main thread
2018-08-18 16:43:18 +02:00
Unrud
b8627c33fb
prevent overwriting collections when uploading
2018-08-18 14:08:02 +02:00
Unrud
76f7adfed4
make collection names bold
2018-08-18 14:07:50 +02:00
Unrud
53b064bc2f
add upload dialog to web interface
2018-08-18 12:58:42 +02:00
Unrud
30a9ecc06b
Use forking for internal server when available
2018-08-18 12:56:41 +02:00
Unrud
ddd99a5329
Check that storage lock guarantees are met
2018-08-18 12:56:41 +02:00
Unrud
5d969ff65c
Include versions in item cache hash
2018-08-18 12:56:40 +02:00
Unrud
f708a7b2b6
Use " instead of '
2018-08-18 12:56:40 +02:00
Unrud
24f835a2a1
Remove unused configuration
2018-08-18 12:56:39 +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
a5fa35e785
require python>=3.5.2
2018-08-16 08:00:02 +02:00
Unrud
59d10ef9f7
Only limit content length with internal server
2018-08-16 08:00:01 +02:00
Unrud
6b281e1726
Move realm
config from server
to auth
2018-08-16 08:00:01 +02:00
Unrud
3d77238a4b
Move WSGI server to server.py
2018-08-16 08:00:00 +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
c7d1936cb6
remove everything marked as DEPRECATED
2018-08-16 07:59:58 +02:00
Unrud
e96410c6e7
Only support file based locking
2018-08-16 07:59:58 +02:00
Unrud
c7e65fbb7f
require UIDs in CalDAV/CardDAV / check for duplicated UIDs / try to use UIDs as filenames
2018-08-16 07:59:57 +02:00
Unrud
7964d288a5
Tests: Don't overwrite component with different UID
2018-08-16 07:59:57 +02:00
Unrud
d2e6566147
Don't test missing UIDs in CalDAV/CardDAV
2018-08-16 07:59:57 +02:00
Unrud
c657dda753
Add clarifying comment
2018-08-16 07:59:57 +02:00
Unrud
d7255df768
Tests: Remove start_response method
2018-08-16 07:59:57 +02:00
Unrud
bd52dcd590
Detect systemd journal
2018-08-16 07:59:57 +02:00
Unrud
24815255be
Use wsgi.errors to for errors
2018-08-16 07:59:56 +02:00
Unrud
54b9995e22
Use module-wide logger and remove logging config
2018-08-16 07:59:55 +02:00
Unrud
6c9299cf16
Auth: Introduce login(login, password) method
...
This deprecates map_login_to_user, is_authenticated and is_authenticated2
2018-08-16 07:57:47 +02:00
Unrud
3455ab4ba9
Fallback to RADICALE_CONFIG from OS environ
2018-08-16 07:57:32 +02:00
Unrud
67bdbd8530
Revert "Auth: Introduce login(login, password) method"
...
This reverts commit e73270bbe5
.
2018-08-16 07:57:26 +02:00
Unrud
546a52e34a
Improve HTTP status codes
2018-08-14 20:08:42 +02:00
Unrud
b0a0debf17
Remove unused parameter from _item_cache_content
2018-08-14 20:08:42 +02:00
Unrud
f815f1be7f
Use correct HTTP status for WebDAV precondition
2018-08-14 20:08:42 +02:00
Unrud
a6b1219ba5
Fix UID for journal3.ics test data
2018-08-14 20:08:42 +02:00
Unrud
ca6b958c16
Rename function _webdav_error to webdav_error
2018-08-14 20:08:42 +02:00
Unrud
e73270bbe5
Auth: Introduce login(login, password) method
...
This deprecates map_login_to_user, is_authenticated and is_authenticated2
2018-08-14 20:08:42 +02:00
Unrud
e96fa64fa6
WSGI: Get RADICALE_CONFIG from environ instead of os.environ
2018-08-14 20:08:42 +02:00
Unrud
ad7c93628b
Extract method _init_application
2018-08-14 20:08:42 +02:00
Unrud
ff287c2e5d
Use if-else instead boolean operators
2018-08-14 20:08:42 +02:00
Unrud
6e73a1bebf
Don't reuse cache locks between instances of class
2018-08-14 20:08:42 +02:00
Unrud
ae4c8a0bd1
Improve doc string
2018-08-14 20:08:42 +02:00
Unrud
d2811b7fa5
Check cache lock name space for '/'
2018-08-14 20:08:42 +02:00
Unrud
5adcab77a3
Fix race when creating storage lock
2018-08-14 20:08:42 +02:00
Unrud
3d2ffe0c8e
Raise default limits
2018-08-14 20:08:42 +02:00
Unrud
b25e1f23c4
Log stderr and stdout when running hook ( Fixes #814 )
2018-08-14 20:08:42 +02:00
Unrud
87a68a6ea8
Revert "Fork vobject"
...
This reverts commit 126a31c82a
.
2018-08-14 18:45:21 +02:00
Unrud
18e4677cb7
Add test for mixed local DATE-TIME with time zone and UTC (Test #765 )
2018-04-27 18:37:22 +02:00
Unrud
233a54f73b
Add test for VTODO with RRULE (Test #764 )
2018-04-27 18:37:22 +02:00