7 Jul 2024 |
Emma [it/its] | hm, kinda screwed by low moderating server count in the new space... | 18:07:40 |
Emma [it/its] | Download clipboard.png | 18:07:48 |
Emma [it/its] | alright, just taking top 10 servers in the space by member count, everything looks okay, time to build, publish and push to git :) | 18:14:02 |
Emma [it/its] | its kinda slow because i kept the code simple, but should get the job done
shoved as much as i could into the check phase, as i cant test the execution phase
execution phase workflow:
- iterate over children
- skip if no permission to send m.space.parent in room
- set canonical to false for all spaces that are set to canonical = true, if any
- send new m.space.parent with canonical = true
| 18:16:41 |
Emma [it/its] | alright, its done | 18:29:28 |
Emma [it/its] | deployment: https://mru.rory.gay/Tools/Room/FixCanonicalParentSpace?OldSpaceId=!MKvhXlSTLGJUXpYuWF:nixos.org&NewSpaceId=!brXHJeAtqliwNGqHQx:lossy.network
Source: https://cgit.rory.gay/matrix/tools/MatrixUtils.git/tree/MatrixUtils.Web/Pages/Tools/Room/FixCanonicalParentSpace.razor?h=main-pre-media-refactor | 18:30:43 |
Emma [it/its] | (hexa - keep in mind this requires being in all the direct children of the new space, whether spaces or rooms, also requires having a powerlevel that can send m.space.parent, though itll skip over rooms where either of these isnt the case) | 18:33:27 |
Emma [it/its] | https://github.com/matrix-org/matrix-spec-proposals/pull/4168
also give an upvote to this MSC, it adds this functionality at the spec level | 19:03:06 |
Emma [it/its] | oh and just something i noticed: it seems that the nixos ws and nixos gaming rooms arent in the new space? | 19:04:39 |
Emma [it/its] | (theyre in the root space on the old one) | 19:05:02 |
hexa | what is a .razor file? 👀 | 20:14:29 |
Emma [it/its] | In reply to @hexa:lossy.network what is a .razor file? 👀 https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor | 21:06:03 |
Emma [it/its] | tl;dr https://mru.rory.gay is a native dotnet client (Single-Page Application style) using a custom matrix SDK | 21:06:53 |
Emma [it/its] | its pretty much the modern variant of .cshtml xD | 21:07:27 |
hexa | ????????????????? | 21:11:30 |
hexa | I have so many questions | 21:11:34 |
hexa | for one, you deployed this | 21:12:02 |
hexa | do you expect me to enter credentials on your deployment? 🤔 | 21:12:30 |
hexa | because I'd rather not | 21:12:47 |
Emma [it/its] | In reply to @hexa:lossy.network do you expect me to enter credentials on your deployment? 🤔 usually yes, but the source is provided if you'd rather not | 21:17:16 |
Emma [it/its] | the "deployment" is just "build static assets, throw on nginx to serve", theres no serverside compoents at all | 21:17:49 |
Emma [it/its] | assuming you have dotnet-sdk_8 on path:
git clone --recursive https://cgit.rory.gay/matrix/tools/MatrixUtils.git
cd MatrixUtils/MatrixUtils.Web
dotnet run -c Release
| 21:18:47 |
Emma [it/its] | In reply to @emma:rory.gay the "deployment" is just "build static assets, throw on nginx to serve", theres no serverside compoents at all or well, there is one serverside component, nginx serving a wwwroot :) | 21:19:26 |
Emma [it/its] | i chose not to go with a client/server architecture specifically to ease the entire "im entering credentials on your thing" aspect, whether you do is up to you, the source is provided as-is and the "deployment" is a direct build straight from source | 21:20:57 |
Emma [it/its] | if you run from source: the app is available at http://localhost:5177 | 21:21:51 |
Emma [it/its] | (the deploy script is at $src/scripts/deploy.sh btw) | 21:22:26 |
Emma [it/its] | the main reason for offering a first party instance is to have the trust of "this was built from source, no malicious third party fucked with this build", but all the code for every. last. part of it is provided as AGPLv3 and can be built from source | 21:24:08 |
hexa | thanks, I'll look into that tomorrow | 21:27:00 |
8 Jul 2024 |
| @adham-omran:matrix.org left the room. | 06:33:31 |
| Pyrox [Fox/It/She] changed their display name from Pyrox [Fox/It/She/They] to Pyrox [Fox/It/She]. | 06:53:13 |