Unrud
f91b2bc17e
Webinterface: Escape . correctly in RegExp
2017-08-04 14:58:59 +02:00
Unrud
73fb669fd8
Add note about rescheduled recurrences
2017-08-04 14:58:58 +02:00
Unrud
a6663f19f0
Ignore overwritten recurrences in time range filter ( fixes #630 )
2017-08-03 23:26:12 +02:00
Unrud
ae897c1cd3
Test time range filter with overwritten recurrence
2017-08-03 23:25:50 +02:00
Unrud
748519e94d
Fix time range filtering with overwritten recurrences
2017-08-03 19:52:16 +02:00
Unrud
7678da7926
Test unordered recurrences
...
Time range matching stops early when the visited time range is behind the end date of the filter.
Components are visited in the order, in which they are specified in the VCALENDAR.
This can cause problems with overwritten recurrences.
2017-08-03 19:47:00 +02:00
Unrud
e060bb3d8b
Specify items for _test_filter explicitly
2017-08-03 19:46:59 +02:00
Unrud
ba5fe590c9
Improve error message when fsync'ing files fails
2017-08-03 19:46:58 +02:00
François Schmidts
ae54e8556c
Improve Dockerfile ( #676 )
...
* fixing DockerFile
* applying corrections
* fixating the dest file
2017-08-02 17:26:33 +02:00
Unrud
434178ab07
Pass the filesystem_path instead of folder to Collection
2017-08-02 17:16:42 +02:00
Unrud
6d5374f690
Remove item cache tag
...
This is not required any more, because the workarounds for bugs in VObject were removed.
2017-08-02 17:16:41 +02:00
Unrud
263f76f88e
Bump version to 2.1.3
2017-08-01 17:18:13 +02:00
Unrud
ed3708db22
Don't read cache entry twice with exclusive access
2017-08-01 17:16:58 +02:00
Unrud
1576f9b7fb
Use ExitStack instead of suppress as dummy context manager
2017-08-01 17:14:26 +02:00
Unrud
d72455fff6
Log collection path without leading and trailing /
2017-08-01 17:13:05 +02:00
Unrud
aac472960f
Improve handling of unsafe user names
2017-07-30 12:00:42 +02:00
Unrud
6d39a61a51
Shut down server on SIGINT on Windows
...
select.select blocks SIGINT on Windows.
2017-07-30 11:27:08 +02:00
Unrud
d34ee1217d
Revert "Shut down server on SIGINT on Windows"
...
This reverts commit f8de674bd2
.
2017-07-30 11:21:04 +02:00
Unrud
f8de674bd2
Shut down server on SIGINT on Windows
2017-07-30 11:00:24 +02:00
Unrud
d6435c36c9
Lock the item cache when filling it
...
Prevents performance losses when many clients request the same missing items in parallel.
2017-07-30 11:00:24 +02:00
Unrud
16abbd9ea6
Refactor: Extract class FileBackedRwLock
2017-07-30 10:57:41 +02:00
Unrud
c028de4fb7
Test missing UIDs
2017-07-27 19:08:11 +02:00
Unrud
b19b1b34e8
Test deleting the item cache
2017-07-27 19:08:09 +02:00
Unrud
5d238afb5e
Don't check the vobject item in storage.Item
...
This is the responsibility of the storage plugin.
2017-07-27 19:08:08 +02:00
Unrud
9bde9d82f4
Store item on upload in the item cache
...
This rejects items that break the item cache before they are stored in the storage.
2017-07-27 19:08:07 +02:00
Unrud
796ba54f42
Clean item cache once per request
2017-07-27 19:08:05 +02:00
Unrud
0a1de26ae5
Refactor: Extract item cache methods
2017-07-27 19:08:04 +02:00
Unrud
46c636e642
Move item cache entry when item is moved
2017-07-27 19:08:02 +02:00
Unrud
e807b5d953
Move storage hook tests from BaseRequestsMixIn to TestMultiFileSystem
2017-07-27 19:08:00 +02:00
Unrud
deffed8f14
Do SSL handshake in request thread ( fixes #674 )
...
The handshake could block the main thread, especially since the socket timeout was not set at that point.
2017-07-27 01:46:27 +02:00
Unrud
b3957bc2c7
Bump version to 2.1.2
2017-07-24 04:22:57 +02:00
Unrud
1f4fb9e306
Use repr(...) instead of "%r" % ...
2017-07-22 23:32:26 +02:00
Unrud
d0aacd3dcf
Check uploaded data for more than one VCALENDAR
2017-07-22 23:32:26 +02:00
Unrud
316b0a5832
Change owner and is_principal to properties in BaseCollection
2017-07-22 23:32:26 +02:00
Unrud
1ce404ca35
Rename encoding to _encoding in Collection
2017-07-22 23:32:26 +02:00
Unrud
33ad60503f
Sort keys of properties JSON file
2017-07-22 23:32:26 +02:00
Unrud
71916452ec
Include properties in collection etag
2017-07-22 23:32:26 +02:00
Unrud
a26d90d8d7
Web interface: Delete empty properties
2017-07-22 23:32:26 +02:00
Unrud
05b1e8296c
Check collection properties
2017-07-22 23:32:26 +02:00
Unrud
863c70f35f
Improve validation of uploaded items and stored items
...
This reverts commit 4533f76df9
.
2017-07-22 23:32:26 +02:00
Unrud
e0045ca98d
Don't use VObject for collection serialization
2017-07-22 23:32:26 +02:00
Unrud
debba3c7a1
Don't serialize collection for etag
2017-07-22 23:32:26 +02:00
Unrud
95380c5ce7
Add file name to VObject serialization errors
2017-07-22 23:32:26 +02:00
Unrud
4533f76df9
Accept VLIST items ( fixes #661 )
...
Custom format used by SOGo Connector to store lists of contacts
2017-07-21 16:12:19 +02:00
Unrud
4f831de006
Verify number of components in items
2017-07-15 09:42:01 +02:00
Unrud
d3a90d16c3
Improve log message when fsync'ing directory fails (fixes 656)
2017-07-15 09:42:00 +02:00
Unrud
56c88b4c54
Remove workarounds for bugs in VObject
...
The bugs got fixed in version 0.9.5
2017-07-01 05:45:15 +02:00
Unrud
92ab06ccb7
Fix spelling mistake
2017-07-01 04:26:17 +02:00
Unrud
f4a9399a97
Change HTTP response 303 to 302
2017-07-01 04:20:13 +02:00
Unrud
9f0611cd20
Small improvements for tests
2017-07-01 04:20:11 +02:00