Jonas Platte
e74158b262
Update more endpoints
2020-08-15 02:23:30 +02:00
Jonas Platte
640c5602d5
Make accidentally private fields public
2020-08-15 02:19:26 +02:00
Jonas Platte
9e8f4a3437
Use AnyStateEventContent in send_state_event_for_key
2020-08-15 00:40:39 +02:00
Jonas Platte
0babfb489c
Use AnyStateEventContent in send_state_event_for_empty_key
2020-08-15 00:40:11 +02:00
Jonas Platte
aead9fa852
Use AnyMessageEventContent in send_message_event
2020-08-15 00:37:39 +02:00
Devin Ragotzy
456505081b
Fix rooms/{roomId}/aliases and rooms/{roomId}/report endpoint metadata fields
2020-08-14 15:43:21 +02:00
Isaiah Inuwa
eaf3fd41cc
Use shared directory types from ruma-common in ruma-federation-api and ruma-client-api
2020-08-14 12:14:21 +02:00
Jonas Platte
d6c15e5769
client-api: More borrowing
2020-08-14 01:40:35 +02:00
Jonas Platte
7557ed438b
Replace last explicit use of Box<ServerName> outside ruma-identifiers
2020-08-14 01:08:16 +02:00
Jonas Platte
a165c43460
Make some request and response types non-exhaustive
2020-08-14 00:30:25 +02:00
Jonas Platte
157957ced6
client-api: Update more endpoints to new API conventions
2020-08-14 00:30:20 +02:00
Jonas Platte
a674afe512
client-api: Include add_3pid in r0::account
2020-08-14 00:20:06 +02:00
Jonas Platte
6e2b76c528
Fixup for f210f916
2020-08-13 22:10:25 +02:00
Jonas Platte
148d876acb
Use ServerNameBox in ruma-events, ruma-*-api
2020-08-13 22:01:15 +02:00
Jonas Platte
b4b96e44fd
Borrow things in more endpoint requests
2020-08-13 22:01:12 +02:00
Jonas Platte
a00129fcfb
Borrow strings and identifiers in membership::ThirdPartySigned and dependent endpoints
2020-08-13 21:21:57 +02:00
Jonas Platte
4a1b6d5607
Use DeviceIdBox in ruma-events, ruma-*-api
2020-08-13 21:19:41 +02:00
Jonas Platte
f210f91611
Borrow strings and identifiers in uiaa::AuthData and dependent endpoints
2020-08-13 21:19:38 +02:00
Jonas Platte
987d48666c
Split Endpoint trait into OutgoingRequest, IncomingRequest
2020-08-12 23:33:27 +02:00
florianjacob
467e7afd5e
Require std::error::Error for EndpointError
...
and implement it for ruma_api::error::FromHttpResponseError and Void.
This allows integrating EndpointErrors in the common rust error
ecosystem like thiserror and anyhow.
2020-08-12 14:00:44 +02:00
Jonas Platte
dffa60d70f
client-api: Update leave_room to new API conventions
2020-08-11 02:03:14 +02:00
Jonas Platte
b20768c1b1
Integrate ruma-client
2020-08-11 01:41:23 +02:00
Amanda Graven
fdc15123b0
Reorganize encyption related code
...
Some types used for encryption related tasks need to be used across more
internal crates than expected, so a few have been moved and renamed for
clarity.
* Rename the key_algorithms module in ruma-identifiers-validation to crypto_algorithms
* Move ruma_events::Algorithm to ruma-identifiers-validation and rename it EventEncryptionAlgorithm
* Move DeviceKeys from ruma-client-api to ruma-common
2020-08-10 18:38:53 +02:00
Jonas Platte
da78e215f8
Use thirdparty network types into ruma_common
2020-08-09 00:45:35 +02:00
Jonas Platte
1fbf05d71f
Fix some bad formatting
2020-08-08 21:52:58 +02:00
Jonas Platte
0366466792
Use toplevel imports in ruma_api! expansion
2020-08-08 21:23:07 +02:00
Jonas Platte
c39e9f5779
client-api: Move tests in get_public_rooms into tests module
2020-08-08 21:07:35 +02:00
Jonas Platte
f37fc6845f
Remove borrowing from API responses
...
To borrow these with correct lifetimes, we would need GATs
2020-08-08 21:04:45 +02:00
Jonas Platte
d6d84a9a70
Bump ruma-identifiers version
2020-08-08 18:28:23 +02:00
Jonas Platte
9384d24d04
Fix last commit not building with the unstable-pre-spec feature
2020-08-08 17:06:14 +02:00
Jonas Platte
a74dddd93b
Borrow strings and identifiers in more endpoints
2020-08-08 16:50:37 +02:00
Jonas Platte
6f805d2584
client-api: Simplify r0::room::create_room::CreationContent::into_event_content
using the assign crate
2020-08-08 16:36:13 +02:00
Jonas Platte
a1916837f9
Bump ruma-identifiers version
2020-08-08 16:21:11 +02:00
Isaiah Inuwa
7eb945976c
Use strong types in signatures fields
2020-08-08 15:54:31 +02:00
Isaiah Inuwa
7240184c1d
Use DeviceKeyId and DeviceKeyAlgorithm from ruma-identifiers
2020-08-08 15:54:31 +02:00
Jonas Platte
d08fc02bc0
Update ruma-client-api changelog
2020-08-08 15:50:41 +02:00
Jonas Platte
349027f87d
Borrow strings and identifiers in send_state_event_*
2020-08-08 14:36:31 +02:00
Jonas Platte
2e683b2fd4
Borrow strings and identifiers in send_message_event
2020-08-08 14:28:07 +02:00
Jonas Platte
582cc9fe2a
Rename {create => send}_message_event, same for state
2020-08-08 14:27:00 +02:00
Jonas Platte
929cd8a8d0
Fix ruma-client-api changelog
2020-08-08 14:25:35 +02:00
Devin Ragotzy
478385f0f2
Add room::aliases endpoint
2020-08-08 14:07:03 +02:00
Devin Ragotzy
7f0f5be1fe
Convert alias mod and get_public_rooms to use Outgoing trait
2020-08-07 22:08:03 +02:00
Jonas Platte
30e73186e7
Bump dependencies
2020-08-07 19:13:00 +02:00
Jonas Platte
9bc6ce9201
Use identifier macros for tests
2020-08-05 00:12:44 +02:00
Jonas Platte
10184cb9ca
Use a dedicated method for conversion from Ruma request type to http::Request
2020-08-01 01:01:15 +02:00
timokoesters
8650ae00da
Make limit in user_directory/search a smart field
2020-07-30 19:05:49 +02:00
Jonas Platte
4a251189ef
Release ruma-client-api 0.10.0-alpha.1
2020-07-29 17:38:54 +02:00
Jonas Platte
dbdbc148ea
Release ruma-api 0.17.0-alpha.1
2020-07-29 17:25:32 +02:00
Jonas Platte
fa8c7b020b
Release ruma-events 0.22.0-alpha.1
2020-07-29 17:09:29 +02:00
Jonas Platte
48777f2eed
Release ruma-serde 0.2.3
2020-07-29 16:48:02 +02:00