Commit Graph

55 Commits

Author SHA1 Message Date
Richard Lewis 00a2f789f0 Prevent err from being clobbered when JSON unmarshals to nil result. 2018-03-27 10:06:39 +01:00
MTRNord f6ce5f65b5 Add helper function GetOwnDisplayName() 2017-08-22 21:44:21 +02:00
MTRNord fc56cbf80a Add GetDisplayName() command 2017-08-22 20:21:53 +02: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 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 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
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 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 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 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 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 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
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
Kegsay 059996b787 Merge pull request #14 from matrix-org/kegan/api-room-memberships
Add room membership APIs
2017-01-05 17:28:51 +00:00
Kegan Dougal 490a10cbc3 Add room membership APIs 2017-01-05 15:23:37 +00:00
Kegan Dougal 30c7035522 Add /redact endpoint 2017-01-05 14:33:38 +00:00
Kegan Dougal 52bfdcb6fa Add PUT /room/roomId/state/type/key endpoint 2017-01-05 14:25:05 +00:00
Kegan Dougal 0827f53d1c Add /logout API 2017-01-05 14:16:47 +00:00
Kegan Dougal 712061a445 Add /versions endpoint 2017-01-05 12:58:55 +00:00
Kegan Dougal b8025f5f6d More clarifying comments 2016-12-09 16:26:38 +00:00
Kegan Dougal 76fa23b9a4 Test example file 2016-12-09 16:09:48 +00:00
Kegan Dougal 7afedf5a62 Add CreateRoom() 2016-12-09 15:42:32 +00:00
Kegan Dougal 9c7c0986d7 Add Login()
With example.
2016-12-09 15:03:19 +00:00
Kegan Dougal a565145603 Add AppServiceUserID string for app services. 2016-12-05 15:25:09 +00:00
Kegan Dougal 86e5c414aa Add setOnClient 2016-12-05 15:05:03 +00:00
Kegan Dougal c72cc1919a Add RegisterDummy helper function 2016-12-02 17:35:07 +00:00
Kegan Dougal 831dfd27a6 Add missing User-Interactive fields. Only add access_token if one was given. 2016-12-02 17:02:25 +00:00
Kegan Dougal 4517ecd6ed Remove named return args 2016-12-02 16:52:32 +00:00
Kegan Dougal aee7c3f473 Add Register() with req/resp structs 2016-12-02 16:51:20 +00:00
Kegan Dougal 8bd1c5a89b Add Client.StateEvent method with test and example. Move examples to different file 2016-12-02 15:36:09 +00:00
Kegan Dougal 1842392399 Bug fixes 2016-12-02 15:21:18 +00:00
Kegan Dougal b0590a055a Refactor how requests are sent 2016-12-02 14:07:41 +00:00
Kegan Dougal 69b0fcb79d Add LeaveRoom(roomID) with test 2016-12-01 17:32:16 +00:00
Kegan Dougal 16b47cb061 Add remaining Go-NEB APIs 2016-12-01 12:19:25 +00:00
Kegan Dougal 4f35a742e5 Tweak error message 2016-12-01 11:36:41 +00:00
Kegan Dougal 70aad48fbf Remove NextBatchStorer/FilterStorer. Replace with Storer 2016-12-01 11:33:12 +00:00