continuwuity/src/admin
aviac 866769c054
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m41s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 2m30s
Update flake hashes / update-flake-hashes (pull_request) Successful in 11s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 6m31s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 15m54s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 13m58s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 13m58s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
Documentation / Build and Deploy Documentation (push) Successful in 43s
Checks / Prek / Pre-commit & Formatting (push) Successful in 2m15s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 4m38s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 5m58s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 16s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 16m4s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 12m42s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 12m49s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 13s
chore: replace serde-yml with serde-saphyr
- serde-yml has an un-addressed [security issue][sec-issue]
- [saphyr][saphyr] is a pretty recent and active crate that deals with YAML parsing
- based on that, someone recently created [serde-saphyr][serde-saphyr]

---

The change was pretty straightforward and mostly "just a search and replace". The new crate has it's `Error` type split
into serialization and derserialization errors. Hence I created one Continuwuity-Error variant for each instead of just
having a single `Yaml` variant. This was already done previously with the `Toml` errors so I thought this would be
rather acceptable.

[sec-issue]: https://github.com/advisories/GHSA-gfxp-f68g-8x78
[saphyr]: https://github.com/saphyr-rs/saphyr
[serde-saphyr]: https://github.com/saphyr-rs/saphyr/issues/66#issuecomment-3353212289
2025-11-09 11:23:32 +01:00
..
appservice chore: replace serde-yml with serde-saphyr 2025-11-09 11:23:32 +01:00
check feat: Generate admin command documentation 2025-07-06 22:58:00 +01:00
debug Implement room v12 (#943) 2025-09-17 20:46:03 +00:00
federation refactor: Replace remaining std RwLocks 2025-07-20 16:33:36 +01:00
media fix(#1134): Update docs and implementation of admin media delete-past-remote-media (#1136) 2025-10-27 12:31:25 +00:00
query fix: Put the output of !admin query room-timeline pdus in a codeblock 2025-09-07 21:20:26 +00:00
room feat: Generate admin command documentation 2025-07-06 22:58:00 +01:00
server feat: Generate admin command documentation 2025-07-06 22:58:00 +01:00
user Implement room v12 (#943) 2025-09-17 20:46:03 +00:00
admin.rs feat: Generate admin command documentation 2025-07-06 22:58:00 +01:00
Cargo.toml chore: replace serde-yml with serde-saphyr 2025-11-09 11:23:32 +01:00
context.rs style: Remove redundant, unused functions 2025-06-29 15:38:01 +00:00
mod.rs chore: Upgrade ctor, cbor 2025-09-06 16:19:56 +01:00
processor.rs refactor: Replace std Mutex with parking_lot 2025-07-20 16:31:02 +01:00
tests.rs split admin command enum from handler 2024-07-27 08:26:42 +00:00
utils.rs replace admin command branches returning RoomMessageEventContent 2025-04-19 23:33:52 +01:00