feat: HTML default page #801

Merged
Jade merged 6 commits from jade/html-default-page into main 2025-05-04 19:24:23 +00:00
Owner

TODO:

  • Move logic for calculating metadata from dockerfile to build.rs for more compatibility with different build methods
  • Update Nix to pass the git remote

image

TODO: - [x] Move logic for calculating metadata from dockerfile to build.rs for more compatibility with different build methods - [ ] Update Nix to pass the git remote ![image](/attachments/ac13514d-bc85-4bc6-87d1-8f05391b7bca)
149 KiB
nex added the
Documentation
Enhancement
labels 2025-04-27 18:39:07 +00:00
Jade force-pushed jade/html-default-page from 0bc8bfa923 to e1655edd83 2025-04-30 21:31:55 +00:00 Compare
Jade added 1 commit 2025-04-30 23:47:07 +00:00
Jade changed title from WIP: feat: HTML default page to feat: HTML default page 2025-04-30 23:47:41 +00:00
Author
Owner

Not sure how to pass the git remote from nix, so going to ignore that, but I've got this into a state I'm happy with for now.

Not sure how to pass the git remote from nix, so going to ignore that, but I've got this into a state I'm happy with for now.
Jade 2025-04-30 23:48:46 +00:00
nex requested changes 2025-04-30 23:59:54 +00:00
@ -144,3 +144,3 @@
<&DeviceId>::from(registration.registration.id.as_str())
} else {
panic!("No device_id provided and no appservice registration found, this should be unreachable");
panic!(
Owner

Is this related to adding a HTML page? feels like it should be in its own PR

Is this related to adding a HTML page? feels like it should be in its own PR
Author
Owner

This is just the result of auto formatting, I thought I got this earlier but apparently not 🤷

This is just the result of auto formatting, I thought I got this earlier but apparently not 🤷
nex marked this conversation as resolved
@ -0,0 +7,4 @@
<p>To get started, you can:</p>
<ul>
<li>Read the <a href="https://continuwuity.org/introduction">documentation</a></li>
<li>Join the <a href="https://continuwuity.org/community">community</a></li>
Owner

This should probably be a link to the room rather than guidelines

This should probably be a link to the room rather than guidelines
Author
Owner

Possibly. The community page has a link to three of the rooms, at least.

Possibly. The community page has a link to three of the rooms, at least.
Owner

And a lot of words that people won't read to find the room links :^)

And a lot of words that people won't read to find the room links :^)
Jade marked this conversation as resolved
@ -0,0 +9,4 @@
<li>Read the <a href="https://continuwuity.org/introduction">documentation</a></li>
<li>Join the <a href="https://continuwuity.org/community">community</a></li>
<li>Log in with a <a href="https://matrix.org/ecosystem/clients/">client</a></li>
<li>Ensure <a href="https://federationtester.matrix.org/">federation</a> works</li>
Owner

would it be possible to append the servername to this to automate the check? i.e. https://federationtester.matrix.org/#{{ config.server_name }}

would it be possible to append the servername to this to automate the check? i.e. `https://federationtester.matrix.org/#{{ config.server_name }}`
Author
Owner

Yeah, although it would require some code flow restructuring. Two ways to do this, either we have the router call into the template with the info from the services (faster compile times), or we have the templates depend on the services (probably a more understandable structure)

Yeah, although it would require some code flow restructuring. Two ways to do this, either we have the router call into the template with the info from the services (faster compile times), or we have the templates depend on the services (probably a more understandable structure)
Author
Owner

Compile times should be no real impact as long as we don't depend on API, admin, router or main.

Compile times should be no real impact as long as we don't depend on API, admin, router or main.
Owner

You only compile once, but you read plenty more (metaphorically speaking). although if it adds a stupid amount of time to compile under any circumstance dw about it, it's just a convenience thing

You only compile once, but you read plenty more (metaphorically speaking). although if it adds a stupid amount of time to compile under any circumstance dw about it, it's just a convenience thing
Jade marked this conversation as resolved
Jade force-pushed jade/html-default-page from 843d9cf2ae to e3ae024ed3 2025-05-01 20:23:46 +00:00 Compare
Jade added 1 commit 2025-05-01 20:27:16 +00:00
ci: Fix bad comparison
All checks were successful
Release Docker Image / define-variables (pull_request) Successful in 1s
Documentation / Build and Deploy Documentation (pull_request) Successful in 30s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Successful in 17m9s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Successful in 17m29s
Release Docker Image / merge (pull_request) Successful in 24s
Documentation / Build and Deploy Documentation (push) Successful in 47s
Release Docker Image / define-variables (push) Successful in 3s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 16m57s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 1h0m42s
Release Docker Image / merge (push) Successful in 31s
d78fc53577
requested review from nex 2025-05-03 15:23:55 +00:00
Jade merged commit d78fc53577 into main 2025-05-04 19:24:23 +00:00
nex added this to the 0.5.0 milestone 2025-06-28 20:54:50 +00:00
Sign in to join this conversation.
No reviewers
nex
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#801
No description provided.