Commit Graph

158 Commits

Author SHA1 Message Date
northernSage 36e440bcce add tests for events.go 2021-02-26 03:40:12 -03:00
Bernhard Tittelbach 7dd5e2a05b
support for ephemeral events and more message types (#69)
* support ephemeral events

* added AudioMessage,LocationMessage,FileMessage

Co-authored-by: Bernhard Tittelbach <bernhard@tittelbach.org>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-08-27 13:22:06 +01:00
TheDiscordian bceb63bac6
Support sending formatted text (r0.6.0). (#82) 2020-08-27 13:09:29 +01:00
TheDiscordian 5891715dc5
MarkRead method for // MarkRead marks eventID in roomID as read, signifying the event, and all before it have been read. See https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-receipt-receipttype-eventid (#81) 2020-08-27 13:08:51 +01:00
TheDiscordian 9523b90244
Status functions for interacting with the r0.6.0 presence/status API (#80)
* Status functions for interacting with the r0.6.0 presence/status API

* private -> Public
2020-08-27 13:07:42 +01:00
f4814n c698fb0c10
Update Login() Logout() and LogoutAll() to r0.6.0 (#73)
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-08-27 13:05:45 +01:00
Neil Alexander e5578b12c7
Run CI using golangci-lint, Go 1.13.10 (#78)
* Run CI using golangci-lint, Go 1.13.10

* Update pre-commit hook

* Fix lint issues
2020-05-01 13:17:22 +01:00
Kegan Dougal 408fff5e6a Add go.mod 2020-04-08 16:53:10 +01:00
Michael Telatynski 9e7906b676
Merge pull request #71 from matrix-org/t3chguy/public_rooms
Add methods to query /publicRooms API
2020-01-28 15:53:35 +00:00
Michael Telatynski 49bed8e0e4 update comments and remove go.mod 2020-01-25 11:55:05 +00:00
Michael Telatynski fa4abd0af9 unrelated: Add PrevContent 2019-12-22 18:20:50 +00:00
Michael Telatynski dc3a2baaff Add go.mod 2019-12-21 22:52:54 +00:00
Michael Telatynski 20d5d55bc2 Add test 2019-12-21 22:48:51 +00:00
Michael Telatynski 5f2b2fc843 rejig 2019-12-21 22:35:11 +00:00
Michael Telatynski 48858059f1 delint 2019-12-21 22:33:03 +00:00
Michael Telatynski 9c5753065f Add methods to query /publicRooms API 2019-12-21 22:26:19 +00:00
Brendan Abolivier 7df988a63f
Merge pull request #66 from Reverite/20190424-json-streaming
Streaming JSON encoding/decoding via HTTP client
2019-05-28 13:09:28 +01:00
Reverite 158bd27e25 Check for resBody != nil on JSON decode 2019-05-08 13:29:31 -07:00
Reverite f9a6d11d38 Use res.Body check instead of res.ContentLength 2019-04-29 13:18:17 -07:00
Reverite 4fb520ebac Run gofmt 2019-04-25 15:16:37 -07:00
Reverite 44bc4ee622 streaming JSON encoding and decoding from HTTP client instead of allocating bytes 2019-04-25 00:24:30 -07:00
Brendan Abolivier 0c31efc5dc
Merge pull request #65 from matrix-org/babolivier/thumbnails
ImageInfo can have a Thumbnail (and it's needed for Riot on Android)
2019-04-18 16:55:19 +01:00
Bernhard Tittelbach 5df0d882cd ImageInfo can have a Thumbnail (and it's needed for Riot on Android) 2019-04-18 16:52:47 +01:00
Andrew Morgan 51f01ddc3d
Merge pull request #62 from SUMUKHA-PK/Adding_Tags_feature
Added tags.go to support room tagging feature in dendrite
2019-03-26 17:22:01 +00:00
SUMUKHA-PK c58e5d92a5 Tag->TagContent 2019-03-26 22:25:57 +05:30
SUMUKHA-PK 8aae639f6b Tag -> TagContent 2019-03-26 22:25:40 +05:30
SUMUKHA-PK 4e14b28365 Merge branch 'Adding_Tags_feature' of https://github.com/SUMUKHA-PK/gomatrix into Adding_Tags_feature 2019-03-26 22:07:30 +05:30
SUMUKHA-PK 22498f6a60 Added copyright 2019-03-26 22:07:07 +05:30
Andrew Morgan 58c78fd8f1
Update tags.go
Co-Authored-By: SUMUKHA-PK <sumukhapk46@gmail.com>
2019-03-26 22:01:34 +05:30
Andrew Morgan 566b83c1b0
Update tags.go
Co-Authored-By: SUMUKHA-PK <sumukhapk46@gmail.com>
2019-03-26 22:01:24 +05:30
Andrew Morgan da9261fac6
Update tags.go
Co-Authored-By: SUMUKHA-PK <sumukhapk46@gmail.com>
2019-03-26 22:01:15 +05:30
SUMUKHA-PK 8d38784ec2 Build issues resolved 2019-03-26 21:24:26 +05:30
SUMUKHA-PK f96350d0a8 Build issues resolved 2019-03-26 21:15:48 +05:30
SUMUKHA-PK 8083606ef5 Build issues resolved 2019-03-26 21:13:55 +05:30
SUMUKHA-PK 1ec97e4eae Added tags.go 2019-03-26 21:08:08 +05:30
Brendan Abolivier 54b415d5fa
Merge pull request #61 from matrix-org/babolivier/trailing-slashes
Manually append a trailing slash at the end of a path if needed
2019-03-20 22:38:05 +00:00
Brendan Abolivier 998378da2b Manually append a trailing slash at the end of a path if needed 2019-03-20 19:31:55 +00:00
Brendan Abolivier 94881c65f3
Merge pull request #53 from turt2live/travis/add-unsigned
Expose `unsigned` on events
2019-03-08 11:31:36 +00:00
Brendan Abolivier 4fd9ea110d
Merge pull request #56 from DzananGanic/master
fixed wrong json tag for RespUserInteractive Session param
2019-03-08 11:30:50 +00:00
Andrew Morgan 385f072fe9
Merge pull request #57 from matrix-org/anoa/go_1_10
Bump minimum go version to 1.10
2019-01-30 13:01:40 +00:00
Andrew Morgan 2c47a0c609 gofmt is different between go versions and makes everything break 2019-01-30 12:20:48 +00:00
Andrew Morgan c3f65ede3b gofmt 2019-01-30 11:59:03 +00:00
Andrew Morgan 2e135b1860 Fix responses uncommented field 2019-01-30 11:32:41 +00:00
Andrew Morgan d0a3393bc9 Fix go version 2019-01-29 18:47:24 +00:00
Andrew Morgan 544fff6a0f Bump minimum go version to 1.10 2019-01-29 17:53:14 +00:00
DzananGanic b8d1540599 fixed wrong json tag for RespUserInteractive Session param 2018-12-13 13:23:14 +01:00
Travis Ralston 4f8f762583 Expose `unsigned` on events
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-07-06 21:26:17 -06:00
Wim eb6a57bae9 Add Redacts key (m.room.redaction event) (#43) 2018-05-11 16:52:41 +01:00
Thibaut CHARLES 76dfc7718a Added default filter values & filter validation (#46)
Signed-off-by: Thibaut CHARLES cromfr@gmail.com
2018-05-09 13:37:21 +01:00
26000 072b39f7fa Fix InviteUser (#49) 2018-05-09 09:42:41 +01:00