Commit Graph

743 Commits

Author SHA1 Message Date
Guillaume Ayoub
b6b281b815 Merge commit 'refs/merge-requests/15' of git://gitorious.org/radicale/radicale into merge-requests/15 2011-06-11 16:53:59 +02:00
Guillaume Ayoub
fe71b34697 Use 'key in dict' instead of 'dict.get(key)' 2011-06-08 08:20:37 +02:00
Guillaume Ayoub
f605a002bd Minor typo fix 2011-06-08 08:02:19 +02:00
Guillaume Ayoub
b8bcf65785 Restore the Lightning + anonymous calendars support 2011-06-08 07:43:40 +02:00
Pieter Naaijkens
303dc4d312 Only remove pid file if started as daemon 2011-06-07 22:24:04 +02:00
Pieter Naaijkens
4acc9effb8 Fix amount of whitespace 2011-06-07 21:59:31 +02:00
Pieter Naaijkens
a14a52fe11 Remove pidfile on shutdown 2011-06-07 21:57:00 +02:00
Roberto De Ioris
4bd425608d get config filename from env variable RADICALE_CONFIG 2011-06-07 17:44:53 +02:00
Roberto De Ioris
b7a61d5c0c add .wsgi file (mod_wsgi and uWSGI compliant) 2011-06-07 17:33:59 +02:00
Guillaume Ayoub
ec9e410659 Clean a docstring 2011-06-05 12:52:24 +02:00
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