Commit Graph

446 Commits

Author SHA1 Message Date
Unrud
5e0a387ed9 remove whitespace before email 2018-09-04 03:33:47 +02:00
Unrud
8869b34470 refactor 2018-08-28 16:19:43 +02:00
Unrud
2cb7060539 Rename storage.Item.item to vobject_item 2018-08-21 18:43:47 +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
aec94cc5b3 Never create collection without tag via PUT 2018-08-21 18:43:43 +02:00
Unrud
f2389a1e53 specify filename for downloaded address books and calendars 2018-08-18 16:43:19 +02:00
Unrud
f708a7b2b6 Use " instead of ' 2018-08-18 12:56:40 +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
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
c7d1936cb6 remove everything marked as DEPRECATED 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
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
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
87a68a6ea8 Revert "Fork vobject"
This reverts commit 126a31c82a.
2018-08-14 18:45:21 +02:00
Unrud
126a31c82a Fork vobject 2018-04-27 18:37:22 +02:00
Unrud
8b1547cbe5 Move WSGI initialization into module 2018-04-20 22:53:42 +02:00
Frank Sachsenheim
50d3d01ea3 Uses absoulte imports as recommended in PEP-8 2018-04-20 16:03:36 +02:00
Frank Sachsenheim
062e85366d Uses pkg_resources to figure out radicale's version 2018-04-20 16:03:36 +02:00
Unrud
dca25b9e90 Flake8: Fix E722 2017-12-06 22:13:44 +01:00
Unrud
4176ef44de Bump version to 2.1.8 2017-09-24 02:01:14 +02:00
Unrud
21f5f5d70b Bump version to 2.1.7 2017-09-17 14:11:37 +02:00
Unrud
8be792280a Add is_authenticated2 to BaseAuth
Adds the ``login`` argument.
2017-09-17 14:11:36 +02:00
Unrud
c9a78908e8 Check .well-known before getting login and password
cosmetic change
2017-09-17 14:03:44 +02:00
Unrud
ee3fb71f7d Bump version to 2.1.6 2017-09-11 19:32:34 +02:00
Unrud
81c596eb1d Use X-WR-CALNAME and X-WR-CALDESC when uploading calendar 2017-09-06 00:55:51 +02:00
Unrud
31ba4eb876 Stricter parsing of filters 2017-08-29 20:08:30 +02:00
Unrud
a2a046f35f Correct Content-Type for VLIST in HTTP header 2017-08-29 20:08:25 +02:00
Unrud
c1d279e63f Bump version to 2.1.5 2017-08-25 19:13:11 +02:00
Unrud
d96faa35dd Print warning when server.timeout is used with Python < 3.5.2 2017-08-25 19:13:10 +02:00
Unrud
36bca799e1 Use length of encoded error response
This is purely cosmetic. The lengths are the same, because it gets encoded as ASCII.
2017-08-24 14:34:29 +02:00
Unrud
4cfe92cf50 Close HTTPServer when bind and activate fails 2017-08-24 14:34:29 +02:00
Unrud
a73a7ab193 Remove cookies from logging output
HTTP cookies are shared across all ports on a host. The log might contain session ids or CSRF tokens from other applications on the same host.
2017-08-14 18:16:46 +02:00
Unrud
f87c16a42b Small cosmetic improvements 2017-08-14 18:16:45 +02:00
Unrud
59eded976b Bump version to 2.1.4 2017-08-04 14:59:03 +02:00
Unrud
263f76f88e Bump version to 2.1.3 2017-08-01 17:18:13 +02:00
Unrud
1576f9b7fb Use ExitStack instead of suppress as dummy context manager 2017-08-01 17:14:26 +02:00
Unrud
d72455fff6 Log collection path without leading and trailing / 2017-08-01 17:13:05 +02:00
Unrud
aac472960f Improve handling of unsafe user names 2017-07-30 12:00:42 +02:00