mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #306] Feature Request: Add Healthchecks version number on footer #233
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#233
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Thlb on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/306
Hi,
At the moment, i don't think we can see the currently installed version of Healthchecks.
Can you add the version number on the footer (or in an "about" page) ?
Thanks
@immanuelfodor commented on GitHub (Nov 22, 2019):
It might be desirable to have a config option to opt-in/out of displaying this info as it can open up an attack vector if a self-hosted Healthchecks is exposed to the world.
@Thlb commented on GitHub (Nov 22, 2019):
Agreed, and/or maybe only display this info for logged in users.
@cuu508 commented on GitHub (Dec 3, 2019):
How about showing the version in Django admin? Just added a commit which reads the version from CHANGELOG.md and displays it like so:
@Thlb commented on GitHub (Dec 4, 2019):
Hello,
Yeah, that's works too !
Thanks :)
@immanuelfodor commented on GitHub (Jan 2, 2020):
How can one enter the admin page? The
/adminredirects to/admin/login/?next=/admin/but there is the frontend login, which takes to the projects page. Should I do something in the settings py file?@immanuelfodor commented on GitHub (Jan 2, 2020):
Well, I needed to create a super user but the admin login still does't work with it, signs into an empty account.
FYI, the super user email must not exist in the DB, otherwise there is a nice 500 error page after login, and you need to manually update the auth user table in sqlite, the CLI admin creator doesn't complain, learnt it the hard way 😃
@cuu508 commented on GitHub (Jan 3, 2020):
Sorry about that! Email's uniqueness is not enforced, that's a known problem – #290
Just looked at hooking into
createsuperusermanagement command. It's possible but would be quite hacky. Perhaps a cleaner solution would be to rewrite it completely.First, log in the normal way with your superuser credentials (you'll end up in an empty account). Once logged in, go to
/admin/and you should see the admin interface.PS. Filed #317 and #318
@immanuelfodor commented on GitHub (Jan 3, 2020):
Thanks for the guidance! Now, I managed to login to the admin page and fix the uniqueness in SQLite as well (https://github.com/healthchecks/healthchecks/issues/290#issuecomment-570529077).