Erik Johnston
ccdd376f30
Merge pull request #63 from matrix-org/erikj/room_create_preset
...
Update the room creation API spec to include new keys: 'preset' and 'initial_state'
2015-10-02 11:13:06 +01:00
Kegan Dougal
09ac367847
Merge branch 'master' into module-content-repo
...
Conflicts:
templating/matrix_templates/units.py
2015-10-02 10:46:46 +01:00
Kegan Dougal
4dabcd112e
Remove redundant info now we have the http api template. Minor tweaks to display of schema with no names but a type
2015-10-02 10:44:50 +01:00
Erik Johnston
912a8ca760
Be more explicit about keys that are clobbered
2015-10-02 10:30:45 +01:00
Erik Johnston
dbc72c43ac
s/private_chat_shared_power/trusted_private_chat/
2015-10-02 10:28:29 +01:00
Kegan Dougal
3d9dbe42e6
Bump to swagger-parser 3.2.1 - remove x- keys on headers
...
Removed x- keys due to https://github.com/BigstickCarpet/swagger-parser/issues/23
2015-10-02 10:21:48 +01:00
Daniel Wagner-Hall
9cda004848
Fix ref
2015-10-01 22:27:19 -05:00
Daniel Wagner-Hall
fdccf35c47
Banish more tabs
2015-10-01 22:23:24 -05:00
Daniel Wagner-Hall
e996933a29
Banish the tabs
2015-10-01 22:21:34 -05:00
Daniel Wagner-Hall
af7d2ca9fc
Update 3pid invite spec
...
This takes into account:
1) That finding the existing servers of a room is hard
2) Federation
2015-10-01 22:19:11 -05:00
Daniel Wagner-Hall
d2c56fb7a3
Merge branch 'master' into daniel/threepidinvites-2
2015-10-01 21:18:50 -05:00
Daniel Wagner-Hall
a69e03f577
speculator: Report listening port
2015-10-01 19:15:30 -05:00
Daniel Wagner-Hall
30232f20aa
speculator: Merge after fetching, so that /spec/head works
2015-10-01 19:13:09 -05:00
Kegan Dougal
8c4d7f5051
Do not try to parse non-json request examples as json
2015-10-01 18:03:34 +01:00
Kegan Dougal
87b6dd845e
Flesh out content repo; modify templating to support headers
...
Edit content-repo.yaml to include examples and headers.
Restructure content module to conform to the module template.
Adjust the HTTP API template to give 1 more char to the response
param to fit "Content-Disposition" correctly.
Edit the templating system to support displaying enums for
swagger APIs (before it was just JSON schema). Also add support
for introspecting headers from swagger. Finally, replace - with
_ when forming the {{ template_var }} else things whine.
2015-10-01 17:55:16 +01:00
Kegsay
8aad238cda
Merge pull request #80 from matrix-org/module-receipts
...
Receipts module
2015-10-01 17:33:38 +01:00
Kegsay
8b958f4ead
Merge pull request #79 from matrix-org/module-voip
...
VoIP module
2015-10-01 17:33:27 +01:00
Kegan Dougal
560cd7a58f
This isn't javascript. s/,/%/
2015-10-01 15:54:45 +01:00
Kegan Dougal
da2be7eae4
Merge branch 'master' into module-voip
...
Conflicts:
specification/modules/voip_events.rst
2015-10-01 15:48:42 +01:00
Kegan Dougal
1520f3647f
Merge branch 'master' into module-typing2
...
Conflicts:
specification/modules/typing_notifications.rst
2015-10-01 15:47:46 +01:00
Kegan Dougal
cc6f256b24
Merge branch 'master' into module-presence
...
Conflicts:
specification/modules/presence.rst
2015-10-01 15:46:52 +01:00
Kegan Dougal
6000887201
Merge branch 'master' into module-receipts
...
Conflicts:
specification/modules/receipts.rst
2015-10-01 15:44:53 +01:00
Kegan Dougal
c972dad8b3
Flesh out receipts module. Add receipts swagger
...
Add templating support for v2 apis.
2015-10-01 15:41:54 +01:00
Kegsay
4a7a682c0f
Merge pull request #65 from matrix-org/spec-feature-profiles
...
Spec feature profiles
2015-10-01 12:16:30 +01:00
Kegan Dougal
365a9076b9
Add nested dict template support; Add x-pattern
...
For cases where event schema specify `patternProperties` it would be nice
to give that pattern a "human-readable" form rather than a raw regex. This
is now supported by specifying `x-pattern` in the value part of the specified
pattern e.g. `patternProperties:{ "^.*":{ x-pattern: "$THING", ... } }`
Templating had limited record type descriptions limited to value primitives
e.g. `{string: integer}`. It now supports inspecting the values recursively
if the value is `object`.
Updated `m.receipt` to take both these points into account to make it read
better. Tweak receipt module text.
2015-10-01 12:11:26 +01:00
Kegan Dougal
3b73b07bab
Clarifications that room invites are m.call.invites not actual invites
2015-10-01 11:11:08 +01:00
Kegan Dougal
e82661413e
Add /turnServer endpoint
2015-10-01 11:04:42 +01:00
Erik Johnston
abe5d08ac6
Merge pull request #64 from matrix-org/erikj/invite_state
...
Bundle some state into invites
2015-10-01 09:25:06 +01:00
Kegan Dougal
d092b22848
Rename to 'Managing history visibility'
2015-10-01 09:23:08 +01:00
Kegan Dougal
6c3e70d272
Start fleshing out voip module
2015-09-30 17:32:44 +01:00
Kegan Dougal
91b6347f74
Explain what 'embedded' clients are
2015-09-30 16:48:47 +01:00
Kegan Dougal
be9402b66f
Move feature profiles section to modules as a sub-section
2015-09-30 16:43:09 +01:00
Kegan Dougal
0320e8cef3
Table tweaks from PR
2015-09-30 16:41:47 +01:00
Erik Johnston
9964dd1401
Make explicit the state event only includes some keys
2015-09-30 16:11:34 +01:00
Kegsay
f74cb4d54c
Merge pull request #76 from matrix-org/speculator-speedup
...
Modify how speculator uses git repos
2015-09-30 15:53:25 +01:00
Kegan Dougal
097dc50180
Minor tweaks
2015-09-30 15:51:20 +01:00
Kegan Dougal
a82f2ad4ac
Flesh out typing module
2015-09-30 15:51:12 +01:00
Kegan Dougal
2b7e02c080
Add sections for typing. Add swagger, JSON schema and example m.typing event
2015-09-30 15:51:04 +01:00
Kegsay
e5fecbb87f
Merge pull request #75 from matrix-org/continuserv-speedup
...
Speed up continuserv
2015-09-30 15:42:29 +01:00
Kegan Dougal
b6f0b67da6
Speed up continuserv
...
Ignore .git directory as that shouldn't affect spec generation. Also, when
we receive writes from the OS, wait a bit before re-generating the spec to
clump together multiple writes rather than re-generating one after another
and waiting for no more writes before serving the request.
2015-09-30 15:21:32 +01:00
Kegan Dougal
ede43fbe9f
Modify how speculator uses git repos
...
Modified so it has a "master" repo and local A/B repos which pull from the
"master". This saves an extra git clone operation per HTTP request.
2015-09-30 14:31:26 +01:00
Kegan Dougal
52f6496cf0
Merge branch 'master' into module-presence
2015-09-30 10:56:17 +01:00
Kegsay
4aad6976fd
Merge pull request #73 from matrix-org/paragraphs
...
Fix paragraph CSS and adjust where paragraphs are in the RST
2015-09-30 10:54:23 +01:00
Kegan Dougal
a49d5f67f1
Delete rather than comment out the offending CSS
2015-09-30 10:54:06 +01:00
Kegan Dougal
4e1e82f995
Fix paragraph CSS and adjust where paragraphs are in the RST
...
The CSS for `nature.css` was such that it was preventing `p` tags from
having sufficient vertical whitespace. This meant that you couldn't insert
any kind of spacing between lengthy sections (they just appeared as new lines).
This PR fixes this so you can actually have some whitespace between paragraphs.
As a result of this change, some parts of the spec appeared to have too much
whitespace. These were often sections which shouldn't have begun a new
paragraph anyway (e.g. a single sentence being an entire paragraph, `TODO`
blocks resulting in new paragraphs). This PR fixes the most offending areas
where we shouldn't have been inserting new paragraphs.
2015-09-30 10:43:02 +01:00
Mark Haines
931057accf
Add a top level presence key for the presence events and remove the public_user_data/private_user_data for now
2015-09-30 10:30:39 +01:00
Kegan Dougal
069e4e39f4
Move presence specific sections from intro to presence module
2015-09-30 10:22:51 +01:00
Erik Johnston
73b4090f52
Add private_chat_shared_power
2015-09-30 10:22:12 +01:00
Mark Haines
4cb3f78d2b
Wrap the "rooms" list inside an object so that we can add keys for pagination later
2015-09-29 19:48:48 +01:00
Mark Haines
218cf94ead
Replace the events array with events_map inside the room objects.
...
Only use indirection for the state and timeline events.
Use event_ids to reference the state and timeline events.
2015-09-29 19:10:31 +01:00