Show the version of Sonda #3

Merged
squid merged 3 commits from feat/show-version into main 2026-11-15 17:05:46 +00:00
Owner

I'm adding GET /version for signed-in users: the version and, when the binary knows it, the commit it was built from. The side menu shows it under the privacy line and Settings has an About section with it. The commit is read from the build info that Go records in a git checkout, so no build flag is needed. Closes #1.

I'm adding `GET /version` for signed-in users: the version and, when the binary knows it, the commit it was built from. The side menu shows it under the privacy line and Settings has an About section with it. The commit is read from the build info that Go records in a git checkout, so no build flag is needed. Closes #1.
- GET /version (signed-in users only) answers the version and, when the binary knows it, the commit it was built from and whether the files had uncommitted changes
- the commit is read from the build info Go records in a git checkout, so no build flag is needed
- the side menu shows the version under the privacy line, and Settings has an About section with it
- the menu's own requests (friends, version) are not counted as requests of an admin page in the Shell tests
squid merged commit e6af9a118e into main 2026-11-15 17:05:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
squid/sonda!3
No description provided.