Mahdi and Cursor
30dc83890b
feat: granular hamkar/khanegi permissions (manage / settings / appearance)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 20:48:32 +03:30
Mahdi and Cursor
674da4e939
feat: add 'other' product type for miscellaneous sites (tracking only, no remote control)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 16:52:23 +03:30
mohmdsdg and Cursor
cf92635c0e
Fix plugin purchase 500 when subscription catalog columns are missing.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 10:33:48 +03:30
mohmdsdg
08f648457f
fix pluggin bug
2026-09-09 17:04:33 +03:30
mohmdsdg and Cursor
67a03d9593
feat(plugins): catalog images and purchase receipt uploads
...
Catalog items can store up to three photos; remote tenants attach a receipt on pending requests.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:56:09 +03:30
mohmdsdg and Cursor
d57ce0a3cb
feat(settings): store Khanegi keys in settings tables instead of tenant JSON
...
Template defaults seed from deploy_settings_const; new tenants copy them, import decides per key, and /get_settings reads the per-tenant rows.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 20:14:17 +03:30
mohmdsdg and Cursor
f2cf8c9035
feat(tenants): store Khanegi deploy settings snapshot on tenants.setting
...
Import can_edit=0 settings via the sold version's admin login + get_settings, for Super Admin program-settings UI.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 15:02:22 +03:30
Mahdi and Cursor
51e350405a
feat: per-tenant server access kill switch
...
Add Tenant.serverAccessBlocked, toggle API with appVersion bump and settings push, and expose stealth server_reachable in get_user.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-11 16:05:04 +03:30
Mahdi and Cursor
af1e217a68
feat(auth): add module read/write admin RBAC
...
Introduce permission catalog, PermissionsGuard, JWT/me payload with
role+permissions, and gate all module controllers. Admins CRUD accepts
role/permissions with safety rules; migrate existing users to super_admin.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-10 15:29:04 +03:30
Mahdi and Cursor
1adaef5d18
Add Khanegi uiVariant modular/newTheme with get_user payload split.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-09 12:58:45 +03:30
Mahdi and Cursor
26f7b7e69e
Fix auto-block migration SQL for PostgreSQL.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-08 14:42:39 +03:30
Mahdi and Cursor
8eba9a9b8f
Add optional SMS auto-block threshold below balance.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-08 14:12:29 +03:30
Mahdi and Cursor
db66a44527
Add support subscription panel API with optional free periods.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-08 11:20:25 +03:30
Mahdi and Cursor
f61d10e07b
Allow multiple hosting servers per sold version.
...
Drop unique tenant_id on server_accounts and add create/update/delete/renew APIs per server account, with list/expiring using the worst status.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 19:23:37 +03:30
Mahdi and Cursor
01f0b82ac6
Switch Prisma from SQLite to PostgreSQL for production deploy.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 19:14:06 +03:30
Mahdi and Cursor
a6b3457779
Add production-ready SuperAdmin API features for tenants, SMS, servers, and plugins.
...
Includes mobile auth, get_user/get_version, SMS wallet parity endpoints, appearance backfill, and related Prisma migrations.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 18:19:53 +03:30
Mahdi
ddf36f8470
Creating a control panel infrastructure
2026-07-23 19:41:21 +03:30
SuperAdmin
7fbc47766c
Initial SuperAdmin API (NestJS + Prisma)
2026-07-23 10:25:32 +03:30