32 Commits

Author SHA1 Message Date
0e132c9a22 Merge pull request 'fix' (#7) from localization into main
Reviewed-on: #7
2025-11-24 08:11:20 +00:00
4c87f02679 fix 2025-11-24 17:10:56 +09:00
38ab1be135 Merge pull request 'pre=deploy' (#6) from localization into main
Reviewed-on: #6
2025-11-24 08:04:47 +00:00
9106af4f8e pre=deploy 2025-11-24 17:00:20 +09:00
240864617f geo distance meter 2025-11-06 15:34:51 +09:00
0bbeb0767b geo detection 2025-11-06 15:09:15 +09:00
88d9ccd75d fix(database): Исправлены критические ошибки БД - job, state, looking_for
- Добавлена колонка job в profiles (устраняет ошибку column job does not exist)
- Добавлена колонка state в users (устраняет предупреждения State column does not exist)
- Исправлен триггер create_initial_profile() для включения looking_for
- Колонка looking_for сделана nullable с DEFAULT 'both'
- Добавлена колонка interested_in как современный синоним для looking_for
- Созданы индексы для производительности: idx_profiles_job, idx_users_state, idx_profiles_interested_in

Патчи:
- sql/fix_looking_for_column.sql
- sql/add_job_and_state_columns.sql

Утилиты:
- bin/apply_all_patches.sh - автоматическое применение всех патчей

Документация:
- docs/DATABASE_FIXES.md - подробное описание исправлений
- docs/HEALTH_CHECK.md - чеклист проверки здоровья бота
- docs/FIXES_SUMMARY_2025-11-06.md - краткая сводка изменений

Fixes: #job-column-error #state-column-warning #looking-for-constraint
2025-11-06 10:30:35 +09:00
9281388959 MakeFile created. 2025-09-18 18:43:39 +09:00
0566901fa4 migrations fix 2025-09-18 17:00:48 +09:00
e907dffe8c migrations fix 2025-09-18 16:52:03 +09:00
fdd0580554 docker fix 2025-09-18 16:47:07 +09:00
29d6255f22 Merge pull request 'docker image fix' (#5) from dev into main
Reviewed-on: #5
2025-09-18 07:38:26 +00:00
77ae161b1a docker image fix 2025-09-18 16:37:45 +09:00
d02a742278 Merge pull request 'docker-compose fix' (#4) from dev into main
Reviewed-on: #4
2025-09-18 06:31:33 +00:00
35a977536b docker-compose fix 2025-09-18 15:30:43 +09:00
155e4d3b7b Merge pull request 'dev' (#3) from dev into main
Reviewed-on: #3
2025-09-18 05:21:26 +00:00
713eadc643 pre-deploy commit 2025-09-18 14:19:49 +09:00
5ea3e8c1f3 alpha-test 2025-09-18 13:46:35 +09:00
85027a7747 mainly functional matching 2025-09-18 11:42:18 +09:00
e275a9856b Fix JSON format issues with photos and add multi-photo gallery support 2025-09-18 10:38:29 +09:00
bdd7d0424f mass refactor 2025-09-18 08:31:14 +09:00
856bf3ca2a Merge branch 'main' of ssh://git.smartsoltech.kr:2222/trevor/tg_tinder_bot 2025-09-13 15:26:54 +09:00
e3baa9be63 Удалён файл с неправильным именем, содержащим команду PostgreSQL 2025-09-13 15:26:45 +09:00
a3fb88e91e Удалить sword123 psql -h localhost -p 5433 -U postgres -d telegram_tinder_bot -c \d profiles 2025-09-13 06:25:52 +00:00
c5a0593222 Merge pull request 'localization' (#2) from localization into main
Reviewed-on: #2
2025-09-13 06:17:17 +00:00
1eb7d1c9bc localization 2025-09-13 15:16:05 +09:00
e81725e4d5 feat: Complete multilingual interface with 10 languages including Korean
🌍 Added complete translation files:
- 🇪🇸 Spanish (es.json) - Español
- 🇫🇷 French (fr.json) - Français
- 🇩🇪 German (de.json) - Deutsch
- 🇮🇹 Italian (it.json) - Italiano
- 🇵🇹 Portuguese (pt.json) - Português
- 🇨🇳 Chinese (zh.json) - 中文
- 🇯🇵 Japanese (ja.json) - 日本語

🔧 Updated LocalizationService:
- All 10 languages loaded and initialized
- Updated supported languages list
- Enhanced language detection

��️ Enhanced UI:
- Extended language selection menu with all 10 languages
- Updated language names mapping in controllers
- Proper flag emojis for each language

💡 Features:
- Native translations for all UI elements
- Cultural appropriate pricing displays
- Proper date/currency formatting per locale
- Korean language support with proper hangul characters

Ready for global deployment with comprehensive language support!
2025-09-13 09:19:13 +09:00
edddd52589 feat: Complete localization system with i18n and DeepSeek AI translation
🌐 Interface Localization:
- Added i18next for multi-language interface support
- Created LocalizationService with language detection
- Added translation files for Russian and English
- Implemented language selection in user settings

🤖 AI Profile Translation (Premium feature):
- Integrated DeepSeek API for profile translation
- Added TranslationController for translation management
- Premium-only access to profile translation feature
- Support for 10 languages (ru, en, es, fr, de, it, pt, zh, ja, ko)

�� Database & Models:
- Added language field to users table with migration
- Updated User model to support language preferences
- Added language constraints and indexing

🎛️ User Interface:
- Added language settings menu in bot settings
- Implemented callback handlers for language selection
- Added translate profile button for VIP users
- Localized all interface strings

📚 Documentation:
- Created comprehensive LOCALIZATION.md guide
- Documented API usage and configuration
- Added examples for extending language support
2025-09-13 08:59:10 +09:00
975eb348dd feat: VIP search now shows only opposite gender - Modified VIP search filtering to always show opposite gender regardless of user's interested_in preference - Male users see only female profiles - Female users see only male profiles - Improved gender filtering logic in vipService.ts 2025-09-13 08:45:41 +09:00
321547bf27 Fix like/dislike errors and implement native chat system 2025-09-13 07:51:02 +09:00
8893b4ad22 feat: add VIP search option and profile editing functionality
- Added a new button for ' VIP поиск' in command handlers.
- Implemented profile editing states and methods in message handlers.
- Enhanced profile model to include hobbies, religion, dating goals, and lifestyle preferences.
- Updated profile service to handle new fields and ensure proper database interactions.
- Introduced a VIP function in matching service to find candidates based on dating goals.
2025-09-12 22:13:26 +09:00
17efb2fb53 init commit 2025-09-12 21:25:54 +09:00