Commit Graph

1877 Commits

Author SHA1 Message Date
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
6c12bba8a8 Bump version to 2.90.0 2018-08-16 08:00:00 +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
22ddfc6663 Update NEWS.md 2018-08-16 07:57:29 +02:00
Unrud
67bdbd8530 Revert "Auth: Introduce login(login, password) method"
This reverts commit e73270bbe5.
2018-08-16 07:57:26 +02:00
Unrud
68740d10f3 Bump version to 2.1.10 2018-08-14 20:14:05 +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
ec82997487 Travis: Move installation of six to before_install 2018-08-14 20:08:42 +02:00