6b1acd14d7
Limit duration of file locks
...
This prevents starvation of writers in other processes
2016-05-22 23:44:21 +02:00
14daa88772
Use FIFO for storage locking
...
This prevents starvation of writers in the current process
2016-05-22 23:29:00 +02:00
1ea9a33101
Reuse lock file
2016-05-22 10:29:56 +02:00
49bc0728e3
Only one lock file per process (lockf() works now)
...
lockf() is more portable than flock()
2016-05-22 10:29:56 +02:00
eb9218354c
Always use readers-writer lock in storage locking
2016-05-22 10:29:56 +02:00
bca6cec6b3
Use context manager for locking
2016-05-22 10:29:50 +02:00
a60e224ccf
Merge pull request #405 from Unrud/patch-11
...
Compress answer
2016-05-21 02:31:38 +02:00
a24613da9c
Compress answer
...
The protocol uses verbose XML and compression reduces the size significantly.
2016-05-21 02:26:03 +02:00
8ebd3810b5
Merge pull request #404 from Unrud/patch-10
...
Use nonlocal instead of container
2016-05-21 02:20:12 +02:00
de2f411820
Use nonlocal instead of container
...
Python 3
2016-05-21 01:49:22 +02:00
b810d61ce3
Don't sanitize local paths using posixpath
...
This doesn't work as expected on Windows.
2016-05-21 01:41:00 +02:00
ff3b31fed6
Use threading in integrated webserver
2016-05-21 01:26:52 +02:00
2c45b1998c
Implement locking of whole storage
2016-05-21 01:26:45 +02:00
51a36d4a57
Remove obsolete SQL file
2016-05-19 07:25:08 +02:00
8e09c0b315
Merge pull request #399 from untitaker/tox
...
Fix tox env once and for all
2016-05-18 22:59:25 +02:00
3a2cc58f3b
Fix tox env once and for all
2016-05-18 22:57:17 +02:00
68b72f55eb
Merge pull request #398 from untitaker/unbound
...
Fix UnboundLocalError
2016-05-18 22:47:37 +02:00
bc1427bab9
Install package in .travis.yml
2016-05-18 22:44:47 +02:00
eea6ccb573
Fix UnboundLocalError
2016-05-18 22:43:56 +02:00
9e3126ba3e
Fix .travis.yml again
2016-05-18 22:42:47 +02:00
a8fda1aedf
Cut long lines
2016-05-18 22:41:05 +02:00
36ad6bd021
Change tox command in .travis.yml
2016-05-18 22:35:31 +02:00
3560f96c8b
Fix tox.ini
2016-05-18 22:31:28 +02:00
47e048a3c2
Merge pull request #397 from untitaker/tox-in-travis
...
Use tox within travis
2016-05-18 22:29:23 +02:00
f6e5026d9d
Use tox within travis
...
This deduplicates the testing setup and commands
2016-05-18 20:53:34 +02:00
39b34b2f52
Install flake8 in Travis
2016-05-18 20:25:50 +02:00
6769629314
Remove useless empty function
2016-05-18 20:22:36 +02:00
45576d7474
Handle text-match filters
...
Related to #33 .
2016-05-18 20:21:03 +02:00
d063e3a370
Launch flake8 in tests
2016-05-12 19:24:24 +02:00
20ff5444fb
Don't explicitely inherit from object
2016-05-12 18:57:59 +02:00
ca056dea9f
Don't return 404 for GET requests on collections
2016-05-12 18:55:03 +02:00
2ce9fceaff
Merge branch 'master' of github.com:Kozea/radicale
2016-05-06 17:57:58 +02:00
a28df4dd4b
Reorganize filters
...
Related to #33 and #372 .
2016-05-06 17:53:02 +02:00
f5ce05f4a5
Merge pull request #390 from untitaker/flake8-fixes
...
Introduce Flake8, fix some bugs
2016-05-05 00:19:19 +02:00
6cc68862dc
Test Flake8 compliance in CI
2016-05-04 19:26:37 +02:00
2dee66133d
Flake8 fixes
2016-05-04 19:25:58 +02:00
2cda64245e
Merge pull request #385 from untitaker/rights-fixes
...
Fixes to Rights
2016-04-23 09:11:16 +09:00
0de3ad36be
Fixes to Rights
...
- BaseRights expects the config and logger params
- user may be None, which leads to errors when trying to use it with
regexes.
2016-04-22 20:30:40 +02:00
2f97d7d1e1
Remove global state about configuration and logs
...
Many things have been changed to make this possible, probably leading to
many hidden bugs waiting to be found.
Related to #122 .
2016-04-22 11:37:02 +09:00
8ac19ae0fc
Merge pull request #383 from jbg/patch-1
...
Corrected calendar-timezone code in xmlutils.py
2016-04-21 15:01:51 +09:00
0670aa9fb4
Corrected calendar-timezone code in xmlutils.py
2016-04-21 10:40:36 +05:30
6db946080e
Cosmetics
2016-04-21 09:12:00 +09:00
89e2226b16
Merge pull request #382 from untitaker/tag-filters-fix
...
Unbreak tag filters
2016-04-21 09:04:25 +09:00
7f2d1c00c4
Unbreak tag filters
2016-04-20 20:17:05 +02:00
303a53eede
Return Items in upload and update methods
...
Related to #380
2016-04-20 08:09:00 +09:00
ecf53c5e1e
Merge branch 'master' of github.com:Kozea/radicale
2016-04-20 07:50:58 +09:00
3a9bcc7555
Add etag property to items
...
Related to #380 .
2016-04-20 07:49:03 +09:00
c0f7bec51d
Merge pull request #379 from untitaker/double-slash
...
Fix double slash in REPORT responses
2016-04-20 06:23:45 +09:00
1b1ba421ff
Fix double slash in REPORT responses
...
When doing REPORTs with absolute paths as hrefs, the response hrefs
contain a double slash at the beginning. This breaks URL parsers and
makes them assume they have a URL without protocol of the format
`//example.com/foo/bar/`.
2016-04-19 23:19:22 +02:00
bf8bd90bcb
Fix removal of base_prefix in multiget requests
2016-04-19 10:44:02 +09:00