Commit 7c52767
authored
Bugfixes, workarounds and Bedework test server
I introduced Bedework test server, and had another multi-day-session of "banging on things until all tests pass" - and while doing so, tons of different commits on different things gets added to the same pull request. I've asked Claude to rebase it into some few well-organized commits, but i'm not much happy with the result, so I will again make a jumbo-commit.
My own non-AI-assisted summary of the changes introduced in this pull request looks like this:
Test framework:
* Changes in the github workflow and test suite to run tests towards bedework. The bedework docker container is quite straigth forward, comes up with some default test user and password, no extra dependencies. But it's very old, not maintained and quite buggy.
* Lots of tweaks in the test code to get it pass on Bedework and all the other servers
* Fix for SOGo - tests didn't want to run with github runners.
Code logic:
* Due to the previous changeset with transparent workarounds for servers not supporting sync-tokens, my compatibility check script started reporting that all servers supported sync-tokens. To revert to the old behaviour, I needed to add a disable_fallback parameer to the objects_by_sync_token method.
* Continued massaging and bugfixing on the compatibility_hints.py.
- Added synology compatibility matrix
- Added bedework compatibility matrix
- Lots of "unsupported" stuff has been reclassified into "ungraceful".
- Some more features added to the definitions
- Bugfix in FeatureSet constructor.
* Downgraded an annoying "CRITICAL" to "INFO" (some servers sends unexpected content-type on errors or empty responses)
* Workaround to handle Bedework in search - Bedework does not handle the component filter right - if asking for events, it will send everything, and when askin
g for todos it will send ... nothing! There is now a workaround in the search algorithm.
* If the server can't do text-searches, then we should use client-side filtering of completed tasks.
* Bugfix to the auto-discover URL code - it did not work very well together with the "read the URL from the compatibility_hints.py" logic
The AI-generated summary of this jumbo-commit will be added as a comment to the github pull request at #5841 parent 2ce2278 commit 7c52767
File tree
14 files changed
+487
-130
lines changed- .github/workflows
- caldav
- tests
- docker-test-servers/bedework
14 files changed
+487
-130
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
78 | 89 | | |
79 | 90 | | |
80 | 91 | | |
| |||
209 | 220 | | |
210 | 221 | | |
211 | 222 | | |
212 | | - | |
| 223 | + | |
| 224 | + | |
213 | 225 | | |
214 | 226 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | 227 | | |
| 228 | + | |
225 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
229 | 238 | | |
230 | 239 | | |
231 | | - | |
| 240 | + | |
232 | 241 | | |
233 | 242 | | |
234 | 243 | | |
| |||
246 | 255 | | |
247 | 256 | | |
248 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
249 | 279 | | |
250 | 280 | | |
251 | 281 | | |
252 | 282 | | |
253 | 283 | | |
254 | 284 | | |
| 285 | + | |
255 | 286 | | |
256 | 287 | | |
257 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
1144 | | - | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
1145 | 1148 | | |
1146 | 1149 | | |
1147 | 1150 | | |
| |||
1164 | 1167 | | |
1165 | 1168 | | |
1166 | 1169 | | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
1167 | 1174 | | |
1168 | 1175 | | |
1169 | 1176 | | |
1170 | 1177 | | |
1171 | 1178 | | |
1172 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
1173 | 1182 | | |
1174 | 1183 | | |
1175 | 1184 | | |
| |||
1210 | 1219 | | |
1211 | 1220 | | |
1212 | 1221 | | |
| 1222 | + | |
| 1223 | + | |
1213 | 1224 | | |
1214 | 1225 | | |
1215 | 1226 | | |
| |||
0 commit comments