Commit Graph

20 Commits

Author SHA1 Message Date
5009bb130c chore: remove AGENTS.md (all tasks implemented) 2026-06-23 21:42:55 +03:30
4a5778afe5 feat: add inline keyboard, /start command, and callback handlers
- Show main menu with Clock In/Out, Report, Export, Remote, Day Off buttons
- Each action result includes a 'Back to Menu' button
- Handle callback queries alongside text commands
- Delete stale webhook before switching to polling
- Log i18n initialization error instead of silently ignoring it
2026-06-23 21:42:52 +03:30
0be03f7078 chore: connect bot container to proxy_net for nginx reverse-proxy
This allows nginx-edge to reach the bot via service name
on the shared proxy_net external network.
2026-06-23 21:42:45 +03:30
c4e8c8dc3a fix: make schema idempotent with IF NOT EXISTS
Add i18n locale files to Docker image and fix all CREATE
statements to use IF NOT EXISTS to survive container restarts.
2026-06-23 21:42:39 +03:30
b0fcb7a6c3 main: pass correct APIEndpoint to NewBotAPIWithClient 2026-06-23 21:00:27 +03:30
3aaf5b326d main: use default HTTP client (proxy via env) 2026-06-23 20:58:52 +03:30
f6d6e994aa Docker: proxy args for go mod download (temporary) 2026-06-23 20:53:58 +03:30
7d03a4d8fc Docker: use explicit Go 1.26.4 image to match go.mod 2026-06-23 20:52:52 +03:30
0a9175add4 handlers: replace fmt.Errorf with errors.New to satisfy vet
All checks were successful
CI / build (push) Successful in 55s
2026-06-23 20:50:03 +03:30
0909cbac7d CI: add HTTP_PROXY/HTTPS_PROXY to reach Golang toolchain (temporary solution)
Some checks failed
CI / build (push) Failing after 40s
2026-06-23 20:48:21 +03:30
a447e127ec CI: install git and ca-certificates for VCS module fetch
Some checks failed
CI / build (push) Failing after 8m34s
2026-06-23 20:38:28 +03:30
316d8446ee CI: set GOPROXY=direct to avoid proxy block
Some checks failed
CI / build (push) Failing after 4m54s
2026-06-23 20:32:57 +03:30
070b59f976 Docker: update builder to Go 1.26 to match go.mod
Some checks failed
CI / build (push) Has been cancelled
2026-06-23 20:31:42 +03:30
292516fcd3 CI: use Go 1.26 to match go.mod toolchain
Some checks failed
CI / build (push) Has been cancelled
2026-06-23 20:27:53 +03:30
5666170824 CI: remove sudo from install step (root in act)
Some checks failed
CI / build (push) Failing after 19s
2026-06-23 20:26:08 +03:30
9ed38c7514 CI: install Node.js before using JavaScript actions
Some checks failed
CI / build (push) Failing after 2s
2026-06-23 20:25:22 +03:30
0bb5db46d0 Dockerfile, docker-compose, Gitea CI, Makefile, i18n (en/fa)
Some checks failed
CI / build (push) Failing after 27s
2026-06-23 20:23:04 +03:30
7176f9b81d Bot handlers: clock‑in/out, remote flag, day‑off toggle, daily report, monthly Excel export 2026-06-23 20:22:54 +03:30
4146e35f35 Initial scaffold: Go module, SQLite schema, config loader, Telegram bot with webhook/polling modes 2026-06-23 20:22:46 +03:30
c803239193 init 2026-06-23 19:10:42 +03:30