Commit Graph

2883 Commits (e10770ae8b51a5b1846c36b29e1108f4c65cfaf1)
 

Author SHA1 Message Date
Travis Ralston e10770ae8b
Merge pull request #1475 from turt2live/travis/s2s/event-auth
Document /event_auth and /query_auth
7 years ago
Richard van der Hoff eb45419431
Merge pull request #1490 from matrix-org/dbkr/room_tag_grammar
Fix grammar in room tag spec
7 years ago
Matthew Hodgson f14640acf2
Merge pull request #1491 from florianjacob/1472-spelling-mistake
Fix minor spelling mistake in event retrieval endpoints
7 years ago
Florian Jacob e7cebf670e Fix minor spelling mistake from #1472
Signed-off-by: Florian Jacob <projects+git AT florianjacob )DOT( de>
7 years ago
David Baker 803ef536ba Fix grammar in room tag spec
Have removed the second clause about how the client interprets them:
I was trying to think how to rephrase it but I think in reality it's
probably just redundant.
7 years ago
Will Hunt 6dbbe1b838
Merge pull request #1486 from turt2live/travis/words
Fix wording from bad merge
7 years ago
Travis Ralston dcb39f8890 Fix wording from bad merge 7 years ago
Will Hunt 12692f62e7
Merge pull request #1382 from Half-Shot/hs/dns-to-be-hostname
Replace mentions of DNS name with hostname
7 years ago
Will Hunt c826edf23b Remove dns_name from S2S Api 7 years ago
Will Hunt 7a46bdae02
Spacing 7 years ago
Will Hunt 632101dcde
Merge branch 'master' into hs/dns-to-be-hostname 7 years ago
Travis Ralston dea16e9bbd
Merge pull request #1443 from turt2live/travis/s2s/query
Combine all queries into their own section
7 years ago
Travis Ralston 13a2b54bf9 query_auth consumes JSON 7 years ago
Travis Ralston 73958ecbff Document /event_auth and /query_auth
/event_auth is a fairly easy endpoint to determine the use case of. /query_auth is a little harder to investigate and has a fairly interesting purpose: it appears to be used for the sending server to admit defeat and shop around for the right auth chain, correcting it's own perspective as it goes.

/query_auth is based off the following research points in synapse:
* 43ecfe0b10/synapse/handlers/federation.py (L1947-L1990)
* 43ecfe0b10/synapse/handlers/federation.py (L2049-L2187)
* 43ecfe0b10/synapse/handlers/federation.py (L1716-L1761)
* 43ecfe0b10/synapse/federation/federation_server.py (L393-L446)
* https://github.com/matrix-org/synapse/blob/master/synapse/federation/transport/server.py#L482-L487
7 years ago
Travis Ralston 6b67d501e4
Merge branch 'master' into travis/s2s/query 7 years ago
Travis Ralston 329baa1b9d
Merge pull request #1472 from turt2live/travis/s2s/get-event
Document event retrieval endpoints in more detail
7 years ago
Travis Ralston 1578da453b
Merge branch 'master' into travis/s2s/get-event 7 years ago
Travis Ralston 86d7f42173
Merge pull request #1455 from turt2live/travis/s2s/leaving-rooms
Document how leaving rooms/rejecting invites over federation works
7 years ago
Travis Ralston d48f1e1713
Merge pull request #1461 from turt2live/travis/s2s/transactions
Improve documentation on how Transactions work
7 years ago
Travis Ralston e766606f24 join -> leave 7 years ago
Travis Ralston 0b313dbdd9 Don't explain what a 400 Bad Request is 7 years ago
Travis Ralston 05bb7e1050 Spelling and word choice 7 years ago
Travis Ralston 53d4003d3a manual merge of master into travis/s2s/query 7 years ago
Travis Ralston 48972addbf
Merge pull request #1428 from turt2live/travis/s2s/joining-rooms
Improve the documentation for joining rooms
7 years ago
Travis Ralston a9258ed195 an -> a 7 years ago
Travis Ralston 5596243add origin is required 7 years ago
Travis Ralston 8b7bc60367 list -> array 7 years ago
Travis Ralston 9d474bb819 Document event retrieval endpoints in more detail
This also adds a previously-undocumented endpoint: /state_ids

Backfill is technically not part of this section, however it is being left untouched to make the merge with #1469 easier (which moves it out of the file).

Reference material:
* Some calls to synapse on these endpoints with a relatively simple private room.
7 years ago
Travis Ralston b96ee3e393
Merge pull request #1423 from turt2live/travis/s2s/keys
Improve the server key exchange portion of the s2s specification
7 years ago
Andrew Morgan 54a88eebf0
Merge pull request #1414 from matrix-org/anoa/third_party_cleanup
Clarification on third party fields
7 years ago
Ben Parsons 1d019c3757
Merge pull request #1340 from matrix-org/benparsons/prdefence
expect "#<pull-number>" or "/pull/<pull-number>" in PRs field
7 years ago
Ben Parsons d7919b6989 also scrape PRs when the full URL is pasted 7 years ago
Travis Ralston bc3e45d642
Merge pull request #1358 from uhoreg/ignore-emacs-tmp
ignore emacs temporary files
7 years ago
Travis Ralston f5af4d2fb5
Merge pull request #1457 from matrix-org/dbkr/fix_room_tags
Fix room tags spec
7 years ago
Travis Ralston 761b0e4819
Merge pull request #1459 from QMatrixClient/check_examples_windows
Make check_examples.py work on Windows
7 years ago
Travis Ralston 7679b4f1d1 Improve documentation on how Transactions work
The response is based upon various sections of the Synapse code in how it generates a response.

There are no new fields added to the transaction. Originally, `previous_ids` and `pdu_failures` were to be documented however neither of these are used in the real world.
7 years ago
user 5f8967c074 Move TODO. field1, field2... -> fields... 7 years ago
user a2e2ced03b Add reverse-lookup examples. 7 years ago
user d785ac78a3 Remove explode and replace with TODO, require auth on CS 7 years ago
Andrew Morgan 53137a3c53 c/p bug, fix operationIds, move rst docs to md 7 years ago
Andrew Morgan 3e4962f211 Document standardized extensions to OpenAPI v2 7 years ago
Andrew Morgan 273acb277c Change fields to use new extended query array syntax 7 years ago
Andrew Morgan 0ff882fb3b Field definitions for protocol metadata 7 years ago
Kitsune Ral 346db48588 Revert giving get() a default
As per the PR review.

Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
7 years ago
Kitsune Ral c6bfac41c5 Bypass jsonschema references resolver
jsonschema's resolver doesn't work with local files on Windows.
resolve_references only works with the local files (on Windows as well)
but that's exactly what's needed for the case (as long as we don't have
remote references, that is).

Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
7 years ago
Kitsune Ral d17ec7f184 Check that path starts with file://, not file:///
Because file:/// is not a thing on Windows.
7 years ago
Kitsune Ral 2c9f00d37a Follow PEP 8 7 years ago
Kitsune Ral 31687608dc Factor out common code 7 years ago
Travis Ralston 73b0a03b9b Remove more padding 7 years ago
David Baker 2dc51d416d Ignore stuff in `m.` you don't understand 7 years ago