Commit Graph

10 Commits

Author SHA1 Message Date
Fringg
3f050396b8 fix: align RecentPaymentItem types with backend schema
- telegram_id: number → number | null (email-only users)
- Add email field
- Fix username, payment_method, description nullability
2026-03-02 02:42:14 +03:00
Fringg
11343f4f12 fix: align TypeScript types with backend referral schemas
- Add campaign_name field to ReferralEarning interface
- Fix telegram_id to number | null in TopReferrerItem (email-only users)
- Add email field to TopReferrerItem
2026-03-02 02:35:00 +03:00
Fringg
ab0270ac58 feat: add system info card to admin dashboard
Shows cabinet version, bot version, Python version, uptime, users and
active subscriptions at the bottom of the dashboard page.
2026-02-08 22:52:14 +03:00
Fringg
995c0348dc feat: add tickets tab to admin user detail page
Add ability to view user's tickets directly from the user detail page.
Backend gets user_id filter on tickets endpoint, frontend shows ticket
list with status badges, message preview and navigation to ticket.
2026-02-07 05:21:16 +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
707f3e3aba Update admin.ts 2026-01-19 09:14:08 +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
Egor
df46eca482 Update admin.ts 2026-01-16 03:20:12 +03:00
Egor
e73a7673f5 Update admin.ts 2026-01-16 02:22:16 +03:00
Egor
7be6b5c0ae Add files via upload 2026-01-15 19:18:17 +03:00