Commit graph

226 commits

Author SHA1 Message Date
Travis Ralston
e5da1e1741 Improve upon the transaction schema and examples
Reduces data duplication and makes the objects more reusable for other areas of the spec
2018-07-12 21:34:52 -06:00
Travis Ralston
374ec00046 Convert things that mention "Transaction" to swagger
There's two kinds of transactions currently: one with EDUs and one without. The one with EDUs is only used on /send, however the schema is still somewhat worth splitting out for simplicity.

The examples are brought apart to make them slightly more reusable for when they get dumped into the relevant sections of the spec (see TODO in server_server_api.rst)

Further, the Transactions stuff introduces tuples to the spec. The units.py has been updated to support this.
2018-07-11 16:52:27 -06:00
Travis Ralston
1722734a51
Merge pull request #1364 from turt2live/travis/server-name-join
Document the server_name query parameter on /join/{roomIdOrAlias}
2018-07-06 07:00:24 -06:00
Richard van der Hoff
f9a0a49e96 Add a bunch more people to the speculator trusted list 2018-07-05 20:27:40 +01:00
Travis Ralston
4485b2f025
Merge branch 'master' into travis/server-name-join 2018-07-05 11:23:13 -06:00
Travis Ralston
8bd1fe9908
Merge pull request #1357 from turt2live/travis/fix-windows
Use filepath.To/FromSlash instead of manually replacing slashes
2018-07-04 08:09:43 -06:00
Matthew Hodgson
d02e9b875b
Merge pull request #1355 from matrix-org/benpa/travisci-ignore-proposals
don't run proposals.py step if in TravisCI environment
2018-07-04 00:04:25 +01:00
Travis Ralston
cbbdcbcf01 Show arrays in the query string as "[type]" rather than "array"
Otherwise the question "array of what?" is raised.
2018-07-03 15:50:01 -06:00
Travis Ralston
aac7b848f7 Add uhoreg and myself as trusted speculator people 2018-07-03 13:10:28 -06:00
Travis Ralston
85e1962f9c Use filepath.To/FromSlash instead of manually replacing slashes
see https://github.com/matrix-org/matrix-doc/pull/1356#discussion_r199897557
2018-07-03 12:07:31 -06:00
Travis Ralston
eb21a71b70 Make the builder happier with Windows environments
There's two main issues with Windows environments:
* Slashes
* Windows still notifies about some directories we've ignored, therefore we need to filter them too

It's not super pretty, but it does work.
2018-07-03 10:49:55 -06:00
Ben Parsons
5803c9cace don't run proposals.py step if in TravisCI environment 2018-07-03 15:49:40 +01:00
user
5ab5fe08d1 Small grammatical and stylistic fixes 2018-06-17 15:49:39 +01:00
Ben Parsons
0c1ba33eba include proposals.py in matrix-doc CI 2018-06-07 14:30:50 +01:00
Ben Parsons
ee98082a60 update MSC1270 2018-06-04 12:12:48 +01:00
Ben Parsons
cb00fc35ab git checkout master 2018-05-31 15:54:23 +01:00
Ben Parsons
d1c27349b2 Merge branch 'master' of https://github.com/matrix-org/matrix-doc 2018-05-31 15:47:34 +01:00
Richard van der Hoff
419bf1e52c Fix continuserv instructions
As per f04b17f1c9

Also dedup continuserv readme
2018-05-30 09:45:22 +01:00
Ben Parsons
7a82a5d427 correct proposals.py 2018-05-29 14:20:48 +01:00
Ben Parsons
34090b24c4 prepare proposals.py for CI 2018-05-29 14:19:03 +01:00
Ben Parsons
663e1a5ebe Update some text 2018-05-18 10:17:54 +01:00
Ben Parsons
73b28612ec updates from feedback on pull 2018-05-15 16:07:55 +01:00
Ben Parsons
4d59abebf0 handle PR links from GitHub 2018-05-15 15:33:39 +01:00
Ben Parsons
d338f18927 handle EOF gracefully when searching for Authors and PRs 2018-05-15 15:22:03 +01:00
Ben Parsons
f1cc26dfd7 sort output by Created date per-table 2018-05-15 11:59:34 +01:00
Ben Parsons
b8f38b21a7 update introductory text 2018-05-14 14:25:12 +01:00
Ben Parsons
e87f1f2619 include PRs in tables 2018-05-14 11:32:40 +01:00
Ben Parsons
3b4e56c4e0 handle dd/mm/yyyy and yyyy-mm-dd dates in text 2018-05-14 09:48:54 +01:00
Ben Parsons
3b84de383c cleanup and include all content 2018-05-12 10:30:52 +01:00
Ben Parsons
cbdd33a5f5 single authors and shepherds link correctly 2018-05-11 21:23:06 +01:00
Ben Parsons
73b7faddd4 handle multiple Google Docs 2018-05-11 20:47:27 +01:00
Ben Parsons
866b0b6348 I mostly play with ascii art 2018-05-10 16:02:55 +01:00
Ben Parsons
dc2b53318b prettify ID column 2018-05-09 11:32:31 +01:00
Ben Parsons
a78f7b38e9 generator is now usable 2018-05-08 15:35:46 +01:00
Ben Parsons
c58dc59ffe separate tables by label 2018-05-08 14:43:06 +01:00
Ben Parsons
1f7fbefd53 start using a table 2018-05-08 12:17:38 +01:00
Ben Parsons
e18aa30fd2 start generating new proposals page 2018-05-02 13:47:01 +01:00
Richard van der Hoff
f04b17f1c9 Fix path to fsnotify
Apparently this should be referred to as gopkg.in/fsnotify/fsnotify.v1. I'm not
sure what has changed to stop the old format working.
2018-03-27 11:27:23 +01:00
Richard van der Hoff
8e97ec8bad make the speculator work for rick 2018-03-14 17:52:10 +00:00
Richard van der Hoff
9150ba0dce Improve error output from failing to parse examples 2018-03-06 11:09:33 +00:00
Richard van der Hoff
a36bd1a6d2 Make build fail if gendoc fails
(cf https://github.com/matrix-org/matrix-doc/issues/1146)
2018-03-06 11:03:52 +00:00
Richard van der Hoff
87d90ab58a gendoc: improve title line matching
This makes it possible to include tables etc without the script trying to turn
them into titles.
2017-11-22 22:44:04 +00:00
Maxime Dor
1045bc721d Document federation version endpoint 2017-11-15 04:16:30 +01:00
Richard van der Hoff
427e0bb83b make jenkins and travis use a common script 2017-11-14 19:19:58 +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
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
e7772af5c3 Supporting-docs now in matrix.org repo. 2017-11-06 14:57:04 +00: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