Jonas Platte
|
acb7fdd647
|
Remove contrib/ide/vscode
proc-macro support is now enabled by default in rust-analyzer.
https://rust-analyzer.github.io/thisweek/2021/03/22/changelog-69.html
|
2021-03-22 16:53:37 +01:00 |
|
Jonas Platte
|
a0e8bb416b
|
Increase MSRV from 1.43 to 1.45
|
2021-03-21 20:32:46 +01:00 |
|
Jonas Platte
|
c96537c7d6
|
signatures: Remove needless pre-declarations
|
2021-03-21 20:26:24 +01:00 |
|
Takayuki Maeda
|
f196f5b6f1
|
fix clippy warnings
|
2021-03-15 16:46:15 +01:00 |
|
Takayuki Maeda
|
a071df7638
|
deserialize empty string to none for submit_url
|
2021-03-15 16:46:15 +01:00 |
|
Takayuki Maeda
|
eb3763b301
|
add test for deserializing room_member
|
2021-03-15 16:46:15 +01:00 |
|
Takayuki Maeda
|
9cfa3b075c
|
deserialize empty string to none for avatar_url
|
2021-03-15 16:46:15 +01:00 |
|
Kévin Commaille
|
92ee92ad7e
|
client-api: Fix sso_login query param serialization
|
2021-03-15 12:15:43 +01:00 |
|
Kévin Commaille
|
02e6c935b3
|
client-api: Move user in login::Request to identifier in login::LoginInfo::Password
|
2021-03-15 10:36:54 +01:00 |
|
Jonathan de Jong
|
684468bc5d
|
Remove rust-analyzer.cargo.loadOutDirsFromCheck
|
2021-03-14 12:55:26 +01:00 |
|
Jonas Platte
|
341869c83c
|
client-api: Support custom login types
|
2021-03-13 20:06:18 +01:00 |
|
Bruno Bigras
|
0c8adbb69e
|
client-api: Add get_login_types::LoginType::Sso
|
2021-03-13 19:44:23 +01:00 |
|
Timo Kösters
|
5eec262130
|
Fix redactions for aliases events
|
2021-03-13 19:39:16 +01:00 |
|
Jonas Platte
|
e843ccdb90
|
ruma-api: Force client and server Cargo features to always be on
|
2021-03-09 19:58:36 +01:00 |
|
Jonas Platte
|
ad608c0013
|
Replace syn::Error::to_compile_error with into_compile_error
|
2021-03-09 19:12:21 +01:00 |
|
Akshay
|
4d51e98707
|
Introduce client and server feature flags for *-api crates
|
2021-03-05 16:00:35 +01:00 |
|
Akshay
|
c27e66741a
|
Set Content-Type to application/json in all manual endpoint trait implementations
|
2021-03-01 18:39:12 +01:00 |
|
Jonas Platte
|
4ced423612
|
Fix new clippy warnings
|
2021-03-01 18:38:41 +01:00 |
|
Jonas Platte
|
a20c75d536
|
Fix import grouping issues
|
2021-02-25 20:55:19 +01:00 |
|
Jonas Platte
|
0b83227cef
|
Remove edition from .rustfmt.toml
The edition is inferred from `Cargo.toml`s.
|
2021-02-25 20:17:47 +01:00 |
|
PunitLodha
|
27e91c972d
|
client-api: Allow iterating Capabilities
… and move all capabilities-related types (capabilities::{get_capabilities => self}).
|
2021-02-24 14:35:42 +01:00 |
|
Akshay
|
ed559c63f8
|
appservice-api: Add types for appservice registration YAML
|
2021-02-24 12:32:56 +01:00 |
|
Andi
|
6b0bf53601
|
events: Add message event serialization test
|
2021-02-18 19:12:58 +01:00 |
|
Jonas Platte
|
f5e67d0f63
|
client-api: Deserialize empty avatar_url to None in set_avatar_url (feature = "compat")
|
2021-02-18 13:28:21 +01:00 |
|
Jonas Platte
|
6dd738c315
|
client-api: Skip avatar_url in set_avatar_url request serialization if it's None
|
2021-02-18 12:30:02 +01:00 |
|
Jonas Platte
|
e659df73a1
|
Fix m.room.message serialization
|
2021-02-18 00:56:32 +01:00 |
|
Nym Seddon
|
887e8247f7
|
identity-service-api: Add public key validity endpoint
|
2021-02-15 21:18:54 +01:00 |
|
Jonas Platte
|
646776b362
|
client-api: Add convenience constructors for uiaa::AuthData
|
2021-02-15 16:24:47 +01:00 |
|
Jonas Platte
|
87bc891c53
|
client-api: Make UIAA types non-exhaustive
|
2021-02-15 16:24:25 +01:00 |
|
Jonas Platte
|
cd0fc1865c
|
client-api: Panic if capability serialization fails
There could only be a serialization failure if there is a bug in serde
or serde_json.
|
2021-02-15 16:01:19 +01:00 |
|
Jonas Platte
|
408545d287
|
client-api: Improve docs for Capabilities
|
2021-02-15 15:37:43 +01:00 |
|
Jonas Platte
|
5aba8935ad
|
client-api: Improve docs for Capabilities::set
|
2021-02-15 15:32:42 +01:00 |
|
Jonas Platte
|
e152b3cc54
|
client-api: Shorten Capabilities::get
|
2021-02-15 15:31:41 +01:00 |
|
Jonas Platte
|
918701dbff
|
client-api: Don't import serde_json::Error
|
2021-02-15 15:30:44 +01:00 |
|
PunitLodha
|
f9eefaf02b
|
client-api: Add get and set methods to Capabilities
|
2021-02-15 15:20:17 +01:00 |
|
Devin Ragotzy
|
12c294422b
|
Move new_content and relates_to fields to MessageEventContent struct
MessageEventContent used to be an enum, it now has a msgtype field where
the enum (now called MessageType) sits.
|
2021-02-13 00:29:07 +01:00 |
|
Jonas Platte
|
798cd49e9e
|
events: Use more specific MessageEvent type in room_message test
|
2021-02-12 20:09:34 +01:00 |
|
Akshay
|
a76d3e24a4
|
events: Support m.room.message events with custom msgtype s
|
2021-02-12 14:01:10 +01:00 |
|
Akshay
|
704e5f89f5
|
events: Replace serde(tag) by serde(untagged) for MessageEventContent
in preparation for adding a variant for custom `msgtype`s.
|
2021-02-12 14:01:10 +01:00 |
|
Akshay
|
526542c246
|
events: Replace derived Deserialize for MessageEventContent with a manual impl
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
|
2021-02-12 14:00:57 +01:00 |
|
Jonas Platte
|
317b2055a8
|
events: Fix tests for unstable-pre-spec
|
2021-02-12 13:41:54 +01:00 |
|
Jonas Platte
|
cd2c540e92
|
events: Make Custom* struct rest fields consistent
|
2021-02-12 11:24:07 +01:00 |
|
Nym Seddon
|
5a7dac446e
|
api: Add identity service status endpoint
|
2021-02-11 21:26:37 -06:00 |
|
Jonas Platte
|
42f1ddb222
|
common: Rename Medium::{MSISDN => Msisdn}
|
2021-02-11 19:08:09 +01:00 |
|
Jonas Platte
|
5b004d5ed7
|
Don't import serde_json::Map
|
2021-02-11 19:00:57 +01:00 |
|
Jonas Platte
|
a361bf9a8c
|
Import serde_json::Value as JsonValue
|
2021-02-11 19:00:19 +01:00 |
|
Akshay
|
6bbb42303b
|
Add event_type accessor method to event enums
|
2021-02-11 12:48:33 +01:00 |
|
Jonas Platte
|
ed6e55a22f
|
Re-format
|
2021-02-09 15:42:40 +01:00 |
|
Jonas Platte
|
2ef769803c
|
Update .rustfmt.toml
`merge_imports` has been deprecated in favor of the new, more general
setting `imports_granularity`.
|
2021-02-09 15:42:25 +01:00 |
|
Jonas Platte
|
292c5ead54
|
ruma: Enable all Cargo features + docsrs cfg on docs.rs
|
2021-02-08 20:47:42 +01:00 |
|