Jonas Platte
|
95fef0b0ec
|
api-macros: Make helper functions private
|
2021-04-05 14:13:49 +02:00 |
|
Jonas Platte
|
7cb7e6a211
|
api-macros: Move most parts of api and util into more specific modules
|
2021-04-05 14:05:43 +02:00 |
|
Jonas Platte
|
b4da6b784a
|
Replace non-renaming uses of serde_json::{from_str, to_string}
|
2021-04-05 13:33:59 +02:00 |
|
Jonas Platte
|
1878e8aae0
|
Replace some turbofishes with type annotations
|
2021-04-05 13:13:28 +02:00 |
|
Jonas Platte
|
536a8aea1b
|
api-macros: Replace ToTokens implementations with inherent methods
|
2021-04-05 12:57:50 +02:00 |
|
Jonas Platte
|
2e0f787ccd
|
api-macros: Refactor parsing logic
|
2021-04-05 12:39:22 +02:00 |
|
Jonas Platte
|
e8e0ceb17d
|
api-macros: Move some helper functions from util to api::parse
|
2021-04-05 12:18:54 +02:00 |
|
Jonas Platte
|
1dd6a3870a
|
Use mem::take instead of mem::replace where applicable
|
2021-04-05 12:08:29 +02:00 |
|
Jonas Platte
|
679508f831
|
api-macros: Move parsing logic into a separate module
|
2021-04-05 12:07:34 +02:00 |
|
Jonas Platte
|
e7643d4c77
|
identity-service-api: Remove extraneous indentation
|
2021-04-05 11:45:13 +02:00 |
|
Jonas Platte
|
0d617995b2
|
identity-service-api: Add crate-level docs and warn on missing docs
|
2021-04-05 11:43:35 +02:00 |
|
Jonas Platte
|
1bf4157a89
|
Add favicon and logo URLs for rustdoc
|
2021-04-05 11:42:07 +02:00 |
|
Jonas Platte
|
db18d938e0
|
api-macros: Refactor error type parsing
|
2021-04-05 11:42:07 +02:00 |
|
Kévin Commaille
|
20fb7c3c82
|
client-api: Add constructors with MxcUri in media::get_content*::Request
|
2021-04-05 11:40:27 +02:00 |
|
Kévin Commaille
|
b1470261e0
|
federation-api: Replace String with MxcUri for avatar_url
|
2021-04-05 08:10:21 +02:00 |
|
Kévin Commaille
|
c6ab610451
|
events: Replace String with MxcUri for media URLs
|
2021-04-05 08:10:21 +02:00 |
|
Kévin Commaille
|
71b358ccd6
|
common: Replace String with MxcUri for avatar_url
|
2021-04-05 08:10:21 +02:00 |
|
Kévin Commaille
|
62929ce5d1
|
client-api: Replace String with MxcUri for avatar_url
|
2021-04-05 08:10:21 +02:00 |
|
Jonas Platte
|
3be1ac702c
|
Further improve crate release docs
|
2021-04-04 22:16:52 +02:00 |
|
Jonas Platte
|
fb3067489b
|
Improve docs about releasing new crate versions
|
2021-04-04 22:13:31 +02:00 |
|
Adam
|
ffcf50fb4f
|
identity-service-api: Add terms of service acceptance endpoint
|
2021-04-04 21:37:46 +02:00 |
|
Kévin Commaille
|
f67f44c8aa
|
client-api: Change AnyEvent to AnySyncRoomEvent in push::get_notifications::Notification
|
2021-04-04 18:51:24 +02:00 |
|
Adam
|
86e3268079
|
identity-service-api: Add terms of service retrieval endpoint
|
2021-04-03 18:58:20 +02:00 |
|
Jonas Platte
|
39a8c26263
|
Release ruma-identifiers 0.18.1
|
2021-04-03 17:56:01 +02:00 |
|
Jonas Platte
|
da6746a82e
|
Release ruma-identifiers-validation 0.2.2
|
2021-04-03 17:49:51 +02:00 |
|
Jonas Platte
|
83ee0e72e2
|
Release ruma-common 0.3.1
|
2021-04-03 17:21:55 +02:00 |
|
Kévin Commaille
|
cd157885dd
|
common: Fix push::PushCondition::applies for empty value and pattern
|
2021-04-03 17:00:04 +02:00 |
|
Kévin Commaille
|
eb7683bae9
|
Add xtask to automate crate releases
|
2021-04-03 16:59:28 +02:00 |
|
Jonas Platte
|
5b0c675cb8
|
events: Make IgnoredUserListEventContent non-exhaustive
|
2021-04-01 01:45:07 +02:00 |
|
Jonas Platte
|
914279010a
|
events: Remove outdated documentation
|
2021-04-01 01:43:18 +02:00 |
|
Jonas Platte
|
085dd492c7
|
events: Update comment
|
2021-04-01 01:39:22 +02:00 |
|
Jonas Platte
|
3b69f9d3cf
|
push-gateway-api: Update changelog
|
2021-04-01 01:36:03 +02:00 |
|
Jonas Platte
|
953358e8ee
|
Release ruma-signatures 0.6.0
|
2021-04-01 01:30:01 +02:00 |
|
Jonas Platte
|
4ff8f751e0
|
client-api: Update changelog
|
2021-03-31 14:18:05 +02:00 |
|
Jonas Platte
|
aadcf9be16
|
common: Update changelog
|
2021-03-31 14:17:54 +02:00 |
|
Jonas Platte
|
36df3e341a
|
Release ruma-common 0.3.0
|
2021-03-31 13:47:24 +02:00 |
|
Jonas Platte
|
529235e61a
|
common: Restore alphabetical order of dependencies in Cargo.toml
|
2021-03-31 13:47:24 +02:00 |
|
Jonas Platte
|
69bece2a40
|
events: Fix construction of non-exhaustive struct in tests
|
2021-03-31 13:26:47 +02:00 |
|
Jonas Platte
|
4a926e0e64
|
Consistently use int! macro to create js_int::Int s from literals
|
2021-03-31 13:25:56 +02:00 |
|
Jonas Platte
|
d6bb977dba
|
common: Make NotificationPowerLevels non-exhaustive
|
2021-03-31 13:12:34 +02:00 |
|
Jonas Platte
|
171fcfa965
|
common: Remove redundant clones
|
2021-03-31 13:11:19 +02:00 |
|
Jonas Platte
|
cd34fba6ad
|
common: Fix import ordering
|
2021-03-31 13:11:02 +02:00 |
|
Jonas Platte
|
f91467d0b2
|
Use maplit::btreemap in tests
|
2021-03-31 12:32:29 +02:00 |
|
Kévin Commaille
|
357100883d
|
common: Add a function to test an event against a Ruleset
|
2021-03-31 12:12:23 +02:00 |
|
Kévin Commaille
|
038f0eec6d
|
common: Add a function to test an event against PushCondition
|
2021-03-31 12:12:23 +02:00 |
|
Kévin Commaille
|
cdb998c83f
|
Move ruma_events::room::power_levels::NotificationPowerLevels to ruma-common
|
2021-03-31 12:12:23 +02:00 |
|
Adam Blanchet
|
2e422c5d81
|
Create ImageInfo struct specific to AvatarEventContent
Add a new specific ImageInfo struct, with all the same fields,
except for `thumbnail_file`, to disallow encrypted room avatars.
Resolves: #397
|
2021-03-31 11:00:36 +02:00 |
|
Jonas Platte
|
12686fe6e3
|
Clean up std::fmt imports
We were pretty inconsistent about them before.
|
2021-03-25 16:32:08 +01:00 |
|
Julian Sparber
|
f053200462
|
ruma-client-api: Use Mxc type
This also fixes the wrong mxc url in the test for joined_members. Mxc
urls don't use a ":" as seperator between server name and media id.
|
2021-03-25 13:04:23 +01:00 |
|
Julian Sparber
|
00fea9d468
|
add type for mxc://
|
2021-03-25 13:04:23 +01:00 |
|