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
Jade added 1 commit 2025-04-25 01:50:55 +00:00
feat: HTML default page
All checks were successful
Release Docker Image / define-variables (push) Successful in 1s
Release Docker Image / define-variables (pull_request) Successful in 1s
Documentation / Build and Deploy Documentation (pull_request) Successful in 33s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 19m49s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 18m4s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Successful in 17m30s
Release Docker Image / merge (push) Successful in 24s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Successful in 48m50s
Release Docker Image / merge (pull_request) Successful in 20s
0bc8bfa923
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 2 commits 2025-04-30 23:47:07 +00:00
ci: Cache timelord-cli, avoid double downloading rust SDK components
Some checks failed
Release Docker Image / define-variables (pull_request) Successful in 2s
Release Docker Image / define-variables (push) Successful in 12s
Documentation / Build and Deploy Documentation (pull_request) Successful in 32s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Failing after 1m20s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Failing after 32s
Release Docker Image / merge (pull_request) Has been skipped
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 28s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Failing after 34s
Release Docker Image / merge (push) Has been skipped
f97ab89254
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
Jade added 1 commit 2025-04-30 23:50:28 +00:00
fixup! ci: Cache timelord-cli, avoid double downloading rust SDK components
Some checks failed
Release Docker Image / define-variables (pull_request) Successful in 1s
Release Docker Image / define-variables (push) Successful in 12s
Documentation / Build and Deploy Documentation (pull_request) Successful in 34s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 37s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Failing after 41s
Release Docker Image / merge (push) Has been skipped
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Failing after 37s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Failing after 34s
Release Docker Image / merge (pull_request) Has been skipped
be62d37f58
Jade added 1 commit 2025-04-30 23:54:11 +00:00
fixup! ci: Cache timelord-cli, avoid double downloading rust SDK components
Some checks failed
Release Docker Image / define-variables (pull_request) Successful in 1s
Release Docker Image / define-variables (push) Successful in 13s
Documentation / Build and Deploy Documentation (pull_request) Successful in 29s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Successful in 20m6s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Failing after 2m58s
Release Docker Image / merge (pull_request) Has been skipped
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 2m43s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Failing after 2m45s
Release Docker Image / merge (push) Has been skipped
d4f99d8b7d
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 added 1 commit 2025-05-01 00:21:49 +00:00
fixup! ci: Cache timelord-cli, avoid double downloading rust SDK components
All checks were successful
Release Docker Image / define-variables (push) Successful in 1s
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) (push) Successful in 16m18s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 17m0s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Successful in 16m19s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Successful in 16m34s
Release Docker Image / merge (push) Successful in 31s
Release Docker Image / merge (pull_request) Successful in 24s
839417380c
Jade added 1 commit 2025-05-01 17:46:36 +00:00
feat: Prefill server name in federation test
All checks were successful
Release Docker Image / define-variables (pull_request) Successful in 1s
Release Docker Image / define-variables (push) Successful in 12s
Documentation / Build and Deploy Documentation (pull_request) Successful in 29s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Successful in 16m58s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Successful in 16m34s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 16m18s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 16m41s
Release Docker Image / merge (pull_request) Successful in 31s
Release Docker Image / merge (push) Successful in 28s
843d9cf2ae
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
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.