Commit Graph

  • bddb920c82 fix: add missing confirmations to command handlers for consistency main db123 2026-06-29 10:09:09 +03:30
  • 2c1c149b13 fix: show actual currency symbol in set rate confirmation db123 2026-06-29 10:07:12 +03:30
  • 6f7f5878bf fix: correct daily work/break calculations and league back button db123 2026-06-27 23:15:12 +03:30
  • 7dbd9fda12 feat: add /setcalendar command, store tests, and improve error handling db123 2026-06-25 15:56:00 +03:30
  • d9e13cb51d chore: gitignore and untrack opencode.json db123 2026-06-25 15:10:04 +03:30
  • 59c35305c7 docs: add Gitea Actions CI badge to README db123 2026-06-25 12:33:58 +03:30
  • 5670b0455d feat: add delete account button in settings, implement all remaining achievements db123 2026-06-25 12:27:03 +03:30
  • 0926323d18 fix: removed an stray space character in text of main menu league db123 2026-06-25 09:58:54 +03:30
  • a96419f324 feat: add /settings command and document /history for UI-command parity db123 2026-06-25 09:55:53 +03:30
  • d15ed46066 fix: resolve go vet error and dayStart logic in ComputeDailyTotals db123 2026-06-25 09:54:22 +03:30
  • 3835b002a7 fix: corrected the layout of buttons in settings and text in main menu db123 2026-06-25 09:30:41 +03:30
  • 3cd692be0f fix: separate RPG and League into their own rows in settings menu db123 2026-06-25 09:19:32 +03:30
  • b822068f0a feat: enforce RPG dependency for League — cannot enable League without RPG db123 2026-06-25 09:19:03 +03:30
  • 80de661f5b refactor: eliminate store bypass and fix GetLastEvent style db123 2026-06-25 02:29:30 +03:30
  • af23f80fbb fix: address audit findings — nil pointers, timezone bug, dead code, tests, README db123 2026-06-25 02:25:13 +03:30
  • 5cd811e057 refactor: restore stored aggregates with incremental update on edit db123 2026-06-25 02:19:40 +03:30
  • 4fcb694418 fix: compute work hours from events at runtime; add Achievements button to RPG view db123 2026-06-25 02:08:33 +03:30
  • 85587d563d fix: computeTrend division by zero, add tests for trend and currency parsing, add username to settings db123 2026-06-25 01:58:27 +03:30
  • 88ccc6aa68 feat: show Anonymous in league when name empty, add username to settings, show salary hint in summary db123 2026-06-25 01:54:37 +03:30
  • 605c41ab88 fix: currency validation, league mobile layout, settings 2-col, burnout ratio, add setusername db123 2026-06-25 01:46:07 +03:30
  • 344c615666 refactor: break up large functions, add RPG/league/salary/burnout, fix bugs, add tests db123 2026-06-25 01:02:16 +03:30
  • 0d942c51db refactor: simplify break threshold picker values and labels db123 2026-06-24 21:06:23 +03:30
  • 5f12e3838b feat: add break threshold picker UI to settings with preset values db123 2026-06-24 20:59:49 +03:30
  • e399c3ee88 feat: add break threshold to settings UI with inline button and callback db123 2026-06-24 20:58:18 +03:30
  • c9dd076235 fix: count work hours in summary even on day-off days db123 2026-06-24 20:53:15 +03:30
  • e539350030 refactor: simplify calendar nav buttons by removing redundant year/step numbers db123 2026-06-24 20:49:07 +03:30
  • 834c318271 feat: add /summary, /setbreak, weekly totals, and fix command dispatch for arg-bearing commands db123 2026-06-24 20:39:51 +03:30
  • 323c1bc010 test: add dateutil and totals tests for calendar conversions and ComputeDailyTotals db123 2026-06-24 20:07:38 +03:30
  • e7e4dc7bfe fix: unsilence all error returns from SQL Exec, Bot API calls, and migrations db123 2026-06-24 20:03:24 +03:30
  • 4165839477 feat: add event notes with pending state, 5-min TTL, cancel, and /note command db123 2026-06-24 19:49:32 +03:30
  • 68c8518522 add year navigation: year row at top of calendar, clickable year in export, shared buildYearPicker with 12-year grid db123 2026-06-24 19:47:03 +03:30
  • 8d919decb0 export: tint day-off rows with theme totalFill background db123 2026-06-24 19:23:16 +03:30
  • 4edff71bfd replace manual SQL migration with goose (v3); embed migrations in binary; remove schema.sql / SCHEMA_PATH db123 2026-06-24 19:20:48 +03:30
  • c959cb7a87 export: include all days, show Day Off in type column; menu: don't hide status on day off db123 2026-06-24 19:06:54 +03:30
  • af7a438174 feat: extended the build minute keyboard to have each 10 minutes from 0 to 50 db123 2026-06-24 15:06:08 +03:30
  • 353056349f DRY hour/minute picker: extract shared buildHourPickerKeyboard/buildMinutePickerKeyboard db123 2026-06-24 15:04:22 +03:30
  • 75da4648aa feat: add IN/OUT event creation from day view in history db123 2026-06-24 15:02:08 +03:30
  • 49c0e82bac refactor: migrate from go-telegram-bot-api/v5 to go-telegram/bot db123 2026-06-24 14:56:50 +03:30
  • fb2d0ef7d1 chore: changed the rate limit down to 1 second instead of 2 db123 2026-06-24 11:39:47 +03:30
  • a8b849f8fd refactor: split handlers.go into 5 files, redesign export month picker, pad calendar rows, improve comments db123 2026-06-24 11:33:17 +03:30
  • d8599657f4 refactor: export full Gregorian range, add timezone fallback, cleanup rate limit, configurable schema path db123 2026-06-24 11:21:54 +03:30
  • f89f5607aa fix: calendar day-of-week offset off by one, nav double-jump, race conditions db123 2026-06-24 11:07:53 +03:30
  • 577aee91fb refactor: remove dead code, DRY calendar navigation and helpers db123 2026-06-24 10:54:06 +03:30
  • 67eae5ffa3 fix export timezone and calendar month title db123 2026-06-24 10:32:17 +03:30
  • 8fe43bff4d add settimezone command and timezone display in settings db123 2026-06-24 10:17:09 +03:30
  • 069bbb614e convert calendar day view header to user's calendar type db123 2026-06-24 10:14:09 +03:30
  • cafa139198 add /help command db123 2026-06-24 10:11:18 +03:30
  • 69c5e20d8e display date in user's selected calendar on main menu and reports db123 2026-06-24 10:06:39 +03:30
  • 07306cb0f0 remove reply keyboard; keep Clock In/Out as inline buttons only db123 2026-06-24 10:00:27 +03:30
  • 9c83ed98c6 fix: keep keyboard update message alive instead of send-delete pattern db123 2026-06-24 09:52:28 +03:30
  • b6c7cf81c8 fix: prefix calendar type callbacks with caltype_ to avoid conflict with cal_day/cal_prev/cal_next db123 2026-06-24 09:50:28 +03:30
  • b900710196 fix: correct Jalali calendar year conversion db123 2026-06-24 09:48:39 +03:30
  • 9d123316e6 feat: Hijri calendar, virtual midnight crossover, overlap rejection, WAL mode db123 2026-06-24 09:39:15 +03:30
  • 6f6cc6f184 feat: midnight crossover, rate limit, smart keyboard, status menu, settings db123 2026-06-24 07:56:04 +03:30
  • 2970b7d3fc feat: redesigned DB schema with users, work_types, days, events db123 2026-06-24 00:36:16 +03:30
  • 8616ed0867 feat: multi-user isolation and graceful shutdown db123 2026-06-24 00:14:41 +03:30
  • 7aada8d118 Add README.md db123 2026-06-23 22:36:41 +03:30
  • b4fab29d45 Clean up: remove unused packages, switch to slog, tidy Makefile db123 2026-06-23 22:34:01 +03:30
  • 32446a99d1 Fix break tracking (out→in gap), add startup log, clean up /start message db123 2026-06-23 22:00:25 +03:30
  • 7da6f4cb49 Add BOT_ALLOWED_USERS, fix SetColWidth params, drop fmt import, save chat_id on start db123 2026-06-23 21:56:18 +03:30
  • a92c72f46a feat: add persistent reply keyboard with Clock In / Clock Out buttons db123 2026-06-23 21:44:41 +03:30
  • 5009bb130c chore: remove AGENTS.md (all tasks implemented) db123 2026-06-23 21:42:55 +03:30
  • 4a5778afe5 feat: add inline keyboard, /start command, and callback handlers db123 2026-06-23 21:42:52 +03:30
  • 0be03f7078 chore: connect bot container to proxy_net for nginx reverse-proxy db123 2026-06-23 21:42:45 +03:30
  • c4e8c8dc3a fix: make schema idempotent with IF NOT EXISTS db123 2026-06-23 21:42:39 +03:30
  • b0fcb7a6c3 main: pass correct APIEndpoint to NewBotAPIWithClient db123 2026-06-23 21:00:27 +03:30
  • 3aaf5b326d main: use default HTTP client (proxy via env) db123 2026-06-23 20:58:52 +03:30
  • f6d6e994aa Docker: proxy args for go mod download (temporary) db123 2026-06-23 20:53:58 +03:30
  • 7d03a4d8fc Docker: use explicit Go 1.26.4 image to match go.mod db123 2026-06-23 20:52:52 +03:30
  • 0a9175add4 handlers: replace fmt.Errorf with errors.New to satisfy vet db123 2026-06-23 20:50:03 +03:30
  • 0909cbac7d CI: add HTTP_PROXY/HTTPS_PROXY to reach Golang toolchain (temporary solution) db123 2026-06-23 20:48:21 +03:30
  • a447e127ec CI: install git and ca-certificates for VCS module fetch db123 2026-06-23 20:38:28 +03:30
  • 316d8446ee CI: set GOPROXY=direct to avoid proxy block db123 2026-06-23 20:32:57 +03:30
  • 070b59f976 Docker: update builder to Go 1.26 to match go.mod db123 2026-06-23 20:31:42 +03:30
  • 292516fcd3 CI: use Go 1.26 to match go.mod toolchain db123 2026-06-23 20:27:53 +03:30
  • 5666170824 CI: remove sudo from install step (root in act) db123 2026-06-23 20:26:08 +03:30
  • 9ed38c7514 CI: install Node.js before using JavaScript actions db123 2026-06-23 20:25:22 +03:30
  • 0bb5db46d0 Dockerfile, docker-compose, Gitea CI, Makefile, i18n (en/fa) db123 2026-06-23 20:23:04 +03:30
  • 7176f9b81d Bot handlers: clock‑in/out, remote flag, day‑off toggle, daily report, monthly Excel export db123 2026-06-23 20:22:54 +03:30
  • 4146e35f35 Initial scaffold: Go module, SQLite schema, config loader, Telegram bot with webhook/polling modes db123 2026-06-23 20:22:46 +03:30
  • c803239193 init db123 2026-06-23 19:10:42 +03:30