1
0
Fork 0
mirror of https://github.com/matrix-org/gomatrix synced 2025-05-15 20:13:22 +00:00
Commit graph

169 commits

Author SHA1 Message Date
lin
7daf90b89f change request body nil to empty struct
Request Body requires an empty JSON
See https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-receipt-receipttype-eventid
2021-12-25 21:09:10 +09:00
Kegsay
be2af5ef2e
Merge pull request #86 from northernSage/add-event-tests
Add tests for events.go
2021-03-24 16:32:49 +00:00
Kegsay
82808d38a0
Merge pull request #84 from ptman/access_token
Switch from access_token in URL to token in header
2021-03-24 16:24:23 +00:00
Kegsay
5e8873e019
Merge branch 'master' into add-event-tests 2021-03-24 16:24:14 +00:00
Kegsay
e7f95a99bf
Merge branch 'master' into access_token 2021-03-24 16:21:27 +00:00
Kegsay
ec4a104708
Merge pull request #85 from northernSage/add-contributing-guidelines
Add contributing section to README.md
2021-03-24 16:21:16 +00:00
Kegsay
dbffaa2b28
Update README.md 2021-03-24 16:18:30 +00:00
Kegsay
e6877ae9c8
Update CHANGELOG.md 2021-03-24 16:18:25 +00:00
northernSage
36e440bcce add tests for events.go 2021-02-26 03:40:12 -03:00
northernSage
fffd6ae426 fix formatting 2021-02-25 07:25:59 -03:00
northernSage
049d2d9eda add initial docs 2021-02-25 07:21:37 -03:00
Paul Tötterman
ee30ee9640 Switch from access_token in URL to token in header 2020-10-01 12:09:39 +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