Conversation
Signed-off-by: Gerard Hickey <hickey@kinetic-compute.com>
hickey
force-pushed
the
feat/webviewer-login
branch
from
September 17, 2026 15:52
351bd5c to
ae10381
Compare
Contributor
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What this changes
This change adds an admin flag to the session data to enable general viewing of bot information by any unauthenticated user and restrict the configuration and logs to users that have authenticated using the
web_viewer_passwordsetup in the configuration file. In addition, several actions (delete, favorite and geocode location) on the contacts page have been disabled when the user has not authenticated. Users now authenticate using a login button at the top of the page.Why
There is a good amount of information that the average user can find of interest that MeshCore Bot collects. In addition, this information helps educate the users about the MeshCore network and some of its inner workings.
Testing
Tests have been included. Live at https://dab-bot.wt0f.com/
Checklist
devand targetingdevmake testpassesmake lintpasses (ruff + mypy)npm run lint:frontend)CHANGELOG.mdupdated under## [Unreleased]if user-visibleConfig changes are reflected inconfig.ini.example(and the minimal/quickstarttemplates where relevant) — CI validates these with
validate_config.py --strictNew docs pages are added tonav:inmkdocs.ymlAny new command justifies its airtime and defaults conservatively