6b7e79a368
Use sanitize_path instead of normpath
...
See a7b47f075499a1e1b40539bc1fa872a3ab77a204
The check for "." is now needless because the sane
path is always absolute.
```path.replace(os.sep, "/")``` is only relevant
for the (multi)filesystem backend and should be
there.
2015-12-24 14:39:24 +01:00
80ecae40cb
Assign new items to correct key
2015-12-10 09:46:38 +01:00
2c4b335fad
Clean the ical API
2015-02-07 17:26:20 +01:00
46628b7a19
Add missing blank line
2015-02-07 16:06:41 +01:00
99575d69ca
Clean some ical methods
2015-02-07 15:39:57 +01:00
fbbbaae646
indexed items storage
...
Conflicts:
radicale/storage/filesystem.py
2015-02-07 14:23:51 +01:00
0456d166cc
simpler and faster unfold function
2015-02-07 14:11:18 +01:00
6e715912f6
Handle headers other than PRODID and VERSION ( fix #250 )
2015-01-05 12:32:22 +01:00
20b1a29149
fix color support
...
5f2245c35f
introduced an additional alias for the
http://apple.com/ns/ical namespace. this can cause problems.
2014-11-11 21:26:29 +01:00
1769a68719
Sort items before serializing to minimize diff
2014-07-09 17:41:57 +02:00
a920518a26
Return an int for __hash__
2013-10-31 14:05:15 +01:00
337d2719be
Cosmetics
2013-10-29 09:30:51 +01:00
6bc745fe45
Replace built-in hash function with hashlib.
...
The built-in hash function returns inconsistent values in Python 3.
2013-10-27 22:55:01 -04:00
a631c8c761
Fix compatibility between python2 and 3
2013-09-19 14:40:03 +02:00
6e98b1b3e8
Adds multifilesystem storage backend (See #30 )
2013-08-29 16:55:36 +02:00
423feaec2a
Get a random color for calendars with no color
2013-08-27 17:06:16 +02:00
00b498677d
Merge pull request #48 from jspricke/color
...
Add color support
2013-08-27 08:02:38 -07:00
a884169487
Don't be so optimistic about collection detection.
...
For clients that can't create collections with MK* requests and that don't
use GET requests, is_leaf gives False for empty collections only reached
through a PROPFIND request. As Radicale can't create a collection for
each type of request, we have to strip the last part of path for paths ending
with .ics and .vcf, as they can be represent items and not collections.
2013-08-25 09:35:22 +02:00
205600c2d1
Fix the test used to guess if a path is a collection
2013-08-24 01:26:06 +02:00
2cd90c6a4a
Use a simpler code to detect not-created-yet addressbooks
2013-08-23 13:40:17 +02:00
61eedc2b7c
Match stupid naming conventions used by Apple's clients for collections
2013-08-23 13:33:35 +02:00
5f2245c35f
Add color support
...
You can change the default color by changing the props (.props file for
the filesystem storage backend).
2013-08-17 12:16:37 +02:00
3e3f07a6de
Assume that the collection is an addressbook when "carddav" is in URL
2013-07-26 17:47:51 +02:00
040d3b87a8
Revert a strange commit (let's say I was tired)
2013-05-13 18:14:42 +02:00
e4af425893
Fix some corner-cases for requests at root path
2013-05-01 20:13:51 +02:00
bf8e874e4d
Merge *base_prefix config keys into base_prefix ( fixes #996 )
2013-04-30 14:02:17 +02:00
406bb6e8cc
Update copyright years
2013-04-26 01:28:03 +02:00
45afac5353
Code cleaned and modules renamed
...
*Radicale is probably broken now*
2012-08-08 18:29:09 +02:00
7bfc17a51d
Use " instead of ' (you can laugh at me)
2012-03-01 10:40:15 +01:00
36918232c0
Better detection of vcards
2012-02-23 16:20:21 +01:00
f37c3a0b27
Let GET requests create address books too!
2012-02-23 16:16:14 +01:00
22e4e3764c
Explicitely create collections on GET requests
2012-02-23 15:28:45 +01:00
128a20714b
Use is_leaf and is_node instead of is_item and is_collection
2012-02-23 15:17:59 +01:00
d256a0551c
Fix an indentation bug
2012-02-20 16:32:32 +01:00
8dcc613f0a
Don't use the VADDRESSBOOK tag anymore ( closes #667 )
2012-02-03 18:01:03 +01:00
d5b1cdcbf2
Add the tag when writing calendars ( closes #658 )
2012-01-25 14:43:47 +01:00
54aa8817e7
Add the "set_mimetype" method forgotten during the merge ( closes #657 )
2012-01-25 14:40:28 +01:00
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
6eb9b21aac
Merge branch 'git'
2012-01-23 15:50:17 +01:00
5b680d1400
Remove brackets inserted in UIDs by Outlook
2012-01-18 17:47:18 +01:00
022b2aa91f
Clean and reorder calendar functions
2012-01-12 02:39:47 +01:00
b1414c152d
Split the storage filesystem backend into another file
2012-01-12 02:18:06 +01:00
a4a52c71d2
Use a clean way to manage calendars and address books different serialization
2012-01-06 19:42:20 +01:00
1dfa887384
Fix the GET and REPORT requests for vcards
2012-01-06 19:01:52 +01:00
fd3eacfe01
Ignore .props files for collections children
2012-01-05 22:56:59 +01:00
f11e78a3f4
Answer addressbook-home-set, fix the collection children detection
2012-01-05 21:49:34 +01:00
b56db741f4
Add support for Evolution VCard WebDAV
2012-01-04 19:47:34 +01:00
8a4be02075
Add a (not tested) CardDAV support
2011-12-31 13:31:22 +01:00
1f2f39a87a
DELETE requests can delete calendars ( closes #514 )
2011-11-29 17:41:08 +01:00
e545df5722
Only set the principal tag for root folders (related to #580 )
2011-09-25 21:16:24 +02:00