homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals)
2022-03-08 10:24:26 +01:00
gnieto
fca0f6a22b
Minor fix on join member auth rules
...
Previous code was not checking/enforcing rule 4.3.1
(https://spec.matrix.org/v1.2/rooms/v9/ ), which states that a room
member event (with a join membership) must be accepted only if it contains
a previous event which `state_key` is the room creator.
On top of that, it simplifies the public interface for `auth_rules`,
removing the need of (externally) compute `prev_event`, which, as a side
effect, should reduce the amount of times the previous event needs to be
fetched: It will only load it if the authorized event is a `m.room_member`
with a `Join` state.
Finally, I've splitted the join conditions so it's (hopefully) more
readable and apply auth rules in the same order as they
appear in the spec.
2022-03-08 08:27:47 +01:00
Johannes Becker
e94e0e885d
common: Enhance MessageType docs
2022-03-07 13:35:55 +00:00
Jonas Platte
ed36ae5ac7
client-api: Fix response field name in space::get_hierarchy
2022-03-05 14:12:17 +01:00
Jonas Platte
493b9a08c7
macros: Move utility things into util module
2022-03-04 17:43:39 +01:00
Jonas Platte
1192bd1099
common: Create crate-level macro re-exports module
2022-03-04 17:00:01 +01:00
Jonas Platte
43c47ef676
state-res: Fix wrong import location
2022-03-04 17:00:00 +01:00
Jonas Platte
f4b539bec5
macros: Fix a confusing variable name
2022-03-04 15:08:16 +01:00
Kévin Commaille
4cefb9ef62
appservice-api: Fix helper_tests
2022-03-04 13:34:57 +01:00
Kévin Commaille
9e736bec84
ruma: Fix hello_isahc example
2022-03-04 13:34:57 +01:00
Kévin Commaille
c3f9a3cb70
common: Merge ruma-events into ruma-common
2022-03-04 11:45:07 +00:00
Kévin Commaille
588fe9c006
events: Remove unnecessary unwraps in message tests
2022-03-03 14:04:20 +01:00
Kévin Commaille
49fe823d74
events: Remove TextMessage trait
2022-03-03 14:04:20 +01:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common
2022-03-03 14:01:51 +01:00
Kévin Commaille
c37a514a89
events: Add support for extensible file events
...
As defined in MSC3551
2022-03-03 13:55:04 +01:00
Jonas Platte
c1e1665808
macros: Remove an unnecessary clone
2022-03-03 11:14:54 +01:00
Kévin Commaille
99cd70b430
events: Add support for extensible notice and emote events
...
As defined in MSC1767
2022-03-02 18:09:43 +01:00
Kévin Commaille
f78d3480a5
events: Add support for extensible text event
...
As defined in MSC1767
2022-03-02 18:09:43 +01:00
Kévin Commaille
0d49715f29
macros: Merge ruma-api-macros into ruma-macros
2022-03-02 15:19:16 +01:00
Kévin Commaille
2a3c78de18
macros: Merge ruma-serde-macros into ruma-macros
2022-03-01 18:02:57 +01:00
Kévin Commaille
60eb51ee0e
macros: Merge ruma-identifiers-macros into ruma-macros
2022-03-01 17:24:19 +01:00
Kévin Commaille
c52e51c016
federation-api: Implement space summary API
...
According to MSC2946
2022-03-01 15:57:45 +01:00
Kévin Commaille
84e1c919c9
client-api: Implement space summary API
...
According to MSC2946
2022-03-01 15:57:43 +01:00
Kévin Commaille
ede7601aa9
events: Fix typos
2022-02-28 13:42:12 +01:00
Kévin Commaille
f2dca60fc7
macros: Rename ruma-events-macros to ruma-macros
2022-02-27 13:54:17 +01:00
Kévin Commaille
60b2212a57
client-api: Use Raw for set_*_account_data::Request::data
2022-02-25 22:46:30 +01:00
Kévin Commaille
bff34569cf
identity-api: Add room_type to store_invitation::Request
...
According to MSC3288
2022-02-23 21:39:54 +01:00
Kévin Commaille
557a595877
events: Move room::create::RoomType to ruma-common
2022-02-23 21:39:54 +01:00
Kévin Commaille
d987b80c56
client-api: Add new capabilities
2022-02-23 19:46:39 +01:00
Kévin Commaille
6866b2e5c2
client-api: Add LoginInfo::ApplicationService
...
According to MSC2778
2022-02-23 17:42:57 +01:00
Kévin Commaille
2047dbf420
common: Add join_rule to directory::PublicRoomsChunk
2022-02-23 14:18:31 +01:00
Jonathan de Jong
0be32f989b
ruma-client-api: Add unstable path for MSC2432
2022-02-23 13:37:29 +01:00
Kévin Commaille
794f1185ed
events: Update the description of JoinRule::Knock
2022-02-23 12:35:24 +00:00
Kévin Commaille
edc7b97d05
client-api: Fix thirdparty_id_creds according to clarification in spec
2022-02-23 13:29:49 +01:00
Kévin Commaille
94dd352cc5
federation-api: Add cross-signing fields to get_devices::Response
2022-02-23 12:55:17 +01:00
Kévin Commaille
e7f19b41a7
federation-api: Add Edu::SigningKeyUpdate
...
According to MSC1756
2022-02-23 12:55:17 +01:00
Jonathan de Jong
d0ad3aa419
client-api: Refactor backup APIs to be more descriptive and accurate
2022-02-22 20:59:26 +01:00
Kévin Commaille
771f437d9e
events: Rename MessageEvent to MessageLikeEvent
2022-02-22 20:06:36 +01:00
Kévin Commaille
f78ae4ddde
client-api: Make score and reason optional in room::report_content::Request
2022-02-22 19:23:43 +01:00
Kévin Commaille
412452ea2e
client-api: Add is_guest to account::whoami::Response
...
According to MSC3069
2022-02-22 18:43:25 +01:00
Kévin Commaille
4ab4614ef0
client-api: Add device_id to account::whoami::Response
...
According to MSC2033
2022-02-22 18:41:15 +01:00
Kévin Commaille
04cfc7c12d
client-api: Fix backup::update_backup endpoint
...
Method was POST instead of PUT
Docs were for the create_backup endpoint
2022-02-22 17:13:15 +01:00
Jonathan de Jong
7ca97a0f35
identifiers: Add FromStr to MatrixUri and MatrixToUri
2022-02-20 12:39:23 +01:00
stoically
1db909fbc7
events: Add simple custom state event example
2022-02-20 12:34:52 +01:00
Jonas Platte
25e5fca91b
Release ruma 0.5.0
2022-02-19 15:39:41 +01:00
Jonas Platte
f9eff3d261
Release ruma-client 0.8.0
2022-02-19 15:08:13 +01:00
Jonas Platte
82436b57ba
Release ruma-state-res 0.6.0
2022-02-19 15:05:41 +01:00
Jonas Platte
37a806e147
Release ruma-appservice-api 0.5.0
2022-02-19 15:04:07 +01:00
Jonas Platte
3aee3b8286
Release ruma-push-gateway-api 0.4.0
2022-02-19 15:03:09 +01:00
Jonas Platte
ef1c265327
Release ruma-federation-api 0.4.0
2022-02-19 15:00:58 +01:00