Commit Graph

43 Commits

Author SHA1 Message Date
poignatov
508355dcb3 feat: добавлена функциональность откладывания задач (next_show_at)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
2026-01-06 15:56:52 +03:00
poignatov
1da35aaea4 fix: исправлен отступ между словами в списке перед и после теста
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 27s
2026-01-06 15:31:43 +03:00
poignatov
d9db42a598 v3.1.4: Улучшено равномерное распределение карточек в тесте
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s
- Добавлен учёт текущей карточки при перераспределении (не показывается следующей)
- Исправлен алгоритм равномерного распределения для предотвращения подряд идущих одинаковых карточек
- Исправлен правый счётчик: показывает текущий размер пула + показанные карточки (не больше maxCards)
2026-01-06 15:30:30 +03:00
poignatov
28a45ab81e fix: использовать приоритет только из weekly_goals, без fallback на projects.priority (v3.1.3)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 40s
2026-01-06 15:09:58 +03:00
poignatov
9e5790f70e fix: очистка формы после добавления задачи (v3.1.2)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s
2026-01-06 15:02:55 +03:00
poignatov
7df258da15 feat: добавлена поддержка шаблонов $0 и \$0 для наград в задачах (v3.1.1)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 44s
2026-01-06 15:00:42 +03:00
poignatov
0ea531889d v3.1.0: Оптимизация загрузки списка задач - все данные в одном запросе, добавлены индикаторы подзадач и прогрессии
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 40s
2026-01-06 14:54:37 +03:00
poignatov
28d8148665 fix: убрать текст 'Выполнение...' из кнопки выполнения задачи с длительностью
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 29s
2026-01-06 14:38:16 +03:00
poignatov
a7bc912db3 v3.0.0: Добавлен обратный поворот карточки в тесте по клику
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s
2026-01-06 14:34:28 +03:00
poignatov
647c549ec9 feat: добавлен раздел 'Бесконечные' для задач с периодичностью 0
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 45s
2026-01-06 14:31:00 +03:00
poignatov
a6065d7ff1 fix: исправлен импорт TaskForm с явным расширением .jsx, версия 2.9.1
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 39s
2026-01-04 19:42:29 +03:00
poignatov
79430ba7f0 v2.9.0: Улучшения экрана списка задач - оптимизация загрузки, toast уведомления, исправление центрирования
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 44s
2026-01-04 19:37:59 +03:00
Play Life Bot
4767f5975c Revert add dictionary button color to black (v2.8.5)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11s
2026-01-02 18:27:25 +03:00
Play Life Bot
bacb605a0c Change add dictionary button color to white (v2.8.4)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 24s
2026-01-02 18:24:39 +03:00
Play Life Bot
3bdad682b3 Improve scroll handling in project priorities list (v2.8.3)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
2026-01-02 18:11:57 +03:00
Play Life Bot
01e8b3468c Fix scroll calculation for project priorities list (v2.8.2)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
2026-01-02 18:05:02 +03:00
Play Life Bot
ac34f480be Fix scroll issue in project priorities list (v2.8.1)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 23s
2026-01-02 17:52:54 +03:00
Play Life Bot
08c5422d35 fix: отображение блока процента выполнения даже при отсутствии проектов (v2.7.3)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6s
2026-01-02 16:30:08 +03:00
Play Life Bot
bf539c6e91 Fix: Improve auth persistence on container restart - distinguish network errors from auth errors (v2.7.3)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 21s
2026-01-02 16:19:54 +03:00
Play Life Bot
2326a774ad Fix: Prevent auth state loss on container restart (v2.7.2)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 21s
2026-01-02 16:15:42 +03:00
Play Life Bot
ecc61c2a5f fix: add project/create endpoint to nginx config
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6s
2026-01-02 16:11:35 +03:00
Play Life Bot
a5ce0de236 feat: добавлена возможность создания проектов через UI - версия 2.7.0
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 38s
2026-01-02 16:09:16 +03:00
Play Life Bot
ccb365c95c Remove integration icons from profile list
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 28s
2026-01-02 16:08:32 +03:00
Play Life Bot
1b2c79a8f2 Fix profile layout: align list items and add integration icons
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 30s
2026-01-02 16:04:22 +03:00
Play Life Bot
8b66e5fd6e Remove emoji from logout button (v2.4.1)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 21s
2026-01-02 15:59:24 +03:00
Play Life Bot
4ca6eb4fd5 Remove emojis from integrations list in profile (v2.4.0)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 20s
2026-01-02 15:55:56 +03:00
Play Life Bot
713f6020f6 fix: use authFetch for Todoist OAuth connect to send auth header
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6s
2026-01-02 15:40:06 +03:00
Play Life Bot
a7128703fe feat: refactor Todoist integration to single app with OAuth
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 32s
- Single webhook URL for all users

- OAuth authorization flow

- Removed individual webhook tokens

- User identification by todoist_user_id

- Added OAuth endpoints: connect, callback, status, disconnect

- Updated frontend with OAuth flow

- DB migration 013: removed webhook_token, added todoist_user_id, todoist_email, access_token

