Commit Graph

5 Commits

Author SHA1 Message Date
db123-test
515de33837 feat: add SQLite persistence and REST API for temporary whitelisting
- Migrate IP-based temporary whitelisting from file to SQLite storage
- Add REST API endpoints for managing temporary and permanent whitelists
- Create `.env.example` with required environment variables
- Document API endpoints in README.md and docs/api.md
- Add new dependency `modernc.org/sqlite` for SQLite support
- Update deployment and security documentation
2026-05-04 09:08:11 +03:30
ea42406c5a refactor: simplified and used db.go for operations on whitelists 2026-05-04 08:46:20 +03:30
1e439f4ce3 refactor: simplified and used db.go for operations 2026-05-04 08:42:37 +03:30
8af9958743 feat: removed basic auth and added sqlite logging 2026-05-04 08:08:45 +03:30
db123-test
b02b720dc6 init: added the base files by ai and debugged by hand
it's great but currently it has a basic error which is go nil pointer dereference

WIP
2026-05-03 16:17:04 +03:30