Commit Graph

222 Commits

Author SHA1 Message Date
31edc1b03d explicit component content-types for iCal 2011-06-01 16:22:36 +02:00
710b518b0f Without the newline iCal complains in the logs:
11-06-01 16:11:06 iCal[12955] Unexpected EOF, returning last token as fallback
2011-06-01 16:21:03 +02:00
5b9180c295 The owner field should be an URL. Fixes delays in iCal. 2011-06-01 15:30:47 +02:00
8bcdb5b1dc py3k-compatible next() used. Works with 2.6-2.7 as well. 2011-06-01 14:22:15 +02:00
e05e94a129 preliminary iCal/iPhone support introduced 2011-06-01 12:43:49 +02:00
911cd48efe proppatch actually writes properties. 2011-05-24 17:33:57 +02:00
85e283830a MKCALENDAR now actually creates the calendar. 2011-05-24 16:12:35 +02:00
b230601ee2 elementtree in Python 2.x would rather receive encoded strings. 2011-05-24 15:09:37 +02:00
ca9c148705 Set calendars always personal with authentication activated 2011-05-17 00:10:36 +02:00
7c0e9686a8 Minor typo fix 2011-05-15 19:53:40 +02:00
06f1987975 Add an option to store PID in daemon mode 2011-05-13 22:50:55 +02:00
bd2c50dadf Log user login instead of calendar owner for sucessful accesses 2011-05-13 22:26:53 +02:00
e7ba2ab78b Register XML namespaces cleanly with Python 2.7+ and 3.2+
The old code was relying on a largely used but private variable.
Moreover, it was bugged with the empty string for "D", adding ":"
instead of nothing at the beginning of tag names with Python 2.6,
3.0 and 3.1, breaking at least the Lightning support.

This new code still relies on the private variable for old
Python versions, but uses the good-way™ for actual and future
versions. No default namespace is used for old versions, but
that's not that bad.
2011-05-13 22:03:50 +02:00
9729501130 Minor typo fix in the logging configuration file 2011-05-13 10:40:25 +02:00
261ea03518 Add full_environment in configuration module 2011-05-13 10:15:21 +02:00
4f3b574e35 Minor typo fixes 2011-05-13 10:13:56 +02:00
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
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
5a0f841968 Revert "Remove useless calls to _tag", that was breaking the pretty namespaces
This reverts commit 3b17ed2969.
2011-05-11 18:12:23 +02:00
6ba69f22a4 Pretty formatting and filtering of environment variables. 2011-05-11 17:09:44 +02:00
ae0851be35 treat the DAV namespace as default (XML output is nicer) 2011-05-11 16:24:55 +02:00
663fda4ecb add the Apple iCal namespace to registry 2011-05-11 16:24:20 +02:00
afcfb11fde Revert "Remove useless calls to _tag"
This reverts commit 3b17ed2969.
2011-05-11 15:05:23 +02:00
d228bcbad2 report needs a content-type as well. 2011-05-11 14:57:27 +02:00
8f2335093d Always return pretty XML 2011-05-11 11:20:39 +02:00
0328b2244b Use the internal decoder to log requests 2011-05-11 08:43:03 +02:00
3b17ed2969 Remove useless calls to _tag 2011-05-11 08:39:32 +02:00
ac83dadc9c Typo fix 2011-05-11 08:13:33 +02:00
77ab37c49c Enhance readability 2011-05-11 06:56:34 +02:00
58c6fe399c Cut a long line 2011-05-11 06:50:17 +02:00
6121bc882a Disable a useless pylint warning 2011-05-11 06:37:30 +02:00
ce362e1b50 Drop Python 2.5 support 2011-05-11 06:21:35 +02:00
aacfa8ff46 Various minor typo fixes 2011-05-11 06:19:05 +02:00
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
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
2830afd71d Allow authentication before LDAP searches (patch from Łukasz) 2011-05-10 14:45:54 +02:00
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
4230ec2fa9 Use pretty namespace prefixes in output. 2011-05-09 17:02:31 +02:00
32b01d60fc in debug mode, prettify XML output for analysis 2011-05-09 16:51:58 +02:00
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
4212f6dfe0 the replaced syntax is deprecated 2011-05-09 14:04:17 +02:00
00fb296ed7 take encryption function from globals() rather than locals() 2011-05-09 13:56:53 +02:00
0171690af5 Set personal calendars in the default configuration 2011-05-09 00:12:22 +02:00
53562961b0 Set personal calendars by default 2011-05-09 00:09:01 +02:00
44b11db1ae Typo fix in a logging message 2011-05-07 14:32:21 +02:00
c0c8ab6bc7 Typo fix in logging default file 2011-05-07 13:42:58 +02:00
899379d073 Add a default logging configuration file, and small typo fixes 2011-05-07 12:52:54 +02:00
e87ffeadb1 Remove default request logging 2011-05-07 12:18:32 +02:00
f39d90caa9 Catch all LDAP exceptions 2011-05-06 17:11:13 +02:00
51853a22bc Manage empty strings for CONTENT_LENGTH header 2011-05-06 15:02:29 +02:00