2307 Commits

Author SHA1 Message Date
Jonas Platte
1282e1cfad
Do less work on CI
rustfmt and clippy are now basically guaranteed to be available on
Nightly, so run them unconditionally and only there.
2020-10-02 15:53:18 +02:00
Jonas Platte
6c8bac949e
signatures: Simplify sign_json 2020-09-29 23:23:47 +02:00
Jonas Platte
54ba6d10fe
signatures: Remove useless Value > Value conversion 2020-09-29 23:21:17 +02:00
Jonas Platte
5ab9c4dc19
signatures: Use BTreeMap instead of HashMap 2020-09-29 23:20:53 +02:00
Jonas Platte
406b8501ac
Fix building on Rust 1.43.0 2020-09-29 22:12:56 +02:00
Jonas Platte
e3498fd856
Add a CI job for our MSRV 2020-09-29 22:07:45 +02:00
Jonas Platte
dd59d97582
Fix ruma-client-api tests not being run on CI 2020-09-29 22:07:42 +02:00
Jonas Platte
006582e3f2
Various README updates 2020-09-29 20:30:33 +02:00
Jonas Platte
8b9e20b842
Fix outdated links 2020-09-29 20:10:54 +02:00
Amanda Graven
7412664c26
Correct metadata for bind_callback endpoint 2020-09-29 19:35:56 +02:00
Alejandro Domínguez
3869d75837
Support synapse quirk for thirdparty module 2020-09-29 16:42:11 +02:00
Alejandro Domínguez
d1f8a7404c
client-api: Make ErrorKind comparable 2020-09-29 16:17:21 +02:00
Devin Ragotzy
648c3f5732
Add remaining key backup endpoints
Co-authored-by: Timo Koesters <timo@koesters.xyz>
2020-09-29 13:35:42 +02:00
Devin Ragotzy
92f1fb463a
Create CanonicalJsonValue in ruma-serde 2020-09-28 11:17:46 +02:00
Devin Ragotzy
38daf33b47
Add Raw wrapper to get_room_state endpoint 2020-09-27 18:01:08 +02:00
Jonas Platte
61441cc00e
Add some links to the readme 2020-09-26 16:45:46 +02:00
Devin Ragotzy
ac3878cbe3
Use url safe no pad base64 encoding config options for reference_hash 2020-09-26 16:27:19 +02:00
Jonas Platte
e0e7f901d0
Merge license sections in README.md's 2020-09-26 16:26:32 +02:00
Jonas Platte
d5ca199173
Random test change to not trigger Clippy 2020-09-26 16:25:28 +02:00
Jonas Platte
565e3a1ee7
Merge LICENSE files
The Copyright notice is taken out because no single person has a
copyright to the entire codebase.
2020-09-26 15:52:52 +02:00
Jonas Platte
fa44fd5c55
Remove outdated Travis badges 2020-09-26 15:37:08 +02:00
Amanda Graven
c08d350343
federation-api: Add third party invite endpoint 2020-09-25 18:59:50 +02:00
Jonas Platte
0ab74eac44
Re-export the assign macro 2020-09-25 16:11:02 +02:00
Jonas Platte
7f94479c2d
federation-api: Rewrap changelog
and regroup imports in 'Add endpoints' entry.
2020-09-25 15:42:53 +02:00
Amanda Graven
d562eef001
Add 3PID binding callpack endpoint v1 2020-09-25 15:40:58 +02:00
Jonas Platte
1aa8b7480c
client-api: Rewrap changelog 2020-09-25 14:04:09 +02:00
Jonas Platte
327900b411
client-api: Rename url filtering type & field 2020-09-25 14:03:57 +02:00
q-b
28f14712c1
client-api: Use a custom type for contains_url 2020-09-25 13:39:25 +02:00
q-b
046f89a050
federation-api: Update changelog 2020-09-25 13:36:00 +02:00
Jonas Platte
4e34079c2f
Re-export most useful items from js_int
Using `#[doc(no_inline)]` to make it obvious in docs that these are
from a crate separate from Ruma.
2020-09-24 15:13:31 +02:00
Jonas Platte
eeb5df2c95
signatures: Handle room version 5 / 6 differences 2020-09-23 12:40:28 +02:00
Jonas Platte
fa58f09a23
signatures: Rewrite redaction to be more efficient 2020-09-23 12:19:35 +02:00
Jonas Platte
414161f0fd
Fix redaction
The catch-all branch was applying where it wasn't meant to.
2020-09-23 12:18:45 +02:00
Jonas Platte
f92428b2c2
client-api: Merge more imports 2020-09-22 23:13:04 +02:00
Jonas Platte
7c535badf6
events: Make some more types non-exhaustive 2020-09-22 23:12:22 +02:00
Jonas Platte
7b8754b2c9
client-api: Merge imports 2020-09-22 22:52:15 +02:00
Jonas Platte
9359a5b18e
client-api: Remove Option in favor of serde(default) for capabilities 2020-09-22 22:51:19 +02:00
Jonas Platte
fdd326edf7
Move Outgoing from ruma-api to ruma-common
The derive macro moves from ruma-api-macros to a new ruma-common-macros
crate likewise.
2020-09-22 21:35:10 +02:00
Jonas Platte
7b08dceb30
Fix formatting 2020-09-22 21:33:58 +02:00
Jonas Platte
c87ec49594
Update authors field in ruma-events-macros/Cargo.toml 2020-09-22 21:04:00 +02:00
Jonas Platte
7122720bfe
Add LICENSE file to ruma-events-macros
For some reason it was missing.
2020-09-22 21:03:02 +02:00
Jonas Platte
c10fb9b269
Remove leftover ruma-client/.builds 2020-09-22 20:55:43 +02:00
Jonas Platte
d36f82faeb
api: Use thiserror to derive many Display + Error implementations 2020-09-22 01:48:45 +02:00
Jonas Platte
bf27285766
api: Import-rename std::error::Error 2020-09-22 01:43:16 +02:00
Jonas Platte
c6d293e0e0
Drop #[non_exhaustive] attribute on RoomVersionId
With the _Custom variant being hidden, there is no point in additionally
making it non-exhaustive.
2020-09-22 01:15:38 +02:00
Jonas Platte
a01459e12b
identifiers: Hide RoomVersionId::Custom and CustomRoomVersion 2020-09-22 01:09:18 +02:00
Jonas Platte
91994015d2
identifiers: Remove RoomVersionId::{is_custom, is_official}
They were a forwards-compatibility hazard.
2020-09-22 01:03:30 +02:00
Jonas Platte
f0df31d42b
identifiers: Remove deprecated functions 2020-09-22 00:57:33 +02:00
Jonas Platte
e1bedc819c
Use ruma_identifiers::ServerName in more endpoints
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2020-09-21 23:12:45 +02:00
Jonas Platte
2bd533c085
federation-api: Fix missing Raw<> for Pdu, Edu 2020-09-21 23:07:22 +02:00