-
Notifications
You must be signed in to change notification settings - Fork 2
feat: PostgreSQL-backed config persistence #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
efb4a87
feat: PostgreSQL-backed config persistence
BillChirico 651fcd0
fix: address PR #14 review comments from CodeRabbit and Cursor Bugbot
BillChirico 4c30455
fix: address PR #14 round 2 review comments
BillChirico 3b07d57
fix: address remaining Bugbot issues on feat/db-config
BillChirico 80a1516
fix: make config footer text dynamic based on DATABASE_URL
BillChirico 6ac410e
fix: add re-entrancy guard to initDb() to prevent pool leaks
BillChirico 70aa444
fix: guard ROLLBACK in seed transaction to prevent masking original e…
BillChirico c551c82
fix: remove stale config keys during full reset
BillChirico 9fafde2
fix: wrap ROLLBACK in setConfigValue in try/catch for consistency
BillChirico 873aa3e
fix: reject dangerous keys in config path to prevent prototype pollution
BillChirico 4c0b882
fix: only suggest leaf paths in config autocomplete
BillChirico 16d1fd8
refactor: extract setNestedValue helper to DRY nested-path traversal
BillChirico edbd73d
fix: distinguish pool init errors from DB transaction failures in set…
BillChirico 63d8646
fix: wrap autocomplete handler in try/catch for expired interactions
BillChirico 53cc6a9
fix: guard against empty pathParts in setNestedValue
BillChirico ebf8f40
fix: guard setNestedValue against null and array intermediate nodes
BillChirico 4f531b0
docs: document parseValue coercion behavior and add JSON string escap…
BillChirico fec021f
fix: remove unused getConfig import from index.js
BillChirico 6108259
fix: truncate 'New Value' embed field to prevent Discord API errors
BillChirico 29d4a54
fix: handle missing config.json gracefully in resetConfig
BillChirico cddd69d
fix: handle floating-point edge cases in parseValue
BillChirico 5529b5f
fix: align autocomplete suggestions with set command requirements
BillChirico 2058658
refactor: remove dead section autocomplete branch
BillChirico 9daa7f1
refactor: derive VALID_SECTIONS dynamically from config.json
BillChirico 36442f8
fix: downgrade expected DB-unavailable log to warn in setConfigValue
BillChirico 0bedbce
fix: add Array.isArray guard on section root in setConfigValue
BillChirico 78a89a8
fix: downgrade expected DB-unavailable log to warn in resetConfig
BillChirico File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.