Commit Graph

105 Commits

Author SHA1 Message Date
Donomii a76221e3fc Remove print statement 2017-07-15 18:12:50 +02:00
Donomii 9f07f1d548 Further appease pedants 2017-07-15 18:08:04 +02:00
Donomii 2705b0af4c Appease pedants 2017-07-15 17:58:22 +02:00
Donomii d0c8c3e5b0 Added SendFile function, and FileMessage and FileInfo data structs 2017-07-15 17:46:29 +02:00
Donomii 372e8fa06f "origin_server_ts" requires 64 bits
Compile was failing on 32 bit linux
2017-07-08 16:11:47 +00:00
Donomii 423144bb25 Send real request data instead of empty request
Call was incorrectly passing a freshly initialised, empty request rather than the request data that the caller provided
2017-07-08 16:11:27 +00:00
Kegsay 1ed3413986 Merge pull request #29 from t3chguy/t3chguy/add_GET_voip_turnServer
add `GET /_matrix/client/r0/voip/turnServer`
2017-06-26 10:23:41 +01:00
Kegsay cb69d2b689 Merge pull request #28 from Dhole/master
In /messages: Fix Messages argument parsing
2017-06-26 10:22:33 +01:00
Mark Haines 8482707094 Merge pull request #30 from matrix-org/markjh/pre-commit
Add misspell and ineffassign to the pre-commit hooks
2017-06-12 19:53:02 +01:00
Mark Haines 6f5f4de2eb Remove unneed dependencies from travis.yml 2017-06-12 19:44:56 +01:00
Mark Haines af759cbc2b Add a .travis.yml 2017-06-12 19:42:48 +01:00
Mark Haines 735a423c76 Add misspell and ineffassign to the pre-commit hooks 2017-06-12 19:37:49 +01:00
Michael Telatynski df70a4461f
add `GET /_matrix/client/r0/voip/turnServer`
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-06-07 14:13:03 +01:00
Dhole af80fb148a Fix Messages argument parsing 2017-05-29 14:01:42 -07:00
Richard Lewis 27ae91d1b3 Merge pull request #27 from matrix-org/rxl881/videoMessages
Omit empty fields on ImageInfo and VideoInfo structs
2017-05-11 15:02:20 +01:00
Richard Lewis 087ee52a0f Omit empty fields on ImageInfo and VideoInfo structs 2017-05-11 14:26:09 +01:00
Richard Lewis 462346e69d Merge pull request #26 from matrix-org/videos
SendImage and SendVideo convenience functions
2017-05-08 13:59:41 +01:00
Richard Lewis d43f7960c7 Fix merge conflicts 2017-05-08 13:57:04 +01:00
Richard Lewis 03e22de5e5 Merge pull request #25 from matrix-org/rxl881/sendMessages
Add convenience function to send a room message of type send.notice
2017-05-08 13:45:52 +01:00
Kegsay 80113e0369 Merge pull request #24 from Dhole/master
Add /messages API
2017-05-08 13:18:39 +01:00
Richard Lewis 43492b703b Add convenience function to send a room message of type send.notice 2017-05-08 11:29:23 +01:00
Richard Lewis 8132e161ec Add links to docs. 2017-05-08 11:23:22 +01:00
Richard Lewis 63c361cb61 Fix function signature 2017-05-08 10:57:04 +01:00
Dhole 556e9529c0 Add /messages API 2017-05-06 21:21:07 -07:00
Richard Lewis 1b68efa395 Merge pull request #22 from matrix-org/typing
Implement typing notifications
2017-05-02 18:00:36 +01:00
Richard Lewis 4bc46014ae Functions to send basic image and video events 2017-04-25 11:02:33 +01:00
Richard Lewis 4da59c5538 Typing notifications 2017-04-25 10:11:59 +01:00
Richard Lewis 58a74a618e Merge pull request #21 from matrix-org/rxl881/leaveEvents
Handle leave events
2017-04-20 21:36:33 +01:00
Richard Lewis c7bec461cd Check that StateKey is not nil / null 2017-04-20 21:29:44 +01:00
Richard Lewis 06ec893403 Check that event is a state event. 2017-04-20 14:41:29 +01:00
Richard Lewis 7e21d59dca Handle leave events 2017-04-20 00:19:23 +01:00
Richard Lewis f683c3da34 Merge pull request #20 from matrix-org/rxl881/errorLogging
Log response body when content upload fails
2017-02-20 18:01:16 +00:00
Richard Lewis 07fa859cf3 Removed logging and fixed formatting 2017-02-20 16:18:18 +00:00
Richard Lewis 3c91bb314d Log response body when content upload fails 2017-02-20 14:45:37 +00:00
Richard Lewis 812dcb5515 Merge pull request #19 from matrix-org/rxl881/get_avatar
Added function to get a user's avatar URL
2017-02-17 11:53:43 +00:00
Richard Lewis b8c578e6fb Cleanup cruft 2017-02-16 13:52:55 +00:00
Richard Lewis 5e63dffd1b Cleanup commented code 2017-02-15 23:11:12 +00:00
Richard Lewis 971abecece Test response URL 2017-02-15 23:05:35 +00:00
Richard Lewis 4d75d81067 Add function to set a users' avatar 2017-02-15 22:10:04 +00:00
Kegan Dougal aa984fcabc Add AS membership list APIs
Added function to get a user's avatar image URL
2017-02-15 17:41:47 +00:00
Kegsay c85ffe73f2 Merge pull request #17 from matrix-org/kegan/api-appservice-mlist
Add AS membership list APIs
2017-01-06 15:33:54 +00:00
Kegan Dougal bb7c146092 Actually run all the golint tests 2017-01-06 15:33:33 +00:00
Kegan Dougal e6268f307c Add AS membership list APIs 2017-01-06 14:39:25 +00:00
Kegsay f3c8c9580d Merge pull request #11 from matrix-org/kegan/api-logout
Add /logout API
2017-01-06 10:58:15 +00:00
Kegan Dougal 837d0c30d0 Review comments: be explicit at call-sites when setting credentials 2017-01-06 10:54:26 +00:00
Kegan Dougal 16f8e30850 Merge master into kegan/api-logout 2017-01-06 09:38:59 +00:00
Kegan Dougal b6093bbf56 Merge branch 'master' into kegan/api-logout 2017-01-06 09:38:27 +00:00
Kegsay eb1518c496 Merge pull request #13 from matrix-org/kegan/api-redact
Add /redact endpoint
2017-01-05 18:39:41 +00:00
Kegan Dougal 24cbc75ecc Factor out txn ID generation 2017-01-05 17:47:24 +00:00
Kegsay fd0a0c56cc Merge pull request #12 from matrix-org/kegan/api-put-state-event
Add PUT /room/roomId/state/type/key endpoint
2017-01-05 17:29:02 +00:00