-
- Downloads
feat: implement appservices
this also reverts some stateres changes
Showing
- Cargo.lock 56 additions, 191 deletionsCargo.lock
- Cargo.toml 5 additions, 3 deletionsCargo.toml
- src/appservice_server.rs 104 additions, 0 deletionssrc/appservice_server.rs
- src/client_server/account.rs 25 additions, 10 deletionssrc/client_server/account.rs
- src/client_server/alias.rs 33 additions, 8 deletionssrc/client_server/alias.rs
- src/client_server/media.rs 1 addition, 1 deletionsrc/client_server/media.rs
- src/client_server/membership.rs 6 additions, 0 deletionssrc/client_server/membership.rs
- src/client_server/message.rs 2 additions, 1 deletionsrc/client_server/message.rs
- src/client_server/profile.rs 2 additions, 0 deletionssrc/client_server/profile.rs
- src/client_server/redact.rs 1 addition, 0 deletionssrc/client_server/redact.rs
- src/client_server/room.rs 15 additions, 0 deletionssrc/client_server/room.rs
- src/client_server/state.rs 2 additions, 1 deletionsrc/client_server/state.rs
- src/client_server/to_device.rs 1 addition, 1 deletionsrc/client_server/to_device.rs
- src/database.rs 8 additions, 0 deletionssrc/database.rs
- src/database/admin.rs 42 additions, 19 deletionssrc/database/admin.rs
- src/database/appservice.rs 67 additions, 0 deletionssrc/database/appservice.rs
- src/database/globals.rs 7 additions, 5 deletionssrc/database/globals.rs
- src/database/media.rs 6 additions, 1 deletionsrc/database/media.rs
- src/database/rooms.rs 55 additions, 67 deletionssrc/database/rooms.rs
- src/database/sending.rs 162 additions, 78 deletionssrc/database/sending.rs
... | @@ -18,14 +18,14 @@ rocket = { git = "https://github.com/SergioBenitez/Rocket.git", rev = "1f1f44f33 | ... | @@ -18,14 +18,14 @@ rocket = { git = "https://github.com/SergioBenitez/Rocket.git", rev = "1f1f44f33 |
#rocket = { git = "https://github.com/timokoesters/Rocket.git", branch = "empty_parameters", default-features = false, features = ["tls"] } | #rocket = { git = "https://github.com/timokoesters/Rocket.git", branch = "empty_parameters", default-features = false, features = ["tls"] } | ||
# Used for matrix spec type definitions and helpers | # Used for matrix spec type definitions and helpers | ||
ruma = { git = "https://github.com/ruma/ruma", features = ["rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks", "unstable-exhaustive-types"], rev = "e8882fe8142d7b55ed4c8ccc6150946945f9e237" } | ruma = { git = "https://github.com/ruma/ruma", features = ["rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks", "unstable-exhaustive-types"], rev = "ee814aa84934530d76f5e4b275d739805b49bdef" } | ||
# ruma = { git = "https://github.com/DevinR528/ruma", features = ["rand", "client-api", "federation-api", "unstable-exhaustive-types", "unstable-pre-spec", "unstable-synapse-quirks"], branch = "unstable-join" } | # ruma = { git = "https://github.com/DevinR528/ruma", features = ["rand", "client-api", "federation-api", "unstable-exhaustive-types", "unstable-pre-spec", "unstable-synapse-quirks"], branch = "unstable-join" } | ||
# ruma = { path = "../ruma/ruma", features = ["unstable-exhaustive-types", "rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks"] } | # ruma = { path = "../ruma/ruma", features = ["unstable-exhaustive-types", "rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks"] } | ||
# Used when doing state resolution | # Used when doing state resolution | ||
# state-res = { git = "https://github.com/timokoesters/state-res", branch = "spec-comp", features = ["unstable-pre-spec"] } | # state-res = { git = "https://github.com/timokoesters/state-res", branch = "timo-spec-comp", features = ["unstable-pre-spec"] } | ||
state-res = { git = "https://github.com/ruma/state-res", branch = "timo-spec-comp", features = ["unstable-pre-spec", "gen-eventid"] } | state-res = { git = "https://github.com/ruma/state-res", branch = "timo-spec-comp", features = ["unstable-pre-spec", "gen-eventid"] } | ||
# state-res = { path = "../../state-res", features = ["unstable-pre-spec", "gen-eventid"] } | #state-res = { path = "../state-res", features = ["unstable-pre-spec", "gen-eventid"] } | ||
# Used for long polling and federation sender, should be the same as rocket::tokio | # Used for long polling and federation sender, should be the same as rocket::tokio | ||
tokio = { version = "0.2.23" } | tokio = { version = "0.2.23" } | ||
... | @@ -41,6 +41,8 @@ directories = "3.0.1" | ... | @@ -41,6 +41,8 @@ directories = "3.0.1" |
js_int = "0.1.9" | js_int = "0.1.9" | ||
# Used for ruma wrapper | # Used for ruma wrapper | ||
serde_json = { version = "1.0.60", features = ["raw_value"] } | serde_json = { version = "1.0.60", features = ["raw_value"] } | ||
# Used for appservice registration files | |||
serde_yaml = "0.8.14" | |||
# Used for pdu definition | # Used for pdu definition | ||
serde = "1.0.117" | serde = "1.0.117" | ||
# Used for secure identifiers | # Used for secure identifiers | ||
... | ... |
src/appservice_server.rs
0 → 100644
src/database/appservice.rs
0 → 100644
Please register or sign in to comment