Commit graph

140 commits

Author SHA1 Message Date
Mathieu Dupuy
47bc966a13
fix misspellings 2024-07-24 12:29:13 +02:00
Georgiy
63db0483d0 (#1485) If an event comes with a dtstart specified as a date then in the response we return the date 2024-06-02 10:40:35 +03:00
Georgiy
acf65e9d6a (#1485) Fix processing all day expanded events 2024-05-29 16:33:54 +03:00
Peter Bieringer
6f7abbcba5 fix for pytest warning: "is using nose-specific method: setup(self)" 2024-05-09 01:04:28 +02:00
Georgiy
f0e21b14c2 validation fixes 2024-04-06 11:02:40 +03:00
Georgiy
d1da63569b Fix setting recurrence-id for expanded items. test for report with expand
finished
2024-04-01 19:54:25 +03:00
Georgiy
513415d201 start creating test for rrule expand property, fix expand processing 2024-04-01 19:27:59 +03:00
Unrud
1a78114a56 Compare network location with port 2023-03-08 15:49:45 +01:00
Tobias Brox
7d4a0fe70e Test code for category search issue (ref https://github.com/Kozea/Radicale/issues/1280 and https://github.com/Kozea/Radicale/issues/1125) 2023-03-05 17:19:08 +01:00
Unrud
ed8a2284a4 Test calendar with case-sensitive-UIDs 2022-03-30 22:27:05 +02:00
Unrud
580b97fa0f Remove special cases for python < 3.6 2022-02-01 17:56:02 +01:00
Unrud
2cbbd4dc9c Warning instead of error when base prefix ends with '/'
Workaround for #1210
2022-01-26 22:06:09 +01:00
Unrud
e4cc73098a Redirect …/.well-known/{caldav,carddav} to /
Closes #1200
2022-01-22 18:23:03 +01:00
Unrud
17a5e5b6e0 Verify that base_prefix starts with '/' 2022-01-22 00:34:38 +01:00
Unrud
3763ed46c4 Error if SCRIPT_NAME ends with '/' 2022-01-21 19:56:57 +01:00
Unrud
7fde7d5005 Test X-Script-Name 2022-01-21 19:56:56 +01:00
Unrud
4ed77cabc6 Only redirect to sanitized path under /web 2022-01-18 18:20:15 +01:00
Unrud
e0adecf30c Tests: Check Location header and body for redirects 2022-01-16 13:09:13 +01:00
Unrud
402bd3580e Tests: Simplify HTTP status check 2022-01-16 13:07:56 +01:00
Unrud
75df1093be Workaround for broken contact PHOTO from InfCloud
See issue #1205
2022-01-15 23:44:00 +01:00
Unrud
4a0bcde7a3 Set Content-Length for HEAD requests 2022-01-15 22:33:55 +01:00
Unrud
b93842b10c Redirect GET and HEAD requests to sanitized path 2022-01-15 22:33:55 +01:00
Unrud
a20791e0c3 Convert EXDATE and RDATE to same type as DTSTART
Fixes #1146
Closes #1199
2021-12-20 00:55:39 +01:00
Unrud
91c06041f8 Split storage from base tests 2021-12-11 12:59:44 +01:00
Unrud
4b5165dc42 Extract method configure 2021-12-10 20:54:04 +01:00
Unrud
208ae11683 Rename BaseFileSystemTest to BaseStorageTest 2021-12-10 16:03:06 +01:00
Unrud
e38ae96227 Cosmetics 2021-12-09 19:15:23 +01:00
Unrud
bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud
f14e1de071 Add multifilesystem_nolock storage 2021-12-09 16:55:46 +01:00
Unrud
60f25bf19a Type hints for tests 2021-09-26 22:24:45 +02:00
Unrud
cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud
73e42f8101 Enable static type checking 2021-09-26 22:24:45 +02:00
Unrud
ca27156605 More tests
for PROPPATCH, PROPFIND, MKCALENDAR and MKCOL
2020-09-26 22:08:22 +02:00
Unrud
e0247f8f92 Cosmetics 2020-05-24 13:41:08 +02:00
Unrud
d3b90506f5 Add tests for conflicting UIDs and overwriting of items 2020-05-24 13:19:29 +02:00
Unrud
b9bb017edf Test current-user-principal prop authentication workaround 2020-05-24 13:19:29 +02:00
Unrud
3be9a22a91 Fix XML error messages
Fixes #825
2020-05-22 16:34:02 +02:00
Unrud
9bd852ba5e Remove duplicated code 2020-04-22 19:20:36 +02:00
Unrud
d73a308294 Cosmetics 2020-04-22 19:20:30 +02:00
Unrud
9c622b57d5 Allow callable in configuration for plugin.type
Example:

```python3
\# Load default configuration
my_config = config.load()

\# Pass a class directly
my_config.update({"auth": {"type": MyAuth}})

\# Pass an object directly
my_rights = MyRights()
my_config.update({"rights": {"type": lambda config: my_rights}})

app = Application(my_config)
````
2020-04-09 22:01:35 +02:00
Unrud
180e96b332 Move internal options to other sections 2020-02-19 09:50:36 +01:00
Unrud
5371be2b39 Mark internal configuration options and sections with underscore 2020-02-19 09:50:27 +01:00
Unrud
fc180266d5 Improve tests
- Parse and verify XML responses
- Extract methods for common requests
2020-01-20 09:47:51 +01:00
Unrud
e11661ff3e Protect against XML DOS attacks
Only XML content from authenticated users is parsed.
2020-01-19 21:07:54 +01:00
Unrud
866aa34f54 Cosmetic changes 2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026 Cosmetic changes (pylint) 2020-01-17 12:59:14 +01:00
Unrud
ed72e697de Tests: Use absolute imports 2020-01-15 18:44:00 +01:00
Unrud
1bd93a2947 Fix filesystem folder creation 2020-01-15 06:39:59 +01:00
Unrud
514cd2b7cd Test default sync implementation 2020-01-15 01:27:41 +01:00
Unrud
caf5ff1080 Change default value for external users 2020-01-12 23:32:26 +01:00