Mark Haines
7f81501762
Allow relative references to schema to work in python and node.
...
Rename "schema/v1/core" to "schema/v1/core-event-schema".
Add self-referential symlinks to schema/v1/core-event-schema
The python json schema libraries expect that relative references are
relative to the file they are in. The node json schema libraries
expect that relateive references are relative to the first file loaded.
To support both kinds we reference the core event schema using
"core-event-schema/event.json". We then symlink the core-event-schema
directory to both the location of the file refering to "event.json" so
that it will work in python and to the location of the top level file
so that it will work in node.
2015-09-18 11:39:44 +01:00
Kegsay
bb441427ac
Merge pull request #48 from matrix-org/markjh/swagger
...
De-duplicate event schema
2015-09-17 15:16:02 +01:00
Mark Haines
fd3401fc7a
Remove accidentally committed swp file
2015-09-17 14:44:17 +01:00
Mark Haines
d0b018c46e
Fix syntax error in JSON
2015-09-17 14:43:09 +01:00
Mark Haines
380f186273
Log which file a json parse error occurred in
2015-09-17 14:42:43 +01:00
Mark Haines
c49338006a
replace definitions/*event.yaml with symlinks to /event-schemas/
2015-09-17 13:09:35 +01:00
Mark Haines
2cf8da6b20
Update the gendoc script to load the core event schema from
...
separate files.
2015-09-17 10:28:57 +01:00
Mark Haines
6147562d14
Split the "core" definition files into separate files. To
...
make it easier to use the schema files with tools that
don't support deep links.
2015-09-17 10:09:37 +01:00
Mark Haines
4d302d10c4
Merge pull request #47 from matrix-org/daniel/chdor
...
Fix chdir path
2015-09-15 16:38:47 +01:00
Daniel Wagner-Hall
21411309e0
Fix chdir path
2015-09-15 16:27:10 +01:00
Kegsay
7fec98d651
Merge pull request #46 from matrix-org/markjh/gendoc_directory
...
Set the current directory in gendoc.py to the scripts directory
2015-09-15 11:55:18 +01:00
Mark Haines
c3eab1cc3c
Set the current working directory in gendoc.py to the script directory as that is where it expects to be run
2015-09-15 11:41:40 +01:00
Kegsay
916046670c
Merge pull request #45 from matrix-org/daniel/swaggerlogin
...
Swaggerify /login
2015-09-14 17:15:35 +01:00
Daniel Wagner-Hall
59a4e84361
s/registration/login/
2015-09-14 17:10:46 +01:00
Daniel Wagner-Hall
b8e2ac5c1b
Swaggerify /login
2015-09-14 13:49:27 +01:00
Daniel Wagner-Hall
b247761465
.gitignore speculator
2015-09-14 10:33:25 +01:00
Kegsay
2a2cd808fb
Merge pull request #42 from matrix-org/speculator-list
...
speculator: Add list-pull-request functionality
2015-09-11 17:42:02 +01:00
Daniel Wagner-Hall
d251f791fb
speculator: Document /
2015-09-11 17:15:33 +01:00
Daniel Wagner-Hall
f9ef934625
Merge branch 'master' into speculator-list
...
Conflicts:
scripts/speculator/main.go
2015-09-11 15:31:32 +01:00
Kegsay
e4f4670260
Merge pull request #44 from matrix-org/speculator-errs
...
speculator: Don't ignore errors
2015-09-11 15:30:15 +01:00
Kegsay
b2eb7e7dc1
Merge pull request #43 from matrix-org/speculator-diff
...
speculator: Unified diff for rst diff
2015-09-11 15:29:50 +01:00
Daniel Wagner-Hall
b6dab0009d
speculator: Don't ignore errors
2015-09-11 14:43:26 +01:00
Daniel Wagner-Hall
20f0284155
speculator: Unified diff for rst diff
2015-09-11 14:40:52 +01:00
Daniel Wagner-Hall
ba780a589a
speculator: Add list-pull-request functionality
2015-09-11 14:40:08 +01:00
Kegsay
da7c2e7fa8
Merge pull request #40 from matrix-org/markjh/history_for_rooms_that_have_been_left
...
SPEC-216: Add rooms that have been left to initial sync
2015-09-11 12:55:07 +01:00
Daniel Wagner-Hall
fef97802b7
Merge pull request #39 from matrix-org/speculator
...
speculator: Tool to preview spec pull requests
2015-09-11 12:43:33 +01:00
Daniel Wagner-Hall
bf318ffcd5
Add HTTP endpoints to README
2015-09-11 12:42:41 +01:00
Kegsay
e788f565f8
Merge pull request #36 from matrix-org/daniel/threepidinvites
...
Swagger /room/{roomId}/invite
2015-09-11 11:59:21 +01:00
Daniel Wagner-Hall
ca7dd49dc6
speculator: Add /healthz endpoint
2015-09-10 17:14:53 +01:00
Daniel Wagner-Hall
708f281270
Add comments about auth
2015-09-10 17:09:44 +01:00
Kegsay
3011823c51
Merge pull request #27 from matrix-org/receipts
...
Document receipts
2015-09-10 16:18:19 +01:00
Kegsay
c427c579cb
Merge pull request #37 from matrix-org/continuserv
...
continuserv: Server to live serve local updates to the spec
2015-09-10 16:17:33 +01:00
Daniel Wagner-Hall
c29aef362e
Error on failure of Watcher.Add
2015-09-10 15:45:21 +01:00
Daniel Wagner-Hall
6ac519d9dc
Log on file updates
2015-09-10 14:25:37 +01:00
Daniel Wagner-Hall
6e86cb34d2
continuserv: Adding README
2015-09-10 14:25:23 +01:00
Daniel Wagner-Hall
34091038f3
speculator: Tool to preview spec pull requests
...
Not the prettiest thing in the world, and horribly unperformant, but
useful :)
2015-09-10 14:19:06 +01:00
Daniel Wagner-Hall
5b722160dd
Merge branch 'master' into daniel/threepidinvites
2015-09-10 14:05:58 +01:00
Kegsay
b9c04cd9ca
Merge pull request #38 from matrix-org/newlines
...
Preserve newlines in wrapped text
2015-09-10 13:59:18 +01:00
Daniel Wagner-Hall
99106bb6fe
Add explanatory comments
...
Also, remove line which was accidentally removed
2015-09-10 13:54:00 +01:00
Daniel Wagner-Hall
cdc06a8bf1
Document --nodelete
2015-09-10 13:53:38 +01:00
Daniel Wagner-Hall
a74fb54053
Correct comment
2015-09-10 13:44:41 +01:00
Daniel Wagner-Hall
ad595aea45
Optionally don't delete intermediate rst files
...
Useful for debugging
Hackily hackily implemented :)
2015-09-10 13:21:08 +01:00
Daniel Wagner-Hall
6a56c8a965
Add trailing newline
2015-09-10 13:20:56 +01:00
Daniel Wagner-Hall
f67e27e843
Split on double-newlines not single
...
Otherwise all sorts of tables get horribly broken
2015-09-10 13:20:04 +01:00
Daniel Wagner-Hall
55f33736b2
Preserve newlines in wrapped text
2015-09-10 12:04:12 +01:00
Daniel Wagner-Hall
e30272733b
continuserv: Make port flag-specified
2015-09-10 11:29:16 +01:00
Daniel Wagner-Hall
a548148563
Invite doesn't accept room aliases
2015-09-10 11:21:18 +01:00
Daniel Wagner-Hall
c4acee3bcb
continuserv: Live serves updates to the spec
2015-09-10 11:16:31 +01:00
Daniel Wagner-Hall
2797fac3aa
Swagger /room/{roomId}/invite
...
This is a transcription of the current spec, with nothing new or
controversial in it.
2015-09-09 17:55:40 +01:00
Kegsay
cf3475515e
Merge pull request #33 from matrix-org/daniel/threepidinvites
...
Spec /room/{roomId}/join
2015-09-09 16:56:43 +01:00