Commit 9e23cde
As per recent proposals in MSC4140, remove authentication for
restarting/cancelling/sending a delayed event, and give each of those
actions its own endpoint. (The original consolidated endpoint is still
supported for backwards compatibility.)
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))
---------
Co-authored-by: Half-Shot <will@half-shot.uk>
1 parent 4494cc0 commit 9e23cde
File tree
8 files changed
+198
-212
lines changed- changelog.d
- synapse
- _scripts
- handlers
- rest/client
- storage
- databases/main
- schema
- main/delta/93
- tests/rest/client
8 files changed
+198
-212
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| 277 | + | |
276 | 278 | | |
277 | 279 | | |
278 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
399 | 398 | | |
400 | 399 | | |
401 | 400 | | |
402 | | - | |
| 401 | + | |
403 | 402 | | |
404 | 403 | | |
405 | 404 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | 405 | | |
411 | 406 | | |
412 | 407 | | |
413 | 408 | | |
414 | 409 | | |
415 | | - | |
416 | | - | |
| 410 | + | |
417 | 411 | | |
418 | 412 | | |
419 | 413 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
| 414 | + | |
424 | 415 | | |
425 | 416 | | |
426 | 417 | | |
427 | 418 | | |
428 | | - | |
| 419 | + | |
429 | 420 | | |
430 | 421 | | |
431 | 422 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | 423 | | |
437 | 424 | | |
438 | 425 | | |
439 | 426 | | |
440 | 427 | | |
441 | | - | |
442 | | - | |
| 428 | + | |
443 | 429 | | |
444 | 430 | | |
445 | 431 | | |
446 | 432 | | |
447 | | - | |
448 | | - | |
449 | | - | |
| 433 | + | |
450 | 434 | | |
451 | 435 | | |
452 | 436 | | |
453 | 437 | | |
454 | 438 | | |
455 | | - | |
| 439 | + | |
456 | 440 | | |
457 | 441 | | |
458 | 442 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 443 | | |
464 | 444 | | |
465 | 445 | | |
466 | 446 | | |
467 | | - | |
468 | | - | |
469 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
470 | 450 | | |
471 | 451 | | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 452 | + | |
476 | 453 | | |
477 | 454 | | |
478 | 455 | | |
479 | 456 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 457 | + | |
492 | 458 | | |
493 | 459 | | |
494 | 460 | | |
| |||
611 | 577 | | |
612 | 578 | | |
613 | 579 | | |
614 | | - | |
615 | | - | |
616 | | - | |
| 580 | + | |
617 | 581 | | |
618 | 582 | | |
619 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | | - | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| |||
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
78 | | - | |
| 75 | + | |
79 | 76 | | |
80 | | - | |
| 77 | + | |
81 | 78 | | |
82 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
83 | 134 | | |
84 | 135 | | |
85 | 136 | | |
| |||
108 | 159 | | |
109 | 160 | | |
110 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
111 | 165 | | |
0 commit comments