Commit Graph
53 Commits
Author SHA1 Message Date
mohmdsdg 08a90f0074 added some feature for plugin 2026-09-08 18:00:18 +03:30
mohmdsdgandCursor 14e9af2804 feat(plugins): catalog photo slots and receipt preview
SuperAdmin catalog supports three images per plugin and the requests table shows uploaded receipts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 14:56:10 +03:30
mohmdsdgandCursor ca923c7d9b fix(plugins): show tenant domain and move store prices into a tab
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 11:01:00 +03:30
mohmdsdgandCursor 2a9e8ea023 fix(uploads): stop rewriting absolute nerkh logo hosts
Leave absolute avatar URLs alone so SuperAdmin version cards show logos that still live on nerkh.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 20:10:08 +03:30
mohmdsdgandCursor 8d0dfba60f fix(plugins): move plugin store toggle onto each khanegi tenant
Remove the global header switch and let SuperAdmin enable the store per project from the plugins list and tenant page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 19:51:12 +03:30
mohmdsdgandCursor 7eacb513cd feat(plugins): SuperAdmin store tabs, pricing, and request approval
Khanegi plugin prices and purchase requests sit beside existing version cards. Also rewrite leftover nerkh upload URLs on tenant forms.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 16:56:52 +03:30
mohmdsdgandCursor c970d74f75 feat: catalog has_landing and landing_* in SuperAdmin UI
Wire website landing keys into system groups and setting labels/help.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 17:01:58 +03:30
mohmdsdgandCursor f4eb43fe4d Catalog enable_gold_credit for SuperAdmin program settings.
Surface the gold credit access switch with default-off semantics in the SA UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 00:17:06 +03:30
mohmdsdgandCursor 1f412ee818 fix(tenants): stop sending primary domain as an alias
Exclude store domain from extra domains on save and clarify the form hint.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 18:47:42 +03:30
mohmdsdg 4fb3ed9772 feat(settings): catalog enamad_logo in general brand group
Add enamad_logo to SuperAdmin catalogs and عمومی و برند grouping.
2026-08-24 19:39:07 +03:30
mohmdsdgandCursor 2e22af121d refactor(settings): render SuperAdmin keys from API only, flat list
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:34:31 +03:30
mohmdsdgandCursor 7f3e537c24 fix(ui): show customer feature settings open, not collapsed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:28:24 +03:30
mohmdsdgandCursor a6dbc995c1 fix(settings): show API SuperAdmin keys even if frontend catalog lags
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:27:29 +03:30
mohmdsdgandCursor a11136a605 feat(settings): surface enable_automation in SuperAdmin catalog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:15:52 +03:30
mohmdsdgandCursor 72b0a819af feat(ui): selectable bottom-nav slots and sidebar drag reorder
Let each of the four bottom slots pick a menu from the shared catalog, and allow reordering the sidebar the same way.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 12:14:55 +03:30
mohmdsdgandCursor 238fb7966c fix(ui): cap khanegi bottom nav at 4 slots with drag reorder
Merge all versions onto the shared nav sample so extra items cannot stay enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 11:42:42 +03:30
mohmdsdgandCursor 349031d3bc setting pushed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 10:23:33 +03:30
mohmdsdg 6123a7327b chore(settings): add about_software and enamad_url metadata 2026-08-24 09:50:19 +03:30
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