Version: 2.2.0
2026-01-02 15:34:01 +03:00
Play Life Bot
8ba7e8fd45 feat: Переделка Telegram интеграции на единого бота (v2.1.0)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s
- Единый бот для всех пользователей (токен из .env)
- Deep link для подключения через /start команду
- Отдельная таблица todoist_integrations для Todoist webhook
- Персональные отчеты для каждого пользователя
- Автоматическое применение миграции 012 при старте
- Обновлен Frontend: кнопка подключения вместо поля ввода токена
2026-01-02 14:47:51 +03:00
poignatov
d96bb2ce8d v2.0.6: Fix addWords handler - add user_id and improve error handling
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 40s
- Added user_id to words insertion (was missing, causing 500 errors)
- Fixed default dictionary query (removed incorrect id=0 condition)
- Added dictionary ownership validation before inserting words
- Added comprehensive logging for debugging addWords operations
2026-01-01 19:13:37 +03:00
poignatov
6f77f0643c v2.0.5: Fix transaction errors and webhook parsing
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 40s
- Fixed transaction abort error in insertMessageData (replaced ON CONFLICT with SELECT check)
- Fixed double body reading in setupTelegramWebhook (use json.Unmarshal)
- Fixed Todoist webhook JSON parsing (use json.Unmarshal from bodyBytes)
- Improved error handling in webhook responses
- Added user_id to nodes insertion
2026-01-01 18:57:30 +03:00
poignatov
edc29fbd97 v2.0.4: Fix webhook error handling and logging
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
- Webhooks now return 200 OK even on errors (to prevent retries)
- Improved error handling with proper JSON responses
- Enhanced logging for webhook debugging
- Supervisor logs now visible in docker logs (stdout/stderr)
- Fixed TodoistIntegration error display in UI
2026-01-01 18:50:55 +03:00
poignatov
7704de334c v2.0.3: Webhook user identification by URL token
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 42s
- Added webhook_token to telegram_integrations
- Webhooks now identify users by token in URL (/webhook/telegram/{token}, /webhook/todoist/{token})
- Webhook automatically configured for all users on backend startup
- Migration 011: Add webhook_token column
2026-01-01 18:38:28 +03:00
poignatov
ad1caceda0 v2.0.2: Update version
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 46s
2026-01-01 18:25:20 +03:00
poignatov
914998980e v2.0.1: Fix Go version for Docker build
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 12s
2026-01-01 18:24:00 +03:00
poignatov
4a06ceb7f6 v2.0.0: Multi-user authentication with JWT
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 16s
Features:
- User registration and login with JWT tokens
- All data is now user-specific (multi-tenancy)
- Profile page with integrations and logout
- Automatic migration of existing data to first user

Backend changes:
- Added users and refresh_tokens tables
- Added user_id to all data tables (projects, entries, nodes, dictionaries, words, progress, configs, telegram_integrations, weekly_goals)
- JWT authentication middleware
- claimOrphanedData() for data migration

Frontend changes:
- AuthContext for state management
- Login/Register forms
- Profile page (replaced Integrations)
- All API calls use authFetch with Bearer token

Migration notes:
- On first deploy, backend automatically adds user_id columns
- First user to login claims all existing data
2026-01-01 18:21:18 +03:00
poignatov
f8aa81f963 Bump version to 1.1.1: Fix Telegram webhook handling and chat_id saving
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m33s
- Fix TelegramUpdate struct to handle message and edited_message properly
- Fix chat_id saving for messages without text
- Add comprehensive logging for webhook registration
- Improve error handling and diagnostics
2025-12-31 19:39:01 +03:00
poignatov
7398918bc0 Release v1.1.0: Add Telegram and Todoist integrations UI
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
- Add telegram_integrations table to store bot token and chat_id
- Add Integrations tab with Todoist and Telegram integration screens
- Remove TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID from env variables
- All Telegram configuration now done through UI
- Telegram webhook registration happens when user saves bot token
- Rename TELEGRAM_WEBHOOK_BASE_URL to WEBHOOK_BASE_URL
2025-12-31 19:11:28 +03:00
poignatov
8ba6a9a78f Убрана логика создания нулевой точки в графике полной статистики
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 26s
2025-12-30 21:00:41 +03:00
poignatov
a76252a198 Update backend and frontend components 2025-12-30 18:27:12 +03:00
poignatov
6473622977 Добавлены новые API endpoints в конфигурацию nginx
- Добавлены project/move и project/delete в nginx.conf для проксирования
- Обновлен nginx-unified.conf с новыми маршрутами
- Vite config уже поддерживает /project/* через общий прокси
2025-12-29 21:43:03 +03:00
poignatov
fc83bed1a3 Реализована возможность изменения проектов
- Добавлено поле deleted в таблицу projects (миграция 007)
- Изменена иконка перехода на экран проектов (список вместо звезды)
- Заменен крестик на троеточие в списке проектов
- Добавлено модальное окно с кнопками 'Перенести' и 'Удалить'
- Реализован экран переноса проекта с выбором существующего или созданием нового
- Добавлены API endpoints: /project/move и /project/delete
- При переносе проекта обновляются nodes и weekly_goals с обработкой конфликтов
- При удалении проекта удаляются все связанные weekly_goals
- Добавлена фильтрация удаленных проектов во всех SQL запросах
- Обновлена materialized view для исключения удаленных проектов
2025-12-29 21:31:43 +03:00
poignatov
4f8a793377 Initial commit 2025-12-29 20:01:55 +03:00