Kegan Dougal
c19bced03d
Update jsfiddles to have more helpful error messages when there is no connection when logging in.
10 years ago
Kegan Dougal
07399b0966
Added demo.details
10 years ago
Kegan Dougal
5614f7051b
Updated howto.rst to use the new APIs. Updated JSFiddles to use 8008. Linked new fiddles with howto.rst. Added more explanations.
10 years ago
Matthew Hodgson
ca0a642e66
change the world: make the default matrix API URL prefix /_matrix rather than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions.
...
perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
10 years ago
Kegan Dougal
1f3811b1b8
Fix JSFiddles to work with the new C-S API.
10 years ago
Kegan Dougal
d5da30422c
Added final jsfiddle: an example app demonstrating most of the c2s api.
10 years ago
Kegan Dougal
eee7cd7730
Added more jsfiddles.
10 years ago
Kegan Dougal
8fb3367238
More fiddles, more fun!
10 years ago
Kegan Dougal
3dafe4133c
Added registration/login jsfiddle, formatted so it can be loaded directly from jsfiddle. Requires jQuery 1.8.3
10 years ago
Kegan Dougal
0e2a3a892f
Presence modifications from MatrixPresence notes.
...
- Idle is no longer a flag but a full state like online|offline.
- Clarify status examples.
- Add device ID to presence state API given it is per device.
- Add note on device specificity on event stream presence parameter.
- Add global appear-offline API.
10 years ago
Matthew Hodgson
9a9d4b15d2
Merge pull request #8 from matrix-org/spec-18
...
Add spec for m.notice (SPEC-18)
10 years ago
Paul "LeoNerd" Evans
a9a4c46a57
Add spec for m.notice (SPEC-18)
10 years ago
Kegsay
bd48e4ab6d
Move invite data to a note
...
Done in order to clarify that this API "should probably have something like this" rather than "will have this".
10 years ago
Kegsay
e309db547a
Specifically reference join_rules
...
In reference to SPEC-63
10 years ago
Kegsay
03eaa21508
Add blurb on invites for initialSync
10 years ago
Kegsay
51a7681ece
Merge pull request #4 from matrix-org/use-cases
...
Add Client-Server v2 General API Design
10 years ago
Kegsay
fcbdc39674
Add section on device IDs for reg/login
...
Final cleanup before merge
10 years ago
Kegsay
ccf8408e92
More tweaks from comments
10 years ago
Kegsay
31deddccdf
Add presence API from notes
10 years ago
Kegsay
90dfee1c27
Remove TODO note on regex
10 years ago
Kegsay
23d3e50812
Add use case justification for regex
10 years ago
Kegan Dougal
62471348ca
This is a comment, not a directive. Remove ::
10 years ago
Kegan Dougal
109c8a97a8
Use title heading sizings of =,-,~,+ since that is what most of our docs use. Inconsistent use breaks when you try to merge them.
10 years ago
Kegsay
7a2b6abee5
Flesh out ID conventions
...
Going down the API route.
10 years ago
Erik Johnston
5279541c28
Update erikj_federation.rst
...
Update state resolution rules to indicate what you should do if none of the merged events are allowed by the newly merged auth events.
10 years ago
Kegsay
3b35e95630
Tweaks based on feedback
10 years ago
Kegsay
61b8664286
Clarify profile propagation section more
10 years ago
Kegsay
a1964b466b
Add profile propagation notes
...
After much IRL discussion
10 years ago
Kegsay
ef0091f3f2
Remove session section
...
This is no longer required.
10 years ago
Kegsay
ae0fb938ad
Update IRC example to reflect new room ID
10 years ago
Kegsay
117b090192
Add registration API extension.
...
For AS provisioning of users with its namespace.
10 years ago
Kegsay
603361bfd6
Update user and room query APIs
...
Expect the AS to create these entities, rather than the HS.
10 years ago
Erik Johnston
38efa9c5c2
Reword auth resolution section
10 years ago
Erik Johnston
91aba39fe7
Reword note about auth chains
10 years ago
Erik Johnston
5f99858575
Mention possible types for auth events.
10 years ago
Erik Johnston
bb968e5bdd
Clarify m.room.create auth
10 years ago
Kegsay
828d6992e5
Small thoughts about the IRC example.
10 years ago
Kegsay
bd6fc4b5bf
Add draft Pushing API. Add Examples section.
...
Work through an IRC example; raise issues in the notes
section. Add retry notes on HS>AS API calls.
10 years ago
Kegsay
1d45dc08ca
Add room query API. Remove linking API.
...
Also add section on ID conventions which need thinking about.
10 years ago
Erik Johnston
78a697c535
Briefly touch on how to handle incoming events
10 years ago
Erik Johnston
406742afaa
A few notes on how we could do state resolution of auth events
10 years ago
Erik Johnston
4b76181f74
Rearrange sections
10 years ago
Kegsay
f33b722e4b
More clarifications
...
s/as_token/access_token/ for CS extensions. Clarify when room queries are made.
10 years ago
Kegsay
1b3e27a05a
Add Linking HTTP API
...
Also add note on masquerading problem.
10 years ago
Kegsay
0313397e42
Clarification on IDs
...
Specifically using the term "virtual user ID" in more places to mean the namespace of AS user IDs.
10 years ago
Kegsay
e0e9beebc0
Add draft Linking API
...
Also re-add sigils to regex.
10 years ago
Kegsay
7d56113b4f
Clarification and tweaks
...
Room ID namespace clarifications and s/as_token/access_token/g for client-server extensions.
10 years ago
Kegsay
d4ea43d2b9
Outline what the CS extensions look like in HTTP
10 years ago
Kegsay
9401d9a62e
Flesh out the required CS extensions
10 years ago
Kegsay
d8cd4a45d4
Modify Register API
...
As per https://github.com/matrix-org/matrix-doc/pull/5#issuecomment-70059200
10 years ago