Commit graph

2949 commits

Author SHA1 Message Date
Travis Ralston
527a5a2fdc Require sudo
see also: https://github.com/travis-ci/travis-ci/issues/9875
2018-07-12 10:18:46 -06:00
Travis Ralston
8a4ba8c5ca Use Popen rather than run() 2018-07-12 10:16:32 -06:00
Travis Ralston
af7460088f Use six for url quoting 2018-07-12 10:07:09 -06:00
Andrew Morgan
291a4dfc76 Third party lookup module. Fix wording 2018-07-12 16:59:30 +01:00
Travis Ralston
6e3993effe Merge remote-tracking branch 'matrix-org/master' into travis/preset-guests 2018-07-12 09:48:52 -06:00
Travis Ralston
84e07a0c10 Convert errors in presence.yaml 2018-07-12 09:31:50 -06:00
Travis Ralston
16125f16f5 Spec retry_after_ms on ratelimit errors 2018-07-12 09:28:30 -06:00
Travis Ralston
8b513b9f8e Merge remote-tracking branch 'matrix-org/master' into travis/better-errors 2018-07-12 09:24:04 -06:00
Andrew Morgan
8999887245 Path -> query params 2018-07-12 14:44:48 +01:00
Andrew Morgan
9bde78ac28 $ref needs to be under a schema: 2018-07-12 14:41:24 +01:00
Andrew Morgan
114bcf1a2e Use $ref, clean up, fix errors, AS is now a C-S module. 2018-07-12 14:31:34 +01: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
3e13ec2841 Fix required properties in POST /query 2018-07-11 13:43:15 -06:00
Travis Ralston
96889f16e9 Split out and fix the /server and /query key APIs 2018-07-11 13:20:44 -06:00
Travis Ralston
bd2c0b7c98 Convert server keys to swagger 2018-07-11 13:09:19 -06:00
Travis Ralston
e164392d93 Merge remote-tracking branch 'matrix-org/master' into travis/towncrier 2018-07-11 08:36:01 -06:00
Travis Ralston
a8461e647f Improve the error handling for towncrier
The changelog shows up via stdout, everything else via stderr. We dump as much information as we can into the changelog to make debugging errors easier.
2018-07-11 08:35:55 -06:00
Travis Ralston
808a82e811
Merge pull request #1397 from turt2live/travis/text-format
Document message formats as-is
2018-07-11 08:10:26 -06:00
Travis Ralston
905ef6dadd Have the towncrier generator complain if the output looks wrong 2018-07-10 16:57:21 -06:00
Travis Ralston
ebc7db12fb Remove extraneous list casting 2018-07-10 16:52:17 -06:00
Travis Ralston
9e0fafbcd4 Remove debugging line 2018-07-10 15:13:22 -06:00
Travis Ralston
b6f9e13d46 Add newsfragment 2018-07-10 15:09:53 -06:00
Travis Ralston
fbee83d5cf Clarify some of the properties on the search result
Fixes https://github.com/matrix-org/matrix-doc/issues/773
2018-07-10 15:08:28 -06:00
Travis Ralston
c999b7c2e2 Add newsfragment 2018-07-10 13:00:37 -06:00
Travis Ralston
55e4e90ab1 Document message formats as-is
This is likely to later be replaced by mixins, however this is being documented now so clients aren't left in the dark.

Fixes https://github.com/matrix-org/matrix-doc/issues/917
2018-07-10 12:52:11 -06:00
Travis Ralston
e9f7d2096e Add changelog entry for CORS 2018-07-10 08:39:34 -06:00
Travis Ralston
8fe8fb9ba1 Merge remote-tracking branch 'matrix-org/master' into travis/towncrier 2018-07-10 08:37:52 -06:00
Travis Ralston
c79010f0d6
Merge pull request #1365 from turt2live/travis/cors
Document the CORS/preflight headers
2018-07-10 08:35:37 -06:00
Travis Ralston
3a9cfd490f
Improve pagination handling in proposals.py
Previously if multiple pages were returned then the script would lose the results. 

A check to ensure the response is an array was also added. This helps avoid somewhat cryptic errors when iterating over non-lists (eg: error messages, bad output, etc)
2018-07-09 23:52:22 -06:00
Travis Ralston
423d5593f5 Generify how OPTIONS and CORS are handled 2018-07-09 15:40:03 -06:00
Travis Ralston
550f95570b Fix regex for some versions of python 2018-07-09 15:17:43 -06:00
Travis Ralston
7ada960206 Fix the Travis CI build to work on 3.5 2018-07-09 14:55:25 -06:00
Travis Ralston
c65c6e2e70 Add changelog entries removed in the merge from master 2018-07-09 12:25:34 -06:00
Travis Ralston
f418c20ff2 Merge remote-tracking branch 'matrix-org/master' into travis/towncrier 2018-07-09 12:25:15 -06:00
Travis Ralston
08f6912825 Ask Travis to install 3.5 explicitly 2018-07-09 12:13:58 -06:00
Travis Ralston
44db84f3d8
Merge pull request #1371 from turt2live/travis/all-the-auth
Getting presence requires authentication
2018-07-09 10:31:40 -06:00
Travis Ralston
a4f8e0807a Print the python version being used in the CI build. 2018-07-09 08:41:20 -06:00
Travis Ralston
f68c82bd6c Don't let the newsfragments wink out of existence 2018-07-06 17:32:57 -06:00
Travis Ralston
63b926a4aa Make Travis CI use python 3 2018-07-06 17:19:04 -06:00
Travis Ralston
34089e302c Add general documentation for maintainers 2018-07-06 17:06:08 -06:00
Travis Ralston
c2f85788de Add documentation about how to add to the changelog 2018-07-06 16:54:14 -06:00
Travis Ralston
ee9abc5fd7 Convert unstable changelog to towncrier 2018-07-06 16:41:54 -06:00
Travis Ralston
9277e4c52d Add initial towncrier support 2018-07-06 16:32:27 -06:00
Travis Ralston
f54d5a4039 Convert build scripts to python 3 2018-07-06 15:21:07 -06:00
Travis Ralston
d7a979da63 Merge remote-tracking branch 'matrix-org/master' into travis/all-the-auth 2018-07-06 11:33:24 -06:00
Travis Ralston
516000bdc3 Fix error reference in media repo 2018-07-06 08:53:04 -06:00
Travis Ralston
dd9414472b Merge remote-tracking branch 'matrix-org/master' into travis/cors 2018-07-06 08:51:32 -06:00
Travis Ralston
ab75fc4b20 Merge remote-tracking branch 'matrix-org/master' into travis/better-errors 2018-07-06 08:46:50 -06:00
Travis Ralston
e1885e4cd3
Merge pull request #1362 from turt2live/travis/spec-reason
Explicitly declare that the kick/ban reason will be on the membership event
2018-07-06 07:06:50 -06:00
Travis Ralston
e7a6ff1064
Merge branch 'master' into travis/spec-reason 2018-07-06 07:02:11 -06:00