Commit Graph

559 Commits

Author SHA1 Message Date
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
c990c84223 chore: update package-lock.json 2026-01-27 22:20:20 +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
d837f8050c Merge pull request #103 from BEDOLAGA-DEV/dev
Dev
2026-01-27 18:01:54 +03:00
Egor
b42c52714b Fix formatting and improve favicon update logic 2026-01-27 17:59:36 +03:00
Egor
77f955fc0d Update Login.tsx 2026-01-27 17:57:45 +03:00
Egor
f180b50318 Merge pull request #102 from BEDOLAGA-DEV/main
ц
2026-01-27 17:50:44 +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
Egor
f2972d023c Update Login.tsx 2026-01-27 17:50:03 +03:00
c0mrade
a63bb7c457 fix: update dependencies to resolve security vulnerabilities
- Update vite 5→7.3.1 and @vitejs/plugin-react 4→5.1.2 (GHSA-67mh-4wv8-2f99)
- Update react-router-dom 6→7.13.0 (GHSA-2w69-qvjg-hvjx, CVSS 8.0)
- Add husky, lint-staged to devDependencies
- Add project description and AGPL-3.0 license to package.json
2026-01-27 17:38:18 +03:00
c0mrade
f0cfdfdd2a feat: add husky pre-commit hooks and reusable CI lint workflow
- Add husky with lint-staged for pre-commit checks (eslint --fix, prettier --write)
- Add reusable lint.yml workflow (eslint, prettier, tsc)
- Gate docker, release, and CI pipelines behind lint job via needs: lint
2026-01-27 17:37:53 +03:00
Egor
a66a605fb4 Merge pull request #100 from BEDOLAGA-DEV/dev
Dev
2026-01-27 17:37:44 +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
719f8493ff Merge pull request #92 from evansvl/main
feat: Add new Layout component with navigation, branding, theme switc…
2026-01-27 17:37:28 +03:00
Egor
85594a23a6 Add files via upload 2026-01-27 17:36:56 +03:00
Egor
a192ac298d Update Login.tsx 2026-01-27 17:36:37 +03:00
Egor
111ccc4e7a Merge pull request #99 from BEDOLAGA-DEV/dev
Update Subscription.tsx
2026-01-27 16:07:29 +03:00
Egor
096cf7e918 Update Subscription.tsx 2026-01-27 16:07:12 +03:00
Egor
18f631ed0c Merge pull request #98 from BEDOLAGA-DEV/dev
Dev
2026-01-27 14:17:34 +03:00
Egor
fea71bed83 Add files via upload 2026-01-27 01:22:00 +03:00
Egor
ce499ad5fd Update PageLoader.tsx 2026-01-27 01:21:33 +03:00
Egor
89aba6d034 Add files via upload 2026-01-27 01:20:42 +03:00
Egor
9c2cb24c21 Add files via upload 2026-01-27 01:20:15 +03:00
Egor
80da25c102 Update AdminSettings.tsx 2026-01-27 01:19:42 +03:00
Egor
1695247974 Update branding.ts 2026-01-27 01:19:05 +03:00
Egor
8c2e42d42e Update App.tsx 2026-01-27 01:18:15 +03:00
Egor
16dfe9cb29 Update index.html 2026-01-27 00:34:04 +03:00
Egor
f293fb8b2b Update useTelegramWebApp.ts 2026-01-27 00:33:41 +03:00
Egor
6856518fee Update Dashboard.tsx 2026-01-27 00:33:15 +03:00
Egor
ce29ee63b7 Update AdminEmailTemplates.tsx 2026-01-27 00:26:04 +03:00
Egor
a3050e3aab Merge pull request #97 from BEDOLAGA-DEV/dev
Dev
2026-01-26 23:28:27 +03:00
Egor
4fc7712bef Update Subscription.tsx 2026-01-26 23:24:30 +03:00
Egor
afcb4ab78e Update index.ts 2026-01-26 23:24:09 +03:00
Egor
c2c2399af1 Update Subscription.tsx 2026-01-26 23:23:38 +03:00
Egor
b82c07bfbd Add files via upload 2026-01-26 23:22:49 +03:00
Egor
5da1cb3228 Add files via upload 2026-01-26 22:48:47 +03:00
Egor
3ebff0c1f8 Update AdminPaymentMethods.tsx 2026-01-26 22:46:37 +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
6567f22e40 Add files via upload 2026-01-26 22:39:56 +03:00
Egor
0608c2fa7b Update App.tsx 2026-01-26 22:39:31 +03:00
Egor
de06767306 Add files via upload 2026-01-26 22:39:11 +03:00
Egor
c9d31a01f0 Update index.ts 2026-01-26 22:38:46 +03:00
Egor
90fe89e5b5 Merge pull request #96 from BEDOLAGA-DEV/dev
Dev
2026-01-26 22:00:40 +03:00
Egor
024ad7e2b5 Add files via upload 2026-01-26 22:00:19 +03:00
Egor
69c12ee5a0 Update App.tsx 2026-01-26 21:59:56 +03:00
Egor
f10594c4b4 Add files via upload 2026-01-26 21:59:31 +03:00
Egor
3126b1bf8c Add files via upload 2026-01-26 21:59:06 +03:00
Egor
99844cb146 Merge pull request #95 from BEDOLAGA-DEV/dev
Dev
2026-01-26 20:36:22 +03:00
Egor
f1bd3da7b3 Add files via upload 2026-01-26 20:35:58 +03:00