Commit Graph

1243 Commits

Author SHA1 Message Date
Guillaume Ayoub
8f2335093d Always return pretty XML 2011-05-11 11:20:39 +02:00
Guillaume Ayoub
0328b2244b Use the internal decoder to log requests 2011-05-11 08:43:03 +02:00
Guillaume Ayoub
3b17ed2969 Remove useless calls to _tag 2011-05-11 08:39:32 +02:00
Guillaume Ayoub
ac83dadc9c Typo fix 2011-05-11 08:13:33 +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
6121bc882a Disable a useless pylint warning 2011-05-11 06:37:30 +02:00
Guillaume Ayoub
ce362e1b50 Drop Python 2.5 support 2011-05-11 06:21:35 +02:00
Guillaume Ayoub
aacfa8ff46 Various minor typo fixes 2011-05-11 06:19:05 +02:00
Guillaume Ayoub
7e1815cbeb Merge commit 'refs/merge-requests/9' of git://gitorious.org/radicale/radicale into merge-requests/9 2011-05-11 05:01:00 +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
2830afd71d Allow authentication before LDAP searches (patch from Łukasz) 2011-05-10 14:45:54 +02:00
Lukasz Langa
0d8fa5db6b More deprecation fixes
xmlutils.py:116: DeprecationWarning: This method will be removed in future
                 versions.  Use 'list(elem)' or iteration over elem instead.
prop_list = prop_element.getchildren()
2011-05-10 14:21:13 +02:00
Lukasz Langa
4230ec2fa9 Use pretty namespace prefixes in output. 2011-05-09 17:02:31 +02:00
Lukasz Langa
32b01d60fc in debug mode, prettify XML output for analysis 2011-05-09 16:51:58 +02:00
Lukasz Langa
6b5db413c5 logging and debugging fixes
* optparse values may not be strings, ConfigParser requires strings

* forcing DEBUG level should work for all handlers regardless of configuration
  source (file, command line options)
