Commit graph

2883 commits

Author SHA1 Message Date
Maxime Dor cdfff67878 Create spec for IS bulk lookup 2017-11-14 14:55:16 +00:00
Travis Ralston 0f5a4efce6 Spec URL previews (#1064)
* Spec URL previews
* Require authentication on /upload and /preview_url
2017-11-14 14:52:51 +00:00
David Baker 6edb90a08e Document threepids
Adds the /msisdn' 3pid type and generally fleshes out what a 3pid
is and how they work.

This merges most of the work from Max Dor in https://github.com/matrix-org/matrix-doc/pull/1039
with some tweaks and additions.
2017-11-14 14:36:38 +00:00
Richard van der Hoff 202a265d85 Config for travis-ci 2017-11-14 13:12:38 +00:00
Richard van der Hoff 0cbf533625 Use petstore for continuserv swagger docs
Matrix.org's swagger browser is behind https, which means it can't read the
swagger from a continuserv on http. Use the petstore instead.
2017-11-14 13:02:43 +00:00
Richard van der Hoff 85340a9e00
Merge pull request #1063 from turt2live/travis/whoami
Spec /account/whoami
2017-11-14 09:54:49 +00:00
Kitsune Ral 33463e3907 Factor out parser.validate callback 2017-11-14 15:16:42 +09:00
Travis Ralston 2468c38482 Add required property to whoami
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-13 18:47:38 -07:00
Travis Ralston 41db12713d Update whoami endpoint
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-13 14:22:20 -07:00
Travis Ralston 9cf2b59f4e Make it less obvious where this was copy/pasted from
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-12 23:56:28 -07:00
Travis Ralston 2b3c84503c Add /account/whoami to changelog
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-12 23:54:47 -07:00
Travis Ralston b1801ea6db Spec /account/whoami
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-12 23:49:40 -07:00
Kitsune Ral 77a9daccec Validation that operationId is present
Signed-off-by: Alexey Rusakov <ktirf@users.sf.net>
2017-11-13 12:11:11 +09:00
Kitsune Ral 66268260c7 Merge remote-tracking branch 'remotes/origin/master' 2017-11-13 07:46:29 +09:00
Kitsune Ral 1d4410b638 operationid -> operationId
Signed-off-by: Alexey Rusakov <ktirf@users.sf.net>
2017-11-13 07:46:03 +09:00
Richard van der Hoff 88fb2e9abd
Merge pull request #1045 from maxidor/max/cs/unknow_filter_status
Add status for unknown user's filter ID
2017-11-09 18:29:12 +00:00
Richard van der Hoff 5697466a35
Merge pull request #1060 from maxidor/max/cs/sync-missing_event_id
Add missing optional key for sync format
2017-11-09 18:18:08 +00:00
Maxime Dor 099a7e90ae Change return code following feedback 2017-11-09 15:32:32 +01:00
Maxime Dor dcaaf84395 Be clear that event_id is not applicable everywhere 2017-11-09 15:28:44 +01:00
Maxime Dor efa9b5a8f1 Add missing required key for sync format 2017-11-09 02:10:23 +01:00
Richard van der Hoff 3630e69c2e s/bug/spec-bug 2017-11-08 09:06:50 +00:00
Richard van der Hoff a38d4fc68e Move templating into scripts dir
There's no real need for this to be at the top level.
2017-11-08 08:37:56 +00:00
Richard van der Hoff d9285cf5b5 Updates to README and CONTRIBUTING 2017-11-08 08:14:20 +00:00
Richard van der Hoff de6b0a278e remove dead labels from README
'site' and 'projects' are no longer things.
2017-11-06 18:28:07 +00:00
Richard van der Hoff e7772af5c3 Supporting-docs now in matrix.org repo. 2017-11-06 14:57:04 +00:00
Richard van der Hoff 17af66105d
Fix PR links in changelog 2017-11-06 12:34:59 +00:00
Richard van der Hoff d20b258e8b
Merge pull request #1047 from uhoreg/e2e
add information on handling redacted e2e events and detecting replay attacks
2017-11-06 12:22:01 +00:00
Richard van der Hoff ab8a85a41f
Merge pull request #1058 from maxidor/max/appendices/canonical_json-test_data
Add explicit examples for JSON encoding
2017-11-06 10:25:39 +00:00
Matthew Hodgson 18f558f065 remove old docker repo 2017-11-05 00:40:22 +00:00
Maxime Dor 68e12feec7 Add explicit examples for JSON encoding 2017-11-05 01:14:44 +01:00
Richard van der Hoff 1584e0f1df
Merge pull request #1055 from matrix-org/rav/clean_up_event_schema
Clean up event schema processing
2017-11-03 17:29:07 +00:00
Richard van der Hoff fbd2b22c71 Inherit 'required' correctly 2017-11-03 17:24:53 +00:00
Richard van der Hoff e5e249dce1 Remove redundant 'Required' annotations from event fields 2017-11-03 17:17:59 +00:00
Richard van der Hoff 51e248a1db Rename 'type' field to 'title'
: because that better reflects the underlying schema ("type" is one of
object/string/etc).
2017-11-03 17:13:56 +00:00
Richard van der Hoff c058dd5c3f Use standard logic to parse core event schemas
Use process_data_type rather than reinventing our own wheel; doing so means
that the 'Required' fields are correctly annotated as such.
2017-11-03 16:50:38 +00:00
Richard van der Hoff 1fdd8bb183 Fix some trailing whitespace 2017-11-03 16:32:06 +00:00
Richard van der Hoff 93ff0713cb make res_headers a TypeTable
... rather than a list of rows
2017-11-03 16:31:41 +00:00
Richard van der Hoff 96650e2824 Define TypeTable and TypeTableRow classes
Hopefully this will make it a bit easier to understand what's going on.
2017-11-03 16:31:20 +00:00
Victor Berger cc8128edad
Specify namespaces for tags
This is a proposition for closing #931.

This should be a fairly uncontroversial addition (apart from bike-shedding), which only defines behavior for clients that want use tags or expose tagging functionality to their users.

The idea of adding this to the spec is to ensure clients can peacefully share the tag namespace without conflicting with each other, using rules similar to namespaces for state keys.
2017-11-03 17:03:37 +01:00
Matthew Hodgson caf1333d12
Merge pull request #1049 from danigm/master
Renamed Guillotine project to Fractal
2017-11-01 11:14:28 +00:00
Daniel García Moreno 7bc54f37df Renamed Guillotine project to Fractal 2017-11-01 11:52:37 +01:00
Hubert Chathi 204eb427db add information on handling redacted e2e events and detecting replay attacks
ref: matrix-org/matrix-js-sdk#554 and matrix-org/matrix-js-sdk#555

Signed-off-by: Hubert Chathi <hubert@uhoreg.ca>
2017-10-30 23:07:12 -04:00
Maxime Dor 0fea380625 Add status for unknown user's filter ID 2017-10-29 12:20:22 +01:00
Richard van der Hoff c7c08eaf0f Merge pull request #1044 from t3chguy/access_token_header
mention that we can send tokens via headers
2017-10-27 10:01:10 +01:00
Michael Telatynski 9bd3711790
Move changelog entry 2017-10-27 10:00:24 +01:00
Michael Telatynski c2b1b7a10e
mention that we can send tokens via headers 2017-10-27 09:52:53 +01:00
Richard van der Hoff cc6b16b63c Generate the swagger for export
We may as well generate the unstable version of the C-S swagger.
2017-10-25 12:09:08 +01:00
Richard van der Hoff d6f892f894 continuserv, speculator: update dump-swagger call
dump-swagger now expects -o before its output path
2017-10-25 12:05:31 +01:00
Richard van der Hoff 56c3e5a627 README.rst: Add notes on how to build the spec 2017-10-25 09:57:02 +01:00
Richard van der Hoff 834a3d78a8 Add a pip requirements file for the scripts 2017-10-25 09:54:21 +01:00