2497 Commits

Author SHA1 Message Date
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
Jonas Platte
7aec43c323
Fix missing serde(default) attributes 2020-09-21 23:06:20 +02:00
Jonas Platte
22ec1710b5
Update ruma-identifiers validation logic
* Allow empty localparts
* Simplify some code
2020-09-21 22:34:56 +02:00
Jonas Platte
85e3df7c76
identifiers-validation: Fix docs 2020-09-21 21:57:53 +02:00
Vincent Lee
d36d005b97
Change requires_authentication: bool to authentication: AuthScheme 2020-09-18 16:28:51 +02:00
Jonas Platte
906e50f9a8
Fix clippy error 2020-09-17 22:18:16 +02:00
Jonas Platte
2112ae00c6
federation-api: Make EventTemplate non-exhaustive 2020-09-17 22:09:51 +02:00
Jonas Platte
2b01a8211a
federation-api: Rewrap doc comments 2020-09-17 22:00:22 +02:00
Jonas Platte
133056c524
api-macros: Small improvements to request building code 2020-09-17 21:46:46 +02:00
Jonas Platte
b4b9d28c8c
Update change log for ruma-common 2020-09-17 21:28:02 +02:00
Jonas Platte
15e1a4bea8
Remove origin field from transactions and pdus for #[feature = "unstable-pre-spec"]
See https://github.com/matrix-org/synapse/issues/3816

Co-authored-by: Timo <timo@koesters.xyz>
2020-09-17 21:24:02 +02:00