Commit Graph

6475 Commits (79aeaf552390832b431cf318f3a6fcb9b96da8b2)
 

Author SHA1 Message Date
Andrew Ferrazzutti 79aeaf5523 Mention single-URL management as an alternative
and list it as what the Synapse implementation currently uses
1 month ago
Andrew Ferrazzutti 061dd566ad Reintroduce unauthed management for delegation
Also:
- split them into one endpoint per management action
- propose alternative of OAuth 2.0 scoped access for the endpoints
1 month ago
Andrew Ferrazzutti e2af939e75 Note deviations in Synapse implementation 1 month ago
Andrew Ferrazzutti c19a394d81 Apply batch size to not just finalised events 2 months ago
Andrew Ferrazzutti 9db80580a3 Limit cached finalised events per user, not global 2 months ago
Andrew Ferrazzutti eb0a50487b Always require origin_server_ts on finalised evts
It is either the send time, or the cancel/error time
2 months ago
Andrew Ferrazzutti a53f83f6a0 Fix typo 2 months ago
Andrew Ferrazzutti 0a18141da8 Update all spec links to v1.16 2 months ago
Andrew Ferrazzutti d6c065e8d5 Fix swapped links to /send and /state 2 months ago
Andrew Ferrazzutti cdcddd2eae Reduce emphasis on state events
but state events are still used in the MatrixRTC section
2 months ago
Andrew Ferrazzutti 76d015a3df Don't return 400 for multiple `status` parameters 2 months ago
Andrew Ferrazzutti 33af637e2e Tweak formatting & wording of `status` section 2 months ago
Andrew Ferrazzutti 2f4a73a30a Remove rendundant & stale table of contents
Redundant because GitHub's Markdown viewer provides its own ToC.
Stale because some of the headings refered to absent sections.
2 months ago
Andrew Ferrazzutti 24d1c7dbcf Tweak spelling/format 2 months ago
Andrew Ferrazzutti 4bb8929858 Move M_CANCELLED_BY_STATE_UPDATE out of main spec 2 months ago
Andrew Ferrazzutti 3efecea123 Move delayed state event cancelling to alternative 2 months ago
Andrew Ferrazzutti f167eb4d53 Tweak wording/spelling/format 2 months ago
Andrew Ferrazzutti 59392f28ba Allow GET endpoint to filter on ID 2 months ago
Andrew Ferrazzutti 1359f2b674 Merge /scheduled and /finalised as query params 2 months ago
Andrew Ferrazzutti 6afd0f3a85 Use opaque identifier grammar for delay_id 2 months ago
Andrew Ferrazzutti 8c5b612f77 Add send time as alternative to `running_since` 2 months ago
Andrew Ferrazzutti 2afcebbac0 Merge GET endpoints to avoid namespace clash 2 months ago
Andrew Ferrazzutti 1036165844 Explain `outcome` and `reason` on finalised events 2 months ago
Andrew Ferrazzutti c2587feb3a Specify missing HTTP response codes 2 months ago
Andrew Ferrazzutti ba78cde10f Specify delay_id grammar 2 months ago
Tulir Asokan 64f6dfcfa8 Define retrying and responses for managing delayed events
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2 months ago
Tulir Asokan 0d7821aa3a Add syncing failed delayed events to alternatives
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2 months ago
Tulir Asokan e532e93183 Remove optional wording of limits
They're mandated by the security considerations section

Signed-off-by: Tulir Asokan <tulir@maunium.net>
2 months ago
Tulir Asokan fd94c18f85 Editorial fixes
* remove link to MSC4143 text that will probably break when the MSC is merged
* add missing words to M_NOT_FOUND case
* allow ratelimiting on management endpoints
* mandate limits without mandating using a config file
* add stable feature flag
* allow rounding delays

Signed-off-by: Tulir Asokan <tulir@maunium.net>
2 months ago
Andrew Ferrazzutti 2f536614e8
Constrain delay value to >0ms
Co-authored-by: Travis Ralston <travisr@matrix.org>
2 months ago
Timo bf5df9b002 fix synapse and MSC inconsistency 5 months ago
Timo dc5fd93bf3 formatting/cleanup 5 months ago
Timo 99b79bab8c remove `on push` delayed event finilization section 5 months ago
Timo 96f9063cf5 clarify why there is no rate limiting for the delayed event management endpoint. 5 months ago
Timo c25e5a3970 Add rate limit section to `GET` `finalized` and `scheduled` endpoint 5 months ago
Timo 904e3d6b2a review trivial changes 5 months ago
Timo 3358138ba2 use current MatrixRTC MSC types. 5 months ago
Andrew Ferrazzutti d1a37f06fd Define finalised events for /sync & /transactions
Also define a sync filter
1 year ago
Andrew Ferrazzutti 72a808e620 Allow servers to discard returned finalised events 1 year ago
Andrew Ferrazzutti a09a883d9a Minor formatting changes 1 year ago
Andrew Ferrazzutti 0a777f4a86 Change example of "canceled" outcome to "cancel" 1 year ago
Andrew Ferrazzutti 8dc05a4904 requried -> required 1 year ago
Timo b499995413 andrews changes 1 year ago
Timo b8e317f0c2 terminated -> finalised 1 year ago
Timo f7e4e9ba56 Clean up iteration with two significant changes:
- we have two GET endpoints `/shedueled` `/terminated` now.
 - The rule for when a state delayed event is cancelled changed to include a sender user condition.
1 year ago
Timo da3d75e5fe remove batch sending endpoint since that does not make sense in the short term and longer term send_pdus is the better solution. 1 year ago
Timo 9d5c93a051 use case specific considerations details 1 year ago
Timo 2f57b0b024 add terminated events section to GET endpoint 1 year ago
Timo 28970ec477 remove all references to future (except where we actually talk about the future and not future_events) 1 year ago
Andrew Ferrazzutti caece4d671 Scope GET to only the requesting user's events 1 year ago