Commit Graph

9 Commits

Author SHA1 Message Date
Sarto bf8d066d4d fix(e2e): update preset name in scanner E2E test from "ir" to "default" (for IOS version) 2026-05-07 15:07:47 +03:30
Sarto 6c799d9e7f IOS codes 2026-05-07 13:51:59 +03:30
Sarto 8c0e9c5036 feat: introduce named active resolver lists for user-defined subsets and inapp new version download and ... 2026-05-03 00:03:37 +03:30
Mustafa 15137c9e69 feat: add Docker support for server deployment
Add Docker deployment option for the server with multi-stage build.

Changes:
- Dockerfile: multi-stage build (golang:1.26-alpine → alpine:3.21, ~23MB)
- docker-compose.yml: server service on port 5300/udp with iptables redirect
- .env.example: documented environment variables template
- .dockerignore: optimized build context
- README.md & README-FA.md: Docker deployment guide, port 53 safety checks,
  and troubleshooting instructions (both EN and FA)
- configs: added more Telegram channels and X accounts

The container listens on port 5300 to avoid conflict with systemd-resolved.
External DNS traffic (port 53) is redirected via iptables PREROUTING.
No changes to existing Go source code.
2026-04-13 01:04:09 +03:30
Sarto 956856562e feat: add cache clear and rescan APIs and message cache
- Implemented /api/cache/clear endpoint to delete all files in the cache directory.
- Added tests for cache clear functionality, including cases for empty cache and method not allowed.
- Introduced /api/rescan endpoint to trigger a manual rescan of the configured channels.
- Added tests for rescan functionality, covering cases for not configured, method not allowed, and successful rescans.
- Enhanced server initialization to bootstrap configuration from active profile if config.json is missing.
2026-04-06 00:18:37 +03:30
Sarto f7c611f69a make telegram login optional and add admin features for send message or change server configuration 2026-03-30 18:08:48 +03:30
Sarto 5988c5bc1e remove dead code and change retry count for client 2026-03-28 03:46:26 +03:30
Sarto 6753c541e7 feat: convert client from TUI to Web UI 2026-03-25 19:40:53 +03:30
Sarto 5f43bfe076 feat: 🎉 first version 2026-03-25 11:30:02 +03:30