From 56cf84fd013baac0bc50525d1a8ffabdd266399a Mon Sep 17 00:00:00 2001 From: jingrow Date: Tue, 23 Dec 2025 22:47:55 +0800 Subject: [PATCH] update docstatus to pagestatus --- .../src/components/partners/PartnerPayout.vue | 2 +- dashboard/src/pages/BillingBalances.vue | 2 +- press/api/billing.py | 12 +- press/api/partner.py | 2 +- press/api/regional_payments/mpesa/utils.py | 2 +- press/fixtures/agent_job_type.json | 210 +++++++++--------- press/fixtures/bench_dependency.json | 12 +- press/fixtures/cloud_region.json | 26 +-- press/fixtures/frappe_version.json | 12 +- press/fixtures/mariadb_variable.json | 90 ++++---- press/fixtures/press_job_type.json | 38 ++-- press/fixtures/press_method_permission.json | 48 ++-- press/fixtures/press_webhook_event.json | 8 +- press/fixtures/print_format.json | 2 +- press/fixtures/role.json | 8 +- press/fixtures/server_snapshot_plan.json | 2 +- press/fixtures/server_storage_plan.json | 2 +- press/fixtures/site_config_key.json | 106 ++++----- press/fixtures/site_config_key_blacklist.json | 54 ++--- .../v0_0_1/create_invoice_for_past_ples.py | 6 +- press/patches/v0_0_1/ple_to_usage_record.py | 4 +- press/press/audit.py | 4 +- press/press/custom/address.json | 16 +- press/press/custom/country.json | 2 +- .../balance_transaction.py | 6 +- press/press/doctype/invoice/invoice.js | 4 +- press/press/doctype/invoice/invoice.py | 10 +- .../doctype/invoice/mark_as_uncollectible.py | 2 +- .../invoice/patches/set_free_credits.py | 2 +- .../patches/set_transaction_details.py | 2 +- press/press/doctype/invoice/test_invoice.py | 4 +- .../mpesa_payment_record.py | 2 +- .../partner_payment_payout.js | 2 +- .../payment_due_extension.py | 4 +- .../patches/compute_total_amount.py | 2 +- .../doctype/payout_order/payout_order.py | 2 +- .../stripe_payment_event.py | 2 +- press/press/doctype/team/suspend_sites.py | 2 +- press/press/doctype/team/team.py | 12 +- .../team_deletion_request.py | 2 +- .../doctype/usage_record/usage_record.py | 4 +- .../user_ssh_certificate.js | 2 +- .../user_ssh_certificate.py | 2 +- .../report/agent_versions/agent_versions.json | 2 +- .../aws_instance_pricing.json | 2 +- .../aws_rightsizing_recommendation.json | 2 +- .../bench_memory_limits.json | 2 +- .../binary_log_browser.json | 2 +- .../mariadb_deadlock_browser.json | 2 +- .../mariadb_locks_list.json | 2 +- .../mariadb_process_list.json | 2 +- .../mariadb_slow_queries.json | 2 +- ...marketplace_app_repository_visibility.json | 2 +- .../payment_partner/payment_partner.json | 2 +- .../report/payment_partner/payment_partner.py | 4 +- .../press_endpoints_audit.json | 2 +- .../report/server_stats/server_stats.json | 2 +- .../shared_app_server_stats.json | 2 +- press/press/workspace/press/press.json | 2 +- 59 files changed, 386 insertions(+), 386 deletions(-) diff --git a/dashboard/src/components/partners/PartnerPayout.vue b/dashboard/src/components/partners/PartnerPayout.vue index 802c8de2..8bb8e4ad 100644 --- a/dashboard/src/components/partners/PartnerPayout.vue +++ b/dashboard/src/components/partners/PartnerPayout.vue @@ -60,7 +60,7 @@ export default { ], filters: { - docstatus: 1, + pagestatus: 1, partner: this.$team.pg.name, }, primaryAction() { diff --git a/dashboard/src/pages/BillingBalances.vue b/dashboard/src/pages/BillingBalances.vue index 21d546c8..a0b17fc3 100644 --- a/dashboard/src/pages/BillingBalances.vue +++ b/dashboard/src/pages/BillingBalances.vue @@ -52,7 +52,7 @@ export default { }, ], filters: { - docstatus: 1, + pagestatus: 1, team: this.$team.name, }, orderBy: 'creation desc', diff --git a/press/api/billing.py b/press/api/billing.py index 8011a47f..ed829423 100644 --- a/press/api/billing.py +++ b/press/api/billing.py @@ -106,7 +106,7 @@ def balances(): filters={ "source": ("in", ("Prepaid Credits", "Transferred Credits", "Free Credits")), "team": team, - "docstatus": 1, + "pagestatus": 1, "type": ("!=", "Partnership Fee"), }, limit=1, @@ -131,7 +131,7 @@ def balances(): bt.description, inv.period_start, ) - .where((bt.docstatus == 1) & (bt.team == team)) + .where((bt.pagestatus == 1) & (bt.team == team)) .orderby(bt.creation, order=jingrow.qb.desc) ) @@ -821,7 +821,7 @@ def total_unpaid_amount(): return ( jingrow.get_all( "Invoice", - {"status": "Unpaid", "team": team.name, "type": "Subscription", "docstatus": ("!=", 2)}, + {"status": "Unpaid", "team": team.name, "type": "Subscription", "pagestatus": ("!=", 2)}, ["sum(amount_due) as total"], pluck="total", )[0] @@ -838,7 +838,7 @@ def get_current_billing_amount(): return ( jingrow.get_value( "Invoice", - {"team": team.name, "due_date": due_date, "docstatus": 0}, + {"team": team.name, "due_date": due_date, "pagestatus": 0}, "total", ) or 0 @@ -1198,7 +1198,7 @@ def _get_invoice_data(team_name: str, date_info: dict): def _get_invoice_based_on_due_date(team_name, due_date): return jingrow.db.get_value( "Invoice", - {"team": team_name, "due_date": due_date, "docstatus": ("!=", 2)}, + {"team": team_name, "due_date": due_date, "pagestatus": ("!=", 2)}, ["name", "total", "currency"], as_dict=True, ) @@ -1354,7 +1354,7 @@ def _get_usage_records_total_for_date_range(team: str, start_date, end_date): (UsageRecord.team == team) & (UsageRecord.date >= start_date) & (UsageRecord.date <= end_date) - & (UsageRecord.docstatus == 1) + & (UsageRecord.pagestatus == 1) ) .run(pluck=True) ) diff --git a/press/api/partner.py b/press/api/partner.py index 54aec537..bcf0915f 100644 --- a/press/api/partner.py +++ b/press/api/partner.py @@ -476,7 +476,7 @@ def get_current_month_partner_contribution(partner_email): (invoice.partner_email == partner_email) & (invoice.due_date == month_end) & (invoice.type == "Subscription") - & (invoice.docstatus < 2) + & (invoice.pagestatus < 2) ) ) invoices = query.run(as_dict=True) diff --git a/press/api/regional_payments/mpesa/utils.py b/press/api/regional_payments/mpesa/utils.py index 3bc3644e..81b8caa7 100644 --- a/press/api/regional_payments/mpesa/utils.py +++ b/press/api/regional_payments/mpesa/utils.py @@ -391,7 +391,7 @@ def fetch_payments(payment_gateway, partner, from_date, to_date): partner if jingrow.db.exists("Team", partner) else jingrow.get_value("Team", {"user": partner}, "name") ) filters = { - "docstatus": 1, + "pagestatus": 1, "submitted_to_jingrow": 0, "payment_gateway": payment_gateway, "payment_partner": partner, diff --git a/press/fixtures/agent_job_type.json b/press/fixtures/agent_job_type.json index 656165d5..349e1abb 100644 --- a/press/fixtures/agent_job_type.json +++ b/press/fixtures/agent_job_type.json @@ -1,7 +1,7 @@ [ { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 22:47:23.455192", @@ -19,7 +19,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-09-18 11:29:00.663542", @@ -34,7 +34,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-08-20 12:32:56.100866", @@ -61,7 +61,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:30:45.774660", @@ -79,7 +79,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:04.900402", @@ -97,7 +97,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2024-08-09 10:07:51.319214", @@ -136,7 +136,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.549528", @@ -157,7 +157,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.927111", @@ -178,7 +178,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.946695", @@ -199,7 +199,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.762138", @@ -232,7 +232,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.585210", @@ -283,7 +283,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:19.098278", @@ -301,7 +301,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:30:58.966717", @@ -319,7 +319,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:02.250356", @@ -337,7 +337,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.724970", @@ -361,7 +361,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.707766", @@ -376,7 +376,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.743617", @@ -391,7 +391,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.690936", @@ -412,7 +412,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:25.211737", @@ -430,7 +430,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.677444", @@ -445,7 +445,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.839292", @@ -490,7 +490,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.690831", @@ -505,7 +505,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:16.373344", @@ -523,7 +523,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.740351", @@ -538,7 +538,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.805097", @@ -565,7 +565,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.786058", @@ -580,7 +580,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.625189", @@ -613,7 +613,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.911153", @@ -628,7 +628,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.963183", @@ -643,7 +643,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:13.199172", @@ -664,7 +664,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:32:08.070490", @@ -679,7 +679,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:37.960124", @@ -703,7 +703,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:08.101647", @@ -721,7 +721,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.180358", @@ -739,7 +739,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.157390", @@ -757,7 +757,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.203468", @@ -775,7 +775,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.283667", @@ -796,7 +796,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.308026", @@ -814,7 +814,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.327716", @@ -829,7 +829,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.345276", @@ -844,7 +844,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.362722", @@ -865,7 +865,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.379874", @@ -880,7 +880,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.392780", @@ -895,7 +895,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.405690", @@ -910,7 +910,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.256524", @@ -931,7 +931,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.446023", @@ -946,7 +946,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.419313", @@ -961,7 +961,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.502147", @@ -988,7 +988,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.531987", @@ -1024,7 +1024,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.556954", @@ -1039,7 +1039,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:30:48.708856", @@ -1054,7 +1054,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.725087", @@ -1072,7 +1072,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.432717", @@ -1087,7 +1087,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.568610", @@ -1105,7 +1105,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.023648", @@ -1129,7 +1129,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.845251", @@ -1150,7 +1150,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.822202", @@ -1177,7 +1177,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.803361", @@ -1192,7 +1192,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:19.861985", @@ -1207,7 +1207,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2024-02-22 20:01:05.606166", @@ -1222,7 +1222,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2024-02-27 13:51:17.142316", @@ -1243,7 +1243,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2024-03-19 11:40:26.237476", @@ -1258,7 +1258,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2024-03-26 10:28:39.750285", @@ -1279,7 +1279,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-07-11 12:04:37.550558", @@ -1294,7 +1294,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-06-30 07:28:18.839292", @@ -1339,7 +1339,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-07-18 17:49:54.294402", @@ -1354,7 +1354,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-08-09 12:03:58.145567", @@ -1369,7 +1369,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-06-11 19:43:45.877056", @@ -1384,7 +1384,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2024-08-09 10:10:41.301700", @@ -1417,7 +1417,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:21.921498", @@ -1435,7 +1435,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.663533", @@ -1450,7 +1450,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:59.636070", @@ -1465,7 +1465,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2023-11-06 07:28:18.510770", @@ -1486,7 +1486,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-09-10 12:11:38.844112", @@ -1510,7 +1510,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-09-11 13:28:32.120581", @@ -1525,7 +1525,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-08-20 12:51:05.293373", @@ -1552,7 +1552,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 1, "modified": "2024-11-04 14:49:18.592247", @@ -1567,7 +1567,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 1, "modified": "2024-11-04 14:49:18.592247", @@ -1582,7 +1582,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 1, "modified": "2024-11-04 14:49:18.592247", @@ -1597,7 +1597,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 1, "modified": "2024-10-28 14:49:19.894247", @@ -1612,7 +1612,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2024-12-19 17:21:14.136650", @@ -1627,7 +1627,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-05-02 15:31:19.602466", @@ -1663,7 +1663,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-03-17 17:57:23.072792", @@ -1717,7 +1717,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-05-02 15:31:19.602466", @@ -1732,7 +1732,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-05-02 15:31:19.602466", @@ -1750,7 +1750,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-05-19 15:37:53.073108", @@ -1765,7 +1765,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-05-08 15:21:19.528916", @@ -1780,7 +1780,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-05-08 15:22:23.850136", @@ -1795,7 +1795,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-08-05 14:07:23.501949", @@ -1813,7 +1813,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-08-05 14:07:58.293257", @@ -1831,7 +1831,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-08-05 20:16:42.601645", @@ -1846,7 +1846,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 18:02:49.847351", @@ -1873,7 +1873,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 18:02:49.847351", @@ -1888,7 +1888,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 18:02:49.847351", @@ -1903,7 +1903,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 18:02:49.847351", @@ -1918,7 +1918,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 18:02:49.847351", @@ -1933,7 +1933,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-10-03 18:02:49.847351", @@ -1948,7 +1948,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 6, "modified": "2025-05-22 18:31:51.223187", @@ -1963,7 +1963,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-02-05 19:21:12.508888", @@ -1978,7 +1978,7 @@ }, { "disabled_auto_retry": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-08-18 11:45:06.868487", @@ -1993,7 +1993,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-11-24 16:48:21.908330", @@ -2011,7 +2011,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-11-28 22:48:21.908330", @@ -2029,7 +2029,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-11-28 22:48:21.908330", @@ -2047,7 +2047,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-12-09 22:48:21.908330", @@ -2062,7 +2062,7 @@ }, { "disabled_auto_retry": 1, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Agent Job Type", "max_retry_count": 3, "modified": "2025-12-09 22:48:21.908330", diff --git a/press/fixtures/bench_dependency.json b/press/fixtures/bench_dependency.json index 5a482f45..ffe3a79f 100644 --- a/press/fixtures/bench_dependency.json +++ b/press/fixtures/bench_dependency.json @@ -1,6 +1,6 @@ [ { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Bench Dependency", "internal": 0, "modified": "2023-09-26 19:45:32.017532", @@ -46,7 +46,7 @@ "title": "Python Version" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Bench Dependency", "internal": 0, "modified": "2023-10-06 15:45:18.593014", @@ -80,7 +80,7 @@ "title": "Node Version" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Bench Dependency", "internal": 0, "modified": "2023-09-27 09:37:02.358511", @@ -130,7 +130,7 @@ "title": "Wkhtmltopdf Version" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Bench Dependency", "internal": 0, "modified": "2023-10-28 22:08:23.853052", @@ -204,7 +204,7 @@ "title": "Bench Version" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Bench Dependency", "internal": 1, "modified": "2023-09-26 15:46:26.816012", @@ -234,7 +234,7 @@ "title": "NVM Version" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Bench Dependency", "internal": 0, "modified": "2025-10-28 13:41:43.998929", diff --git a/press/fixtures/cloud_region.json b/press/fixtures/cloud_region.json index 09b207fb..7acdf1fa 100644 --- a/press/fixtures/cloud_region.json +++ b/press/fixtures/cloud_region.json @@ -1,6 +1,6 @@ [ { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:33:57.631284", "name": "ap-south-1", @@ -8,7 +8,7 @@ "region_name": "ap-south-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:06.958325", "name": "eu-west-2", @@ -16,7 +16,7 @@ "region_name": "eu-west-2" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:15.834702", "name": "eu-central-2", @@ -24,7 +24,7 @@ "region_name": "eu-central-2" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:23.204769", "name": "ap-southeast-1", @@ -32,7 +32,7 @@ "region_name": "ap-southeast-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:40.385001", "name": "me-south-1", @@ -40,7 +40,7 @@ "region_name": "me-south-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:53.773228", "name": "af-south-1", @@ -48,7 +48,7 @@ "region_name": "af-south-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:59.528123", "name": "us-east-1", @@ -56,7 +56,7 @@ "region_name": "us-east-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2025-07-12 12:34:59.528123", "name": "us-west-1", @@ -64,7 +64,7 @@ "region_name": "us-west-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2023-08-08 12:34:33.152010", "name": "eu-central-1", @@ -72,7 +72,7 @@ "region_name": "eu-central-1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2024-09-23 10:47:04.247556", "name": "fsn1", @@ -80,7 +80,7 @@ "region_name": "fsn1" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2024-09-23 10:48:01.851504", "name": "sin", @@ -88,7 +88,7 @@ "region_name": "sin" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2024-09-23 10:47:41.953263", "name": "ash", @@ -96,7 +96,7 @@ "region_name": "ash" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Cloud Region", "modified": "2024-09-23 10:48:48.686461", "name": "nbg1", diff --git a/press/fixtures/frappe_version.json b/press/fixtures/frappe_version.json index f8b73e1c..22612836 100644 --- a/press/fixtures/frappe_version.json +++ b/press/fixtures/frappe_version.json @@ -45,7 +45,7 @@ "version": "25.3" } ], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jingrow Version", "modified": "2024-06-27 14:45:44.660933", "name": "Version 12", @@ -99,7 +99,7 @@ "version": "25.3" } ], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jingrow Version", "modified": "2025-05-23 11:09:57.983138", "name": "Version 13", @@ -153,7 +153,7 @@ "version": "25.3" } ], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jingrow Version", "modified": "2025-05-23 11:09:57.983138", "name": "Nightly", @@ -207,7 +207,7 @@ "version": "25.3" } ], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jingrow Version", "modified": "2025-05-23 11:09:57.983138", "name": "Version 14", @@ -261,7 +261,7 @@ "version": "25.3" } ], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jingrow Version", "modified": "2025-05-23 11:09:57.983138", "name": "Version 15", @@ -315,7 +315,7 @@ "version": "25.3" } ], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jingrow Version", "modified": "2025-05-23 11:09:57.983138", "name": "Version 16 Beta", diff --git a/press/fixtures/mariadb_variable.json b/press/fixtures/mariadb_variable.json index ab0a6f14..1a04d80f 100644 --- a/press/fixtures/mariadb_variable.json +++ b/press/fixtures/mariadb_variable.json @@ -4,7 +4,7 @@ "datatype": "Str", "default_value": "", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-06-19 12:04:20.157326", @@ -18,7 +18,7 @@ "datatype": "Int", "default_value": "5120", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-11-22 12:51:29.101315", @@ -32,7 +32,7 @@ "datatype": "Str", "default_value": "5", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-11-22 12:52:00.473677", @@ -46,7 +46,7 @@ "datatype": "Str", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-01-12 14:21:03.949888", @@ -60,7 +60,7 @@ "datatype": "Str", "default_value": null, "pg_section": "replication-and-binary-log", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-03-05 12:59:31.069472", @@ -74,7 +74,7 @@ "datatype": "Int", "default_value": "32", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-06-12 10:30:47.403256", @@ -88,7 +88,7 @@ "datatype": "Str", "default_value": "", "pg_section": "replication-and-binary-log", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2023-08-03 14:20:47.702196", @@ -102,7 +102,7 @@ "datatype": "Str", "default_value": "37", "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2023-09-15 15:21:13.086214", @@ -116,7 +116,7 @@ "datatype": "Str", "default_value": "/var/lib/mysql/mysql-bin", "pg_section": "replication-and-binary-log", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-06-15 14:41:09.156699", @@ -130,7 +130,7 @@ "datatype": "Str", "default_value": "5000", "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-11-22 12:50:46.547631", @@ -144,7 +144,7 @@ "datatype": "Int", "default_value": "512", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-11-22 12:51:34.994866", @@ -158,7 +158,7 @@ "datatype": "Str", "default_value": "3600", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-11-22 12:50:58.514076", @@ -172,7 +172,7 @@ "datatype": "Str", "default_value": "ON", "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-12-04 16:30:16.720727", @@ -186,7 +186,7 @@ "datatype": "Str", "default_value": null, "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-08-31 13:53:59.926965", @@ -200,7 +200,7 @@ "datatype": "Str", "default_value": "50", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-08-14 15:54:38.037523", @@ -214,7 +214,7 @@ "datatype": "Str", "default_value": "600", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-04-09 15:51:36.032112", @@ -228,7 +228,7 @@ "datatype": "Str", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-10-09 09:00:46.202412", @@ -242,7 +242,7 @@ "datatype": "Str", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-10-21 13:02:20.343316", @@ -256,7 +256,7 @@ "datatype": "Str", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-10-21 13:03:05.958798", @@ -270,7 +270,7 @@ "datatype": "Str", "default_value": "FORCE", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2024-11-22 12:31:31.593757", @@ -284,7 +284,7 @@ "datatype": "Str", "default_value": "3307", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2024-11-22 12:52:35.958089", @@ -298,7 +298,7 @@ "datatype": "Str", "default_value": "MIXED", "pg_section": "replication-and-binary-log", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2024-12-12 12:59:33.579411", @@ -312,7 +312,7 @@ "datatype": "Str", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-01-13 12:24:41.969815", @@ -326,7 +326,7 @@ "datatype": "Str", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2025-01-24 15:40:01.244238", @@ -340,7 +340,7 @@ "datatype": "Str", "default_value": "ON", "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-03-04 16:43:33.176673", @@ -354,7 +354,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.851892", @@ -368,7 +368,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.784028", @@ -382,7 +382,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.766945", @@ -396,7 +396,7 @@ "datatype": "Str", "default_value": "0", "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2025-08-04 14:05:52.103303", @@ -410,7 +410,7 @@ "datatype": "Str", "default_value": "200", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2024-11-22 12:50:54.084797", @@ -424,7 +424,7 @@ "datatype": "Int", "default_value": null, "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-03-25 18:23:56.552855", @@ -438,7 +438,7 @@ "datatype": "Int", "default_value": "32", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-03-25 18:23:37.525777", @@ -452,7 +452,7 @@ "datatype": "Str", "default_value": "256", "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-04-14 16:31:30.382561", @@ -466,7 +466,7 @@ "datatype": "Int", "default_value": null, "pg_section": "innodb", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2025-05-15 18:00:12.351782", @@ -480,7 +480,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2025-08-07 18:07:57.776120", @@ -494,7 +494,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "replication-and-binary-log", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2025-11-07 17:00:51.114771", @@ -508,7 +508,7 @@ "datatype": "Int", "default_value": null, "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 1, "modified": "2025-12-10 19:16:12.127930", @@ -522,7 +522,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.987419", @@ -536,7 +536,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.971205", @@ -550,7 +550,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.951921", @@ -564,7 +564,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.870716", @@ -578,7 +578,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.833060", @@ -592,7 +592,7 @@ "datatype": "Str", "default_value": "OFF", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.809367", @@ -606,7 +606,7 @@ "datatype": "Str", "default_value": "\"\"", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 17:55:19.751992", @@ -620,7 +620,7 @@ "datatype": "Str", "default_value": "0", "pg_section": "server", - "docstatus": 0, + "pagestatus": 0, "pagetype": "MariaDB Variable", "dynamic": 0, "modified": "2023-07-27 18:21:51.984252", diff --git a/press/fixtures/press_job_type.json b/press/fixtures/press_job_type.json index 70efadbb..079c107d 100644 --- a/press/fixtures/press_job_type.json +++ b/press/fixtures/press_job_type.json @@ -2,7 +2,7 @@ { "callback_max_retry": 5, "callback_script": "snapshot = jingrow.get_pg(\"Server Snapshot\", arguments.get(\"server_snapshot\"))\nif pg.server_type == \"Server\":\n\tsnapshot.resume_app_server_services()\nelif pg.server_type == \"Database Server\":\n\tsnapshot.resume_database_server_services()\n\nif pg.status == \"Failure\":\n jingrow.db.set_value(\"Server Snapshot\", snapshot.name, \"status\", \"Failure\", update_modified=False)\n for s in snapshot.snapshots:\n try:\n jingrow.get_pg(\"Virtual Disk Snapshot\", s).delete_snapshot()\n except:\n pass\n \nelse:\n snapshot.sync(now=False)", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-09-24 16:33:10.530624", "name": "Snapshot Disk", @@ -37,7 +37,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-08-12 16:24:10.555919", "name": "Attach Volume", @@ -52,7 +52,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-01-02 15:33:27.252601", "name": "Resize Server", @@ -102,7 +102,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2024-02-05 17:08:00.514456", "name": "Create Server Snapshot", @@ -142,7 +142,7 @@ { "callback_max_retry": 0, "callback_script": "server = jingrow.get_pg(pg.server_type, pg.server)\n\nif pg.server_type in [\"Server\", \"Database Server\"] and server.is_for_recovery:\n filter_field = \"app_server\" if pg.server_type == \"Server\" else \"database_server\"\n recovery_record_name = jingrow.db.get_value(\"Server Snapshot Recovery\", {filter_field: pg.server}, \"name\")\n if recovery_record_name:\n recovery_record = jingrow.get_pg(\"Server Snapshot Recovery\", recovery_record_name, for_update=True)\n \n if pg.status == \"Success\":\n if pg.server_type == \"Server\":\n recovery_record.app_server_archived = True\n else:\n recovery_record.database_server_archived = True\n recovery_record.save()", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-09-08 11:42:40.490054", "name": "Archive Server", @@ -167,7 +167,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2024-01-05 13:40:21.038901", "name": "Upgrade MariaDB", @@ -202,7 +202,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-02-14 14:30:00.676187", "name": "Increase Disk Size", @@ -242,7 +242,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-11-12 09:35:41.121169", "name": "Prune Docker system", @@ -262,7 +262,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-11-12 09:35:21.819679", "name": "Increase Swap", @@ -282,7 +282,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2024-12-06 10:59:08.032149", "name": "Stop and Start Server", @@ -317,7 +317,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-11-12 09:34:59.467479", "name": "Reset Swap", @@ -337,7 +337,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-07-11 15:20:56.780290", "name": "Warn disk at 80%", @@ -352,7 +352,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-07-25 21:43:11.895128", "name": "Trigger Build Server Cleanup", @@ -367,7 +367,7 @@ { "callback_max_retry": 0, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-08-31 20:54:46.857348", "name": "Create Server (old)", @@ -452,7 +452,7 @@ { "callback_max_retry": 0, "callback_script": "", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-09-08 11:36:55.450275", "name": "Resume Services After Snapshot", @@ -472,7 +472,7 @@ { "callback_max_retry": 1, "callback_script": "server = jingrow.get_pg(pg.server_type, pg.server)\n\nif pg.server_type in [\"Server\", \"Database Server\"] and server.is_for_recovery:\n filter_field = \"app_server\" if pg.server_type == \"Server\" else \"database_server\"\n recovery_record_name = jingrow.db.get_value(\"Server Snapshot Recovery\", {filter_field: pg.server}, \"name\")\n if recovery_record_name:\n recovery_record = jingrow.get_pg(\"Server Snapshot Recovery\", recovery_record_name, for_update=True)\n \n if pg.status == \"Success\":\n if pg.server_type == \"Server\":\n recovery_record.is_app_server_ready = True\n else:\n recovery_record.is_database_server_ready = True\n recovery_record.save()\n else:\n recovery_record.mark_server_provisioning_as_failed()\n \nif pg.server_type in [\"Server\", \"Database Server\"] and \"logical_replication_backup\" in arguments:\n if pg.status == \"Success\":\n jingrow.get_pg(\"Logical Replication Backup\", arguments.get(\"logical_replication_backup\")).next()\n if pg.status == \"Failure\":\n jingrow.get_pg(\"Logical Replication Backup\", arguments.get(\"logical_replication_backup\")).fail()", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-10-18 20:59:59.413236", "name": "Create Server", @@ -622,7 +622,7 @@ { "callback_max_retry": 1, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-11-12 11:06:08.243873", "name": "Prune Mirror Registry", @@ -637,7 +637,7 @@ { "callback_max_retry": 1, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-12-18 15:28:08.243873", "name": "Auto Scale Up Application Server", @@ -652,7 +652,7 @@ { "callback_max_retry": 1, "callback_script": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Job Type", "modified": "2025-12-18 15:28:08.243873", "name": "Auto Scale Down Application Server", diff --git a/press/fixtures/press_method_permission.json b/press/fixtures/press_method_permission.json index 1f938741..4ec53ad6 100644 --- a/press/fixtures/press_method_permission.json +++ b/press/fixtures/press_method_permission.json @@ -1,7 +1,7 @@ [ { "checkbox_label": "View", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Server", "method": "jcloude.api.server.overview", @@ -10,7 +10,7 @@ }, { "checkbox_label": "Reboot", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Server", "method": "jcloude.api.server.reboot", @@ -19,7 +19,7 @@ }, { "checkbox_label": "Login as Admin", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.login", @@ -28,7 +28,7 @@ }, { "checkbox_label": "Database Access", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.enable_database_access", @@ -37,7 +37,7 @@ }, { "checkbox_label": "Update", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Release Group", "method": "jcloude.api.bench.update", @@ -46,7 +46,7 @@ }, { "checkbox_label": "Update", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.update", @@ -55,7 +55,7 @@ }, { "checkbox_label": "View", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.overview", @@ -64,7 +64,7 @@ }, { "checkbox_label": "Restore", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.restore", @@ -73,7 +73,7 @@ }, { "checkbox_label": "Migrate", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.migrate", @@ -82,7 +82,7 @@ }, { "checkbox_label": "View", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Release Group", "method": "jcloude.api.bench.get", @@ -91,7 +91,7 @@ }, { "checkbox_label": "Update", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.update", @@ -100,7 +100,7 @@ }, { "checkbox_label": "Deploy", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Release Group", "method": "jcloude.api.bench.deploy_and_update", @@ -109,7 +109,7 @@ }, { "checkbox_label": "Archive", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.archive", @@ -118,7 +118,7 @@ }, { "checkbox_label": "Reset", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.reset", @@ -127,7 +127,7 @@ }, { "checkbox_label": "Deactivate", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.deactivate", @@ -136,7 +136,7 @@ }, { "checkbox_label": "SSH Access", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Release Group", "method": "jcloude.api.bench.generate_certificate", @@ -145,7 +145,7 @@ }, { "checkbox_label": "Restart", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Release Group", "method": "jcloude.api.bench.restart", @@ -154,7 +154,7 @@ }, { "checkbox_label": "Change Plan", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.change_plan", @@ -163,7 +163,7 @@ }, { "checkbox_label": "Download Backups", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Site", "method": "jcloude.api.site.get_backup_link", @@ -172,7 +172,7 @@ }, { "checkbox_label": "View", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Database Server", "method": "jcloude.api.server.overview", @@ -181,7 +181,7 @@ }, { "checkbox_label": "Drop", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Server", "method": "jcloude.api.server.archive", @@ -190,7 +190,7 @@ }, { "checkbox_label": "Drop", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Database Server", "method": "jcloude.api.server.archive", @@ -199,7 +199,7 @@ }, { "checkbox_label": "Reboot", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Database Server", "method": "jcloude.api.server.reboot", @@ -208,7 +208,7 @@ }, { "checkbox_label": "View", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Method Permission", "document_type": "Marketplace App", "method": "jcloude.api.marketplace.get_app", diff --git a/press/fixtures/press_webhook_event.json b/press/fixtures/press_webhook_event.json index 500f2f4b..a05d13f7 100644 --- a/press/fixtures/press_webhook_event.json +++ b/press/fixtures/press_webhook_event.json @@ -1,7 +1,7 @@ [ { "description": "Get notified for changes in the site's subscription plan", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Webhook Event", "enabled": 1, "modified": "2024-09-23 12:06:21.293809", @@ -10,7 +10,7 @@ }, { "description": "Pending, Installing, Updating, Active, Inactive, Broken, Archived, Suspended", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Webhook Event", "enabled": 1, "modified": "2024-09-23 11:47:30.206054", @@ -19,7 +19,7 @@ }, { "description": "Draft, Scheduled, Pending, Preparing, Running, Success, Failure", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Webhook Event", "enabled": 1, "modified": "2025-04-09 12:16:17.266946", @@ -28,7 +28,7 @@ }, { "description": "Pending, Installing, Updating, Active, Broken, Archived", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Jcloude Webhook Event", "enabled": 1, "modified": "2024-09-23 12:16:32.881258", diff --git a/press/fixtures/print_format.json b/press/fixtures/print_format.json index d70bc1ab..a1a0d38e 100644 --- a/press/fixtures/print_format.json +++ b/press/fixtures/print_format.json @@ -6,7 +6,7 @@ "default_print_language": null, "disabled": 0, "pg_type": "Invoice", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Print Format", "font": "Default", "format_data": "[{\"fieldname\": \"print_heading_template\", \"fieldtype\": \"Custom HTML\", \"options\": \"{% set months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] %}\\n\\n
\\n Invoice for {{ months[pg.month - 1] }} {{ pg.year}} billing period\\n
\"}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"_custom_html\", \"print_hide\": 0, \"label\": \"Custom HTML\", \"fieldtype\": \"HTML\", \"options\": \"
\\n \\n
\\n Jingrow Technologies Pvt. Ltd.
\\n D/324, Neelkanth Business Park,
\\n Vidyavihar (W), Mumbai 4000 86, India.\\n
\\n
\\n\\n
\\n \\n
\\n {% set address = jingrow.db.get_value('Team', pg.team, 'billing_address') %}\\n {{ jingrow.get_pg('Address', address).get_display() if address else '' }}\\n
\\n
\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"_custom_html\", \"print_hide\": 0, \"label\": \"Custom HTML\", \"fieldtype\": \"HTML\", \"options\": \"{% set details = {\\n 'Invoice': pg.name,\\n 'Payment due on': jingrow.utils.global_date_format(pg.due_date)\\n} %}\\n{% for d in details %}\\n
\\n
\\n \\n
\\n
\\n {{ details[d] }}\\n
\\n
\\n{% endfor %}\"}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"_custom_html\", \"print_hide\": 0, \"label\": \"Custom HTML\", \"fieldtype\": \"HTML\", \"options\": \"

\\n Total due {{ pg.get_formatted('amount_due') }} on {{\\n jingrow.utils.global_date_format(pg.due_date) }}\\n

\\n\\n

Usage Charges

\\n\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n {% for row in pg.site_usage %} {% set lineitem = pg.items[loop.index - 1]\\n %}\\n \\n \\n \\n \\n \\n \\n {% endfor %}\\n \\n \\n \\n \\n \\n \\n \\n \\n {% if pg.amount_due > 0 %}\\n \\n \\n \\n \\n \\n \\n \\n \\n {% endif %}\\n
SitePlanDaysAmount
{{ row.site }}{{ jingrow.db.get_value('Plan', row.plan, 'plan_title') }}{{ jingrow.utils.cint(row.days_active) }}{{ lineitem.get_formatted('amount') }}
\\n Total\\n {{ pg.get_formatted('total') }}
\\n Applied Credit Balance\\n {{ pg.get_formatted('starting_balance') }}
\\n Amount Due\\n {{ pg.get_formatted('amount_due') }}
\\n\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Stripe Billing\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"_custom_html\", \"print_hide\": 0, \"label\": \"Custom HTML\", \"fieldtype\": \"HTML\", \"options\": \"
\\n If you have added a card on file, then it will automatically be charged.
If not, pay using the following link: {{ pg.stripe_invoice_url }}\\n
\"}]", diff --git a/press/fixtures/role.json b/press/fixtures/role.json index d51dec5f..84a3a68a 100644 --- a/press/fixtures/role.json +++ b/press/fixtures/role.json @@ -4,7 +4,7 @@ "dashboard": 0, "desk_access": 0, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Role", "form_sidebar": 0, "home_page": null, @@ -25,7 +25,7 @@ "dashboard": 0, "desk_access": 0, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Role", "form_sidebar": 0, "home_page": null, @@ -46,7 +46,7 @@ "dashboard": 0, "desk_access": 0, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Role", "form_sidebar": 0, "home_page": null, @@ -65,7 +65,7 @@ { "desk_access": 1, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Role", "home_page": null, "is_custom": 0, diff --git a/press/fixtures/server_snapshot_plan.json b/press/fixtures/server_snapshot_plan.json index 15598420..be44ba7e 100644 --- a/press/fixtures/server_snapshot_plan.json +++ b/press/fixtures/server_snapshot_plan.json @@ -1,6 +1,6 @@ [ { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Server Snapshot Plan", "enabled": 1, "modified": "2025-08-02 03:22:41.159681", diff --git a/press/fixtures/server_storage_plan.json b/press/fixtures/server_storage_plan.json index 44f72056..06db1e6b 100644 --- a/press/fixtures/server_storage_plan.json +++ b/press/fixtures/server_storage_plan.json @@ -1,6 +1,6 @@ [ { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Server Storage Plan", "enabled": 1, "modified": "2024-06-27 12:34:02.292945", diff --git a/press/fixtures/site_config_key.json b/press/fixtures/site_config_key.json index 5099691d..25133036 100644 --- a/press/fixtures/site_config_key.json +++ b/press/fixtures/site_config_key.json @@ -1,7 +1,7 @@ [ { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "dropbox_secret_key", @@ -15,7 +15,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "google_analytics_id", @@ -29,7 +29,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "server_script_enabled", @@ -43,7 +43,7 @@ }, { "description": "For MixPanel analytics on desk", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "mixpanel_id", @@ -57,7 +57,7 @@ }, { "description": "Utilise jingrow.debug_log via jingrow.log to enable different levels of logging. At level 2, shows queries and results run at every action.", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "logging", @@ -71,7 +71,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "paypal_password", @@ -85,7 +85,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "disable_scheduler", @@ -99,7 +99,7 @@ }, { "description": "Skips socket.IO setup on frontend", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "disable_async", @@ -113,7 +113,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "mail_server", @@ -127,7 +127,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "pause_scheduler", @@ -141,7 +141,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "email_sender_name", @@ -155,7 +155,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "sandbox_api_secret", @@ -169,7 +169,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "error_report_email", @@ -183,7 +183,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "mail_login", @@ -197,7 +197,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "sandbox_api_key", @@ -211,7 +211,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "dropbox_broker_site", @@ -225,7 +225,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "dropbox_access_key", @@ -239,7 +239,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "mail_password", @@ -253,7 +253,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "sandbox_publishable_key", @@ -267,7 +267,7 @@ }, { "description": "Load Data from local infile for mysql", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "local_infile", @@ -281,7 +281,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "paypal_username", @@ -295,7 +295,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "disable_session_cache", @@ -309,7 +309,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "sandbox_api_password", @@ -323,7 +323,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "always_use_account_email_id_as_sender", @@ -337,7 +337,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "mail_port", @@ -351,7 +351,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "use_tls", @@ -365,7 +365,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "skip_setup_wizard", @@ -379,7 +379,7 @@ }, { "description": "", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "ignore_csrf", @@ -393,7 +393,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "disable_global_search", @@ -407,7 +407,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "disable_error_snapshot", @@ -421,7 +421,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "sandbox_api_username", @@ -435,7 +435,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "deny_multiple_sessions", @@ -449,7 +449,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "use_ssl", @@ -463,7 +463,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "sandbox_signature", @@ -477,7 +477,7 @@ }, { "description": "for RazorPay Settings", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "converted_rupee_to_paisa", @@ -491,7 +491,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "auto_email_id", @@ -505,7 +505,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "host_name", @@ -519,7 +519,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "always_use_account_name_as_sender_name", @@ -533,7 +533,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "paypal_signature", @@ -547,7 +547,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "disable_website_cache", @@ -561,7 +561,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "pop_timeout", @@ -575,7 +575,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "data_import_batch_size", @@ -589,7 +589,7 @@ }, { "description": "Key used to encrypt Passwords", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "encryption_key", @@ -603,7 +603,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "mute_emails", @@ -617,7 +617,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0, "key": "max_file_size", @@ -631,7 +631,7 @@ }, { "description": "At FC, we use this to manage site usages.", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "rate_limit", @@ -645,7 +645,7 @@ }, { "description": "We use this to suspend or deactivate sites in FC.", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "maintenance_mode", @@ -659,7 +659,7 @@ }, { "description": "Maintains a list of domains for site", - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "domains", @@ -673,7 +673,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "db_name", @@ -687,7 +687,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "db_host", @@ -701,7 +701,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "db_password", @@ -715,7 +715,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 1, "key": "db_type", @@ -729,7 +729,7 @@ }, { "description": null, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key", "internal": 0 , "key": "workers", diff --git a/press/fixtures/site_config_key_blacklist.json b/press/fixtures/site_config_key_blacklist.json index 58889cfd..08cf1ae9 100644 --- a/press/fixtures/site_config_key_blacklist.json +++ b/press/fixtures/site_config_key_blacklist.json @@ -1,6 +1,6 @@ [ { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "ssl_certificate", "modified": "2020-10-01 21:10:07.925888", @@ -8,7 +8,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "ssl_certificate_key", "modified": "2020-10-01 21:10:31.635305", @@ -16,7 +16,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "frappecloud_url", "modified": "2020-09-15 13:02:11.917220", @@ -24,7 +24,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_ssl_key", "modified": "2020-09-15 13:02:12.019502", @@ -32,7 +32,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_password", "modified": "2020-09-15 13:02:12.032911", @@ -40,7 +40,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "monitor", "modified": "2020-09-15 13:02:12.044695", @@ -48,7 +48,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "root_login", "modified": "2020-09-15 14:47:30.453481", @@ -56,7 +56,7 @@ "reason": "only used at postgres setup_db #L41...else used as flags" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_port", "modified": "2020-09-15 13:02:12.066262", @@ -64,7 +64,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "webserver_port", "modified": "2020-09-15 13:02:12.078783", @@ -72,7 +72,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "restart_systemd_on_update", "modified": "2020-09-15 13:02:12.088768", @@ -80,7 +80,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_name", "modified": "2020-09-15 13:02:12.098600", @@ -88,7 +88,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_ssl_cert", "modified": "2020-09-15 13:02:12.111550", @@ -96,7 +96,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_ssl_ca", "modified": "2020-09-15 13:02:12.121237", @@ -104,7 +104,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "keep_backups_for_hours", "modified": "2020-09-15 14:48:35.698767", @@ -112,7 +112,7 @@ "reason": "retain backups while deleting old ones : BackupGenerator" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "socketio_port", "modified": "2020-09-15 13:02:12.142390", @@ -120,7 +120,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_type", "modified": "2020-09-15 13:02:12.164240", @@ -128,7 +128,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "db_host", "modified": "2020-09-15 13:02:12.173858", @@ -136,7 +136,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "http_port", "modified": "2020-09-15 13:02:12.183172", @@ -144,7 +144,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "developer_mode", "modified": "2020-09-15 13:02:12.202427", @@ -152,7 +152,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "root_password", "modified": "2020-09-15 14:47:48.878756", @@ -160,7 +160,7 @@ "reason": "Used under mysql and postgres setup_db methods" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "allow_tests", "modified": "2020-09-15 13:02:12.228708", @@ -168,7 +168,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "install_apps", "modified": "2020-09-15 14:48:13.132821", @@ -176,7 +176,7 @@ "reason": "apps to install at site creation" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "admin_password", "modified": "2020-09-15 13:02:12.250826", @@ -184,7 +184,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "restart_supervisor_on_update", "modified": "2020-09-15 13:02:12.259476", @@ -192,7 +192,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "rds_db", "modified": "2020-09-15 14:47:00.852841", @@ -200,7 +200,7 @@ "reason": "for only granting certain perms on databases. named because of AWS RDS?" }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "rate_limit", "modified": "2020-09-18 11:54:37.058867", @@ -208,7 +208,7 @@ "reason": null }, { - "docstatus": 0, + "pagestatus": 0, "pagetype": "Site Config Key Blacklist", "key": "extra_config", "modified": "2025-03-29 19:28:15.431026", diff --git a/press/patches/v0_0_1/create_invoice_for_past_ples.py b/press/patches/v0_0_1/create_invoice_for_past_ples.py index 7888da36..ec7abc1f 100644 --- a/press/patches/v0_0_1/create_invoice_for_past_ples.py +++ b/press/patches/v0_0_1/create_invoice_for_past_ples.py @@ -99,7 +99,7 @@ def create_past_invoices(team): "creation": ("between", [i.period_start, i.period_end]), "purpose": "Site Consumption", "team": team.name, - "docstatus": 1, + "pagestatus": 1, "free_usage": False, }, ) @@ -117,7 +117,7 @@ def create_past_invoices(team): stripe_invoice=invoice["id"], message="total_match_success", ) - i.db_set("docstatus", 1) + i.db_set("pagestatus", 1) else: log( team.name, @@ -145,7 +145,7 @@ def create_draft_invoice(team, last_invoice_period_end=None): "creation": ("between", [invoice.period_start, invoice.period_end]), "purpose": "Site Consumption", "team": team, - "docstatus": 1, + "pagestatus": 1, "free_usage": False, }, ) diff --git a/press/patches/v0_0_1/ple_to_usage_record.py b/press/patches/v0_0_1/ple_to_usage_record.py index 63263ba7..46726d56 100644 --- a/press/patches/v0_0_1/ple_to_usage_record.py +++ b/press/patches/v0_0_1/ple_to_usage_record.py @@ -27,7 +27,7 @@ def execute(): `interval`, `invoice`, `remark`, - `docstatus` + `pagestatus` ) select CONCAT('UT', SUBSTR(ple.name, 4)), @@ -50,7 +50,7 @@ def execute(): `tabPayment Ledger Entry` ple where ple.purpose = 'Site Consumption' - and ple.docstatus = 1 + and ple.pagestatus = 1 and ple.free_usage = 0 """ ) diff --git a/press/press/audit.py b/press/press/audit.py index c2a3ecaf..60134d8c 100644 --- a/press/press/audit.py +++ b/press/press/audit.py @@ -390,7 +390,7 @@ class BillingAudit(Audit): SELECT subscription, Count(name) as count FROM `tabUsage Record` as UR WHERE UR.date = CURDATE() - AND UR.docstatus = 1 + AND UR.pagestatus = 1 AND UR.plan NOT LIKE '%Marketplace%' GROUP BY UR.document_name, UR.plan, UR.team HAVING count > 1 @@ -461,7 +461,7 @@ class BillingAudit(Audit): & (team.enabled == 1) & (team.free_account == 0) & (invoice.status == "Unpaid") - & (invoice.docstatus < 2) + & (invoice.pagestatus < 2) & (invoice.type == "Subscription") & (site.free == 0) & (site.plan).notin(jingrow_plans) diff --git a/press/press/custom/address.json b/press/press/custom/address.json index ef777ebb..81cb7e52 100644 --- a/press/press/custom/address.json +++ b/press/press/custom/address.json @@ -15,7 +15,7 @@ "default": null, "depends_on": null, "description": null, - "docstatus": 0, + "pagestatus": 0, "dt": "Address", "fetch_from": null, "fetch_if_empty": 0, @@ -76,7 +76,7 @@ "create": 1, "creation": "2013-01-10 16:34:32", "delete": 0, - "docstatus": 0, + "pagestatus": 0, "email": 1, "export": 0, "idx": 2, @@ -107,7 +107,7 @@ "create": 1, "creation": "2013-01-10 16:34:32", "delete": 0, - "docstatus": 0, + "pagestatus": 0, "email": 1, "export": 0, "idx": 3, @@ -138,7 +138,7 @@ "create": 1, "creation": "2020-08-26 20:09:40.417634", "delete": 1, - "docstatus": 0, + "pagestatus": 0, "email": 0, "export": 1, "idx": 0, @@ -169,7 +169,7 @@ "create": 1, "creation": "2013-01-10 16:34:32", "delete": 0, - "docstatus": 0, + "pagestatus": 0, "email": 1, "export": 0, "idx": 1, @@ -200,7 +200,7 @@ "create": 1, "creation": "2013-01-10 16:34:32", "delete": 1, - "docstatus": 0, + "pagestatus": 0, "email": 1, "export": 1, "idx": 5, @@ -231,7 +231,7 @@ "create": 1, "creation": "2013-01-10 16:34:32", "delete": 0, - "docstatus": 0, + "pagestatus": 0, "email": 1, "export": 0, "idx": 4, @@ -262,7 +262,7 @@ "create": 1, "creation": "2025-10-23 15:16:20.186207", "delete": 0, - "docstatus": 0, + "pagestatus": 0, "email": 0, "export": 1, "idx": 0, diff --git a/press/press/custom/country.json b/press/press/custom/country.json index a4da3d11..0c2828de 100644 --- a/press/press/custom/country.json +++ b/press/press/custom/country.json @@ -15,7 +15,7 @@ "default": null, "depends_on": null, "description": null, - "docstatus": 0, + "pagestatus": 0, "dt": "Country", "fetch_from": null, "fetch_if_empty": 0, diff --git a/press/press/doctype/balance_transaction/balance_transaction.py b/press/press/doctype/balance_transaction/balance_transaction.py index 780a1c00..11d6a232 100644 --- a/press/press/doctype/balance_transaction/balance_transaction.py +++ b/press/press/doctype/balance_transaction/balance_transaction.py @@ -56,7 +56,7 @@ class BalanceTransaction(Document): last_balance = jingrow.db.get_all( "Balance Transaction", - filters={"team": self.team, "docstatus": 1, "type": ("!=", "Partnership Fee")}, + filters={"team": self.team, "pagestatus": 1, "type": ("!=", "Partnership Fee")}, fields=["sum(amount) as ending_balance"], group_by="team", pluck="ending_balance", @@ -96,7 +96,7 @@ class BalanceTransaction(Document): remaining_amount = abs(self.amount) transactions = jingrow.get_all( "Balance Transaction", - filters={"docstatus": 1, "team": self.team, "unallocated_amount": (">", 0)}, + filters={"pagestatus": 1, "team": self.team, "unallocated_amount": (">", 0)}, fields=["name", "unallocated_amount"], order_by="creation asc", ) @@ -123,7 +123,7 @@ class BalanceTransaction(Document): unallocated_amounts = ( jingrow.get_all( "Balance Transaction", - filters={"docstatus": 1, "team": self.team, "unallocated_amount": (">", 0)}, + filters={"pagestatus": 1, "team": self.team, "unallocated_amount": (">", 0)}, fields=["unallocated_amount"], pluck="unallocated_amount", ) diff --git a/press/press/doctype/invoice/invoice.js b/press/press/doctype/invoice/invoice.js index 24f93dec..e86605ac 100644 --- a/press/press/doctype/invoice/invoice.js +++ b/press/press/doctype/invoice/invoice.js @@ -126,7 +126,7 @@ jingrow.ui.form.on('Invoice', { ); } - if (frm.pg.docstatus == 1 && frm.pg.stripe_invoice_id) { + if (frm.pg.pagestatus == 1 && frm.pg.stripe_invoice_id) { let btn = frm.add_custom_button( 'Change Status', () => { @@ -159,7 +159,7 @@ jingrow.ui.form.on('Invoice', { ); } - if (frm.pg.docstatus === 0) { + if (frm.pg.pagestatus === 0) { let btn = frm.add_custom_button('Finalize Invoice', () => jingrow.confirm( 'This action will apply credits (if applicable) and generate a Stripe invoice if the amount due is greater than 0. ' + diff --git a/press/press/doctype/invoice/invoice.py b/press/press/doctype/invoice/invoice.py index bb99f286..126f1e34 100644 --- a/press/press/doctype/invoice/invoice.py +++ b/press/press/doctype/invoice/invoice.py @@ -120,7 +120,7 @@ class Invoice(Document): "partner_email", "amount_due", "amount_paid", - "docstatus", + "pagestatus", "gst", "applied_credits", "status", @@ -241,7 +241,7 @@ class Invoice(Document): jingrow.throw("Invoice must be Paid to be submitted") def calculate_values(self): - if self.status == "Paid" and self.docstatus == 1: + if self.status == "Paid" and self.pagestatus == 1: # don't calculate if already invoice is paid and already submitted return self.calculate_total() @@ -332,7 +332,7 @@ class Invoice(Document): "status": "Unpaid", "team": self.team, "type": "Subscription", - "docstatus": ("<", 2), + "pagestatus": ("<", 2), }, ) == 0 @@ -669,7 +669,7 @@ class Invoice(Document): if self.type != "Subscription": return # return if invoice is not in draft mode - if self.docstatus != 0: + if self.pagestatus != 0: return # return if this usage_record is of a different invoice @@ -763,7 +763,7 @@ class Invoice(Document): "team": self.team, "type": "Adjustment", "unallocated_amount": (">", 0), - "docstatus": ("<", 2), + "pagestatus": ("<", 2), }, fields=["name", "unallocated_amount", "source"], order_by="creation desc", diff --git a/press/press/doctype/invoice/mark_as_uncollectible.py b/press/press/doctype/invoice/mark_as_uncollectible.py index 17f9044c..990f8655 100644 --- a/press/press/doctype/invoice/mark_as_uncollectible.py +++ b/press/press/doctype/invoice/mark_as_uncollectible.py @@ -11,7 +11,7 @@ def execute(): six_months_ago = jingrow.utils.add_to_date(None, months=-6) invoices = jingrow.db.get_all( "Invoice", - filters={"due_date": ("<", six_months_ago), "status": "Unpaid", "docstatus": 0}, + filters={"due_date": ("<", six_months_ago), "status": "Unpaid", "pagestatus": 0}, ) for inv in invoices: diff --git a/press/press/doctype/invoice/patches/set_free_credits.py b/press/press/doctype/invoice/patches/set_free_credits.py index 3b12b403..651e4f94 100644 --- a/press/press/doctype/invoice/patches/set_free_credits.py +++ b/press/press/doctype/invoice/patches/set_free_credits.py @@ -10,7 +10,7 @@ def execute(): jingrow.reload_pg("jcloude", "pagetype", "invoice") # only apply to invoices that has credits applied invoices = jingrow.db.get_all( - "Invoice", {"docstatus": 1, "applied_credits": (">", 0)}, pluck="name" + "Invoice", {"pagestatus": 1, "applied_credits": (">", 0)}, pluck="name" ) total_invoices = len(invoices) diff --git a/press/press/doctype/invoice/patches/set_transaction_details.py b/press/press/doctype/invoice/patches/set_transaction_details.py index 9c19e82c..615d5cce 100644 --- a/press/press/doctype/invoice/patches/set_transaction_details.py +++ b/press/press/doctype/invoice/patches/set_transaction_details.py @@ -9,7 +9,7 @@ def execute(): jingrow.reload_pg("jcloude", "pagetype", "invoice") invoices = jingrow.db.get_all( "Invoice", - {"status": "Paid", "docstatus": 1, "amount_paid": (">", 0), "transaction_amount": 0}, + {"status": "Paid", "pagestatus": 1, "amount_paid": (">", 0), "transaction_amount": 0}, pluck="name", ) for name in invoices: diff --git a/press/press/doctype/invoice/test_invoice.py b/press/press/doctype/invoice/test_invoice.py index fc96a2e7..2caa5c28 100644 --- a/press/press/doctype/invoice/test_invoice.py +++ b/press/press/doctype/invoice/test_invoice.py @@ -426,7 +426,7 @@ class TestInvoice(FrappeTestCase): "Balance Transaction", filters={ "team": team.name, - "docstatus": 1, + "pagestatus": 1, "unallocated_amount": (">=", 0), "source": "Prepaid Credits", }, @@ -449,7 +449,7 @@ class TestInvoice(FrappeTestCase): bt.amount = -100 bt.source = "Transferred Credits" bt.type = "Adjustment" - bt.docstatus = 1 + bt.pagestatus = 1 bt.db_insert() settling_transaction = team.allocate_credit_amount(200, source="Prepaid Credits") diff --git a/press/press/doctype/mpesa_payment_record/mpesa_payment_record.py b/press/press/doctype/mpesa_payment_record/mpesa_payment_record.py index 40f66ea4..95fb8adb 100644 --- a/press/press/doctype/mpesa_payment_record/mpesa_payment_record.py +++ b/press/press/doctype/mpesa_payment_record/mpesa_payment_record.py @@ -54,7 +54,7 @@ class MpesaPaymentRecord(Document): def validate_duplicate(self): if jingrow.db.exists( "Mpesa Payment Record", - {"transaction_id": self.transaction_id, "docstatus": 1}, + {"transaction_id": self.transaction_id, "pagestatus": 1}, ): jingrow.throw(f"Mpesa Payment Record for transaction {self.transaction_id} already exists") diff --git a/press/press/doctype/partner_payment_payout/partner_payment_payout.js b/press/press/doctype/partner_payment_payout/partner_payment_payout.js index 7b43a474..0cf077ef 100644 --- a/press/press/doctype/partner_payment_payout/partner_payment_payout.js +++ b/press/press/doctype/partner_payment_payout/partner_payment_payout.js @@ -3,7 +3,7 @@ jingrow.ui.form.on('Partner Payment Payout', { refresh(frm) { - if (frm.pg.docstatus == 0) { + if (frm.pg.pagestatus == 0) { frm.add_custom_button('Fetch Payments', () => { jingrow.call({ method: 'jcloude.api.regional_payments.mpesa.utils.fetch_payments', diff --git a/press/press/doctype/payment_due_extension/payment_due_extension.py b/press/press/doctype/payment_due_extension/payment_due_extension.py index 720ca023..2092daca 100644 --- a/press/press/doctype/payment_due_extension/payment_due_extension.py +++ b/press/press/doctype/payment_due_extension/payment_due_extension.py @@ -28,7 +28,7 @@ class PaymentDueExtension(Document): def before_insert(self): if jingrow.db.exists( "Payment Due Extension", - {"team": self.team, "docstatus": 1, "extension_date": (">=", jingrow.utils.today())}, + {"team": self.team, "pagestatus": 1, "extension_date": (">=", jingrow.utils.today())}, ): jingrow.throw("An active Payment due extension record already exists for this team") @@ -42,7 +42,7 @@ class PaymentDueExtension(Document): def remove_payment_due_extension(): extensions = jingrow.get_all( "Payment Due Extension", - {"docstatus": 1, "extension_date": ("<", jingrow.utils.today())}, + {"pagestatus": 1, "extension_date": ("<", jingrow.utils.today())}, pluck="team", ) for team in extensions: diff --git a/press/press/doctype/payout_order/patches/compute_total_amount.py b/press/press/doctype/payout_order/patches/compute_total_amount.py index d674e0c5..bf371df1 100644 --- a/press/press/doctype/payout_order/patches/compute_total_amount.py +++ b/press/press/doctype/payout_order/patches/compute_total_amount.py @@ -9,7 +9,7 @@ def execute(): exchange_rate = jingrow.db.get_single_value("Jcloude Settings", "usd_rate") payout_orders = jingrow.get_all( "Payout Order", - {"docstatus": 0}, + {"pagestatus": 0}, ["name", "net_total_inr", "net_total_usd", "recipient_currency"], ) diff --git a/press/press/doctype/payout_order/payout_order.py b/press/press/doctype/payout_order/payout_order.py index 66f29e80..2dffc3da 100644 --- a/press/press/doctype/payout_order/payout_order.py +++ b/press/press/doctype/payout_order/payout_order.py @@ -57,7 +57,7 @@ class PayoutOrder(Document): @staticmethod def get_list_query(query): PayoutOrder = jingrow.qb.PageType("Payout Order") - query = query.where((PayoutOrder.docstatus != 2)) + query = query.where((PayoutOrder.pagestatus != 2)) return query def validate(self): diff --git a/press/press/doctype/stripe_payment_event/stripe_payment_event.py b/press/press/doctype/stripe_payment_event/stripe_payment_event.py index 3fef1a55..3fce564f 100644 --- a/press/press/doctype/stripe_payment_event/stripe_payment_event.py +++ b/press/press/doctype/stripe_payment_event/stripe_payment_event.py @@ -99,7 +99,7 @@ class StripePaymentEvent(Document): "team": team.name, "status": "Unpaid", "type": "Subscription", - "docstatus": ("<", 2), + "pagestatus": ("<", 2), }, ) == 0 diff --git a/press/press/doctype/team/suspend_sites.py b/press/press/doctype/team/suspend_sites.py index 0bc3cccf..31362327 100644 --- a/press/press/doctype/team/suspend_sites.py +++ b/press/press/doctype/team/suspend_sites.py @@ -92,7 +92,7 @@ def get_teams_with_unpaid_invoices(): & (team.free_account == 0) & (team.extend_payment_due_suspension == 0) & (invoice.status == "Unpaid") - & (invoice.docstatus < 2) + & (invoice.pagestatus < 2) & (invoice.type == "Subscription") & (site.free == 0) & (invoice.period_end <= last_day) diff --git a/press/press/doctype/team/team.py b/press/press/doctype/team/team.py index 42393d48..54728e9f 100644 --- a/press/press/doctype/team/team.py +++ b/press/press/doctype/team/team.py @@ -490,7 +490,7 @@ class Team(Document): def update_draft_invoice_payment_mode(self): if self.has_value_changed("payment_mode"): draft_invoices = jingrow.get_all( - "Invoice", filters={"docstatus": 0, "team": self.name}, pluck="name" + "Invoice", filters={"pagestatus": 0, "team": self.name}, pluck="name" ) for invoice in draft_invoices: @@ -500,7 +500,7 @@ class Team(Document): if self.receive_budget_alerts and self.has_value_changed("monthly_alert_threshold"): jingrow.db.set_value( "Invoice", - {"team": self.name, "docstatus": 0, "due_date": get_last_day(getdate())}, + {"team": self.name, "pagestatus": 0, "due_date": get_last_day(getdate())}, "budget_alert_sent", 0, ) @@ -577,7 +577,7 @@ class Team(Document): { "status": "Unpaid", "team": self.name, - "docstatus": ("<", 2), + "pagestatus": ("<", 2), "type": "Subscription", }, pluck="name", @@ -653,7 +653,7 @@ class Team(Document): self.update_billing_details_on_draft_invoices() def update_billing_details_on_draft_invoices(self): - draft_invoices = jingrow.get_all("Invoice", {"team": self.name, "docstatus": 0}, pluck="name") + draft_invoices = jingrow.get_all("Invoice", {"team": self.name, "pagestatus": 0}, pluck="name") for draft_invoice in draft_invoices: # Invoice.customer_name set by Invoice.validate() jingrow.get_pg("Invoice", draft_invoice).save() @@ -770,7 +770,7 @@ class Team(Document): filters={ "team": self.name, "status": ("not in", ("Draft", "Refunded")), - "docstatus": ("!=", 2), + "pagestatus": ("!=", 2), }, fields=[ "name", @@ -915,7 +915,7 @@ class Team(Document): def get_balance(self): res = jingrow.get_all( "Balance Transaction", - filters={"team": self.name, "docstatus": 1, "type": ("!=", "Partnership Fee")}, + filters={"team": self.name, "pagestatus": 1, "type": ("!=", "Partnership Fee")}, order_by="creation desc", limit=1, pluck="ending_balance", diff --git a/press/press/doctype/team_deletion_request/team_deletion_request.py b/press/press/doctype/team_deletion_request/team_deletion_request.py index 54f4f4c0..f2c3a4d4 100644 --- a/press/press/doctype/team_deletion_request/team_deletion_request.py +++ b/press/press/doctype/team_deletion_request/team_deletion_request.py @@ -255,7 +255,7 @@ class TeamDeletionRequest(PersonalDataDeletionRequest): pending_invoices = jingrow.get_all( "Invoice", filters={"team": self.team}, - or_filters={"docstatus": 0, "status": "Draft"}, + or_filters={"pagestatus": 0, "status": "Draft"}, pluck="name", ) for invoice in pending_invoices: diff --git a/press/press/doctype/usage_record/usage_record.py b/press/press/doctype/usage_record/usage_record.py index 455f3ea8..338b1f13 100644 --- a/press/press/doctype/usage_record/usage_record.py +++ b/press/press/doctype/usage_record/usage_record.py @@ -91,7 +91,7 @@ class UsageRecord(Document): "interval": self.interval, "date": self.date, "plan": self.plan, - "docstatus": 1, + "pagestatus": 1, "subscription": self.subscription, "amount": self.amount, }, @@ -117,7 +117,7 @@ def link_unlinked_usage_records(): "invoice": ("is", "not set"), "date": ("between", (fd, ld)), "team": ("not in", free_teams), - "docstatus": 1, + "pagestatus": 1, }, pluck="name", ignore_ifnull=True, diff --git a/press/press/doctype/user_ssh_certificate/user_ssh_certificate.js b/press/press/doctype/user_ssh_certificate/user_ssh_certificate.js index bc2e965f..cb73c686 100644 --- a/press/press/doctype/user_ssh_certificate/user_ssh_certificate.js +++ b/press/press/doctype/user_ssh_certificate/user_ssh_certificate.js @@ -8,7 +8,7 @@ jingrow.ui.form.on('User SSH Certificate', { filters: { user: frm.pg.user }, }; }); - if (frm.pg.docstatus === 1) { + if (frm.pg.pagestatus === 1) { let key_type = frm.pg.ssh_public_key.split(' ')[0].split('-')[1]; frm.add_custom_button('Copy Certificate Details', function () { let text = `echo '${frm.pg.ssh_certificate.trim()}' > ~/.ssh/id_${key_type}-cert.pub`; diff --git a/press/press/doctype/user_ssh_certificate/user_ssh_certificate.py b/press/press/doctype/user_ssh_certificate/user_ssh_certificate.py index 83b77a5f..6e63dd97 100644 --- a/press/press/doctype/user_ssh_certificate/user_ssh_certificate.py +++ b/press/press/doctype/user_ssh_certificate/user_ssh_certificate.py @@ -60,7 +60,7 @@ class UserSSHCertificate(Document): "valid_until": [">", jingrow.utils.now()], "access_server": self.access_server, "all_servers": self.all_servers, - "docstatus": 1, + "pagestatus": 1, }, ): jingrow.throw("A valid certificate already exists.") diff --git a/press/press/report/agent_versions/agent_versions.json b/press/press/report/agent_versions/agent_versions.json index 727472ee..0c7a6b86 100644 --- a/press/press/report/agent_versions/agent_versions.json +++ b/press/press/report/agent_versions/agent_versions.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2023-01-30 17:16:09.288587", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/aws_instance_pricing/aws_instance_pricing.json b/press/press/report/aws_instance_pricing/aws_instance_pricing.json index cf109707..b0c66095 100644 --- a/press/press/report/aws_instance_pricing/aws_instance_pricing.json +++ b/press/press/report/aws_instance_pricing/aws_instance_pricing.json @@ -101,7 +101,7 @@ ], "creation": "2022-09-19 17:12:10.701432", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/aws_rightsizing_recommendation/aws_rightsizing_recommendation.json b/press/press/report/aws_rightsizing_recommendation/aws_rightsizing_recommendation.json index b9076929..59a4ed01 100644 --- a/press/press/report/aws_rightsizing_recommendation/aws_rightsizing_recommendation.json +++ b/press/press/report/aws_rightsizing_recommendation/aws_rightsizing_recommendation.json @@ -132,7 +132,7 @@ ], "creation": "2024-09-10 15:22:38.545636", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/bench_memory_limits/bench_memory_limits.json b/press/press/report/bench_memory_limits/bench_memory_limits.json index 1110587c..bda52ff3 100644 --- a/press/press/report/bench_memory_limits/bench_memory_limits.json +++ b/press/press/report/bench_memory_limits/bench_memory_limits.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2023-10-17 19:23:39.391050", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/binary_log_browser/binary_log_browser.json b/press/press/report/binary_log_browser/binary_log_browser.json index 79388afd..0b395e07 100644 --- a/press/press/report/binary_log_browser/binary_log_browser.json +++ b/press/press/report/binary_log_browser/binary_log_browser.json @@ -4,7 +4,7 @@ "creation": "2021-10-13 16:36:50.690799", "disable_prepared_report": 0, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/report/mariadb_deadlock_browser/mariadb_deadlock_browser.json b/press/press/report/mariadb_deadlock_browser/mariadb_deadlock_browser.json index a44e5cee..8f118b41 100644 --- a/press/press/report/mariadb_deadlock_browser/mariadb_deadlock_browser.json +++ b/press/press/report/mariadb_deadlock_browser/mariadb_deadlock_browser.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2023-05-18 21:37:22.195557", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/report/mariadb_locks_list/mariadb_locks_list.json b/press/press/report/mariadb_locks_list/mariadb_locks_list.json index 1c0068eb..9da16c01 100644 --- a/press/press/report/mariadb_locks_list/mariadb_locks_list.json +++ b/press/press/report/mariadb_locks_list/mariadb_locks_list.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2024-03-24 11:50:26.510957", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/mariadb_process_list/mariadb_process_list.json b/press/press/report/mariadb_process_list/mariadb_process_list.json index 8c541823..9b2fff79 100644 --- a/press/press/report/mariadb_process_list/mariadb_process_list.json +++ b/press/press/report/mariadb_process_list/mariadb_process_list.json @@ -4,7 +4,7 @@ "creation": "2022-04-27 21:05:57.049047", "disable_prepared_report": 0, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/mariadb_slow_queries/mariadb_slow_queries.json b/press/press/report/mariadb_slow_queries/mariadb_slow_queries.json index 70006fd7..81f1372a 100644 --- a/press/press/report/mariadb_slow_queries/mariadb_slow_queries.json +++ b/press/press/report/mariadb_slow_queries/mariadb_slow_queries.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2024-12-23 11:36:40.301426", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/report/marketplace_app_repository_visibility/marketplace_app_repository_visibility.json b/press/press/report/marketplace_app_repository_visibility/marketplace_app_repository_visibility.json index 99796d42..c3ddfa6b 100644 --- a/press/press/report/marketplace_app_repository_visibility/marketplace_app_repository_visibility.json +++ b/press/press/report/marketplace_app_repository_visibility/marketplace_app_repository_visibility.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2025-01-21 17:35:11.471086", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/report/payment_partner/payment_partner.json b/press/press/report/payment_partner/payment_partner.json index 59d2a20a..7b7d8d15 100644 --- a/press/press/report/payment_partner/payment_partner.json +++ b/press/press/report/payment_partner/payment_partner.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2024-11-25 15:50:14.609170", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/report/payment_partner/payment_partner.py b/press/press/report/payment_partner/payment_partner.py index bdfe20fe..c0254168 100644 --- a/press/press/report/payment_partner/payment_partner.py +++ b/press/press/report/payment_partner/payment_partner.py @@ -96,7 +96,7 @@ def get_data(filters): "actual_currency", "exchange_rate", ) - .where(payment_record.docstatus == 1) + .where(payment_record.pagestatus == 1) ) query = apply_filters(query, filters, payment_record) @@ -116,7 +116,7 @@ def apply_filters(query, filters, payment_record): "payment_partner": lambda q, v: q.where(payment_record.payment_partner == v), "payment_gateway": lambda q, v: q.where(payment_record.payment_gateway == v), "submitted_to_jingrow": lambda q, v: q.where(payment_record.submitted_to_jingrow == v), - "docstatus": lambda q, v: q.where(payment_record.docstatus == pg_status.get(v, 0)), + "pagestatus": lambda q, v: q.where(payment_record.pagestatus == pg_status.get(v, 0)), } for key, value in filters.items(): diff --git a/press/press/report/press_endpoints_audit/press_endpoints_audit.json b/press/press/report/press_endpoints_audit/press_endpoints_audit.json index 01b40f9c..2eedcbc8 100644 --- a/press/press/report/press_endpoints_audit/press_endpoints_audit.json +++ b/press/press/report/press_endpoints_audit/press_endpoints_audit.json @@ -4,7 +4,7 @@ "columns": [], "creation": "2025-08-29 19:46:24.442646", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/report/server_stats/server_stats.json b/press/press/report/server_stats/server_stats.json index 2423088f..a9ef7f34 100644 --- a/press/press/report/server_stats/server_stats.json +++ b/press/press/report/server_stats/server_stats.json @@ -3,7 +3,7 @@ "columns": [], "creation": "2022-12-15 09:04:10.284944", "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [ { diff --git a/press/press/report/shared_app_server_stats/shared_app_server_stats.json b/press/press/report/shared_app_server_stats/shared_app_server_stats.json index 4898ffb9..b9cd89ba 100644 --- a/press/press/report/shared_app_server_stats/shared_app_server_stats.json +++ b/press/press/report/shared_app_server_stats/shared_app_server_stats.json @@ -4,7 +4,7 @@ "creation": "2023-01-23 10:44:06.770366", "disable_prepared_report": 1, "disabled": 0, - "docstatus": 0, + "pagestatus": 0, "pagetype": "Report", "filters": [], "idx": 0, diff --git a/press/press/workspace/press/press.json b/press/press/workspace/press/press.json index 7c291a91..8d6c277c 100644 --- a/press/press/workspace/press/press.json +++ b/press/press/workspace/press/press.json @@ -3,7 +3,7 @@ "content": "[{\"id\":\"zYUVFJZX-t\",\"type\":\"header\",\"data\":{\"text\":\"Jingrow Cloud\",\"col\":12}},{\"id\":\"VFzeFzlnB5\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"iNJ8WoS9kD\",\"type\":\"header\",\"data\":{\"text\":\"Sites\",\"col\":12}},{\"id\":\"EYeJrbXv1P\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Active Sites\",\"col\":3}},{\"id\":\"7jAM0HBrde\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Broken Sites\",\"col\":3}},{\"id\":\"ttO5vXfzL_\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Pending Sites\",\"col\":3}},{\"id\":\"nvLoQ_N15n\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Suspended Sites\",\"col\":3}},{\"id\":\"AVO8JCkksy\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"aLqo1uNPYu\",\"type\":\"header\",\"data\":{\"text\":\"Benches\",\"col\":12}},{\"id\":\"BcJPVEkRcy\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Active Benches\",\"col\":3}},{\"id\":\"PhHBf-f1ej\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Broken Benches\",\"col\":3}},{\"id\":\"JJB6cOEiXy\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"7a18ugroq8\",\"type\":\"header\",\"data\":{\"text\":\"Servers\",\"col\":12}},{\"id\":\"M3urSE6cor\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Application Server\",\"col\":3}},{\"id\":\"5qOJXl1CkE\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Database Server\",\"col\":3}},{\"id\":\"PWrCW7DruI\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Proxy Server\",\"col\":3}},{\"id\":\"_GVOmg7C_U\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Hybrid Servers\",\"col\":3}},{\"id\":\"XHWA0NCImO\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"X1dteEUHoR\",\"type\":\"header\",\"data\":{\"text\":\"Settings\",\"col\":12}},{\"id\":\"eeEbYjVj_n\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Jcloude Settings\",\"col\":3}},{\"id\":\"EiWS2tWYwu\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Root Domain\",\"col\":3}},{\"id\":\"EoLO5YYzdR\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Tls Certificate\",\"col\":3}},{\"id\":\"-Jx1Irf-28\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Team\",\"col\":3}},{\"id\":\"n-T0ehr2ca\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"xZEclbenJQ\",\"type\":\"header\",\"data\":{\"text\":\"Masters\",\"col\":12}},{\"id\":\"P6nCUrJreH\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"App\",\"col\":3}},{\"id\":\"1kAyHtrIrJ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"App Source\",\"col\":3}},{\"id\":\"-N-Xb5MVPV\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"App Release\",\"col\":3}},{\"id\":\"ND9oElFB7R\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"0DYlbnEtOT\",\"type\":\"header\",\"data\":{\"text\":\"Subscription\",\"col\":12}},{\"id\":\"eddRzzqwSZ\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Server Plan\",\"col\":3}},{\"id\":\"GYk3Frsy1L\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Site Plan\",\"col\":3}},{\"id\":\"o_aDSbQlPf\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Subscription\",\"col\":3}},{\"id\":\"VZSHmE1jzA\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Invoice\",\"col\":3}},{\"id\":\"B8T-3IZ8Qg\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"WDyzNHuOas\",\"type\":\"header\",\"data\":{\"text\":\"Operations\",\"col\":12}},{\"id\":\"Ziby8rOfsU\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Agent Job\",\"col\":3}},{\"id\":\"Vm4Tn0dxiD\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Ansible Play\",\"col\":3}},{\"id\":\"n6VE51hPkc\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Jcloude Job\",\"col\":3}}]", "creation": "2024-07-30 18:43:18.421196", "custom_blocks": [], - "docstatus": 0, + "pagestatus": 0, "pagetype": "Workspace", "for_user": "", "hide_custom": 0,