Commit Graph
35 Commits
Author SHA1 Message Date
mohmdsdgandCursor 547f8c83f4 setting pushed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-23 22:34:25 +03:30
mohmdsdgandCursor 5f487abea9 fix(settings): sync SuperAdmin UI keys with full can_edit=0 catalog
Include price_provider and other deploy system keys; keep can_edit=1
keys out of the SuperAdmin settings page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 21:47:43 +03:30
mohmdsdgandCursor c4fe4909df chore(settings): resync superadmin keys after can_edit=1 runtime keys
Update superAdminSettingKeys and khanegiSettingCatalog to match deploy SQL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:55:43 +03:30
mohmdsdgandCursor 1369b458f4 fix(build): add @types/node for vite.config.ts typecheck
vue-tsc failed on node:url, process, and import.meta.url without Node
types in tsconfig.node.json; yarn build now passes end-to-end.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:06:21 +03:30
mohmdsdgandCursor 810bf9e7d0 fix(settings): merge full system catalog on program settings page
Fill missing can_edit=0 keys client-side so Montzar and other groups
show the same fields as khaneghi admin advanced settings before import.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 18:57:39 +03:30
mohmdsdgandCursor d09d853764 fix(settings): hide can_edit=1 keys on superadmin settings page
Filter program settings UI by generated system-key allowlist so editable
tenant settings (e.g. montzar_product_id) never appear in superadmin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 18:49:08 +03:30
mohmdsdgandCursor 8ccbb15fa4 fix(settings): import modal copy matches deploy_settings_const catalog
Explain that template keys apply without a decision and only extra keys appear in the list.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 19:06:32 +03:30
mohmdsdgandCursor cb2a752306 fix(settings): import preview copies khanegi can_edit=0 values onto this tenant
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 18:52:31 +03:30
mohmdsdgandCursor c882c71067 fix(settings): clarify import modal only lists keys missing from the catalog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 21:51:48 +03:30
mohmdsdgandCursor 6dbb15c6e1 feat(versions): shared identity/UI/settings tabs and denser desktop form
Keep the same pill nav on all three Khanegi version pages, tighten the identity form on desktop, and split catalog add/delete into separate modals.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 21:39:50 +03:30
mohmdsdgandCursor b879d085d3 feat(settings): catalog keys UI and per-tenant program settings editor
Add/remove keys from the Khanegi versions list (form or JSON), edit values per version, and proxy /get_settings for local work.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 20:14:17 +03:30
Mahdi 0e7f97d938 feat(tenants): show read-only createdAt for hamkar/khanegi versions 2026-08-15 15:44:44 +03:30
MahdiandCursor 3e97fca336 chore(sms): shorten blocked SMS hint copy
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 16:31:43 +03:30
MahdiandCursor 6dae311952 fix(server): clarify kill-switch stub when SMS secret missing
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 19:33:20 +03:30
MahdiandCursor 4e723c31ea feat: UI switch for server access kill switch
Add SuperAdmin toggle to cut app/admin access for a sold version with push status feedback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 16:05:04 +03:30
MahdiandCursor df83af90e8 feat(auth): enforce admin permissions in UI
Add can()/router meta, HomePage module filtering, Admins permission
matrix, and hide write actions when the user lacks *:write.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:30:26 +03:30
MahdiandCursor 8d0b65f087 fix: normalize Khanegi UI config on save for userTheme schema
Prevent re-saving invalid navigation.type/header.variant/products routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 12:34:06 +03:30
MahdiandCursor c7947fc668 fix: default Khanegi modular palette to Niazi colors
Header #0a1b37, accent #e0be7f, background #ffffff.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 11:42:31 +03:30
MahdiandCursor be4931047d Add Khanegi modular appearance editor and variant routing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 12:58:44 +03:30
MahdiandCursor 8652e63ea6 Allow negative toman input for SMS auto-block threshold.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:55:51 +03:30
MahdiandCursor 196166e1e5 Add SMS auto-block threshold input on tenant page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:12:30 +03:30
MahdiandCursor 8e696bb591 Display and accept SuperAdmin money amounts in tomans.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 13:27:31 +03:30
MahdiandCursor 68de9a2337 Add All chip to clear status filters on panel legends.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 13:00:50 +03:30
MahdiandCursor 9ec1500018 Make panel legend chips toggle status filters.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:52:02 +03:30
MahdiandCursor da25d91ba7 Add cross-panel tenant shortcuts with live status colors and values.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:35:59 +03:30
MahdiandCursor d0d621502f Add support panel UI, search filters, and money thousand separators.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:20:26 +03:30
MahdiandCursor ab4d9ef133 Switch SuperAdmin UI to IRANSans and fix mobile overflow.
Use iranSans woff2 globally and harden SMS/layout grids so page heads and stats stay inside the viewport on small screens.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 10:22:35 +03:30
MahdiandCursor 99c219e57e Support multiple servers per tenant in server panel UI.
Add server chips, create/delete flows, and show server count or name on list and home expiring cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 19:23:38 +03:30
MahdiandCursor 7889a7905f Fix Khanegi custom theme live preview for primary and scheme colors.
Edit the scheme matching the preview dark/light toggle and surface primary in the sample card so custom changes are visible before save.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 13:34:22 +03:30
MahdiandCursor f41424ef0d Add Khanegi reset-to-default for full ui-config appearance.
Seeds an immutable app+pages snapshot on first open and restores theme, nav, and header from it.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 21:13:46 +03:30
MahdiandCursor d5f0bf84ef Add Hamkar UI reset-to-default snapshot and restore button.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 20:51:33 +03:30
MahdiandCursor 8630040b90 Fix SmsTenantPage TypeScript implicit any for production build.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 21:03:19 +03:30
MahdiandCursor cfee6b0546 Expand SuperAdmin web for SMS, servers, plugins, admins, and UI config.
Align SMS tenant panel with Hamkar, add Jalali dates, and support hamkar/khanegi appearance editing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 18:19:54 +03:30
Mahdi 3371015b96 Creating a control panel infrastructure 2026-07-23 19:42:07 +03:30
SuperAdmin 0f94a49b8d Initial SuperAdmin web panel (Vue 3) 2026-07-23 10:24:50 +03:30