Commit Graph

446 Commits

Author SHA1 Message Date
Guillaume Ayoub
b4a7ada5f2 is_authorized returns True when no auth method is set 2012-08-08 18:44:25 +02:00
Guillaume Ayoub
45afac5353 Code cleaned and modules renamed
*Radicale is probably broken now*
2012-08-08 18:29:09 +02:00
Matthias Jordan
55a13d4c39 Merge remote-tracking branch 'upstream/master'
Conflicts:
	radicale/__init__.py
	radicale/acl/courier.py
2012-08-04 11:27:51 +02:00
Guillaume Ayoub
7d06d1b4d5 Version set to "git" 2012-08-03 14:37:40 +02:00
Guillaume Ayoub
0cf9b92ce7 Version 0.7.1 2012-08-03 14:37:02 +02:00
Guillaume Ayoub
7ae764fd4b Enhance readability according to PEP8 2012-08-03 14:08:11 +02:00
Matthias Jordan
e40e68b528 Separation of authentication and authorization. Separation of read and write authorization.
Static test strategies for authentication. Barely tested. Use at your own risk!
2012-08-03 13:10:20 +02:00
Guillaume Ayoub
a7481a0546 Clean the server's __call__ method, with comments and better variable names 2012-08-03 11:52:30 +02:00
Guillaume Ayoub
cff6c2b43b Return 204 response when an item is modified 2012-06-22 12:29:49 +02:00
Guillaume Ayoub
b5e94598e9 No etag returned when an added item doesn't have the same name as the one given by the client (closes #799) 2012-04-27 16:03:14 +02:00
Guillaume Ayoub
ca5c0483b0 Return 200 instead of 204 status for DELETE requests (closes #802) 2012-04-18 14:00:20 +02:00
Guillaume Ayoub
f6ace2b6ec Fix a bug with DELETE requests when deleted item is not found 2012-03-21 11:26:06 +01:00
Guillaume Ayoub
085c9f0aca Update the version to "git" 2012-03-20 18:45:12 +01:00
Guillaume Ayoub
d274044700 Version 0.7 2012-03-20 18:36:34 +01:00
Guillaume Ayoub
a9c74ae84d Always allow OPTIONS requests (fixes #780) 2012-03-20 13:31:10 +01:00
Guillaume Ayoub
344f87d8fb Add a config key to ignore reverse DNS (fixes #779) 2012-03-13 09:35:01 +01:00
Guillaume Ayoub
7bfc17a51d Use " instead of ' (you can laugh at me) 2012-03-01 10:40:15 +01:00
Guillaume Ayoub
f37c3a0b27 Let GET requests create address books too! 2012-02-23 16:16:14 +01:00
Guillaume Ayoub
22e4e3764c Explicitely create collections on GET requests 2012-02-23 15:28:45 +01:00
Guillaume Ayoub
9ebb143c44 Work around a bug in Evolution (fixes #664) 2012-02-03 15:58:08 +01:00
Guillaume Ayoub
9c4a85ef1f Merge branch 'carddav', and update copyright dates
Conflicts:
	radicale/__init__.py
	radicale/ical.py
	radicale/xmlutils.py
2012-01-23 16:21:30 +01:00
Guillaume Ayoub
022b2aa91f Clean and reorder calendar functions 2012-01-12 02:39:47 +01:00
Guillaume Ayoub
b1414c152d Split the storage filesystem backend into another file 2012-01-12 02:18:06 +01:00
Guillaume Ayoub
b56db741f4 Add support for Evolution VCard WebDAV 2012-01-04 19:47:34 +01:00
Guillaume Ayoub
8a4be02075 Add a (not tested) CardDAV support 2011-12-31 13:31:22 +01:00
Guillaume Ayoub
1f2f39a87a DELETE requests can delete calendars (closes #514) 2011-11-29 17:41:08 +01:00
Guillaume Ayoub
a2128a4787 Pylint cleanups 2011-11-04 22:30:17 +01:00
Guillaume Ayoub
0cdc5b06da Catch the exception instead of (errno, message) 2011-10-04 06:42:08 +02:00
Guillaume Ayoub
fc166da8ba Use the "as" keyword for exception mathing in a try/except block 2011-10-04 06:34:46 +02:00
Guillaume Ayoub
3689944372 Add a logger for answer status 2011-10-03 13:52:56 +02:00
Guillaume Ayoub
7560f26eb7 Fix the MOVE request (related to #587) 2011-10-03 13:52:22 +02:00
Guillaume Ayoub
fb9571dfbe Test if the SSL files can be read 2011-08-29 16:07:30 +02:00
Guillaume Ayoub
7180a0948a Set the version to "git", let's add some funky stuff into the 0.7 version! 2011-08-27 13:33:25 +02:00
Guillaume Ayoub
5c66241346 0.6.1 version 2011-08-27 13:29:38 +02:00
Guillaume Ayoub
4b87cb9181 Avoid the redirection loop (fixes #571) 2011-08-25 14:28:37 +02:00
Guillaume Ayoub
5f26c131a9 Redirect authenticated users with no calendar found 2011-08-21 16:30:59 +02:00
Guillaume Ayoub
5137709801 Don't redirect good but unauthorized users (fixes #571) 2011-08-21 14:59:43 +02:00
Guillaume Ayoub
e4523bf862 Clean the "Radicale works!" message, put it in the "get" method 2011-08-09 14:35:34 +02:00
Fabien LOISON
9179e5562a Display an 'It Works' message when the root URL is requested with the GET method 2011-08-04 18:13:52 +02:00
Guillaume Ayoub
6e454afe1b Preparing next version 2011-07-31 23:20:56 +02:00
Guillaume Ayoub
35a2f51a2e Version 0.6 2011-07-31 23:20:08 +02:00
Guillaume Ayoub
58cdbf7450 Remove environment variables from logs only if they are in the requests 2011-07-29 10:38:33 +02:00
Guillaume Ayoub
cdae6f04e9 Small pep8 related typo fixes 2011-07-26 09:02:21 +02:00
Guillaume Ayoub
4a630397ce Fix the HEAD request 2011-07-21 17:06:00 +02:00
Guillaume Ayoub
753ade5efc Add a status string for unknown status numbers 2011-07-20 23:37:18 +02:00
Guillaume Ayoub
0a84905383 Add a .pylintrc file, clean code 2011-07-14 11:23:19 +02:00
Marten Gajda
380acebd71 Add support for the Caldav-Sync Android client 2011-07-14 11:04:41 +02:00
Guillaume Ayoub
e9ad9b1716 Fix the iCal support (now tested with iCal, Lightning, Evolution) 2011-07-01 17:49:01 +02:00
Guillaume Ayoub
d17e8fa990 Don't use the environ user variable, pass user to all the methods functions 2011-06-30 18:22:47 +02:00
Guillaume Ayoub
49ba07db5a Add support of the MOVE method (not tested yet) 2011-06-29 23:57:56 +02:00
Guillaume Ayoub
73390c922e Sort the methods in the server class 2011-06-29 11:04:09 +02:00
Guillaume Ayoub
21d435b560 Minor typo fixes 2011-06-16 10:40:30 +02:00
Guillaume Ayoub
de0643e741 Fix propfind paths 2011-06-16 07:50:21 +02:00
Pieter Naaijkens
00d8b08341 Merge URI sanitize fix 2011-06-15 23:21:26 +02:00
Guillaume Ayoub
f9836ab093 Clean support of public calendars, add support of private calendars 2011-06-13 22:15:52 +02:00
Guillaume Ayoub
3149643706 Log "nobody" instead of "None" as anonymous calendars owner. 2011-06-11 18:14:08 +02:00
Guillaume Ayoub
fadd5dd675 Minor documentation and typo fixes caused by my insane love for PEP-3101 and pylint 2011-06-02 20:15:07 +02:00
Lukasz Langa
f7868afed1 iCal bootstrapping using a default URL works 2011-06-01 22:33:18 +02:00
Lukasz Langa
e05e94a129 preliminary iCal/iPhone support introduced 2011-06-01 12:43:49 +02:00
Lukasz Langa
911cd48efe proppatch actually writes properties. 2011-05-24 17:33:57 +02:00
Lukasz Langa
85e283830a MKCALENDAR now actually creates the calendar. 2011-05-24 16:12:35 +02:00
Guillaume Ayoub
ca9c148705 Set calendars always personal with authentication activated 2011-05-17 00:10:36 +02:00
Guillaume Ayoub
bd2c50dadf Log user login instead of calendar owner for sucessful accesses 2011-05-13 22:26:53 +02:00
Guillaume Ayoub
70e66ed070 Merge commit 'refs/merge-requests/10' of git://gitorious.org/radicale/radicale into merge-requests/10 2011-05-12 17:31:32 +02:00
Łukasz Mierzwa
d49776af8d just a small logging fix so that we got 'anonymous user' in logs instead of calendar owner if user is not authenticated 2011-05-11 22:12:10 +02:00
Lukasz Langa
6ba69f22a4 Pretty formatting and filtering of environment variables. 2011-05-11 17:09:44 +02:00
Lukasz Langa
d228bcbad2 report needs a content-type as well. 2011-05-11 14:57:27 +02:00
Guillaume Ayoub
0328b2244b Use the internal decoder to log requests 2011-05-11 08:43:03 +02:00
Guillaume Ayoub
77ab37c49c Enhance readability 2011-05-11 06:56:34 +02:00
Guillaume Ayoub
58c6fe399c Cut a long line 2011-05-11 06:50:17 +02:00
Guillaume Ayoub
ce362e1b50 Drop Python 2.5 support 2011-05-11 06:21:35 +02:00
Lukasz Langa
485e375139 Minor py3k compatibility changes: iteritems() doesn't exist on Python 3.x, logged text must be Unicode. 2011-05-10 19:16:03 +02:00
Guillaume Ayoub
44b11db1ae Typo fix in a logging message 2011-05-07 14:32:21 +02:00
Guillaume Ayoub
e87ffeadb1 Remove default request logging 2011-05-07 12:18:32 +02:00
Guillaume Ayoub
51853a22bc Manage empty strings for CONTENT_LENGTH header 2011-05-06 15:02:29 +02:00
Guillaume Ayoub
a2f1e173d6 Clean code and add comments using pylint 2011-05-01 20:36:39 +02:00
Guillaume Ayoub
421189e263 Get CONTENT_LENGTH as it may be absent 2011-05-01 19:08:15 +02:00
Guillaume Ayoub
0202756540 Cast header item into list for Python 3.x compatibility 2011-05-01 17:51:27 +02:00
Guillaume Ayoub
882d70e2cb Make the HTTPServer class inherit from object 2011-05-01 16:45:04 +02:00
Guillaume Ayoub
6389411edd Add support for SSL back 2011-05-01 15:25:52 +02:00
Guillaume Ayoub
2fd6efae14 Simple support for WSGI (no SSL yet) 2011-05-01 14:46:29 +02:00
Rémi Hainaud
dcecc68223 Fix log encoding for requests 2011-04-28 19:05:21 +02:00
Rémi Hainaud
474113454b Add support for iCal (closes #252) 2011-04-28 18:36:33 +02:00
Guillaume Ayoub
c1da6872dd Add support for PROPPATCH requests 2011-04-28 18:04:34 +02:00
Guillaume Ayoub
39f7c7a96f Fix support of owner-less calendars 2011-04-25 20:12:37 +02:00
Guillaume Ayoub
5f14a92633 Print request headers and not response headers 2011-04-25 19:36:19 +02:00
Guillaume Ayoub
0a0764e789 Add responses headers and content in logs 2011-04-25 19:15:16 +02:00
Guillaume Ayoub
12a8e01492 Clean LDAP support 2011-04-25 16:47:42 +02:00
Guillaume Ayoub
78e52d5cf4 Revert changes in __init__ 2011-04-25 13:35:17 +02:00
Corentin Le Bail
c890d6e55a Merge with radicale/master 2011-04-10 19:17:35 +02:00
Corentin Le Bail
96bded2bbc Merge branch 'master' of git://gitorious.org/radicale/radicale
Conflicts:
	config
	radicale/__init__.py
	radicale/config.py
	radicale/log.py
2011-04-10 18:55:49 +02:00
Guillaume Ayoub
d9ea784e31 Add logs (fixes #162) 2011-04-10 18:17:06 +02:00
Corentin Le Bail
b92f9871ac Merge branch 'master' of git://gitorious.org/~clebail/radicale/ares-radicale
Conflicts:
	radicale/__init__.py
2011-04-10 09:35:44 +02:00
Corentin Le Bail
f8137315c0 Merge branch 'master' of git://gitorious.org/radicale/radicale
Conflicts:
	radicale/__init__.py
2011-04-10 09:35:01 +02:00
System User
08b145e5ca Merge branch 'master' of git://gitorious.org/radicale/radicale
Conflicts:
	radicale/__init__.py
2011-04-07 16:30:46 +02:00
System User
6b8db006b6 Log most verbose
Stdout for default log output
2011-04-07 16:27:47 +02:00
Guillaume Ayoub
9bab3cde5d Clean IPv6 support 2011-04-02 21:45:45 +02:00
Guillaume Ayoub
d577661767 Merge commit 'refs/merge-requests/3' of git://gitorious.org/radicale/radicale into merge-requests/3 2011-04-02 18:42:20 +02:00
Guillaume Ayoub
4b737667e3 Version bump 2011-04-02 11:57:23 +02:00
Guillaume Ayoub
b19b4c8810 0.5 version 2011-04-02 11:37:42 +02:00
Corentin Le Bail
270d98ace1 Merge branch 'master' of git://gitorious.org/radicale/radicale
Conflicts:
	radicale/xmlutils.py
2011-02-16 15:03:20 +01:00
Corentin Le Bail
50919133ac Logging 2011-02-16 13:53:27 +01:00
Guillaume Ayoub
2e1b51e3c1 Softly ignore /user/ PROPFIND and REPORT requests (references #181) 2011-02-12 12:05:02 +01:00
René 'Necoro' Neumann
396d7c3721 First support for IPv6 and multiple interfaces 2011-02-08 19:27:00 +01:00
Guillaume Ayoub
9b535ba4b2 Add support for MKCALENDAR requests 2011-02-01 17:01:30 +01:00
Guillaume Ayoub
04938243a8 Update copyright year 2011-01-09 17:46:22 +01:00
Guillaume Ayoub
d11d4cc8c1 Pylint, remove fixed todos 2011-01-09 17:41:42 +01:00
Guillaume Ayoub
039e868e5f iPhone support, thank you Andrew 2011-01-07 15:25:05 +01:00
Guillaume Ayoub
091d89889d Fix get requests for whole calendar 2010-12-20 15:49:48 +01:00
Guillaume Ayoub
673da6a90a Merge Nicolas Évrard changes - Content-type added on multi-status responses and depth handled in propfind 2010-11-30 11:57:37 +01:00
Guillaume Ayoub
040b125377 Cut long lines 2010-09-28 16:04:17 +02:00
Guillaume Ayoub
71819cdb39 Support displayname and principal-URL tags in PROPFIND requests 2010-09-12 13:13:21 +02:00
Guillaume Ayoub
873dec1d5d Avoid exception when deleting an item already deleted (fix bug #180) 2010-09-07 01:42:20 +02:00
Guillaume Ayoub
547c888c63 0.5 git version bump 2010-08-07 23:37:05 +02:00
Guillaume Ayoub
2f641b6a3f Version 0.4 bump 2010-08-07 14:55:05 +02:00
Guillaume Ayoub
bd5b345017 Add support for personal calendars, available only for owner. 2010-07-03 16:27:48 +02:00
Guillaume Ayoub
a1b40e82c6 Add HEAD requests support, set a new _answer variable in request handler. 2010-06-27 01:45:49 +02:00
Guillaume Ayoub
391037c24c Add Last-Modified HTTP header for GET requests. 2010-06-24 01:50:21 +02:00
Guillaume Ayoub
97dd530bb6 Remove useless parenthesis. 2010-06-24 00:36:00 +02:00
Guillaume Ayoub
07f3c13b62 Preparing the tree for the future 0.5 version. 2010-06-14 19:59:52 +02:00
Guillaume Ayoub
6f1da96d46 Version 0.3 bump. 2010-06-14 19:05:27 +02:00
Guillaume Ayoub
9b86e6ef27 Replace pylint "disable-msg" by "disable", and disable one more msg in setup. 2010-06-05 01:18:59 +02:00
Guillaume Ayoub
90de4184bc Set the version to "git" for all git versions. 2010-06-05 00:40:56 +02:00
Guillaume Ayoub
054950be54 Version management, next version is 0.3. 2010-05-31 00:49:52 +02:00
Guillaume Ayoub
8eb6520931 PUT and GET requests updated, adding Evolution support. 2010-04-19 16:09:50 +02:00
Guillaume Ayoub
58b608c4d0 Disable false errors reported by Pylint. 2010-04-13 00:41:56 +02:00
Guillaume Ayoub
d4bdc36550 Report item modification to users in various cases. 2010-04-13 00:25:01 +02:00
Guillaume Ayoub
f479b4ba67 Check ETag before modifying or adding items. 2010-04-12 14:43:40 +02:00
Guillaume Ayoub
a45ca25df9 Set hreferences for calendar items, fixing the PUT and DELETE requests. 2010-04-11 22:46:57 +02:00
Guillaume Ayoub
6fd85fe6b6 Remove trailing space. 2010-04-10 00:18:38 +02:00
Guillaume Ayoub
f075224d3d Fix crash if Content-Type is not given in request. 2010-04-09 21:56:20 +02:00
Guillaume Ayoub
efed0b415d Use request._decode instead of request.decode. 2010-04-09 21:53:00 +02:00
Guillaume Ayoub
f38576d999 Use posixpath instead of os.path to normalize request path. 2010-04-09 21:52:15 +02:00
Guillaume Ayoub
690a76c3b7 Fix the GET request. 2010-04-09 20:35:20 +02:00
Guillaume Ayoub
e1a161edc9 Rename calendar into ical to avoid name collisions. 2010-02-11 01:41:24 +01:00
Guillaume Ayoub
9a07ec71d3 Merge ical/support/calendar modules. 2010-02-10 23:52:50 +01:00
Guillaume Ayoub
21a743fcde Code cleaned using Pylint, fixes various minor bugs too. 2010-02-10 18:57:21 +01:00
Guillaume Ayoub
1998dc3b08 Add authentication structure, with fake and htpasswd methods. 2010-01-21 18:52:53 +01:00
Guillaume Ayoub
06843adca1 Add docstrings and use @property when needed. 2010-01-19 20:31:21 +01:00
Guillaume Ayoub
86dd1b0ef4 Manage SSL (HTTPS) connections. 2010-01-19 17:49:32 +01:00
Guillaume Ayoub
f1c8497f3b Configuration cleanup. 2010-01-16 13:33:50 +01:00
Guillaume Ayoub
4ee09cf817 Python 3 support and minor fixes. 2010-01-15 16:04:03 +01:00
Guillaume Ayoub
4a0d3936e8 Update copyright and remove tab intentation indications. 2010-01-15 00:15:41 +01:00
Guillaume Ayoub
5e5e5e1023 Remove Twisted dependency. 2010-01-10 18:55:32 +01:00
(no author)
81f7201399 Huge code and copyright cleanup.
git-svn-id: http://svn.32rwr.info/radicale/trunk@9 74e4794c-479d-4a33-9dda-c6c359d70f12
2009-07-27 15:04:54 +00:00
(no author)
b1591aea6f Files added
git-svn-id: http://svn.32rwr.info/radicale/trunk@2 74e4794c-479d-4a33-9dda-c6c359d70f12
2008-12-30 16:25:42 +00:00