Commit Graph
10 Commits
Author SHA1 Message Date
mohmdsdg a98fdb8d9e feat(remittance): add enable_remittance plugin setting to catalog and seeds 2026-10-27 18:07:10 +03:30
mohmdsdg 47d210bd7d added chart plugin in khanegi superadmin 2026-10-21 11:13:24 +03:30
mohmdsdgandCursor ccf7e90922 feat: catalog has_landing and landing_* for SuperAdmin
Expose the website landing flag and content keys in the deploy setting template.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 17:01:54 +03:30
mohmdsdgandCursor 09218ee1e2 Add enable_gold_credit to SuperAdmin setting catalog.
Default the per-tenant gold credit access flag to false so projects opt in explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 00:17:45 +03:30
mohmdsdgandCursor 83f5834aff feat(settings): add enable_automation SuperAdmin switch (default off)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:15:52 +03:30
mohmdsdgandCursor 82d961d984 setting pushed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-23 22:34:25 +03:30
mohmdsdgandCursor c0b6ec9262 fix(settings): include all can_edit=0 keys in SuperAdmin catalog
Parse both INSERT column orders from deploy_settings_const.sql so
price_provider, zaarbox_api_url, main_product and similar keys are
in the template. Keep template values empty for tokens and per-project IDs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 21:47:43 +03:30
mohmdsdgandCursor 19d28f2ed7 chore(settings): resync superadmin template after can_edit=1 runtime keys
Remove can_edit=1 keys (Montzar runtime, fee_service_charge_percentage, etc.)
from setting-templates-from-deploy.json and editable catalog list.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:55:43 +03:30
mohmdsdgandCursor 71d6f6a534 fix(settings): restrict superadmin template to can_edit=0 keys only
Superadmin was seeding all deploy_settings_const INSERT keys including
can_edit=1 entries with wrong defaults (e.g. montzar_product_id=25).
Template/catalog now follow final can_edit=0 from SQL; editable keys are
purged from setting_templates and tenant settings on boot/seed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 18:40:07 +03:30
mohmdsdgandCursor 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