253 Commits

Author SHA1 Message Date
Jonas Platte
0a47a2d915
events: Remove PartialEq impl for SessionDescription 2022-05-23 18:28:34 +02:00
Jonas Platte
b1cb6cd4c0
events: Remove PartialEq impl on NotificationPowerLevels 2022-05-23 18:24:58 +02:00
Kévin Commaille
74423b7a4e
events: Split EventMeta between struct and field attributes 2022-05-16 17:08:36 +02:00
Kévin Commaille
1073530ac6 events: Add support for type aliases
Allow to use unstable types
2022-05-16 13:24:25 +02:00
Jonas Platte
6a2950884d push: Consider push rules to not apply to events sent by the user themselves 2022-05-12 12:17:55 +02:00
Jonas Platte
af07bfb8f4
events: Improve deprecation note for fields deprecated by MSC3700 2022-05-11 14:06:01 +02:00
Jonas Platte
4e4c2b0552
events: Implement MSC3700 2022-05-10 20:52:57 +02:00
Jonas Platte
e1c35b3d7f
Release ruma-common 0.9.2 2022-05-09 12:51:17 +02:00
Kévin Commaille
abf735093c
events: Fix serde of event types with suffix 2022-05-09 10:41:22 +00:00
Jonas Platte
a36da216ec
Release ruma-common 0.9.1 2022-05-06 17:19:57 +02:00
Jonas Platte
bf55ca1556
events: Add (Sync)RoomMemberEvent::membership 2022-05-06 15:59:09 +02:00
Damir Jelić
22a0729442
events: Re-export the Change struct publicly 2022-05-05 09:48:47 +02:00
Kévin Commaille
3ddc4de758 macros: Require event module path for event_enum 2022-05-04 13:11:54 +02:00
Jonas Platte
80dae90925
events: Add StrippedPowerLevelsEvent::power_levels 2022-05-02 16:25:28 +02:00
Jonas Platte
e479d2db05
events: Use Into<RoomEventType> impls to avoid String roundtrips 2022-04-29 12:22:48 +02:00
Jonas Platte
4e8d88617d
Release ruma-common 0.9.0 2022-04-28 16:38:08 +02:00
Jonas Platte
70ea38b138
Release ruma-identifiers-validation 0.8.1 2022-04-28 15:47:56 +02:00
Jonas Platte
242085cf37
Release ruma-identifiers-validation 0.8.0 2022-04-28 15:46:12 +02:00
Jonas Platte
9cfee27722
identifiers: Clean up error enum 2022-04-27 19:09:44 +02:00
Jonas Platte
e3ee951856 events: Add support for m.identity_server account data 2022-04-27 19:08:01 +02:00
Jonas Platte
22fbb8e0dc api: Update error messages 2022-04-27 15:24:18 +02:00
Naman Sandilya
0cdd6a7b0f
Return owned value for origin_server_ts accessors 2022-04-27 10:30:24 +00:00
Adam
1fd47fa034
events: Add secret storage 2022-04-26 14:38:19 +02:00
Jonas Platte
2669be6087
events: Add details to MembershipChange::ProfileChanged 2022-04-26 12:34:00 +02:00
Jonas Platte
b3ccdcade0
events: Derive Clone and Debug for MembershipDetails 2022-04-26 12:27:31 +02:00
Jonas Platte
4643ae9b0e
events: Remove Deserialize and Serialize impls for MembershipChange 2022-04-26 12:27:21 +02:00
Kévin Commaille
291b657e6d events: Add RoomPowerLevels::user_can_do
Know whether or not a user can do a given action with the power levels.
2022-04-26 11:18:21 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02:00
Jonas Platte
e136f486db
events: Move membership change logic into its own module 2022-04-25 13:07:56 +02:00
Jonas Platte
106441bdef
events: Clean up implementation of membership_change 2022-04-25 13:07:56 +02:00
Jonas Platte
40221e3cd8
events: Add membership_change method to all kinds of member events 2022-04-25 13:07:56 +02:00
Jonas Platte
a3a7b20678
events: Make more use of event type aliases 2022-04-25 13:07:55 +02:00
Jonas Platte
eae7fa0a7d common: Replace unwrap with expect in (Milli)SecondsSinecUnixEpoch constructors 2022-04-21 17:16:02 +02:00
Jonas Platte
4f65489e8d common: Make js and rand features work together 2022-04-21 17:16:02 +02:00
Jonas Platte
dc692e7c16 common: Add support for obtaining the system time in wasm + JS environments 2022-04-21 17:16:02 +02:00
Jonas Platte
d32d60c868 common: Add SecondsSinceUnixEpoch::now 2022-04-21 17:16:02 +02:00
Jonas Platte
733823ea3c common: Improve docs for MilliSecondsSinceUnixEpoch::now 2022-04-21 17:16:02 +02:00
Johannes Becker
6b768dc033
events: Add conversion from RoomPowerLevels to RoomPowerLvelsEventContent 2022-04-21 10:29:56 +00:00
Jonas Platte
3a47403a75 events: Add changelog entry for generic state_key 2022-04-21 11:16:38 +02:00
Jonas Platte
ae7461622c events: Update state key types for all state events
… and make it mandatory to specify for state events.
2022-04-21 11:16:38 +02:00
Jonas Platte
d8b7886382 events: Allow state key type to be customized by content type 2022-04-21 11:16:38 +02:00
Jonas Platte
4365a51e2a
Upgrade some dependencies 2022-04-20 16:58:48 +02:00
Jonas Platte
efe48af207 Replace remaining uses of boxed IDs with dedicated owned ones 2022-04-20 10:39:36 +02:00
Jonas Platte
76478de953 Remove either feature 2022-04-20 10:39:36 +02:00
Jonas Platte
489f51e231 events: Replace most Box<Id>s with new owned ID types 2022-04-20 10:39:36 +02:00
Jonas Platte
026ccd7e5b common: Use new owned ID types in non-event modules 2022-04-20 10:39:36 +02:00
Jonas Platte
d855ec33d6 identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
2022-04-20 10:39:36 +02:00
Jonas Platte
01e080d0b5 identifiers: Add owned key id type aliases 2022-04-20 10:39:36 +02:00
Johannes Becker
d7a53d8bac
common: Make Restricted::allow public 2022-04-19 15:34:33 +02:00
Jakub Kubík
09ac0aa3ac
fix: Correct rule IDs in predefined Rulesets 2022-04-17 22:58:19 +02:00