Commit graph

1928 commits

Author SHA1 Message Date
Richard van der Hoff 66a50855ff Merge branch 'rav/e2e_guide'
Land the E2E implementation guide
2016-10-18 16:06:56 +01:00
Richard van der Hoff e77dc0bd4c Add E2E implementation guide 2016-10-18 16:01:01 +01:00
Richard van der Hoff 2ec43a5948 Add continuserv index
Oops, forgot this when adding support for the API docs to continuserv in
bfb65d8.
2016-10-14 17:57:07 +01:00
Richard van der Hoff d41438605d Use matrix.org for swagger UI
In the swagger UI, default to matrix.org rather than localhost, to make the UI
more useful.
2016-10-14 17:56:26 +01:00
Richard van der Hoff 33191e5555 Better examples 2016-10-14 15:57:52 +01:00
Richard van der Hoff dfbe416490 Better types for additionalProps
recurse down the definitions for additionalProps, so that the types are better
2016-10-14 15:57:52 +01:00
Richard van der Hoff aefe8f9430 Merge pull request #409 from matrix-org/rav/better_response_examples
Better support for examples in responses
2016-10-14 12:24:38 +01:00
Richard van der Hoff 57611ec523 More example formatting improvements
Generate more realistic example integers, and do some sanity checks on other
examples.
2016-10-14 12:20:00 +01:00
Richard van der Hoff b12b38d680 regrandfather json-formatted example params 2016-10-14 11:47:34 +01:00
Richard van der Hoff af84ca09a0 Better support for examples in responses
Walk the response schema to generate examples.
2016-10-14 11:17:06 +01:00
Richard van der Hoff 0f5e924ac9 Merge pull request #408 from matrix-org/rav/more_ordering_fixes
More ordering fixes
2016-10-14 10:37:18 +01:00
Richard van der Hoff d16385a74f More ordering fixes
We were breaking the ordering of objects defined by allOf reference
2016-10-14 10:33:23 +01:00
Richard van der Hoff bfb65d8ceb Serve the API docs with continuserv 2016-10-13 23:54:08 +01:00
Richard van der Hoff 28e7fcbeee Merge pull request #407 from matrix-org/rav/order_properties
Order props in the spec the same as the API
2016-10-13 22:15:43 +01:00
Richard van der Hoff e8915215a2 Merge pull request #405 from matrix-org/dbkr/push_examples_api_path
Fix API path in pushrules examples
2016-10-13 22:13:24 +01:00
Richard van der Hoff c66a83c9ff Order props in the spec the same as the API
Use an OrderedDict when reading the api docs so that properties defined in the
API are rendered in the same order in the spec.
2016-10-13 22:10:14 +01:00
Richard van der Hoff cfbee938b0 changelog: Fix a couple of punctuations 2016-10-13 18:06:43 +01:00
Richard van der Hoff 22777970da Fix speculator link
the link to the 'latest version' was broken
2016-10-13 17:56:53 +01:00
Richard van der Hoff f78e28ade1 Merge pull request #406 from matrix-org/rav/tmpl_work
Various spec templating fixes
2016-10-13 17:45:17 +01:00
Richard van der Hoff 93894ebbbe Fix spurious "None" in non-room events
Events like m.direct and m.tag don't inherit from either Message event or State
event, and were getting a "None" where there should have been a type.
2016-10-13 17:23:11 +01:00
Richard van der Hoff 3dd0fcabb3 Render the body of response objects with inheritance 2016-10-13 17:11:18 +01:00
David Baker 41f4661d1b Fix API path in pushrules examples 2016-10-13 15:14:29 +01:00
Oddvar Lovaas 09b568756c Merge pull request #403 from uhoreg/patch-1
s/vector/riot/
2016-10-13 14:56:25 +01:00
Hubert Chathi c26ed86215 s/vector/riot/
Replace references to Vector with Riot (when appropriate).
2016-10-12 23:20:55 -04:00
Richard van der Hoff 2b0b5ffeb8 Merge pull request #401 from matrix-org/rav/underscore_api_convention
Document convention of using underscores in APIs
2016-10-12 11:50:31 +01:00
Richard van der Hoff cbc5774ade JSON key names also use underscores. 2016-10-12 11:37:41 +01:00
Richard van der Hoff 8523af1385 Document convention of using underscores in APIs
Everybody has agreed to it. Now we just have to remember to do it.
2016-10-12 10:29:53 +01:00
Matthew Hodgson fcf47386e9 Merge pull request #400 from rrix/rr/fix-my-urls
Fix URLs pointing to Ryan Rix's projects
2016-10-12 09:07:48 +01:00
Ryan Rix 4791c83ce8 Polynomial 2016-10-11 20:24:48 -07:00
Ryan Rix d2d9d7a399 mcat 2016-10-11 20:23:51 -07:00
Ryan Rix 799ca22bb2 Feedbot 2016-10-11 20:22:59 -07:00
Ryan Rix a52ab39e7f Lightrix 2016-10-11 20:22:28 -07:00
Ryan Rix cce8c7ed4b mclient.el 2016-10-11 20:18:08 -07:00
Richard van der Hoff 7ed7944ddc Merge pull request #399 from matrix-org/dbkr/identity_api_right_path
Use the right path for the identity API
2016-10-10 11:32:40 +01:00
David Baker 8cd92211fb Merge pull request #398 from matrix-org/rav/uia_fallback_postmessage
window.postmessage for Interactive Auth fallback
2016-10-10 10:23:08 +01:00
David Baker 49ee00c361 Use the right path for the identity API 2016-10-07 18:17:45 +01:00
Richard van der Hoff 6c88d698ae uia fallback example: check event origin 2016-10-07 16:26:28 +01:00
Richard van der Hoff e850fd718d window.postmessage for Interactive Auth fallback
Require that User-Interactive auth fallback pages call
`window.postMessage` to notify apps of completion.
2016-10-06 19:54:49 +01:00
Richard van der Hoff 42616f839c Merge pull request #396 from matrix-org/dbkr/notifs_api
Spec notifs API
2016-10-06 17:21:47 +01:00
Richard van der Hoff 909aef2b18 Merge pull request #389 from matrix-org/erikj/create_room_is_direct
Spec /createRoom is_direct flag, is_direct in member event and m.direct
2016-10-06 17:19:48 +01:00
Richard van der Hoff 83b89aa1ce dm: clarify client behaviour 2016-10-06 17:17:35 +01:00
David Baker e0a434b248 Aaha, found a syntax that swagger will accept! 2016-10-06 11:20:05 +01:00
David Baker ed2d364440 consistency 2016-10-06 11:17:43 +01:00
David Baker 96b6fb0129 'In the m.room.member' event 2016-10-06 11:16:56 +01:00
David Baker 301595c071 Linkify account_data API
Also change other links because it turns out the .. isn't part
of the syntax
2016-10-06 11:15:44 +01:00
David Baker e2736ba167 Linkify createroom in changelog too 2016-10-06 10:12:08 +01:00
David Baker bd753d4bf4 Re-add required flags the correct way 2016-10-05 18:53:08 +01:00
David Baker af2c74c186 Revert requireds
They're not boolean flags for object fields
2016-10-05 18:50:14 +01:00
David Baker 14944fe237 More PR feedback 2016-10-05 18:26:42 +01:00
David Baker fd8c1a43c7 ms, not s. Also add required flags 2016-10-05 18:22:03 +01:00