Commit graph

48 commits

Author SHA1 Message Date
Tulir Asokan
6d9d537973 Add wrapper for /read_markers endpoint 2022-01-17 22:01:25 +02:00
Tulir Asokan
0b31804ef8 Allow passing reason in LeaveRoom 2022-01-15 13:46:38 +02:00
Tulir Asokan
c1b2329a60 Add PL override to ReqCreateRoom 2021-12-30 12:23:21 +02:00
Sumner Evans
fa533521ab
client.RedactEvent: allow arbitrary fields in redaction request 2021-12-15 10:23:43 -07:00
Paul Tötterman
a6b154c035 Add reason-field to some membership requests
https://github.com/matrix-org/matrix-doc/blob/erikj/invite_reject_reasons/proposals/2367-membership-reasons.md

What about 3pid invite?
2021-11-19 22:25:56 +02:00
Tulir Asokan
6b5ccdfd46 Add wrapper for MSC2716 batch send 2021-10-26 17:00:30 +03:00
Tulir Asokan
ddd5a8be96 Fix type of AuthType constants 2021-09-30 16:06:02 +03:00
Tulir Asokan
9807731a9a Add option to update homeserver URL after login 2021-09-19 21:35:29 -04:00
Tulir Asokan
b87e026581 Update comment and add missing omitempty tag 2021-03-04 19:34:49 +02:00
Tulir Asokan
2ab811a476 Add type when registering AS users
Also renamed uk.half-shot.msc2778 constant to AuthTypeHalfyAppservice
2021-03-04 19:31:49 +02:00
David Florness
93eac986d6
Add client wrapper functions for Device Management endpoints
https://matrix.org/docs/spec/client_server/r0.6.1#id73

Signed-off-by: David Florness <david@florness.com>
2021-02-20 15:37:19 -05:00
Tulir Asokan
495d77b3a0 Merge branch 'master' into cross-sign 2020-10-27 00:38:52 +02:00
Tulir Asokan
03c15a4297 Add appservice auth type constant 2020-10-16 16:51:13 +03:00
Tulir Asokan
a585557b37 Add struct for UI auth fallback request 2020-09-12 02:46:25 +03:00
Tulir Asokan
b40ab761fa More changes 2020-09-12 01:32:56 +03:00
Nikos Filippakis
21964b47ee Functions to sign own master key and devices
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00
Nikos Filippakis
f5e1f1e414 Sign and upload master keys of other users
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00
Nikos Filippakis
c4c4b2c61d Upload cross-signing keys to the server as well besides SSSS
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00
Nikos Filippakis
50bb209da7 Checking of trust for devices and users based on cross-signing
signatures

Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00
Nikos Filippakis
83f2636582 Store received cross-signing keys and their signatures
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:45:26 +02:00
Nikos Filippakis
211495722d DB changes for storing cross-signing keys and signatures
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:45:26 +02:00
Tulir Asokan
951f40dd32 Fix registering 2020-08-06 19:02:25 +03:00
Tulir Asokan
1ee81815fd Add option to store credentials directly in Login() 2020-07-04 20:18:22 +03:00
Tulir Asokan
91d2b08aea Add more push rule methods 2020-06-08 20:40:28 +03:00
Tulir Asokan
72957d901d Fix sharing group sessions and change other stuff 2020-04-28 21:32:12 +03:00
Tulir Asokan
fe82e2b914 Add initial outbound encryption 2020-04-28 00:57:04 +03:00
Tulir Asokan
b07cb6dc1f Fix a bunch of stuff 2020-04-27 00:35:54 +03:00
Tulir Asokan
5778fb13f1 Add support for signed_curve25519 in ReqUploadKeys 2020-04-21 02:57:38 +03:00
Tulir Asokan
112a34294f Minor improvements 2020-04-21 02:56:58 +03:00
Tulir Asokan
bb17582e1d Update key upload structs 2020-04-20 01:25:59 +03:00
Tulir Asokan
86aa914702 Add more keys endpoints and to-device events 2020-04-16 20:39:10 +03:00
Tulir Asokan
941515e73d Rename events to event 2020-04-16 17:29:47 +03:00
Tulir Asokan
8adcd0da97 Reorganize and break everything 2020-04-16 16:51:32 +03:00
Tulir Asokan
b441ba9359 Add /members method and other lazy loading stuff 2020-02-22 00:03:03 +02:00
Tulir Asokan
055c3acd81 Switch to new /login API parameters 2019-12-30 20:19:07 +02:00
Tulir Asokan
f277a1b075 Add alias creation funcs 2019-12-30 20:18:20 +02:00
Tulir Asokan
c0e83a76d9 Make transaction IDs configurable 2018-12-21 22:41:39 +02:00
Tulir Asokan
8154c462e1 Rename package 2018-10-08 01:22:27 +03:00
Tulir Asokan
920b154a41 Format 2018-09-20 01:23:41 +03:00
Tulir Asokan
65f2aacf90 Improve power level stuff and state event message content 2018-08-26 16:12:56 +03:00
Tulir Asokan
28c0621ae3 Add SetPresence, fix reply stuff and make things into pointers 2018-08-24 20:05:26 +03:00
Richard Lewis
4da59c5538 Typing notifications 2017-04-25 10:11:59 +01: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
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
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
aee7c3f473 Add Register() with req/resp structs 2016-12-02 16:51:20 +00:00