Commit Graph

983 Commits

Author SHA1 Message Date
Guillaume Ayoub
080e4984aa Don't use isinstance(root, ET.Element) as ET.Element is a function in Python 2.6 2011-06-05 12:47:45 +02:00
Guillaume Ayoub
e9935ae1a6 Use % instead of format for consistency (and Python 2.6 support) 2011-06-05 12:34:50 +02:00
Guillaume Ayoub
dd6063ccb6 Give an UID if none has already been set 2011-06-05 12:31:00 +02:00
Guillaume Ayoub
020239e168 Add the iCal and iPhone support in NEWS 2011-06-02 23:28:15 +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
1510e6c194 Create directories for .props as well. 2011-06-01 18:59:53 +02:00
Lukasz Langa
537d6b6fd2 Create the directory structure if none found. 2011-06-01 18:22:26 +02:00
Lukasz Langa
3bc3574105 Merge branch 'master' of gitorious.org:~ambv/radicale/ambv-radicale 2011-06-01 17:47:27 +02:00
Lukasz Langa
1e6a4e7fb4 timezone is a part of the VCALENDAR file 2011-06-01 17:46:46 +02:00
Lukasz Langa
1c51e81181 timezone is a part of the VCALENDAR file 2011-06-01 16:49:46 +02:00
Lukasz Langa
31edc1b03d explicit component content-types for iCal 2011-06-01 16:22:36 +02:00
Lukasz Langa
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
Lukasz Langa
5b9180c295 The owner field should be an URL. Fixes delays in iCal. 2011-06-01 15:30:47 +02:00
Lukasz Langa
8bcdb5b1dc py3k-compatible next() used. Works with 2.6-2.7 as well. 2011-06-01 14:22:15 +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
Lukasz Langa
b230601ee2 elementtree in Python 2.x would rather receive encoded strings. 2011-05-24 15:09:37 +02:00
Guillaume Ayoub
ca9c148705 Set calendars always personal with authentication activated 2011-05-17 00:10:36 +02:00
Guillaume Ayoub
7c0e9686a8 Minor typo fix 2011-05-15 19:53:40 +02:00
Guillaume Ayoub
06f1987975 Add an option to store PID in daemon mode 2011-05-13 22:50:55 +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
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
Guillaume Ayoub
9729501130 Minor typo fix in the logging configuration file 2011-05-13 10:40:25 +02:00
Guillaume Ayoub
261ea03518 Add full_environment in configuration module 2011-05-13 10:15:21 +02:00
Guillaume Ayoub
4f3b574e35 Minor typo fixes 2011-05-13 10:13:56 +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
Guillaume Ayoub
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
Lukasz Langa
6ba69f22a4 Pretty formatting and filtering of environment variables. 2011-05-11 17:09:44 +02:00
Lukasz Langa
ae0851be35 treat the DAV namespace as default (XML output is nicer) 2011-05-11 16:24:55 +02:00
Lukasz Langa
663fda4ecb add the Apple iCal namespace to registry 2011-05-11 16:24:20 +02:00
Lukasz Langa
afcfb11fde Revert "Remove useless calls to _tag"
This reverts commit 3b17ed2969.
2011-05-11 15:05:23 +02:00
Lukasz Langa
d228bcbad2 report needs a content-type as well. 2011-05-11 14:57:27 +02:00
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