Commit graph

2687 commits

Author SHA1 Message Date
Travis Ralston
374ec00046 Convert things that mention "Transaction" to swagger
There's two kinds of transactions currently: one with EDUs and one without. The one with EDUs is only used on /send, however the schema is still somewhat worth splitting out for simplicity.

The examples are brought apart to make them slightly more reusable for when they get dumped into the relevant sections of the spec (see TODO in server_server_api.rst)

Further, the Transactions stuff introduces tuples to the spec. The units.py has been updated to support this.
2018-07-11 16:52:27 -06:00
Travis Ralston
808a82e811
Merge pull request #1397 from turt2live/travis/text-format
Document message formats as-is
2018-07-11 08:10:26 -06:00
Travis Ralston
c999b7c2e2 Add newsfragment 2018-07-10 13:00:37 -06:00
Travis Ralston
55e4e90ab1 Document message formats as-is
This is likely to later be replaced by mixins, however this is being documented now so clients aren't left in the dark.

Fixes https://github.com/matrix-org/matrix-doc/issues/917
2018-07-10 12:52:11 -06:00
Travis Ralston
c79010f0d6
Merge pull request #1365 from turt2live/travis/cors
Document the CORS/preflight headers
2018-07-10 08:35:37 -06:00
Travis Ralston
423d5593f5 Generify how OPTIONS and CORS are handled 2018-07-09 15:40:03 -06:00
Travis Ralston
44db84f3d8
Merge pull request #1371 from turt2live/travis/all-the-auth
Getting presence requires authentication
2018-07-09 10:31:40 -06:00
Travis Ralston
d7a979da63 Merge remote-tracking branch 'matrix-org/master' into travis/all-the-auth 2018-07-06 11:33:24 -06:00
Travis Ralston
dd9414472b Merge remote-tracking branch 'matrix-org/master' into travis/cors 2018-07-06 08:51:32 -06:00
Travis Ralston
e1885e4cd3
Merge pull request #1362 from turt2live/travis/spec-reason
Explicitly declare that the kick/ban reason will be on the membership event
2018-07-06 07:06:50 -06:00
Travis Ralston
e7a6ff1064
Merge branch 'master' into travis/spec-reason 2018-07-06 07:02:11 -06:00
Travis Ralston
1722734a51
Merge pull request #1364 from turt2live/travis/server-name-join
Document the server_name query parameter on /join/{roomIdOrAlias}
2018-07-06 07:00:24 -06:00
Will Hunt
ff3c379339
Merge pull request #1189 from Half-Shot/hs/upload-limits
GET media/config 🎉
2018-07-06 11:37:35 +00:00
Will Hunt
77f4ac54aa
Wordy intro sentence for description 2018-07-06 10:36:17 +01:00
Will Hunt
2e6cc8045c
Better indent of description 2018-07-06 10:29:05 +01:00
Will Hunt
d5ce87e956
Split summary up into description and summary 2018-07-06 10:27:03 +01:00
Richard van der Hoff
3f8aa2eccd
Merge pull request #1369 from turt2live/travis/apis-unstable
Clearly say that the server/server API is unstable and subject to change
2018-07-05 20:38:35 +01:00
Richard van der Hoff
f9a0a49e96 Add a bunch more people to the speculator trusted list 2018-07-05 20:27:40 +01:00
Travis Ralston
4485b2f025
Merge branch 'master' into travis/server-name-join 2018-07-05 11:23:13 -06:00
Travis Ralston
9abbbfb81e
Merge pull request #1378 from turt2live/travis/dont-forget-to-leave
Document that clients must leave before forgetting rooms
2018-07-05 11:03:15 -06:00
Travis Ralston
c1c1f28c79
Merge branch 'master' into travis/dont-forget-to-leave 2018-07-05 10:55:48 -06:00
Travis Ralston
3935861445
Merge pull request #1380 from turt2live/travis/define-roomevent
Define RoomEvent on /rooms/{roomId}/messages
2018-07-05 10:54:54 -06:00
Travis Ralston
f98f603048
Merge pull request #1381 from turt2live/travis/general-clarifications
Rename some titles to avoid confusion between request and response schemas
2018-07-05 10:54:22 -06:00
Travis Ralston
16860ddd22 De-quote 2018-07-05 10:46:53 -06:00
Travis Ralston
887a6fb18f
Merge pull request #1336 from remram44/patch-1
Consolidate backwards-compatible client changes
2018-07-05 10:35:16 -06:00
Travis Ralston
0867ab2365 Add to changelog 2018-07-04 20:14:19 -06:00
Kitsune Ral
dfdc5f9bef search.yaml: Rename some titles to avoid confusion between request and response schemas
Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
2018-07-04 20:11:08 -06:00
Travis Ralston
436b410698 Document the error code when someone tries to forget a room they are in 2018-07-04 20:02:30 -06:00
Travis Ralston
e0cdfd8897
Merge branch 'master' into patch-1 2018-07-04 19:43:58 -06:00
Travis Ralston
95e8f1bdde Add to changelog 2018-07-04 19:21:03 -06:00
Travis Ralston
a19bbc8089 Add to changelog 2018-07-04 15:32:53 -06:00
Travis Ralston
9e796192e4 Document that clients must leave before forgetting rooms
Fixes https://github.com/matrix-org/matrix-doc/issues/1011
2018-07-04 15:31:23 -06:00
Travis Ralston
05c85fd840 Spec the 403 on GET /presence/{userId}/status 2018-07-04 14:37:21 -06:00
Travis Ralston
0779d81e52 Clarify which requests should have CORS headers
Spoilers: all of them.
2018-07-04 14:30:39 -06:00
Travis Ralston
67e74bd8c5 Merge remote-tracking branch 'matrix-org/master' into travis/cors 2018-07-04 14:20:53 -06:00
Kitsune Ral
981d1004bc Add a missing $ref 2018-07-04 14:14:52 -06:00
Travis Ralston
442ad99727
Merge pull request #1273 from QMatrixClient/content-repo-use-default
Add 'default' to formally enforce the description
2018-07-04 14:01:36 -06:00
Travis Ralston
b61fe20171 Add to changelog 2018-07-04 13:02:32 -06:00
Travis Ralston
1f12637d3f Getting presence requires authentication 2018-07-04 12:23:51 -06:00
Travis Ralston
2fc2926461 Clearly say that the server/server API is unstable and subject to change 2018-07-04 11:33:51 -06:00
Travis Ralston
eb0a8c06ce
Merge pull request #1361 from turt2live/travis/spec-get-login
Document the GET version of /login
2018-07-04 08:10:09 -06:00
Travis Ralston
8bd1fe9908
Merge pull request #1357 from turt2live/travis/fix-windows
Use filepath.To/FromSlash instead of manually replacing slashes
2018-07-04 08:09:43 -06:00
Matthew Hodgson
d02e9b875b
Merge pull request #1355 from matrix-org/benpa/travisci-ignore-proposals
don't run proposals.py step if in TravisCI environment
2018-07-04 00:04:25 +01:00
Matthew Hodgson
4ce61c9f04
Merge pull request #1360 from turt2live/travis/trust-more-people
Add uhoreg and myself as trusted speculator people
2018-07-04 00:00:20 +01:00
Travis Ralston
a6b0125da6 Our swagger doesn't support explode yet 2018-07-03 16:19:31 -06:00
Travis Ralston
b8c8d85926 Add to changelog 2018-07-03 16:18:04 -06:00
Travis Ralston
4ca54404fa Document the CORS/preflight headers
Fixes https://github.com/matrix-org/matrix-doc/issues/1006
2018-07-03 16:15:55 -06:00
Travis Ralston
625913d797 Add to changelog 2018-07-03 15:53:43 -06:00
Travis Ralston
cbbdcbcf01 Show arrays in the query string as "[type]" rather than "array"
Otherwise the question "array of what?" is raised.
2018-07-03 15:50:01 -06:00
Travis Ralston
d279fdafa6 Document the server_name query parameter on /join/{roomIdOrAlias}
Fixes https://github.com/matrix-org/matrix-doc/issues/904
2018-07-03 15:49:16 -06:00