Commit Graph

898 Commits

Author SHA1 Message Date
Unrud
84149505c3 Use python3 in shebang 2016-06-10 09:07:05 +02:00
Guillaume Ayoub
063e827588 Revert "Try to use UID as filename"
This reverts commit 0b25c82d9d.

See #419.
2016-05-30 19:05:58 +02:00
Guillaume Ayoub
f1f716b0c7 Merge pull request #419 from Unrud/patch-16
Save all items with the same UID in the same file
2016-05-30 19:03:25 +02:00
Guillaume Ayoub
5b6f0784d0 Merge branch 'master' of github.com:Kozea/radicale 2016-05-30 14:53:41 +02:00
Guillaume Ayoub
248fc7e9e3 Implement time-range filters for events 2016-05-30 14:53:20 +02:00
Guillaume Ayoub
13a7f2f9af Merge pull request #417 from Unrud/patch-14
Allow creation of empty collection via PUT
2016-05-30 11:23:27 +02:00
Guillaume Ayoub
b0ed18af05 Merge pull request #416 from Unrud/patch-13
Always release lock
2016-05-30 11:08:48 +02:00
Guillaume Ayoub
146eb99887 Merge pull request #418 from Unrud/patch-15
Fix crash on unknown content type
2016-05-30 11:05:37 +02:00
Unrud
0b25c82d9d Try to use UID as filename 2016-05-29 03:38:35 +02:00
Unrud
5c90f5b2af Save all items with the same UID in the same file
If recurrences are not in the same file, they are not correctly shown by clients.
2016-05-29 03:32:06 +02:00
Unrud
4861b79878 Allow creation of empty collection via PUT 2016-05-29 01:18:29 +02:00
Unrud
af1dce1504 Fix crash on unknown content type 2016-05-28 23:49:15 +02:00
Unrud
28e643dec1 Don't pass None to vobject.readComponents
If an empty collections is created with PUT, content is None.
2016-05-28 22:46:20 +02:00
Unrud
9ade92c026 Always release lock 2016-05-28 22:36:40 +02:00
Guillaume Ayoub
656680d998 Merge branch 'master' of github.com:Kozea/radicale 2016-05-27 14:45:43 +02:00
Guillaume Ayoub
fef9f0abc6 Support param-filter 2016-05-27 14:44:59 +02:00
Guillaume Ayoub
05d76bd2d3 Merge pull request #412 from Unrud/patch-12
Veify Authorization Scheme
2016-05-26 13:52:08 +02:00
Unrud
ecbffe69dc Veify Authorization Scheme 2016-05-26 12:21:09 +02:00
Guillaume Ayoub
da1363f026 Revert "Limit duration of file locks"
This reverts commit 6b1acd14d7.
2016-05-25 14:05:34 +02:00
Guillaume Ayoub
69ec2891fa Remove at_once 2016-05-25 14:05:05 +02:00
Guillaume Ayoub
a3c32ee77f Merge pull request #402 from Unrud/locking
Implement locking of whole storage
2016-05-25 14:03:48 +02:00
Guillaume Ayoub
4fc5e3135a Update documentation of path_to_filesystem 2016-05-24 14:39:41 +02:00
Guillaume Ayoub
ac687c6179 Merge branch 'master' of github.com:Kozea/radicale 2016-05-24 14:37:46 +02:00
Guillaume Ayoub
f8c8bd9d9b Merge pull request #403 from Unrud/patch-9
Don't sanitize local paths using posixpath
2016-05-24 14:36:34 +02:00
Unrud
6b1acd14d7 Limit duration of file locks
This prevents starvation of writers in other processes
2016-05-22 23:44:21 +02:00
Unrud
14daa88772 Use FIFO for storage locking
This prevents starvation of writers in the current process
2016-05-22 23:29:00 +02:00
Unrud
1ea9a33101 Reuse lock file 2016-05-22 10:29:56 +02:00
Unrud
49bc0728e3 Only one lock file per process (lockf() works now)
lockf() is more portable than flock()
2016-05-22 10:29:56 +02:00
Unrud
eb9218354c Always use readers-writer lock in storage locking 2016-05-22 10:29:56 +02:00
Unrud
bca6cec6b3 Use context manager for locking 2016-05-22 10:29:50 +02:00
Guillaume Ayoub
a60e224ccf Merge pull request #405 from Unrud/patch-11
Compress answer
2016-05-21 02:31:38 +02:00
Unrud
a24613da9c Compress answer
The protocol uses verbose XML and compression reduces the size significantly.
2016-05-21 02:26:03 +02:00
Guillaume Ayoub
8ebd3810b5 Merge pull request #404 from Unrud/patch-10
Use nonlocal instead of container
2016-05-21 02:20:12 +02:00
Unrud
de2f411820 Use nonlocal instead of container
Python 3
2016-05-21 01:49:22 +02:00
Unrud
b810d61ce3 Don't sanitize local paths using posixpath
This doesn't work as expected on Windows.
2016-05-21 01:41:00 +02:00
Unrud
ff3b31fed6 Use threading in integrated webserver 2016-05-21 01:26:52 +02:00
Unrud
2c45b1998c Implement locking of whole storage 2016-05-21 01:26:45 +02:00
Guillaume Ayoub
51a36d4a57 Remove obsolete SQL file 2016-05-19 07:25:08 +02:00
Guillaume Ayoub
8e09c0b315 Merge pull request #399 from untitaker/tox
Fix tox env once and for all
2016-05-18 22:59:25 +02:00
Markus Unterwaditzer
3a2cc58f3b Fix tox env once and for all 2016-05-18 22:57:17 +02:00
Guillaume Ayoub
68b72f55eb Merge pull request #398 from untitaker/unbound
Fix UnboundLocalError
2016-05-18 22:47:37 +02:00
Guillaume Ayoub
bc1427bab9 Install package in .travis.yml 2016-05-18 22:44:47 +02:00
Markus Unterwaditzer
eea6ccb573 Fix UnboundLocalError 2016-05-18 22:43:56 +02:00
Guillaume Ayoub
9e3126ba3e Fix .travis.yml again 2016-05-18 22:42:47 +02:00
Guillaume Ayoub
a8fda1aedf Cut long lines 2016-05-18 22:41:05 +02:00
Guillaume Ayoub
36ad6bd021 Change tox command in .travis.yml 2016-05-18 22:35:31 +02:00
Guillaume Ayoub
3560f96c8b Fix tox.ini 2016-05-18 22:31:28 +02:00
Guillaume Ayoub
47e048a3c2 Merge pull request #397 from untitaker/tox-in-travis
Use tox within travis
2016-05-18 22:29:23 +02:00
Markus Unterwaditzer
f6e5026d9d Use tox within travis
This deduplicates the testing setup and commands
2016-05-18 20:53:34 +02:00
Guillaume Ayoub
39b34b2f52 Install flake8 in Travis 2016-05-18 20:25:50 +02:00