c0mrade
ff7e4d42a0
fix(i18n): remove duplicate subscription.servers string key
...
The key existed as both a string and an object in subscription
section, causing i18next to return an object instead of a string.
Removed the redundant string — serversLabel is used for plain text,
plural suffixes (_one/_few/_many/_other) handle counted usage.
2026-01-27 22:34:05 +03:00
c0mrade
9707ad97a4
feat(i18n): migrate all hardcoded Russian text to i18n
...
- Replace all hardcoded Russian strings with t() calls across 30+ files
- Add ~500 new translation keys to all 4 locales (ru, en, zh, fa)
- Convert module-level config objects to labelKey pattern
- Remove Russian fallbacks from t() calls (fallbackLng handles it)
- Replace DeepLinkRedirect custom i18n with standard t() calls
- Fix subscription.servers key collision (string vs object)
2026-01-27 22:19:41 +03:00
Egor
b523da2fb0
Merge pull request #101 from BEDOLAGA-DEV/feat/husky-eslint-security
...
feat/husky eslint security
2026-01-27 17:50:15 +03:00
c0mrade
bc90ba3779
refactor: migrate to eslint flat config and format codebase with prettier
...
- Remove legacy .eslintrc.cjs and .eslintignore
- Add eslint.config.js with flat config, security rules (no-eval, no-implied-eval, no-new-func, no-script-url)
- Add .prettierrc and .prettierignore
- Format entire codebase with prettier
2026-01-27 17:37:31 +03:00
Egor
85594a23a6
Add files via upload
2026-01-27 17:36:56 +03:00
Egor
89aba6d034
Add files via upload
2026-01-27 01:20:42 +03:00
Egor
b82c07bfbd
Add files via upload
2026-01-26 23:22:49 +03:00
Egor
ccbabc58f5
Add files via upload
2026-01-26 22:46:00 +03:00
Egor
d23fc68730
Add files via upload
2026-01-26 22:40:20 +03:00
Egor
024ad7e2b5
Add files via upload
2026-01-26 22:00:19 +03:00
Egor
f1bd3da7b3
Add files via upload
2026-01-26 20:35:58 +03:00
Egor
76f6af25cb
Add files via upload
2026-01-25 10:44:24 +03:00
Egor
1c3b29aa60
Add files via upload
2026-01-25 09:45:41 +03:00
Egor
7169988d20
Add files via upload
2026-01-25 09:26:48 +03:00
Egor
1b5e616700
Add files via upload
2026-01-25 08:53:29 +03:00
Egor
e866eb237f
Add files via upload
2026-01-25 08:47:09 +03:00
Egor
f5bd2544c9
Add files via upload
2026-01-23 11:32:52 +03:00
Egor
ccb84405c4
Add files via upload
2026-01-23 03:35:48 +03:00
Egor
50ed5bbc2b
Add files via upload
2026-01-22 23:54:25 +03:00
Egor
d7122ec842
Add files via upload
2026-01-21 10:14:05 +03:00
Egor
06d3b8c090
Add files via upload
2026-01-21 08:14:01 +03:00
Egor
93a50c975d
Add files via upload
2026-01-21 07:36:24 +03:00
Egor
3532d26ffa
Add files via upload
2026-01-21 05:32:27 +03:00
PEDZEO
b359e6445c
Improve admin settings UI components
...
- Add EditIcon component to icons.tsx
- Enhance SettingInput with textarea for long/JSON values
- Improve SettingRow styling and long value handling
- Fix CORE category translation (Ядро → Бот)
- Add auto-resize for textarea and Ctrl+Enter save shortcut
2026-01-21 04:21:25 +03:00
PEDZEO
7eb42d2cf7
Add translations for system settings
...
- Web API: origins, tokens, docs, host, port, workers
- RemnaWave: API URL, auth, sync, templates
- Webhook: path, tokens, workers, timeouts
- Backup: auto, compression, location, send to Telegram
- Monitoring: interval, logs retention, traffic
- Server status: metrics, SSL, mode
- Logs: rotation, files, levels, send to Telegram
- Version: check, interval, repo
- Maintenance: mode, message, monitoring
- External admin: token, bot ID
- Core: bot username, debug
2026-01-21 04:16:57 +03:00
PEDZEO
1d3eff2f18
Add translations for database settings
...
- PostgreSQL: DB name, host, password, port, user
- Database mode, URL
- Redis URL, SQLite path
2026-01-21 04:14:40 +03:00
PEDZEO
c8dceb3c6f
Add translations for notification settings
...
- Admin notifications: chat ID, topic IDs
- Notification cache and retry settings
- Admin reports: chat ID, send time, topic ID
2026-01-21 04:10:16 +03:00
PEDZEO
6a52660dc5
Add translations for interface settings
...
- App config, deep links, subscription page
- Logo mode, connect button mode
- MiniApp URL and interface options
2026-01-21 04:03:03 +03:00
PEDZEO
dcac738aeb
Add subscription translations and collapsible categories in AdminSettings
...
- Add 65+ new translations for subscription, trial, traffic, autopay settings
- Replace flat navigation with accordion-style collapsible subcategories
- Categories are collapsed by default, click to expand
- Search shows flat list when query is present
- Remove unused ChevronRightIcon and activeSubCategory state
2026-01-21 03:48:44 +03:00
PEDZEO
c572fc0b69
Move hardcoded translations from AdminSettings to locales
...
- Remove SETTING_TRANSLATIONS object with 50+ hardcoded Russian translations
- Add translations to ru.json under admin.settings.settingNames
- Rename formatSettingName to formatSettingKey
- Use t() function with fallback for setting names
2026-01-21 03:42:28 +03:00
PEDZEO
329d063387
Redesign AdminSettings with sidebar navigation and localization
...
- Replace top tabs with sidebar menu navigation
- Add sub-categories for settings (payments, subscriptions, etc.)
- Implement full Russian localization for all UI elements
- Add category translations for all setting groups
- Collapsible presets and custom colors sections
- Favorites functionality with localStorage persistence
- Search functionality in settings
- Responsive layout with collapsible sidebar
2026-01-21 03:02:23 +03:00
PEDZEO
215a65dbae
Refactor theme settings with two collapsible sections
...
- Quick Presets: collapsible section with 8 theme presets
- Custom Colors: collapsible section with all color pickers
- Added translations for quickPresets, customColors in all locales (ru, en, zh, fa)
- Chevron icon rotates when section is expanded
- Preview section moved inside Custom Colors
2026-01-21 02:11:39 +03:00
PEDZEO
7f0d6a7d18
Enhance TopUpModal styling and update localization files
...
- Updated button styles in TopUpModal for improved visual feedback during interactions.
- Adjusted modal positioning for better user experience on desktop.
- Added 'paymentMethod' key to localization files for English, Persian, Russian, and Chinese languages, enhancing multi-language support.
2026-01-20 17:25:43 +03:00
PEDZEO
236c36f1ab
Enhance ConnectionModal and TopUpModal with improved mobile support, new icons, and keyboard accessibility. Update localization files to include 'enterAmount' key for multiple languages.
2026-01-20 16:52:01 +03:00
Egor
b777e9b1a1
Add files via upload
2026-01-20 14:41:49 +03:00
PEDZEO
4c489547ea
Refactor ConnectionModal: implement auto-selection of platform and app upon data load, enhance app selection UI with improved layout and functionality, and add translation keys for 'changeApp' in English and Russian locales.
2026-01-20 03:16:33 +03:00
PEDZEO
b81e5d0d5d
Update ConnectionModal component: remove fallback text for instructions and add missing translation keys for 'instructions' in English and Russian locales.
2026-01-20 02:49:28 +03:00
PEDZEO
d55c6ea532
Refactor ticket notifications handling: improve API parameter management, enhance toast notifications with titles and icons, and update localization for new notification messages. Adjust layout to ensure proper admin state handling in TicketNotificationBell component.
2026-01-19 01:37:25 +03:00
PEDZEO
549da8d447
Enhance payment flow by adding InsufficientBalancePrompt component for better user feedback; update CI workflow for Node.js setup and dependency installation.
2026-01-19 01:34:06 +03:00
PEDZEO
472cd27320
Refactor TicketNotificationBell to improve toast notifications for new tickets and replies. Update localization files to include new notification strings for user replies and enhance existing messages.
2026-01-19 01:15:48 +03:00
Egor
3c8d4e4a29
Add files via upload
2026-01-19 00:39:38 +03:00
PEDZEO
35ee63b351
Add ticket notification system with user and admin notification settings; integrate ToastProvider in main app layout
2026-01-19 00:24:13 +03:00
PEDZEO
1a03d2669d
Merge remote-tracking branch 'bedolaga/main' into PEDZ
2026-01-18 07:24:10 +03:00
Egor
6c8fa873d2
Add files via upload
2026-01-18 07:07:33 +03:00
Egor
a6d990d15c
Add files via upload
2026-01-18 07:02:20 +03:00
PEDZEO
3d34f3f1c9
Merge branch 'main' from bedolaga
2026-01-18 07:02:14 +03:00
Egor
9513d3cc51
Add files via upload
2026-01-18 06:12:20 +03:00
evansvl
9bb4809a3a
feat: integrate branding API and enhance referral sharing functionality
...
- Added branding API integration to fetch branding details.
- Updated share link functionality to include branding name in the share message.
2026-01-17 20:22:15 +03:00
Egor
58bad9da4c
Add files via upload
2026-01-17 10:51:53 +03:00
Egor
5d1030b3e2
Add files via upload
2026-01-17 08:52:55 +03:00