Richard van der Hoff
ec20f15407
/tokenrefresh should expire the access token
...
It's possible for clients to call /tokenrefresh before the access_token has
expired, potentially leading to a proliferation of valid access_tokens.
2016-07-19 09:17:14 +01:00
Richard van der Hoff
2370a4c970
Spell out the state algorithm for createRoom
...
Fixes https://matrix.org/jira/browse/SPEC-429 .
Synapse currently follows the specified ordering, but does *not* give the
specified error when the state is invalid (instead it creates the room anyway
but gives a 403 M_FORBIDDEN). Still, I don't think that should be a real
problem for any real clients, and nothing would break if we changed this in
synapse, so it might as well go in the spec anyway.
2016-07-18 13:01:45 +01:00
Matthew Hodgson
c0490f2db2
cosmetics
2016-07-14 18:25:34 +01:00
Richard van der Hoff
b5f9e896ba
C-S spec: Fix 'unstable' in link to /context API
2016-07-14 16:20:59 +01:00
Richard van der Hoff
a2ab6854ff
CS spec: Add r0.2.0 to historical version list
2016-07-14 15:40:49 +01:00
Richard van der Hoff
ae489260a1
Merge pull request #359 from matrix-org/rav/mxid_grammar
...
Define MXID grammar
2016-07-14 15:16:15 +01:00
Richard van der Hoff
72449294bc
Moar TODO
2016-07-14 15:04:16 +01:00
Richard van der Hoff
a2f1c6a7a6
Add a TODO about defining non-latin login creds
2016-07-14 14:38:04 +01:00
Richard van der Hoff
cdd19dca7f
fix typos
2016-07-13 18:32:29 +01:00
Richard van der Hoff
f942b6e5c1
remove some redundant words
2016-07-13 18:27:40 +01:00
Richard van der Hoff
001db45046
s/mxid/user id/, and other PR feedback.
2016-07-13 18:20:11 +01:00
Richard van der Hoff
e628edfdc6
Define MXID grammar
...
Quick! Write down the decisions on the grammar before we get a chance to change
our minds!
Also some placeholder sections for other types of identifier.
2016-07-13 15:24:31 +01:00
Richard van der Hoff
8ac45d7948
Merge pull request #353 from matrix-org/rav/room_membership
...
Clarify the room-membership APIs
2016-07-13 11:34:14 +01:00
Richard van der Hoff
0c06ea0e67
Merge pull request #356 from matrix-org/rav/fix_redaction
...
Fix name of prev_content to preserve on redactions
2016-07-13 11:14:07 +01:00
Richard van der Hoff
a9d3cfd13c
Merge branch 'master' into rav/link_undeprecated_endpoints
2016-07-13 11:09:53 +01:00
Richard van der Hoff
d92515bce3
Merge pull request #354 from matrix-org/rav/reorder_deprecated_initialsync
...
Move /room/x/initialSync to after the undeprecated APIs
2016-07-13 11:07:11 +01:00
Richard van der Hoff
d8a47dbb5d
Merge pull request #352 from matrix-org/rav/kill_old_sync
...
Remove references to intialSync etc, and rewrite syncing
2016-07-13 10:54:02 +01:00
Richard van der Hoff
49cd65dd58
Add a license to the spec
...
We're licensing hte spec under ASLv2. Add the LICENSE file, and add the
short-form to as much of the source as is practical right now (adding it to
json source is a massive pita).
2016-07-12 17:28:30 +01:00
Richard van der Hoff
1c6eed5c35
Fix name of prev_content to preserve on redactions
...
The field is called prev_content, not prev_state.
2016-07-12 16:34:16 +01:00
Richard van der Hoff
6bcb1798f5
Mark deprecated endpoints with their replacements
...
Fixes https://matrix.org/jira/browse/SPEC-415
2016-07-12 16:18:48 +01:00
Richard van der Hoff
9d267795e0
Move /room/x/initialSync to after the undeprecated APIs
...
It's a bit incongruous to have to read through the deprecated /initialSync to
get to the good stuff. Separate out intialSync so that we can move it later in
the spec.
2016-07-12 15:03:20 +01:00
Richard van der Hoff
885e6797f2
Fix double-negative in room naming
2016-07-12 14:50:49 +01:00
Richard van der Hoff
4118ce6680
Add rationale to /sync
2016-07-12 14:48:03 +01:00
Richard van der Hoff
7186ecba7f
Clarify the room-membership APIs
...
* give join/invite their own subsection
* move ban/unban into the banning section
* document forgettting and kicking
2016-07-12 14:18:48 +01:00
Richard van der Hoff
017935d8e9
Fix typo
2016-07-12 14:15:52 +01:00
Richard van der Hoff
6dfc923c1d
Remove references to intialSync etc, and rewrite syncing
...
The 'Events' section of the C-S spec was full of outdated references to the v1
sync api, which is long dead. (https://matrix.org/jira/browse/SPEC-414 ).
Also, try to clarify why /sync distinguishes state and timeline
(https://matrix.org/jira/browse/SPEC-423 ).
2016-07-12 13:10:36 +01:00
Richard van der Hoff
7b4c21fa77
Add link to room name bug
2016-07-12 11:47:39 +01:00
Richard van der Hoff
d4194dd24e
Clarify the room-naming behaviour
...
Make behaviour on empty `m.room.name` and `m.room.canonical_alias` events
explicit.
2016-07-11 17:49:27 +01:00
David Baker
4812be9142
Missing .
2016-07-07 15:58:20 +01:00
David Baker
ead5648b8c
Add requestToken endpoints
...
For password reset and 3pid adding
2016-07-07 14:52:45 +01:00
David Baker
ef4c03894d
Merge pull request #343 from matrix-org/dbkr/threepid_requesttoken
...
Spec for endpoint-specific 3pid verification token
2016-07-05 15:17:18 +01:00
Richard van der Hoff
df3f4b4ecf
Fix link to draft e2e spec
2016-06-30 18:01:32 +01:00
David Baker
e4db7be8e2
Better structure for error response
...
& add server not trusted error
2016-06-30 16:22:01 +01:00
David Baker
572aa24a88
Add M_THREEPID_IN_USE
2016-06-30 15:40:20 +01:00
David Baker
b0194a3016
Spec for endpoint-specific 3pid verification token
...
As per proposal https://docs.google.com/document/d/13mapDbaOnbob9ZYRDiGm1YbeZhFOBj_R1OvgBA9pA5s/edit?pref=2&pli=1#
2016-06-30 14:50:17 +01:00
Mark Haines
af091ff614
Document changes to the default push rules
2016-06-22 16:34:23 +01:00
Mark Haines
30a3302921
Merge pull request #274 from matrix-org/markjh/default_rules
...
Update the predefined push rules in the spec
2016-06-22 16:14:21 +01:00
Erik Johnston
e80e32173f
Merge pull request #278 from matrix-org/erikj/presence
...
Update presence spec.
2016-06-22 14:08:44 +01:00
David Baker
ec69f04793
Merge pull request #337 from matrix-org/rav/directory_docs
...
Improve documentation of directory API
2016-06-16 14:14:00 +01:00
Richard van der Hoff
7bbb664784
Improve documentation of directory API
2016-06-16 13:58:45 +01:00
David
92bb1c1b43
Update wording as per request from richvdh
2016-06-13 22:59:52 +08:00
David
a7e40bed88
Add powerlevel name to value list
2016-06-13 10:34:16 +08:00
Richard van der Hoff
099d356dfb
Add r0.1.0 to version list in C-S spec
2016-05-13 10:35:22 +01:00
Richard van der Hoff
e7e9f5fa46
Document the /logout api
...
We have one, and it's useful, so we really ought to document it
2016-05-08 22:26:49 +01:00
Richard van der Hoff
3bce28a15c
Clarifications to the 'Client authentication' section
...
* Use the terminology 'login type' everywhere instead of mixing up 'stage type'
and 'login type'
* Don't have a separate 'APIs using the User-Interactive Authentication
mechanism' section, because (a) it doesn't make much sense to organise the
APIs this way, and (b) it was a set of lies anyway.
* Move '/account/password' definition into registration.yaml so that register
and password can share a section in the spec; remove duplicate doc for
/password.
* Write some words on using 3pids for /login
2016-05-06 17:28:35 +01:00
Richard van der Hoff
5cc9066159
Add git versions to other parts of the spec
2016-05-06 09:49:26 +01:00
Richard van der Hoff
01f8173c84
Put each bit of spec in its own directory
...
I want to change the URLs for the spec sections on the website from
<version>/<section>.html to <section>/<version>.html, to better reflect how we
do the versioning.
This puts each bit of spec in its own directory, updates the index to point to
the right place, and fixes continuserv to deal with directories as well as
files.
This will probably require fixes to the speculator too, but I'll have to come
back to that.
2016-05-05 18:26:17 +01:00
Richard van der Hoff
351bbee016
Remove changelog from index.rst
...
... since it's explicitly unversioned.
2016-05-05 15:23:21 +01:00
Richard van der Hoff
7d20d2d903
Add old-version links to C-S API
2016-05-05 15:22:39 +01:00
Richard van der Hoff
5b010de2b3
Fix typo
2016-05-05 15:15:39 +01:00