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
q-b
192db0371c
Add leave event endpoints
2020-09-17 20:04:41 +02:00
Jonas Platte
219cea9c1e
client-api: Add some missing constructors / non-exhaustive attributes
2020-09-17 00:07:25 +02:00
q-b
b05121877b
Merge room_state and invite_response serde modules
2020-09-16 13:14:33 +02:00
Jonas Platte
8cd3df1465
Remove questionable use of Raw
...
The notifications field was never really meant to use it.
2020-09-15 11:28:44 +02:00
Jonas Platte
7426a4e359
Fix small code style inconsistency
2020-09-14 22:19:13 +02:00
Jonas Platte
481ca6b415
federation-api: Use ServerKeys for verify_keys, old_verify_keys
2020-09-13 17:12:48 +02:00
Julian Tescher
26ae56d168
push-gateway-api: Add notify API ( #260 )
...
Co-authored-by: Devin Ragotzy <devin.ragotzy@gmail.com>
2020-09-12 23:15:24 +02:00
Jonas Platte
4a9b1aeb3c
Remove borrowing from types in ruma_common::encryption
...
Until a better solution can be found for types that appear both in
request & response types and would otherwise require incoming types to
appear as fields of outgoing types.
2020-09-12 02:50:57 +02:00
Jonas Platte
eab5368edd
common: Make recently-moved types non-exhaustive
2020-09-11 21:13:04 +02:00