Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add a welcome page to the static resources #4289

Merged
merged 3 commits into from
Dec 11, 2018
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 11, 2018

This is largely a precursor for the removal of the bundled webclient. The idea is to present a page at / which reassures people that something is working, and to give them some links for next steps.

The welcome page lives at /_matrix/static/, so is enabled alongside the other static resources (which, in practice, means the client API is enabled). We'll redirect to it from / if we have nothing better to display there.

It would be nice to have a way to disable it (in the same way that you might disable the nginx welcome page), but I can't really think of a good way to do that without a load of ickiness.

It's based on the work done by @krombel for #2601.

@richvdh richvdh requested a review from a team December 11, 2018 12:29
Copy link
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than circleci seems to be sad

This is largely a precursor for the removal of the bundled webclient. The idea
is to present a page at / which reassures people that something is working, and
to give them some links for next steps.

The welcome page lives at `/_matrix/static/`, so is enabled alongside the other
`static` resources (which, in practice, means the client API is enabled). We'll
redirect to it from `/` if we have nothing better to display there.

It would be nice to have a way to disable it (in the same way that you might
disable the nginx welcome page), but I can't really think of a good way to do
that without a load of ickiness.

It's based on the work done by @krombel for #2601.
@richvdh richvdh changed the base branch from develop to release-v0.34.0 December 11, 2018 14:25
@codecov-io
Copy link

Codecov Report

Merging #4289 into release-v0.34.0 will decrease coverage by 0.04%.
The diff coverage is 0%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           release-v0.34.0    #4289      +/-   ##
===================================================
- Coverage            73.52%   73.48%   -0.05%     
===================================================
  Files                  298      302       +4     
  Lines                29819    29894      +75     
  Branches              4881     4888       +7     
===================================================
+ Hits                 21925    21968      +43     
- Misses                6458     6488      +30     
- Partials              1436     1438       +2
Impacted Files Coverage Δ
synapse/app/homeserver.py 56.16% <0%> (-0.79%) ⬇️
synapse/util/versionstring.py 67.64% <0%> (-2.95%) ⬇️
synapse/handlers/auth.py 70.95% <0%> (ø) ⬆️
synapse/python_dependencies.py 40.9% <0%> (ø) ⬆️
synapse/rest/media/v1/download_resource.py 100% <0%> (ø) ⬆️
synapse/config/saml2.py
synapse/rest/saml2/__init__.py 0% <0%> (ø)
synapse/rest/well_known.py 96.42% <0%> (ø)
synapse/rest/saml2/metadata_resource.py 0% <0%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dece89d...bd52978. Read the comment docs.

@Ryonez
Copy link

Ryonez commented Apr 8, 2019

Welp, this didn't work:
image

@neilisfragile
Copy link
Contributor

neilisfragile commented Apr 10, 2019

@Ryonez wfm, can you give some more details?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants