feat(fork): disable Cat Gatekeeper by default and cut the auto-updater cord#93
Closed
gappc wants to merge 1 commit into
Closed
feat(fork): disable Cat Gatekeeper by default and cut the auto-updater cord#93gappc wants to merge 1 commit into
gappc wants to merge 1 commit into
Conversation
… cord Fork of pi-web for self-hosting without third-party auto-updates. Cat Gatekeeper: - Default to disabled (web cat-settings.js CAT_DEFAULTS.enabled + server-side internal/server/settings.go default); tests adjusted for default-off. Auto-update: - updater.NewDisabled(): no background poll, no manual/remote checks, no outbound calls to npm/GitHub. - app.go uses it, drops the poll goroutine, and passes RunInstall: nil so /api/update returns 503. - Removed the in-app installer (internal/app/update.go) and its test; the in-app "update" button can no longer pull/replace the binary. - Neutered the package.json postinstall hook (no auto-download on install). Fork housekeeping: - repository.url and the (now-inert) updater endpoints repointed to gappc. - mise.toml pins go 1.25.5 + node 20 (Node 23+ ships a global localStorage that breaks the jsdom component tests). Verified: make build, go vet, go test ./..., and the cat/updater vitest suites pass under Node 20. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016XKac7MvCrhs197fwdpdfC
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 description provided.