Commit Graph

109 Commits

Author SHA1 Message Date
Marcel 2e5978278e
Fix Event Struct to fit initialState definition in Spec
See StateEvent defintion in https://matrix.org/docs/spec/client_server/r0.3.0.html#post-matrix-client-r0-createroom
2018-04-12 18:11:09 +02:00
Jan Christian Grünhage a7fc80c806 Add filter struct (#42) 2017-10-03 12:38:48 +01:00
Kegsay 9b757298e3 Merge pull request #39 from MTRNord/patch-2
Fix timestamp being too large for int
2017-08-25 11:11:39 +01:00
Kegsay c267fe0aaf Merge pull request #37 from MTRNord/patch-1
Add GetDisplayName() method
2017-08-25 11:01:05 +01:00
Marcel e98d37640a Make gofmt happy 2017-08-25 01:18:57 +02:00
Marcel 11ade4797f Fix timestamp being too large for int
Signed-off by Marcel Radzio <mtrnord1@gmail.com>
2017-08-25 01:14:47 +02:00
MTRNord f6ce5f65b5 Add helper function GetOwnDisplayName() 2017-08-22 21:44:21 +02:00
MTRNord 3e76370297 Move method HasSingleStageFlow() back to the corresponding struct 2017-08-22 21:41:15 +02:00
MTRNord fc56cbf80a Add GetDisplayName() command 2017-08-22 20:21:53 +02:00
Marcel fdea86cdb9 Add RespUserDisplayName 2017-08-22 20:13:42 +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 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