Commit Graph

40 Commits

Author SHA1 Message Date
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
Kegan Dougal 5391ef3078 Add working example 2016-11-30 17:51:03 +00:00
Kegan Dougal 519d03ed04 Add example usage 2016-11-30 17:41:14 +00:00
Kegan Dougal ca6f598808 Move remaining Go-NEB code into gomatrix 2016-11-30 17:24:46 +00:00
Kegan Dougal 527c6568c9 Add responses/room types. Add buildURL functions with examples 2016-11-30 11:46:33 +00:00
Kegan Dougal 97f4e98e1d Start fleshing out basic Client types from Go-NEB 2016-11-29 17:03:42 +00:00