2011-05-09 16:43:41 +02:00
Lukasz Langa
4212f6dfe0 the replaced syntax is deprecated 2011-05-09 14:04:17 +02:00
Lukasz Langa
00fb296ed7 take encryption function from globals() rather than locals() 2011-05-09 13:56:53 +02:00
Guillaume Ayoub
0171690af5 Set personal calendars in the default configuration 2011-05-09 00:12:22 +02:00
Guillaume Ayoub
44b11db1ae Typo fix in a logging message 2011-05-07 14:32:21 +02:00
Guillaume Ayoub
899379d073 Add a default logging configuration file, and small typo fixes 2011-05-07 12:52:54 +02:00
Guillaume Ayoub
e87ffeadb1 Remove default request logging 2011-05-07 12:18:32 +02:00
Guillaume Ayoub
f39d90caa9 Catch all LDAP exceptions 2011-05-06 17:11:13 +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
eb52368550 Unfold lines in iCal files 2011-04-25 20:35:51 +02:00
Guillaume Ayoub
39f7c7a96f Fix support of owner-less calendars 2011-04-25 20:12:37 +02:00
Guillaume Ayoub
d061c09344 Add support for VJOURNAL items (closes #435) 2011-04-25 19:38:03 +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
Guillaume Ayoub
af285e5db9 Revert changes in xmlutils 2011-04-25 13:33:48 +02:00
Guillaume Ayoub
43a1886546 Merge commit 'refs/merge-requests/8' of gitorious.org:radicale/radicale into merge-requests/8 2011-04-25 13:29:51 +02:00
Guillaume Ayoub
17f5c85f2d Add support for supported-report-set in propfind requests (related to #252) 2011-04-15 21:33:53 +02:00
Corentin Le Bail
938aa85aed Coninuing the merge 2011-04-10 19:19:59 +02:00
Corentin Le Bail
c34d5cd7cd Merge branch 'master' of git://gitorious.org/radicale/radicale 2011-04-10 19:17:51 +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
5673444ba7 Clean owner-less calendars support (fixes #254) 2011-04-10 18:51:38 +02:00
Guillaume Ayoub
6c65cc1539 Merge commit 'refs/merge-requests/6' of gitorious.org:radicale/radicale into merge-requests/6 2011-04-10 18:37:23 +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
48be062d38 Disable IPv6 in default configuration 2011-04-02 21:49:48 +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
René 'Necoro' Neumann
72c57a042d Allow missing owner 2011-03-25 01:30:34 +01:00
Corentin Le Bail
6fc00a3197 Default logfile 2011-02-22 18:13:35 +01:00
System User
a4024f8183 Logging to stdout, syslog or file 2011-02-22 15:46:42 +01:00
System User
bb7f36fc59 Merge branch 'master' of git://gitorious.org/~clebail/radicale/ares-radicale
Conflicts:
	radicale/xmlutils.py
2011-02-17 10:42:02 +01:00
Corentin Le Bail
35e277252b Multiple logging sextion in default config 2011-02-16 14:50:42 +01:00
Corentin Le Bail
284063a270 Merge branch 'master' of git://gitorious.org/~clebail/radicale/ares-radicale
Conflicts:
	config
	radicale/acl/authLdap.py
	radicale/config.py
	radicale/log.py
2011-02-16 14:17:28 +01:00
Corentin Le Bail
50919133ac Logging 2011-02-16 13:53:27 +01:00
System User
1f1d051656 Merge remote branch 'radicale/master' 2011-02-14 10:07:05 +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
9874129bbb Add simple support for calendar-user-address-set (references #181) 2011-01-27 00:04: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
System User
9d012fb76f Merge branch 'master' of git://gitorious.org/radicale/radicale 2011-01-03 15:29:53 +01:00
Guillaume Ayoub
dcabf4249e Adding the calendar-home-set property management 2010-12-29 19:10:56 +01:00
Guillaume Ayoub
c39ac102e8 Remove a done/rejected TODO 2010-12-29 16:47:07 +01:00
System User
3a9226ca80 Merge branch 'master' of git://gitorious.org/radicale/radicale
Conflicts:

	radicale/xmlutils.py
2010-12-23 10:10:40 +01:00
System User
55d67e629d Logging 2010-12-23 10:06:37 +01:00
Guillaume Ayoub
091d89889d Fix get requests for whole calendar 2010-12-20 15:49:48 +01:00
Guillaume Ayoub
72f3af9ab9 Fix bug caused by commit:673da6a9 2010-12-17 17:19:39 +01:00
System User
8ad91b74b6 cn => dn
Default configuration
2010-12-02 17:58:56 +01:00
System User
766adcda50 os.path.expanduser for logging file name 2010-12-02 16:57:02 +01:00
System User
77ff57eb72 Add class for logging in log file 2010-12-02 16:42:16 +01:00
System User
8a86f57304 Adding LDAP authentification 2010-12-02 10:01:09 +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
2add4ae801 Merge branch 'master' of gitorious.org:radicale/radicale 2010-11-11 21:48:09 +01:00
Guillaume Ayoub
50e1366e8c Only write calendar file when needed (closes bug #192) 2010-11-11 21:46:13 +01:00
Ronan Dunklau
47815347fb Fixed a bug when altering the only event on a calendar 2010-09-30 16:57:23 +02:00
Guillaume Ayoub
076b6b60a4 Fix the PROPFIND request management (list events and todos) 2010-09-28 16:32:47 +02:00
Guillaume Ayoub
040b125377 Cut long lines 2010-09-28 16:04:17 +02:00
Guillaume Ayoub
9b153d56cc Add support for supported-report-set PROPFIND tag 2010-09-14 05:06:46 +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
666e7034a0 Simplify __import__ call in acl. 2010-07-03 16:27:29 +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
91e00b3f48 Fix the last-modified date format according to RFC2822. 2010-06-27 01:33:56 +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
57eef3c5ab Ignore CTag and remove useless workaround for empty calendars. 2010-04-13 00:31:00 +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
9a9342a1bd Remove the useless ElementTree protected namespaces hack. 2010-04-10 16:26:22 +02:00
Guillaume Ayoub
c7820b87e0 Set constant values after defining functions in htpasswd module. 2010-04-10 00:19:01 +02:00
Guillaume Ayoub
6fd85fe6b6 Remove trailing space. 2010-04-10 00:18:38 +02:00
Guillaume Ayoub
5d81889a4f The `crypt` module is only present on Unix, import if needed 2010-04-09 22:05:44 +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
a75bb261ed Use replace instead of lstrip in htpasswd ACL (Thanks Simon!). 2010-02-02 20:02:27 +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
1b8608021f Add command-line options, user configuration and daemon mode. 2010-01-18 10:48:06 +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
Guillaume Ayoub
330283ef94 Remove empty collection in propfind resourcetype (Sunbird-1.0b2 ready). 2009-12-29 20:15:31 +01:00
Guillaume Ayoub
97c1675741 Quote etags. 2009-12-29 20:05:38 +01:00
Guillaume Ayoub
6545bc8273 Add getetag and getcontenttype support for propfind requests (Sunbird 1.0 ready). 2009-12-09 12:56:03 +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)
e7a5ef8c5d Factorize code and remove encoding bugs
git-svn-id: http://svn.32rwr.info/radicale/trunk@8 74e4794c-479d-4a33-9dda-c6c359d70f12
2009-07-25 16:18:05 +00:00
(no author)
34d1d30998 Remove duplicates in REPORT request
git-svn-id: http://svn.32rwr.info/radicale/trunk@7 74e4794c-479d-4a33-9dda-c6c359d70f12
2009-07-13 21:15:30 +00:00
(no author)
3593799f97 Fix a unicode/string bug in plain support
git-svn-id: http://svn.32rwr.info/radicale/trunk@6 74e4794c-479d-4a33-9dda-c6c359d70f12
2009-07-13 20:24:29 +00:00
(no author)
e87d37703d Out-of-the-box simple configuration
git-svn-id: http://svn.32rwr.info/radicale/trunk@5 74e4794c-479d-4a33-9dda-c6c359d70f12
2008-12-30 19:26:03 +00:00
(no author)
5e1a4d4131 HTTP support
git-svn-id: http://svn.32rwr.info/radicale/trunk@4 74e4794c-479d-4a33-9dda-c6c359d70f12
2008-12-30 17:41:48 +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