feat(admin): remove version checker and new version alerts #120
Open
feat(admin): remove version checker and new version alerts
#120
Conversation
No version published will have any call-backs to home, for security reasons. This update removes version alerts, and removes the version checker by Git.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the admin dashboard “new version” alert feature by deleting the Git-based version check endpoint and removing the frontend code that periodically queried it, aligning with the project goal of eliminating outbound “call-backs to home” for security.
Changes:
- Removed the admin dashboard JS/UI that displayed version/update alerts and polled every 15 minutes.
- Deleted the
admin/api/version_check.phpendpoint that executedgit fetchand cached results inversion_cache. - Updated internal repository instructions to no longer reference the removed endpoint.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
admin/index.php |
Removes the dashboard-only version alert container and polling script. |
admin/api/version_check.php |
Deletes the Git-backed version checking API endpoint entirely. |
.github/copilot-instructions.md |
Removes documentation/reference to version_check.php from the admin API endpoint list. |
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.
No version published will have any call-backs to home, for security reasons. This update removes version alerts, and removes the version checker by Git.
This update adds the commit below. Remember to update any manuals that have still not been ported to the platform yet to remove this reference, @marpisco.