diff --git a/dashboard/src/components/server/ServerActionCell.vue b/dashboard/src/components/server/ServerActionCell.vue
index 85454ce1..d53c591e 100644
--- a/dashboard/src/components/server/ServerActionCell.vue
+++ b/dashboard/src/components/server/ServerActionCell.vue
@@ -112,7 +112,7 @@ function onTeardownSecondaryServer() {
Disable auto add on storage?
This can effect server uptime
Know more Disable auto add on storage?
This can effect server uptime
Know more `,
primaryAction: {
label: 'Disable',
theme: 'red',
diff --git a/dashboard/src/components/server/ServerLoadAverage.vue b/dashboard/src/components/server/ServerLoadAverage.vue
index 5234df2e..391cd03c 100644
--- a/dashboard/src/components/server/ServerLoadAverage.vue
+++ b/dashboard/src/components/server/ServerLoadAverage.vue
@@ -6,7 +6,7 @@
Docs
diff --git a/dashboard/src/components/settings/AddNewWebhookDialog.vue b/dashboard/src/components/settings/AddNewWebhookDialog.vue
index eed1b224..3db5603d 100644
--- a/dashboard/src/components/settings/AddNewWebhookDialog.vue
+++ b/dashboard/src/components/settings/AddNewWebhookDialog.vue
@@ -28,7 +28,7 @@
Note: Secret is optional. Check
the documentation
Note: Secret is optional. Check
the documentation A record. Please update the same after migration to
avoid downtime. To know more, refer
the documentation. this.$resources.slowQueries.data.data,
onRowClick: (row) => {
this.selectedQuery = row.query;
diff --git a/dashboard/src/components/site_database_user/SiteDatabaseUserCredentialDialog.vue b/dashboard/src/components/site_database_user/SiteDatabaseUserCredentialDialog.vue
index 8093ff28..3e6529a0 100644
--- a/dashboard/src/components/site_database_user/SiteDatabaseUserCredentialDialog.vue
+++ b/dashboard/src/components/site_database_user/SiteDatabaseUserCredentialDialog.vue
@@ -77,7 +77,7 @@
Please check out the
documentation = {
},
banner({ documentResource: site }) {
const bannerTitle =
- 'Your site is currently on a shared bench group. Upgrade plan to install custom apps, enable server scripts and more .';
+ 'Your site is currently on a shared bench group. Upgrade plan to install custom apps, enable server scripts and more .';
return getUpsellBanner(site, bannerTitle);
},
diff --git a/dashboard/src/objects/common/patches.ts b/dashboard/src/objects/common/patches.ts
index 944f04ee..3f560845 100644
--- a/dashboard/src/objects/common/patches.ts
+++ b/dashboard/src/objects/common/patches.ts
@@ -23,7 +23,7 @@ export function getPatchesTab(forBench: boolean) {
type: 'list',
list: {
experimental: true, // If removing this, uncheck App Patch doctype beta flag.
- documentation: 'https://docs.frappe.io/cloud/benches/app-patches',
+ documentation: 'https://docs.framework.jingrow.com/cloud/benches/app-patches',
doctype: 'App Patch',
filters: (res) => ({ [forBench ? 'bench' : 'group']: res.name }),
searchField: 'filename',
diff --git a/dashboard/src/objects/group.js b/dashboard/src/objects/group.js
index c4ae9d5c..e48c5a6c 100644
--- a/dashboard/src/objects/group.js
+++ b/dashboard/src/objects/group.js
@@ -119,7 +119,7 @@ export default {
button: {
label: 'Read docs',
variant: 'outline',
- link: 'https://docs.frappe.io/cloud/benches/create-new',
+ link: 'https://docs.framework.jingrow.com/cloud/benches/create-new',
},
};
}
@@ -234,7 +234,7 @@ export default {
h(
'a',
{
- href: 'https://docs.frappe.io/cloud/faq/app-installation-issue',
+ href: 'https://docs.framework.jingrow.com/cloud/faq/app-installation-issue',
target: '_blank',
},
[h(icon('help-circle', 'w-3 h-3'), {})],
diff --git a/dashboard/src/objects/marketplace.js b/dashboard/src/objects/marketplace.js
index fae020cf..de7d2cf5 100644
--- a/dashboard/src/objects/marketplace.js
+++ b/dashboard/src/objects/marketplace.js
@@ -462,7 +462,7 @@ export default {
condition: () => app.pg.status === 'Draft',
onClick() {
window.open(
- 'https://docs.frappe.io/cloud/marketplace/marketplace-guidelines',
+ 'https://docs.framework.jingrow.com/cloud/marketplace/marketplace-guidelines',
'_blank',
);
},
diff --git a/dashboard/src/objects/server.js b/dashboard/src/objects/server.js
index 49b75405..2aef0a5a 100644
--- a/dashboard/src/objects/server.js
+++ b/dashboard/src/objects/server.js
@@ -137,7 +137,7 @@ export default {
button: {
label: 'Read docs',
variant: 'outline',
- link: 'https://docs.frappe.io/cloud/servers/new',
+ link: 'https://docs.framework.jingrow.com/cloud/servers/new',
},
};
}
diff --git a/dashboard/src/objects/site.js b/dashboard/src/objects/site.js
index dcc294b5..1eb9e872 100644
--- a/dashboard/src/objects/site.js
+++ b/dashboard/src/objects/site.js
@@ -1057,7 +1057,7 @@ export default {
label: 'Contact Support',
variant: 'outline',
onClick() {
- window.open('https://frappecloud.com/support', '_blank');
+ window.open('https://jcloud.jingrow.com/support', '_blank');
},
},
};
@@ -1067,7 +1067,7 @@ export default {
return getUpsellBanner(
site,
- 'Your site is currently on a shared bench group. Upgrade plan for offsite backups and more .',
+ 'Your site is currently on a shared bench group. Upgrade plan for offsite backups and more .',
);
},
},
@@ -1493,7 +1493,7 @@ export default {
},
banner({ documentResource: site }) {
const bannerTitle =
- 'Your site is currently on a shared bench group. Upgrade to a private bench group to configure auto updates and more .';
+ 'Your site is currently on a shared bench group. Upgrade to a private bench group to configure auto updates and more .';
return getUpsellBanner(site, bannerTitle);
},
diff --git a/dashboard/src/pages/EnableBenchGroups.vue b/dashboard/src/pages/EnableBenchGroups.vue
index 65ab3d14..34508d23 100644
--- a/dashboard/src/pages/EnableBenchGroups.vue
+++ b/dashboard/src/pages/EnableBenchGroups.vue
@@ -22,7 +22,7 @@
Read more →
Read more →
Read documentation
diff --git a/dashboard/src/pages/LoginSignup.vue b/dashboard/src/pages/LoginSignup.vue
index a526da83..e5b60663 100644
--- a/dashboard/src/pages/LoginSignup.vue
+++ b/dashboard/src/pages/LoginSignup.vue
@@ -298,7 +298,7 @@
Terms & Policies
@@ -380,7 +380,7 @@
Terms & Policies
diff --git a/dashboard/src/pages/NewServer.vue b/dashboard/src/pages/NewServer.vue
index a389f75c..2e2b4e8a 100644
--- a/dashboard/src/pages/NewServer.vue
+++ b/dashboard/src/pages/NewServer.vue
@@ -102,7 +102,7 @@
@@ -374,7 +374,7 @@
Or you can
contact support
diff --git a/dashboard/src/pages/NewSite.vue b/dashboard/src/pages/NewSite.vue
index ad7b03f8..0df69155 100644
--- a/dashboard/src/pages/NewSite.vue
+++ b/dashboard/src/pages/NewSite.vue
@@ -144,7 +144,7 @@
Select Plan
-
+
diff --git a/dashboard/src/pages/ReleaseGroupBenchSites.vue b/dashboard/src/pages/ReleaseGroupBenchSites.vue
index a1582b14..9d25cb57 100644
--- a/dashboard/src/pages/ReleaseGroupBenchSites.vue
+++ b/dashboard/src/pages/ReleaseGroupBenchSites.vue
@@ -11,7 +11,7 @@
Upgrade Now
@@ -131,7 +131,7 @@ export default {
@@ -142,7 +142,7 @@ export default {
diff --git a/dashboard/src/pages/SetupAccount.vue b/dashboard/src/pages/SetupAccount.vue
index c8245484..40a8d3b9 100644
--- a/dashboard/src/pages/SetupAccount.vue
+++ b/dashboard/src/pages/SetupAccount.vue
@@ -106,7 +106,7 @@
Terms & Policies
diff --git a/dashboard/src/pages/devtools/database/BinlogBrowser.vue b/dashboard/src/pages/devtools/database/BinlogBrowser.vue
index e7bab391..b470eb51 100644
--- a/dashboard/src/pages/devtools/database/BinlogBrowser.vue
+++ b/dashboard/src/pages/devtools/database/BinlogBrowser.vue
@@ -29,7 +29,7 @@
diff --git a/dashboard/src/pages/signup/LoginToSite.vue b/dashboard/src/pages/signup/LoginToSite.vue
index 3a838dc8..59a6d9ad 100644
--- a/dashboard/src/pages/signup/LoginToSite.vue
+++ b/dashboard/src/pages/signup/LoginToSite.vue
@@ -73,8 +73,8 @@
It looks like something went wrong
Contact
- support@frappe.io support@framework.jingrow.com
to resolve the issue
diff --git a/dashboard/src/pages/signup/OAuthSetupAccount.vue b/dashboard/src/pages/signup/OAuthSetupAccount.vue
index 913c2ebe..348046cd 100644
--- a/dashboard/src/pages/signup/OAuthSetupAccount.vue
+++ b/dashboard/src/pages/signup/OAuthSetupAccount.vue
@@ -49,15 +49,15 @@
class="mr-0.5 py-1 align-baseline"
/>
I agree to Frappe
-
+
Terms of Service ,
-
+
Privacy Policy
&
Cookie Policy
diff --git a/dashboard/src/pages/signup/Signup.vue b/dashboard/src/pages/signup/Signup.vue
index ba9770ed..e8e23304 100644
--- a/dashboard/src/pages/signup/Signup.vue
+++ b/dashboard/src/pages/signup/Signup.vue
@@ -66,15 +66,15 @@
class="mr-0.5 py-1 align-baseline"
/>
I agree to Frappe
-
+
Terms of Service ,
-
+
Privacy Policy
&
Cookie Policy
diff --git a/debugging/mariadb.build.md b/debugging/mariadb.build.md
index 10034862..e362d998 100644
--- a/debugging/mariadb.build.md
+++ b/debugging/mariadb.build.md
@@ -78,7 +78,7 @@ References: https://mariadb.com/kb/en/building-mariadb-on-ubuntu/
We need to [sign the packages with OpenPGP](https://ubuntu.com/server/docs/third-party-apt-repositories)
-1. Create a OpenPGP key for `Frappe Developers `. This is an interactive step. Refer frappe.io/app/frappe-asset for Paasphrase.
+1. Create a OpenPGP key for `Frappe Developers `. This is an interactive step. Refer framework.jingrow.com/app/frappe-asset for Paasphrase.
```sh
gpg --full-gen-key
@@ -92,7 +92,7 @@ $ gpg --list-secret-key --with-subkey-fingerprint
-------------------------------
sec rsa4096 2024-01-29 [SC]
2AADEF02BE446B0FA3B0AC3DF38C274AC216D014
-uid [ultimate] Frappe Developers
+uid [ultimate] Frappe Developers
```
Export the public key in the repository directory
@@ -201,7 +201,7 @@ Setup TLS for `packages.frappe.cloud`
```sh
snap install --classic certbot
-certbot --nginx --agree-tos --email developers@frappe.io --domains packages.frappe.cloud
+certbot --nginx --agree-tos --email developers@framework.jingrow.com --domains packages.frappe.cloud
```
### Install patched MariaDB
diff --git a/deployment/nginx.conf b/deployment/nginx.conf
index 48dda9c9..6b11f53d 100644
--- a/deployment/nginx.conf
+++ b/deployment/nginx.conf
@@ -33,7 +33,7 @@ server {
# setup maps
map $host $site_name_sxjfjnv {
- frappecloud.com frappe.cloud;
+ jcloud.jingrow.com frappe.cloud;
default $host;
}
@@ -51,8 +51,8 @@ server {
root /home/frappe/frappe-bench/sites;
ssl on;
- ssl_certificate /etc/letsencrypt/live/code.frappecloud.com/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/code.frappecloud.com/privkey.pem; # managed by Certbot
+ ssl_certificate /etc/letsencrypt/live/code.jcloud.jingrow.com/fullchain.pem; # managed by Certbot
+ ssl_certificate_key /etc/letsencrypt/live/code.jcloud.jingrow.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
ssl_stapling on;
@@ -65,7 +65,7 @@ server {
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
- return 301 https://frappecloud.com$request_uri;
+ return 301 https://jcloud.jingrow.com$request_uri;
}
@@ -91,14 +91,14 @@ server {
server_name
- frappecloud.com
+ jcloud.jingrow.com
;
root /home/frappe/frappe-bench/sites;
ssl on;
- ssl_certificate /etc/letsencrypt/live/code.frappecloud.com/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/code.frappecloud.com/privkey.pem; # managed by Certbot
+ ssl_certificate /etc/letsencrypt/live/code.jcloud.jingrow.com/fullchain.pem; # managed by Certbot
+ ssl_certificate_key /etc/letsencrypt/live/code.jcloud.jingrow.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
@@ -463,14 +463,14 @@ server {
# http to https redirect
server {
- if ($host = frappecloud.com) {
+ if ($host = jcloud.jingrow.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name
- frappecloud.com
+ jcloud.jingrow.com
;
return 301 https://$host$request_uri;
diff --git a/docs/General Guide/Console Access.MD b/docs/General Guide/Console Access.MD
index 5d026324..93a6dc1b 100644
--- a/docs/General Guide/Console Access.MD
+++ b/docs/General Guide/Console Access.MD
@@ -12,7 +12,7 @@ For `f7-mumbai.frappe.cloud`
2. Create User SSH Certificate for the server you want access to, in this case `f7-mumbai.frappe.cloud`.
3. Fill details such as server name, reason for accessing the server, validity period for eg. 6 Hrs.
-
+
4. Click on **Copy Certificate Details**, it will copy the certificate in the clipboard and then paste it in your terminal.
5. Now click on **Copy SSH Command**, it will copy the SSH command in the clipboard and then paste it in your terminal.
diff --git a/docs/General Guide/Marketplace Review Process.MD b/docs/General Guide/Marketplace Review Process.MD
index 486e0026..ddba03a9 100644
--- a/docs/General Guide/Marketplace Review Process.MD
+++ b/docs/General Guide/Marketplace Review Process.MD
@@ -10,7 +10,7 @@ The main master for marketplace is the “Marketplace App” DocType around whic
## Release Management
-When the developer “Publish”es a release (by using the steps described in Managing your Marketplace App (frappecloud.com)), an “App Release Approval Request'' is created, which I review (there is an assignment rule that assigns it to just me as of now). For apps I trust (like POSAwesome), I approve the releases blindly, for new apps I look at the diff if the repo is open source or have to use the code server to look into the app.
+When the developer “Publish”es a release (by using the steps described in Managing your Marketplace App (jcloud.jingrow.com)), an “App Release Approval Request'' is created, which I review (there is an assignment rule that assigns it to just me as of now). For apps I trust (like POSAwesome), I approve the releases blindly, for new apps I look at the diff if the repo is open source or have to use the code server to look into the app.
## Approving a release
@@ -27,12 +27,12 @@ Once approved, the new release will be available for deployment on bench groups
## Server Script for Auto-approving of App Releases for Marketplace App
-There is a Server Script that auto-approves releases (sets the status of the ‘App Release’ pg to ‘Approved’) for all the apps belonging to team@erpnext.com (Auto approve frappe/erpnext releases (frappecloud.com)).
+There is a Server Script that auto-approves releases (sets the status of the ‘App Release’ pg to ‘Approved’) for all the apps belonging to team@erpnext.com (Auto approve frappe/erpnext releases (jcloud.jingrow.com)).
## Publishing of New Apps
-It all starts with the developer of the app enabling developer mode and adding the app to be published via dashboard as per the instructions written here: Publishing an App to Marketplace (frappecloud.com). In the backend the “Marketplace App” master is created and its status is set to “Draft”.
+It all starts with the developer of the app enabling developer mode and adding the app to be published via dashboard as per the instructions written here: Publishing an App to Marketplace (jcloud.jingrow.com). In the backend the “Marketplace App” master is created and its status is set to “Draft”.
Then the process is roughly:
diff --git a/docs/General Guide/Operational Manual.MD b/docs/General Guide/Operational Manual.MD
index 3225496d..7e47cfb2 100644
--- a/docs/General Guide/Operational Manual.MD
+++ b/docs/General Guide/Operational Manual.MD
@@ -14,12 +14,12 @@ This documentation is intended to help consultants carry out daily operational t
| --- | --- |
| FrappeCloud | Platform for hosting customer sites |
| Team | A team represents a group of people. Every account created on Frappe Cloud belongs to a team. If a user signs up on Frappe Cloud without an invite, they’ll belong to their own team. A Team document has a child table of user emails |
-| Desk Page/Document/Pg | Any webpage that starts with *frappecloud.com/app* in the url, powered by Frappe Framework, similar to the one you see on frappe.io. Customers of Frappe Cloud cannot access these pages |
-| Dashboard Page | Any webpage that starts with *frappecloud.com/dashboard* in the url, powered by Vue js, custom UI for users. Customers of Frappe Cloud only see these pages. |
+| Desk Page/Document/Pg | Any webpage that starts with *jcloud.jingrow.com/app* in the url, powered by Frappe Framework, similar to the one you see on framework.jingrow.com. Customers of Frappe Cloud cannot access these pages |
+| Dashboard Page | Any webpage that starts with *jcloud.jingrow.com/dashboard* in the url, powered by Vue js, custom UI for users. Customers of Frappe Cloud only see these pages. |
### Site Desk Page
-* Go to frappecloud.com/app and search for Site List
+* Go to jcloud.jingrow.com/app and search for Site List
* In the site list, search for the required site and open it
### Visit Dashboard page from Desk page
@@ -45,7 +45,7 @@ This documentation is intended to help consultants carry out daily operational t
### Visit Desk Page of Team
-* Go to frappecloud.com/app and search for Team List
+* Go to jcloud.jingrow.com/app and search for Team List
* In the Team list, search for the required team and open it
### Visit Dashboard from Team's perspective
@@ -108,8 +108,8 @@ Then you can select an app from the list shown. If the app you desire is not fou
In some cases, it may be so that multiple partners are working on features for a project, hence they would want access to same Bench Group on FC. For these cases, we can create a new team and add the required partners as members in this team.
-1. Signup on FC in incognito tab with `username+project_name@frappe.io` email. The `+` is important, i.e if your company email is `balamurali@frappe.io`, and project is Karam, use `balamurali+karam@frappe.io`.
-2. Complete signup with the verification email you get in your company email inbox (`balamurali@frappe.io` in this case)
+1. Signup on FC in incognito tab with `username+project_name@framework.jingrow.com` email. The `+` is important, i.e if your company email is `balamurali@framework.jingrow.com`, and project is Karam, use `balamurali+karam@framework.jingrow.com`.
+2. Complete signup with the verification email you get in your company email inbox (`balamurali@framework.jingrow.com` in this case)
3. Mark your account as Free from [desk page](###visit-desk-page-of-team) of the newly created team
4. Invite other parties involved in the project to this newly created team from settings in your FC dashboard
5. Change bench group ownership to the newly created team
@@ -122,7 +122,7 @@ In some cases, it may be so that multiple partners are working on features for a
### Central/ERPNext.com Sites
* These sites are the ones migrated from central to Frappecloud.
-* They are all under common team i.e *central@frappecloud.com* and common plan i.e *Central Site*
+* They are all under common team i.e *central@jcloud.jingrow.com* and common plan i.e *Central Site*
* Frappecloud pricing doesn't apply to them
### Extend trial date of a site
@@ -131,7 +131,7 @@ In some cases, it may be so that multiple partners are working on features for a
### Update limits/expiry of Central/ERPNext Site
-* Open the **Support Profile** pg on `frappe.io`
+* Open the **Support Profile** pg on `framework.jingrow.com`

diff --git a/docs/How to ?/Add New Press Webhook.MD b/docs/How to ?/Add New Press Webhook.MD
index 5c6974f8..6a5c1bce 100644
--- a/docs/How to ?/Add New Press Webhook.MD
+++ b/docs/How to ?/Add New Press Webhook.MD
@@ -4,7 +4,7 @@ allow_guest: 1
published: 1
---
-General introduction to press webhook can be found in [the public documentation](https://frappecloud.com/docs/webhook-introduction).
+General introduction to press webhook can be found in [the public documentation](https://jcloud.jingrow.com/docs/webhook-introduction).
Add New Webhook Event
---------------------
@@ -12,7 +12,7 @@ Add New Webhook Event
1. Go to `Press Webhook Event` doctype in desk.
2. Create a new record and fill up the title and description of event. This title and description will be shown to users to select.
3. If you are on local development setup, you can export fixtures.
-4. Update the documentation of `Webhook Events` as well >
+4. Update the documentation of `Webhook Events` as well >
Create Webhook Event
--------------------
@@ -31,7 +31,7 @@ create_webhook_event("Site Status Update", payload, team_name)
```
* **Payload** can be doctype object or a python dictionary.
- * If you want to pass doctype object as payload, you should add the required non-sensitive fields in `dashboard_fields` list in your doctype class. Check the `_process_document_payload` method ([ref](https://github.com/frappe/press/blob/d548d10269fb31dacc5ce257a8ff2d41fe451d6a/press/utils/webhook.py#L66)) to understand that.
+ * If you want to pass doctype object as payload, you should add the required non-sensitive fields in `dashboard_fields` list in your doctype class. Check the `_process_document_payload` method ([ref](http://git.jingrow.com/jingrow/jcloude/blob/d548d10269fb31dacc5ce257a8ff2d41fe451d6a/press/utils/webhook.py#L66)) to understand that.
3. ⚠️ In the codebase, at many place we use `frappe.db.set_value` to set some specific field's value, it can cause little bit issues.
diff --git a/docs/How to ?/Build a Bench.MD b/docs/How to ?/Build a Bench.MD
index d8939931..a28d3286 100644
--- a/docs/How to ?/Build a Bench.MD
+++ b/docs/How to ?/Build a Bench.MD
@@ -5,7 +5,7 @@ published: 1
---
This is information about doctypes required to manage benches and apps on FC
-from [desk](https://frappecloud.com/app). Roughly, the build process goes
+from [desk](https://jcloud.jingrow.com/app). Roughly, the build process goes
through these doctypes (that you're concerned with) in order.
App => App Source => Release Group => Deploy Candidate => Bench
diff --git a/docs/Internals/Billing & Subscription.MD b/docs/Internals/Billing & Subscription.MD
index 51e3b99a..93080dab 100644
--- a/docs/Internals/Billing & Subscription.MD
+++ b/docs/Internals/Billing & Subscription.MD
@@ -1,9 +1,9 @@
----
-route: billing-and-subscription-internal
-allow_guest: 1
-published: 1
----
-
+---
+route: billing-and-subscription-internal
+allow_guest: 1
+published: 1
+---
+
This page describes how Subscription Management works in Frappe Cloud.
## DocTypes
@@ -22,7 +22,7 @@ These are the key doctypes that are related to subscription:
## Example scenario:
-John registers on frappecloud.com with the email john@doe.com on 5 January,
+John registers on jcloud.jingrow.com with the email john@doe.com on 5 January,
2021. A Team record will be created with the name **john@doe.com** and a Stripe
customer record will also be created and linked to this Team record.
@@ -112,7 +112,7 @@ charged. A new invoice will be created for the upcoming month of February.
## Scheduler Events
-### [subscription.create\_usage\_records](https://github.com/frappe/press/blob/master/press/press/doctype/subscription/subscription.py#L109) (hourly_long)
+### [subscription.create\_usage\_records](http://git.jingrow.com/jingrow/jcloude/blob/master/press/press/doctype/subscription/subscription.py#L109) (hourly_long)
This job runs hourly and creates a Usage Record for every active Subscription.
It will not create more than one record per day for one Subscription even if it
@@ -124,7 +124,7 @@ Now, for every Usage Record that is created, the amount is updated in the
corresponding invoice for that month. For e.g., if a Usage Record of $0.32 is
created in the month of January, the amount will updated in the January invoice.
-### [invoice.finalize\_draft\_invoices](https://github.com/frappe/press/blob/master/press/press/doctype/invoice/invoice.py#L541) (Daily at 6pm IST)
+### [invoice.finalize\_draft\_invoices](http://git.jingrow.com/jingrow/jcloude/blob/master/press/press/doctype/invoice/invoice.py#L541) (Daily at 6pm IST)
This job runs every day at 6pm IST. It will go through every Draft Invoice whose
period_end date has ended (today or before) and has a total amount greater than
diff --git a/docs/Introduction/Local Setup Using Cloud.MD b/docs/Introduction/Local Setup Using Cloud.MD
index b11ace39..3e10a391 100644
--- a/docs/Introduction/Local Setup Using Cloud.MD
+++ b/docs/Introduction/Local Setup Using Cloud.MD
@@ -29,7 +29,7 @@ You should have the following software packages installed on your computer befor
### Credentials from Frappe Assets
-You will need access to the following IAM accounts. If you're working at Frappe, you can request them from `Frappe Assets` at frappe.io:
+You will need access to the following IAM accounts. If you're working at Frappe, you can request them from `Frappe Assets` at framework.jingrow.com:
1. Hetzner
2. Digital Ocean
@@ -77,7 +77,7 @@ Now, make sure you can `ssh` (as `root`) into all the three servers using thier
Create your `press` site
------------------------
-On your computer, run `bench get-app https://github.com/frappe/press`.
+On your computer, run `bench get-app http://git.jingrow.com/jingrow/jcloude`.
> If you are on a M series Mac computer and you get an error related to "go" when installing press. Here's what you can try:
>
@@ -238,7 +238,7 @@ After some time, when the tasks have completed to run, the `Proxy Server` will g
If there is any error (for example, if the `Proxy Server` goes into `Broken` state) or a task keeps running forever, go to the `Error Log List` and you will most probably find a log that corresponds to the task and more information on why it failed.
-> If the Ansible Task "Clone Agent Repository" fails, you might want to generate a personal access token and edit the git clone URL in `press/playbooks/roles/agent/tasks/main.yml` at the agent github URL line. It should be in the format: `"https://:@github.com:/frappe/agent"`
+> If the Ansible Task "Clone Agent Repository" fails, you might want to generate a personal access token and edit the git clone URL in `press/playbooks/roles/agent/tasks/main.yml` at the agent github URL line. It should be in the format: `"https://:@github.com:/jingrow/agent"`
Setting up DB server (`m` server)
---------------------------------
@@ -280,7 +280,7 @@ Under **Press Settings** > **Docker** > **Docker Build** set **Build Server** to
Now, when you run a _Build and Deploy_, the image that is created for the deployment will be built on the Build Server.
-> **Note**: You need to add **sync** queue, in your common\_site\_config.json [**Ref**](https://github.com/frappe/press/blob/78a736c0acefcfce7d74767620688de5f7a2d059/deployment/common_site_config.json#L28)
+> **Note**: You need to add **sync** queue, in your common\_site\_config.json [**Ref**](http://git.jingrow.com/jingrow/jcloude/blob/78a736c0acefcfce7d74767620688de5f7a2d059/deployment/common_site_config.json#L28)
>
> "workers": {
> "sync": {
@@ -430,7 +430,7 @@ This will install additional tools commonly needed in development:
If you encounter test failures related to missing AWS services or other dev tools, ensure you have installed the development requirements.
-Before running your tests, make sure to [set up pre-commit](https://github.com/frappe/press/blob/develop/setup-pre-commit.sh), follow the [testing guide](https://github.com/frappe/press/blob/develop/guide-to-testing.md), and refer to [the instructions for running tests](https://docs.frappe.io/framework/user/en/testing#running-tests) once all development dependencies are in place.
+Before running your tests, make sure to [set up pre-commit](http://git.jingrow.com/jingrow/jcloude/blob/develop/setup-pre-commit.sh), follow the [testing guide](http://git.jingrow.com/jingrow/jcloude/blob/develop/guide-to-testing.md), and refer to [the instructions for running tests](https://docs.framework.jingrow.com/framework/user/en/testing#running-tests) once all development dependencies are in place.
Tips
----
diff --git a/guide-to-testing.md b/guide-to-testing.md
index 5f3353bb..8de46509 100644
--- a/guide-to-testing.md
+++ b/guide-to-testing.md
@@ -3,7 +3,7 @@
Before we get into writing tests, please make sure you have pre-commit hook for
styling tools setup so CI won't fail from these
-Instructions [here](https://github.com/frappe/press/issues/424#issuecomment-1193375098)
+Instructions [here](http://git.jingrow.com/jingrow/jcloude/issues/424#issuecomment-1193375098)
# Writing Tests for Press
@@ -66,16 +66,16 @@ keep reading.
There's also a decorator you can use to fake the result of an agent job. For
example, you may do it like so:
-https://github.com/frappe/press/blob/983631ccb59f88e57fd60fdad1615e9abd87d99f/press/api/tests/test_site.py#L243-L247
+http://git.jingrow.com/jingrow/jcloude/blob/983631ccb59f88e57fd60fdad1615e9abd87d99f/press/api/tests/test_site.py#L243-L247
This way you can use the name of the type of job and fake a response from the same.
You may also fake the output obtained from the job which you can then use to test the callback that uses the same:
-https://github.com/frappe/press/blob/983631ccb59f88e57fd60fdad1615e9abd87d99f/press/api/tests/test_site.py#L305-L323
+http://git.jingrow.com/jingrow/jcloude/blob/983631ccb59f88e57fd60fdad1615e9abd87d99f/press/api/tests/test_site.py#L305-L323
It is also possible to fake multiple jobs in the same context, for when multiple jobs are processed in the same request or job:
-https://github.com/frappe/press/blob/983631ccb59f88e57fd60fdad1615e9abd87d99f/press/press/doctype/site_migration/test_site_migration.py#L29-L77
+http://git.jingrow.com/jingrow/jcloude/blob/983631ccb59f88e57fd60fdad1615e9abd87d99f/press/press/doctype/site_migration/test_site_migration.py#L29-L77
> Note that with this, you can't fake 2 results for the same type of job. This is still a limitation. As a workaround, you can have multiple `with` statements for such cases.
@@ -112,7 +112,7 @@ tell what it's trying to test is supposed without even having to read the code.
Making the method name small is pointless; we're never going to reference this
method anywhere in code, ever. Eg:
-https://github.com/frappe/press/blob/2503e523284fb905eca60acf3271d3fb1dccbc3f/press/press/doctype/site/test_site.py#L215-L228
+http://git.jingrow.com/jingrow/jcloude/blob/2503e523284fb905eca60acf3271d3fb1dccbc3f/press/press/doctype/site/test_site.py#L215-L228
You can also go the extra mile and write a function docstring. This docstring
will be shown in the output when the testrunner detects that the test has
@@ -150,14 +150,14 @@ class TestBench(FrappeTestCase):
You can also use the patch decorator on test methods too. Eg:
-https://github.com/frappe/press/blob/6dd6b2c8193b04f1aec1601d52ba09ce9dca8dfe/press/tests/test_cleanup.py#L280-L290
+http://git.jingrow.com/jingrow/jcloude/blob/6dd6b2c8193b04f1aec1601d52ba09ce9dca8dfe/press/tests/test_cleanup.py#L280-L290
The decorator passes the mocked function (which is a `Mock()` object) along as
an argument, so you can later do asserts on it (if you want to).
You can even use the decorator as context manager if you don't want to mock
things for the entirety of the test.
-https://github.com/frappe/press/blob/6dd6b2c8193b04f1aec1601d52ba09ce9dca8dfe/press/tests/test_audit.py#L97-L102
+http://git.jingrow.com/jingrow/jcloude/blob/6dd6b2c8193b04f1aec1601d52ba09ce9dca8dfe/press/tests/test_audit.py#L97-L102
Here, we're actually faking the output of the function which usually calls a
remote endpoint that's out of our control by adding the `new` argument to the
@@ -173,7 +173,7 @@ method.
> case you want to do asserts on it, you can use the `wraps` kwarg instead of
> new). Eg:
-https://github.com/frappe/press/blob/23711e2799f2d24dfd7bbe2b6cd148f54f4b253b/press/press/doctype/database_server_mariadb_variable/test_database_server_mariadb_variable.py#L138-L155
+http://git.jingrow.com/jingrow/jcloude/blob/23711e2799f2d24dfd7bbe2b6cd148f54f4b253b/press/press/doctype/database_server_mariadb_variable/test_database_server_mariadb_variable.py#L138-L155
Here, we check what args was Ansible constructor was called with.
@@ -201,9 +201,9 @@ control/predict when the background job will run and finish. So, when your code
involves creating a background job, we can simply mock the call so that it runs
in foreground instead. There's a utility method you can use to achieve this with ease:
-https://github.com/frappe/press/blob/23711e2799f2d24dfd7bbe2b6cd148f54f4b253b/press/press/doctype/database_server_mariadb_variable/test_database_server_mariadb_variable.py#L12
+http://git.jingrow.com/jingrow/jcloude/blob/23711e2799f2d24dfd7bbe2b6cd148f54f4b253b/press/press/doctype/database_server_mariadb_variable/test_database_server_mariadb_variable.py#L12
-https://github.com/frappe/press/blob/23711e2799f2d24dfd7bbe2b6cd148f54f4b253b/press/press/doctype/database_server_mariadb_variable/test_database_server_mariadb_variable.py#L104-L108
+http://git.jingrow.com/jingrow/jcloude/blob/23711e2799f2d24dfd7bbe2b6cd148f54f4b253b/press/press/doctype/database_server_mariadb_variable/test_database_server_mariadb_variable.py#L104-L108
## Running tests
@@ -239,6 +239,6 @@ to check out [this vim plugin](https://github.com/ankush/frappe_test.vim/) or
# References
-- https://frappeframework.com/docs/v14/user/en/testing
+- https://framework.jingrow.com/docs/v14/user/en/testing
- https://docs.python.org/3/library/unittest.mock.html
- https://learnvim.irian.to/basics/compile
diff --git a/libs/fc_cli/fc/authentication/login.py b/libs/fc_cli/fc/authentication/login.py
index eb6189e8..fead0b22 100644
--- a/libs/fc_cli/fc/authentication/login.py
+++ b/libs/fc_cli/fc/authentication/login.py
@@ -24,9 +24,9 @@ class SessionMetadata:
class OtpLogin:
def __init__(self, email: str):
self.email = email
- self.opt_url = "https://frappecloud.com/api/method/press.api.account.send_otp"
- self.login_url = "https://frappecloud.com/api/method/press.api.account.verify_otp_and_login"
- self.me = "https://frappecloud.com/api/method/press.api.account.get"
+ self.opt_url = "https://jcloud.jingrow.com/api/method/press.api.account.send_otp"
+ self.login_url = "https://jcloud.jingrow.com/api/method/press.api.account.verify_otp_and_login"
+ self.me = "https://jcloud.jingrow.com/api/method/press.api.account.get"
def send_otp(self):
"""Send otp to the email address"""
diff --git a/libs/fc_cli/fc/authentication/session.py b/libs/fc_cli/fc/authentication/session.py
index 4ce4e692..549ac7fb 100644
--- a/libs/fc_cli/fc/authentication/session.py
+++ b/libs/fc_cli/fc/authentication/session.py
@@ -19,7 +19,7 @@ class CloudSession(Session):
def __init__(self, session_id: str):
super().__init__()
- self.base_url = "https://frappecloud.com/api/method/"
+ self.base_url = "https://jcloud.jingrow.com/api/method/"
self.cookies.set("sid", session_id)
def request(self, method, url, *args, **kwargs) -> dict[str, str]:
diff --git a/libs/fc_cli/pyproject.toml b/libs/fc_cli/pyproject.toml
index 5dd3e35c..b9318931 100644
--- a/libs/fc_cli/pyproject.toml
+++ b/libs/fc_cli/pyproject.toml
@@ -5,7 +5,7 @@ readme = "README.md"
license = "AGPL-3.0-only"
requires-python = ">=3.10"
authors = [
- { name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io" },
+ { name = "Frappe Technologies Pvt Ltd", email = "developers@framework.jingrow.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
@@ -30,10 +30,10 @@ dynamic = [
press-cli = "fc.main:app"
[project.urls]
-Changelog = "https://github.com/frappe/press/releases"
-Documentation = "https://frappecloud.com/docs/user/en/bench"
-Homepage = "https://frappecloud.com"
-Source = "https://github.com/frappe/press"
+Changelog = "http://git.jingrow.com/jingrow/jcloude/releases"
+Documentation = "https://jcloud.jingrow.com/docs/user/en/bench"
+Homepage = "https://jcloud.jingrow.com"
+Source = "http://git.jingrow.com/jingrow/jcloude"
[build-system]
requires = [
diff --git a/libs/fcrestore/requests.go b/libs/fcrestore/requests.go
index 203524ba..d5efa4c1 100644
--- a/libs/fcrestore/requests.go
+++ b/libs/fcrestore/requests.go
@@ -67,7 +67,7 @@ type Team struct {
}
func GetSession() Session {
- defaultServer := "frappecloud.com"
+ defaultServer := "jcloud.jingrow.com"
// Check if session file exists
if fileExists(sessionFile) {
diff --git a/libs/mariadb_binlog_indexer/pyproject.toml b/libs/mariadb_binlog_indexer/pyproject.toml
index ab673987..535e8b07 100644
--- a/libs/mariadb_binlog_indexer/pyproject.toml
+++ b/libs/mariadb_binlog_indexer/pyproject.toml
@@ -6,7 +6,7 @@ readme = "README.md"
requires-python = ">=3.7"
license = { text = "MIT" }
authors = [
- { name = "Frappe Cloud", email = "cloud@frappe.io" }
+ { name = "Frappe Cloud", email = "cloud@framework.jingrow.com" }
]
dependencies = [
"duckdb==1.2.2"
diff --git a/press-semgrep-rules.yml b/press-semgrep-rules.yml
index 2d3d6ccd..edf06290 100644
--- a/press-semgrep-rules.yml
+++ b/press-semgrep-rules.yml
@@ -32,7 +32,7 @@ rules:
exclude:
- "test_*.py"
message: |
- The PR contains a SQL query that may be re-written with frappe.qb (https://frappeframework.com/docs/user/en/api/query-builder) or the Database API (https://frappeframework.com/docs/user/en/api/database)
+ The PR contains a SQL query that may be re-written with frappe.qb (https://framework.jingrow.com/docs/user/en/api/query-builder) or the Database API (https://framework.jingrow.com/docs/user/en/api/database)
languages: [python]
severity: WARNING
diff --git a/press/api/__init__.py b/press/api/__init__.py
index 693afb2c..44e18027 100644
--- a/press/api/__init__.py
+++ b/press/api/__init__.py
@@ -27,7 +27,7 @@ def handle_suspended_site_redirection():
@dashboard_whitelist()
def download_ssl_cert(domain: str):
if (
- not (domain.endswith("frappe.cloud") or domain.endswith("frappecloud.com"))
+ not (domain.endswith("frappe.cloud") or domain.endswith("jcloud.jingrow.com"))
and not frappe.conf.developer_mode
):
frappe.throw("Invalid domain provided")
diff --git a/press/api/account.py b/press/api/account.py
index 5cc8318d..7655be32 100644
--- a/press/api/account.py
+++ b/press/api/account.py
@@ -947,7 +947,7 @@ def redirect_to(location):
def get_frappe_io_auth_url() -> str | None:
- """Get auth url for oauth login with frappe.io."""
+ """Get auth url for oauth login with framework.jingrow.com."""
try:
provider = frappe.get_last_pg(
diff --git a/press/api/billing.py b/press/api/billing.py
index 544dff22..cf12e5c4 100644
--- a/press/api/billing.py
+++ b/press/api/billing.py
@@ -253,7 +253,7 @@ def fetch_invoice_items(invoice):
@frappe.whitelist()
@role_guard.api("billing")
def get_customer_details(team):
- """This method is called by frappe.io for creating Customer and Address"""
+ """This method is called by framework.jingrow.com for creating Customer and Address"""
team_pg = frappe.db.get_value("Team", team, "*")
return {
"team": team_pg,
diff --git a/press/api/developer/saas.py b/press/api/developer/saas.py
index 75bf23bb..e46962c6 100644
--- a/press/api/developer/saas.py
+++ b/press/api/developer/saas.py
@@ -222,7 +222,7 @@ def is_user_logged_in(user):
def check_if_user_can_login(team_info, site_info):
if team_info.get("enforce_2fa"):
frappe.throw(
- "Sorry, you cannot login with this method as 2FA is enabled. Please visit https://frappecloud.com/dashboard to login."
+ "Sorry, you cannot login with this method as 2FA is enabled. Please visit https://jcloud.jingrow.com/dashboard to login."
)
if (
team_info.get("user") == "Administrator"
diff --git a/press/api/email.py b/press/api/email.py
index 0b8d8846..8d7698cb 100644
--- a/press/api/email.py
+++ b/press/api/email.py
@@ -127,7 +127,7 @@ def validate_plan(secret_key):
except Exception as e:
frappe.throw(
str(e)
- or "Something went wrong fetching subscription details of Email Delivery Service. Please raise a ticket at support.frappe.io",
+ or "Something went wrong fetching subscription details of Email Delivery Service. Please raise a ticket at support.framework.jingrow.com",
type(e),
)
@@ -236,7 +236,7 @@ def send_mime_mail(**data):
frappe.throw(f"Something went wrong with sending emails: {err_msg}", InvalidEmail)
log_error("Email Delivery Service: Sending error", response=resp.text, data=data, message=message)
frappe.throw(
- "Something went wrong with sending emails. Please try again later or raise a support ticket with support.frappe.io",
+ "Something went wrong with sending emails. Please try again later or raise a support ticket with support.framework.jingrow.com",
EmailSendError,
)
return None
diff --git a/press/api/google.py b/press/api/google.py
index b2ff8452..6166e36b 100644
--- a/press/api/google.py
+++ b/press/api/google.py
@@ -125,7 +125,7 @@ def callback(code=None, state=None): # noqa: C901
def invalid_login():
frappe.local.response["http_status_code"] = 401
- return "Invalid state parameter. The session timed out. Please try again or contact Frappe Cloud support at https://frappecloud.com/support"
+ return "Invalid state parameter. The session timed out. Please try again or contact Frappe Cloud support at https://jcloud.jingrow.com/support"
def google_oauth_flow():
diff --git a/press/api/oauth.py b/press/api/oauth.py
index a5685ee0..dc97d2c3 100644
--- a/press/api/oauth.py
+++ b/press/api/oauth.py
@@ -61,7 +61,7 @@ def callback(code=None, state=None):
pass
else:
frappe.local.response["http_status_code"] = 401
- return "Invalid state parameter. The session timed out. Please try again or contact Frappe Cloud support at https://frappecloud.com/support"
+ return "Invalid state parameter. The session timed out. Please try again or contact Frappe Cloud support at https://jcloud.jingrow.com/support"
try:
flow = google_oauth_flow()
diff --git a/press/api/product_trial.py b/press/api/product_trial.py
index 991d92fe..e5b1a547 100644
--- a/press/api/product_trial.py
+++ b/press/api/product_trial.py
@@ -70,7 +70,7 @@ def login_using_code(email: str, product: str, code: str):
if not team.enabled:
frappe.throw("Your account is disabled. Please contact support.")
if team.enforce_2fa:
- frappe.throw("Your account has 2FA enabled. Please go to frappecloud.com to login.")
+ frappe.throw("Your account has 2FA enabled. Please go to jcloud.jingrow.com to login.")
# validate code
code_hash_from_cache = frappe.cache.get_value(f"product_trial_login_verification_code:{email}")
diff --git a/press/api/server.py b/press/api/server.py
index 2ca3b37e..f60454a5 100644
--- a/press/api/server.py
+++ b/press/api/server.py
@@ -772,7 +772,7 @@ def benches_are_idle(server: str, access_token: str) -> None:
"""Shut down the secondary server if all benches are idle.
This function is only triggered by secondary servers:
- https://github.com/frappe/agent/pull/346/files#diff-7355d9c50cadfa3f4c74fc77a4ad8ab08e4da8f6c3326bbf9b0de0f00a0aa0daR87-R93
+ http://git.jingrow.com/jingrow/agent/pull/346/files#diff-7355d9c50cadfa3f4c74fc77a4ad8ab08e4da8f6c3326bbf9b0de0f00a0aa0daR87-R93
"""
from passlib.hash import pbkdf2_sha256 as pbkdf2
diff --git a/press/hooks.py b/press/hooks.py
index e383e68f..eb7d7579 100644
--- a/press/hooks.py
+++ b/press/hooks.py
@@ -8,7 +8,7 @@ app_publisher = "Frappe"
app_description = "Managed Frappe Hosting"
app_icon = "octicon octicon-rocket"
app_color = "grey"
-app_email = "aditya@frappe.io"
+app_email = "aditya@framework.jingrow.com"
app_license = "GNU Affero General Public License v3.0"
version = app_version
diff --git a/press/playbooks/roles/agent/tasks/main.yml b/press/playbooks/roles/agent/tasks/main.yml
index 416d2007..d499055c 100644
--- a/press/playbooks/roles/agent/tasks/main.yml
+++ b/press/playbooks/roles/agent/tasks/main.yml
@@ -4,7 +4,7 @@
become_user: frappe
git:
repo: '{{ agent_repository_url }}'
- dest: /home/frappe/agent/repo
+ dest: /home/jingrow/agent/repo
remote: upstream
version: '{% if agent_branch is defined and agent_branch is truthy %} {{ agent_branch }} {% else %} master {% endif %}'
update: yes
@@ -13,56 +13,56 @@
become: yes
become_user: frappe
pip:
- name: file:///home/frappe/agent/repo
- virtualenv: /home/frappe/agent/env
+ name: file:///home/jingrow/agent/repo
+ virtualenv: /home/jingrow/agent/env
virtualenv_python: python3
editable: yes
- name: Generate Agent Configuration File
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup config --name {{ server }} --workers {{ workers }} {% if proxy_ip is defined and proxy_ip is truthy %}--proxy-ip {{ proxy_ip }}{% endif %} {% if agent_sentry_dsn is defined and agent_sentry_dsn is truthy %}--sentry-dsn {{ agent_sentry_dsn }}{% endif %}'
+ command: '/home/jingrow/agent/env/bin/agent setup config --name {{ server }} --workers {{ workers }} {% if proxy_ip is defined and proxy_ip is truthy %}--proxy-ip {{ proxy_ip }}{% endif %} {% if agent_sentry_dsn is defined and agent_sentry_dsn is truthy %}--sentry-dsn {{ agent_sentry_dsn }}{% endif %}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent SQLite Database
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup database
+ command: /home/jingrow/agent/env/bin/agent setup database
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent Usage Tracker
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup usage
+ command: /home/jingrow/agent/env/bin/agent setup usage
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent Site Analytics Tracker
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup site-analytics
+ command: /home/jingrow/agent/env/bin/agent setup site-analytics
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Create Agent NGINX Configuration Directory
become: yes
become_user: frappe
file:
- dest: /home/frappe/agent/nginx
+ dest: /home/jingrow/agent/nginx
state: directory
- name: Setup Agent Authentication
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup authentication --password {{ agent_password }}'
+ command: '/home/jingrow/agent/env/bin/agent setup authentication --password {{ agent_password }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Symlink Agent Supervisor Configuration
file:
- src: /home/frappe/agent/supervisor.conf
+ src: /home/jingrow/agent/supervisor.conf
dest: /etc/supervisor/conf.d/agent.conf
state: link
force: yes
@@ -72,26 +72,26 @@
become: yes
become_user: frappe
file:
- dest: /home/frappe/agent/logs
+ dest: /home/jingrow/agent/logs
state: directory
- name: Setup Agent Supervisor
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup supervisor
+ command: /home/jingrow/agent/env/bin/agent setup supervisor
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Create NGINX Root Configuration File
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx/nginx.conf
+ path: /home/jingrow/agent/nginx/nginx.conf
state: touch
- name: Symlink NGINX Root Configuration File
file:
- src: /home/frappe/agent/nginx/nginx.conf
+ src: /home/jingrow/agent/nginx/nginx.conf
dest: /etc/nginx/nginx.conf
state: link
force: yes
@@ -101,12 +101,12 @@
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx.conf
+ path: /home/jingrow/agent/nginx.conf
state: touch
- name: Symlink Agent NGINX Configuration File
file:
- src: /home/frappe/agent/nginx.conf
+ src: /home/jingrow/agent/nginx.conf
dest: /etc/nginx/conf.d/agent.conf
state: link
force: yes
@@ -116,7 +116,7 @@
become: yes
become_user: frappe
file:
- dest: /home/frappe/agent/tls
+ dest: /home/jingrow/agent/tls
state: directory
- name: Setup Agent TLS (Private Key)
@@ -124,30 +124,30 @@
become_user: frappe
copy:
content: '{{ certificate_private_key }}'
- dest: /home/frappe/agent/tls/privkey.pem
+ dest: /home/jingrow/agent/tls/privkey.pem
- name: Setup Agent TLS (Full Chain)
become: yes
become_user: frappe
copy:
content: '{{ certificate_full_chain }}'
- dest: /home/frappe/agent/tls/fullchain.pem
+ dest: /home/jingrow/agent/tls/fullchain.pem
- name: Setup Agent TLS (Intermediate Chain)
become: yes
become_user: frappe
copy:
content: '{{ certificate_intermediate_chain }}'
- dest: /home/frappe/agent/tls/chain.pem
+ dest: /home/jingrow/agent/tls/chain.pem
- name: Setup Agent NGINX
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup nginx
+ command: /home/jingrow/agent/env/bin/agent setup nginx
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Monitoring Authentication
become: yes
become_user: frappe
- command: 'htpasswd -Bbc /home/frappe/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}'
+ command: 'htpasswd -Bbc /home/jingrow/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}'
diff --git a/press/playbooks/roles/agent_rename/tasks/main.yml b/press/playbooks/roles/agent_rename/tasks/main.yml
index 8b6747fc..98a2dc14 100644
--- a/press/playbooks/roles/agent_rename/tasks/main.yml
+++ b/press/playbooks/roles/agent_rename/tasks/main.yml
@@ -2,53 +2,53 @@
- name: Generate Agent Configuration File
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup config --name {{ server }} --workers {{ workers }} {% if proxy_ip is defined %}--proxy-ip {{ proxy_ip }}{% endif %}'
+ command: '/home/jingrow/agent/env/bin/agent setup config --name {{ server }} --workers {{ workers }} {% if proxy_ip is defined %}--proxy-ip {{ proxy_ip }}{% endif %}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent Authentication
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup authentication --password {{ agent_password }}'
+ command: '/home/jingrow/agent/env/bin/agent setup authentication --password {{ agent_password }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent Supervisor
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup supervisor
+ command: /home/jingrow/agent/env/bin/agent setup supervisor
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent TLS (Private Key)
become: yes
become_user: frappe
copy:
content: '{{ certificate_private_key }}'
- dest: /home/frappe/agent/tls/privkey.pem
+ dest: /home/jingrow/agent/tls/privkey.pem
- name: Setup Agent TLS (Full Chain)
become: yes
become_user: frappe
copy:
content: '{{ certificate_full_chain }}'
- dest: /home/frappe/agent/tls/fullchain.pem
+ dest: /home/jingrow/agent/tls/fullchain.pem
- name: Setup Agent TLS (Intermediate Chain)
become: yes
become_user: frappe
copy:
content: '{{ certificate_intermediate_chain }}'
- dest: /home/frappe/agent/tls/chain.pem
+ dest: /home/jingrow/agent/tls/chain.pem
- name: Setup Agent NGINX
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup nginx
+ command: /home/jingrow/agent/env/bin/agent setup nginx
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Monitoring Authentication
become: yes
become_user: frappe
- command: 'htpasswd -Bbc /home/frappe/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}'
+ command: 'htpasswd -Bbc /home/jingrow/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}'
diff --git a/press/playbooks/roles/agent_sentry/tasks/main.yml b/press/playbooks/roles/agent_sentry/tasks/main.yml
index a62fc82b..b8897e56 100644
--- a/press/playbooks/roles/agent_sentry/tasks/main.yml
+++ b/press/playbooks/roles/agent_sentry/tasks/main.yml
@@ -2,6 +2,6 @@
- name: Setup Agent Sentry
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup sentry --sentry-dsn {{ agent_sentry_dsn }}'
+ command: '/home/jingrow/agent/env/bin/agent setup sentry --sentry-dsn {{ agent_sentry_dsn }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/agent_set_proxy_ip/tasks/main.yml b/press/playbooks/roles/agent_set_proxy_ip/tasks/main.yml
index 86412226..a48867d3 100644
--- a/press/playbooks/roles/agent_set_proxy_ip/tasks/main.yml
+++ b/press/playbooks/roles/agent_set_proxy_ip/tasks/main.yml
@@ -2,20 +2,20 @@
- name: Generate Agent Configuration File
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup config --name {{ server }} --workers {{ workers }} {% if proxy_ip is defined %}--proxy-ip {{ proxy_ip }}{% endif %}'
+ command: '/home/jingrow/agent/env/bin/agent setup config --name {{ server }} --workers {{ workers }} {% if proxy_ip is defined %}--proxy-ip {{ proxy_ip }}{% endif %}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent Authentication
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup authentication --password {{ agent_password }}'
+ command: '/home/jingrow/agent/env/bin/agent setup authentication --password {{ agent_password }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Agent NGINX
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup nginx
+ command: /home/jingrow/agent/env/bin/agent setup nginx
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/elasticsearch/tasks/main.yml b/press/playbooks/roles/elasticsearch/tasks/main.yml
index 19cfdfa9..df5adffa 100644
--- a/press/playbooks/roles/elasticsearch/tasks/main.yml
+++ b/press/playbooks/roles/elasticsearch/tasks/main.yml
@@ -19,11 +19,11 @@
- name: Setup Elasticsearch Authentication
become: yes
become_user: frappe
- command: "htpasswd -Bbc /home/frappe/agent/nginx/kibana.htpasswd frappe {{ kibana_password }}"
+ command: "htpasswd -Bbc /home/jingrow/agent/nginx/kibana.htpasswd frappe {{ kibana_password }}"
- name: Setup NGINX for Elasticsearch
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup log
+ command: /home/jingrow/agent/env/bin/agent setup log
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/frankfurter/README.md b/press/playbooks/roles/frankfurter/README.md
index f8601adf..2fe7131e 100644
--- a/press/playbooks/roles/frankfurter/README.md
+++ b/press/playbooks/roles/frankfurter/README.md
@@ -77,7 +77,7 @@ echo "0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time;
Reference: https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
#### Add frankfurter to blocked subdomains on FrappeCloud.com
-https://frappecloud.com/app/blocked-domain/frankfurter
+https://jcloud.jingrow.com/app/blocked-domain/frankfurter
### Done
```sh
diff --git a/press/playbooks/roles/frankfurter/tasks/main.yml b/press/playbooks/roles/frankfurter/tasks/main.yml
index 9d840564..416921d7 100644
--- a/press/playbooks/roles/frankfurter/tasks/main.yml
+++ b/press/playbooks/roles/frankfurter/tasks/main.yml
@@ -33,6 +33,6 @@
become: yes
become_user: frappe
# This isn't implemented yet
- command: /home/frappe/agent/env/bin/agent setup frankfurter
+ command: /home/jingrow/agent/env/bin/agent setup frankfurter
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/grafana/tasks/main.yml b/press/playbooks/roles/grafana/tasks/main.yml
index 818f4af9..8a47e4e7 100644
--- a/press/playbooks/roles/grafana/tasks/main.yml
+++ b/press/playbooks/roles/grafana/tasks/main.yml
@@ -76,16 +76,16 @@
- name: Setup Grafana Authentication
become: yes
become_user: frappe
- command: "htpasswd -Bbc /home/frappe/agent/nginx/grafana.htpasswd frappe {{ grafana_password }}"
+ command: "htpasswd -Bbc /home/jingrow/agent/nginx/grafana.htpasswd frappe {{ grafana_password }}"
- name: Setup Grafana HTTP Authentication
become: yes
become_user: frappe
- command: "htpasswd -Bbc /home/frappe/agent/nginx/grafana-ui.htpasswd admin {{ grafana_password }}"
+ command: "htpasswd -Bbc /home/jingrow/agent/nginx/grafana-ui.htpasswd admin {{ grafana_password }}"
- name: Setup Agent NGINX
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup nginx
+ command: /home/jingrow/agent/env/bin/agent setup nginx
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/migrate_to_fc/tasks/main.yml b/press/playbooks/roles/migrate_to_fc/tasks/main.yml
index 4f769cdd..e2f8eec9 100644
--- a/press/playbooks/roles/migrate_to_fc/tasks/main.yml
+++ b/press/playbooks/roles/migrate_to_fc/tasks/main.yml
@@ -6,7 +6,7 @@
- name: Get migrate script
get_url:
- url: https://frappecloud.com/assets/press/migrate_2
+ url: https://jcloud.jingrow.com/assets/press/migrate_2
dest: '/home/frappe/benches/{{ bench }}/migrate_2'
validate_certs: no
diff --git a/press/playbooks/roles/monitoring_password/tasks/main.yml b/press/playbooks/roles/monitoring_password/tasks/main.yml
index 340cf2da..d5ddc611 100644
--- a/press/playbooks/roles/monitoring_password/tasks/main.yml
+++ b/press/playbooks/roles/monitoring_password/tasks/main.yml
@@ -2,4 +2,4 @@
- name: Setup Monitoring Authentication
become: yes
become_user: frappe
- command: "htpasswd -Bbc /home/frappe/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}"
+ command: "htpasswd -Bbc /home/jingrow/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}"
diff --git a/press/playbooks/roles/plausible/tasks/main.yml b/press/playbooks/roles/plausible/tasks/main.yml
index 92947831..82fa928a 100644
--- a/press/playbooks/roles/plausible/tasks/main.yml
+++ b/press/playbooks/roles/plausible/tasks/main.yml
@@ -39,6 +39,6 @@
- name: Setup NGINX Proxy for Plausible
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup analytics
+ command: /home/jingrow/agent/env/bin/agent setup analytics
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/plausible/templates/plausible-conf.env b/press/playbooks/roles/plausible/templates/plausible-conf.env
index 85c83b3e..d21b19c5 100644
--- a/press/playbooks/roles/plausible/templates/plausible-conf.env
+++ b/press/playbooks/roles/plausible/templates/plausible-conf.env
@@ -1,4 +1,4 @@
-ADMIN_USER_EMAIL=aditya@frappe.io
+ADMIN_USER_EMAIL=aditya@framework.jingrow.com
ADMIN_USER_NAME=Aditya
ADMIN_USER_PWD={{ plausible_password }}
@@ -7,7 +7,7 @@ SECRET_KEY_BASE={{ plausible_secret }}
DISABLE_REGISTRATION=true
-MAILER_EMAIL=notifications@frappecloud.com
+MAILER_EMAIL=notifications@jcloud.jingrow.com
SMTP_HOST_ADDR={{ plausible_mail_server }}
SMTP_HOST_PORT={{ plausible_mail_port }}
diff --git a/press/playbooks/roles/primary_proxy/templates/lsyncd.conf b/press/playbooks/roles/primary_proxy/templates/lsyncd.conf
index 8e86cdde..a39e36ff 100644
--- a/press/playbooks/roles/primary_proxy/templates/lsyncd.conf
+++ b/press/playbooks/roles/primary_proxy/templates/lsyncd.conf
@@ -5,9 +5,9 @@ settings {
sync {
default.rsyncssh,
- source="/home/frappe/agent/nginx",
+ source="/home/jingrow/agent/nginx",
host="{{ secondary_private_ip }}",
- targetdir="/home/frappe/agent/nginx",
+ targetdir="/home/jingrow/agent/nginx",
rsync = {
archive = true,
acls = true,
diff --git a/press/playbooks/roles/prometheus/tasks/main.yml b/press/playbooks/roles/prometheus/tasks/main.yml
index 455fbee6..c18388cd 100644
--- a/press/playbooks/roles/prometheus/tasks/main.yml
+++ b/press/playbooks/roles/prometheus/tasks/main.yml
@@ -111,13 +111,13 @@
- name: Setup Agent Based Discovery
become: yes
become_user: frappe
- command: "/home/frappe/agent/env/bin/agent setup monitor --url {{ press_url }} --token {{ monitor_token }}"
+ command: "/home/jingrow/agent/env/bin/agent setup monitor --url {{ press_url }} --token {{ monitor_token }}"
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Setup Cronjob for Agent Based Discovery
become: yes
become_user: frappe
cron:
name: agent discovery
- job: cd /home/frappe/agent && /home/frappe/agent/env/bin/agent discover
+ job: cd /home/jingrow/agent && /home/jingrow/agent/env/bin/agent discover
diff --git a/press/playbooks/roles/proxy/tasks/main.yml b/press/playbooks/roles/proxy/tasks/main.yml
index 3fc22240..5faaf0b8 100644
--- a/press/playbooks/roles/proxy/tasks/main.yml
+++ b/press/playbooks/roles/proxy/tasks/main.yml
@@ -3,26 +3,26 @@
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx/hosts
+ path: /home/jingrow/agent/nginx/hosts
state: directory
- name: Create Agent NGINX Upstream Directory
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx/upstreams
+ path: /home/jingrow/agent/nginx/upstreams
state: directory
- name: Create NGINX Proxy Configuration File
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx/proxy.conf
+ path: /home/jingrow/agent/nginx/proxy.conf
state: touch
- name: Symlink NGINX Proxy Configuration File
file:
- src: /home/frappe/agent/nginx/proxy.conf
+ src: /home/jingrow/agent/nginx/proxy.conf
dest: /etc/nginx/conf.d/proxy.conf
state: link
force: yes
@@ -31,6 +31,6 @@
- name: Setup Agent Proxy
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup proxy --domain {{ domain }} --press-url {{ press_url }}'
+ command: '/home/jingrow/agent/env/bin/agent setup proxy --domain {{ domain }} --press-url {{ press_url }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/proxysql/tasks/main.yml b/press/playbooks/roles/proxysql/tasks/main.yml
index 9e80fde7..59cb87d4 100644
--- a/press/playbooks/roles/proxysql/tasks/main.yml
+++ b/press/playbooks/roles/proxysql/tasks/main.yml
@@ -8,21 +8,21 @@
- name: Copy ProxySQL TLS (Private Key)
copy:
- src: /home/frappe/agent/tls/privkey.pem
+ src: /home/jingrow/agent/tls/privkey.pem
dest: /home/frappe/proxysql/proxysql-key.pem
mode: 0600
remote_src: yes
- name: Copy ProxySQL TLS (CA Certificate)
copy:
- src: /home/frappe/agent/tls/chain.pem
+ src: /home/jingrow/agent/tls/chain.pem
dest: /home/frappe/proxysql/proxysql-ca.pem
mode: 0600
remote_src: yes
- name: Copy ProxySQL TLS (Server Certificate)
copy:
- src: /home/frappe/agent/tls/fullchain.pem
+ src: /home/jingrow/agent/tls/fullchain.pem
dest: /home/frappe/proxysql/proxysql-cert.pem
mode: 0600
remote_src: yes
@@ -63,6 +63,6 @@
- name: Setup Agent ProxySQL
become: yes
become_user: frappe
- command: "/home/frappe/agent/env/bin/agent setup proxysql --password {{ proxysql_admin_password }}"
+ command: "/home/jingrow/agent/env/bin/agent setup proxysql --password {{ proxysql_admin_password }}"
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/registry/tasks/main.yml b/press/playbooks/roles/registry/tasks/main.yml
index cfcd96bd..d5461514 100644
--- a/press/playbooks/roles/registry/tasks/main.yml
+++ b/press/playbooks/roles/registry/tasks/main.yml
@@ -69,6 +69,6 @@
- name: Setup NGINX for Registry
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup registry
+ command: /home/jingrow/agent/env/bin/agent setup registry
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/sentry/tasks/main.yml b/press/playbooks/roles/sentry/tasks/main.yml
index 28988089..4715ac58 100644
--- a/press/playbooks/roles/sentry/tasks/main.yml
+++ b/press/playbooks/roles/sentry/tasks/main.yml
@@ -85,6 +85,6 @@
- name: Setup NGINX Proxy for Sentry
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup trace
+ command: /home/jingrow/agent/env/bin/agent setup trace
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/sentry/templates/sentry.yml.jinja2 b/press/playbooks/roles/sentry/templates/sentry.yml.jinja2
index 1b347db0..9d0b426c 100644
--- a/press/playbooks/roles/sentry/templates/sentry.yml.jinja2
+++ b/press/playbooks/roles/sentry/templates/sentry.yml.jinja2
@@ -8,8 +8,8 @@ mail.username: '{{ sentry_mail_login }}'
mail.password: '{{ sentry_mail_password }}'
mail.use-tls: true
-mail.from: 'notifications@frappecloud.com'
-mail.list-namespace: 'frappecloud.com'
+mail.from: 'notifications@jcloud.jingrow.com'
+mail.list-namespace: 'jcloud.jingrow.com'
###################
# System Settings #
diff --git a/press/playbooks/roles/setup_pyspy/tasks/main.yml b/press/playbooks/roles/setup_pyspy/tasks/main.yml
index a97f1125..3e9b0c16 100644
--- a/press/playbooks/roles/setup_pyspy/tasks/main.yml
+++ b/press/playbooks/roles/setup_pyspy/tasks/main.yml
@@ -2,4 +2,4 @@
- name: Allow PySpy To Run With Elevated Permissions
become: yes
become_user: root
- command: /home/frappe/agent/env/bin/agent setup pyspy
+ command: /home/jingrow/agent/env/bin/agent setup pyspy
diff --git a/press/playbooks/roles/standalone/tasks/main.yml b/press/playbooks/roles/standalone/tasks/main.yml
index 4bebf252..e0b9abf1 100644
--- a/press/playbooks/roles/standalone/tasks/main.yml
+++ b/press/playbooks/roles/standalone/tasks/main.yml
@@ -3,19 +3,19 @@
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx/hosts
+ path: /home/jingrow/agent/nginx/hosts
state: directory
- name: Create Agent NGINX Upstream Directory
become: yes
become_user: frappe
file:
- path: /home/frappe/agent/nginx/upstreams
+ path: /home/jingrow/agent/nginx/upstreams
state: directory
- name: Setup Agent Standalone
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent setup standalone --domain {{ domain }}'
+ command: '/home/jingrow/agent/env/bin/agent setup standalone --domain {{ domain }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
diff --git a/press/playbooks/roles/start_benches/tasks/main.yml b/press/playbooks/roles/start_benches/tasks/main.yml
index cd21359f..7ebfb8dc 100644
--- a/press/playbooks/roles/start_benches/tasks/main.yml
+++ b/press/playbooks/roles/start_benches/tasks/main.yml
@@ -2,6 +2,6 @@
- name: Start Benches
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent bench start {{ benches }}'
+ command: '/home/jingrow/agent/env/bin/agent bench start {{ benches }}'
args:
- chdir: /home/frappe/agent
\ No newline at end of file
+ chdir: /home/jingrow/agent
\ No newline at end of file
diff --git a/press/playbooks/roles/stop_benches/tasks/main.yml b/press/playbooks/roles/stop_benches/tasks/main.yml
index 7f6e49a8..618b9f81 100644
--- a/press/playbooks/roles/stop_benches/tasks/main.yml
+++ b/press/playbooks/roles/stop_benches/tasks/main.yml
@@ -2,6 +2,6 @@
- name: Stop Benches
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent bench stop'
+ command: '/home/jingrow/agent/env/bin/agent bench stop'
args:
- chdir: /home/frappe/agent
\ No newline at end of file
+ chdir: /home/jingrow/agent
\ No newline at end of file
diff --git a/press/playbooks/roles/tls/tasks/main.yml b/press/playbooks/roles/tls/tasks/main.yml
index b65a1766..7fddef31 100644
--- a/press/playbooks/roles/tls/tasks/main.yml
+++ b/press/playbooks/roles/tls/tasks/main.yml
@@ -4,21 +4,21 @@
become_user: frappe
copy:
content: "{{ certificate_private_key }}"
- dest: /home/frappe/agent/tls/privkey.pem
+ dest: /home/jingrow/agent/tls/privkey.pem
- name: Setup Agent TLS (Full Chain)
become: yes
become_user: frappe
copy:
content: "{{ certificate_full_chain }}"
- dest: /home/frappe/agent/tls/fullchain.pem
+ dest: /home/jingrow/agent/tls/fullchain.pem
- name: Setup Agent TLS (Intermediate Chain)
become: yes
become_user: frappe
copy:
content: "{{ certificate_intermediate_chain }}"
- dest: /home/frappe/agent/tls/chain.pem
+ dest: /home/jingrow/agent/tls/chain.pem
- name: Restart NGINX
service:
@@ -27,7 +27,7 @@
- name: Copy ProxySQL TLS (Private Key)
copy:
- src: /home/frappe/agent/tls/privkey.pem
+ src: /home/jingrow/agent/tls/privkey.pem
dest: /home/frappe/proxysql/proxysql-key.pem
mode: 0600
remote_src: yes
@@ -35,7 +35,7 @@
- name: Copy ProxySQL TLS (CA Certificate)
copy:
- src: /home/frappe/agent/tls/chain.pem
+ src: /home/jingrow/agent/tls/chain.pem
dest: /home/frappe/proxysql/proxysql-ca.pem
mode: 0600
remote_src: yes
@@ -43,7 +43,7 @@
- name: Copy ProxySQL TLS (Server Certificate)
copy:
- src: /home/frappe/agent/tls/fullchain.pem
+ src: /home/jingrow/agent/tls/fullchain.pem
dest: /home/frappe/proxysql/proxysql-cert.pem
mode: 0600
remote_src: yes
diff --git a/press/playbooks/roles/update_agent/tasks/main.yml b/press/playbooks/roles/update_agent/tasks/main.yml
index b3f6758c..f45d318e 100644
--- a/press/playbooks/roles/update_agent/tasks/main.yml
+++ b/press/playbooks/roles/update_agent/tasks/main.yml
@@ -4,14 +4,14 @@
become_user: frappe
command: 'git remote set-url upstream {{ agent_repository_url }}'
args:
- chdir: /home/frappe/agent/repo
+ chdir: /home/jingrow/agent/repo
- name: Fetch Agent Upstream
become: yes
become_user: frappe
command: 'git fetch upstream'
args:
- chdir: /home/frappe/agent/repo
+ chdir: /home/jingrow/agent/repo
- name: Checkout specified commit or branch
become: yes
@@ -21,44 +21,44 @@
git reset --hard {{ agent_repository_branch_or_commit_ref }}
git clean -fd
args:
- chdir: /home/frappe/agent/repo
+ chdir: /home/jingrow/agent/repo
- name: Install Python Requirements
become: yes
become_user: frappe
command: './env/bin/pip install -r ./repo/requirements.txt'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Install Agent
- command: './env/bin/pip install -e /home/frappe/agent/repo'
+ command: './env/bin/pip install -e /home/jingrow/agent/repo'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Update Agent database
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent setup database
+ command: /home/jingrow/agent/env/bin/agent setup database
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Run agent db patches
become: yes
become_user: frappe
- command: /home/frappe/agent/env/bin/agent run-patches
+ command: /home/jingrow/agent/env/bin/agent run-patches
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Update Agent
become: yes
become_user: frappe
- command: '/home/frappe/agent/env/bin/agent update {{ agent_update_args }}'
+ command: '/home/jingrow/agent/env/bin/agent update {{ agent_update_args }}'
args:
- chdir: /home/frappe/agent
+ chdir: /home/jingrow/agent
- name: Set Ownership of Agent Logs to Frappe user
file:
- path: /home/frappe/agent/logs
+ path: /home/jingrow/agent/logs
owner: frappe
group: frappe
recurse: yes
diff --git a/press/playbooks/roles/user_ssh_certificate/tasks/main.yml b/press/playbooks/roles/user_ssh_certificate/tasks/main.yml
index f1a859b8..9aef22ea 100644
--- a/press/playbooks/roles/user_ssh_certificate/tasks/main.yml
+++ b/press/playbooks/roles/user_ssh_certificate/tasks/main.yml
@@ -3,7 +3,7 @@
block:
- name: Setup certificate-authority key file
get_url:
- url: "https://frappecloud.com/files/ca.pub"
+ url: "https://jcloud.jingrow.com/files/ca.pub"
dest: /etc/ssh/ca.pub
- name: Set key file permissions to 0644
diff --git a/press/press/doctype/agent_job/agent_job_notifications.py b/press/press/doctype/agent_job/agent_job_notifications.py
index fba1f3b4..3973a637 100644
--- a/press/press/doctype/agent_job/agent_job_notifications.py
+++ b/press/press/doctype/agent_job/agent_job_notifications.py
@@ -12,10 +12,10 @@ import frappe
Used to create notifications if the Agent Job error is something that can
be handled by the user.
-Based on https://github.com/frappe/press/pull/1544
+Based on http://git.jingrow.com/jingrow/jcloude/pull/1544
To handle an error:
-1. Create a pg page that helps the user get out of it under: docs.frappe.io/cloud/common-issues
+1. Create a pg page that helps the user get out of it under: docs.framework.jingrow.com/cloud/common-issues
2. Check if the error is the known/expected one in `get_details`.
3. Update the details object with the correct values.
"""
@@ -64,14 +64,14 @@ class JobErr(Enum):
PG_URLS = {
- JobErr.OOM: "https://docs.frappe.io/cloud/common-issues/oom-issues",
- JobErr.ROW_SIZE_TOO_LARGE: "https://docs.frappe.io/cloud/faq/site#row-size-too-large-error-on-migrate",
- JobErr.DATA_TRUNCATED_FOR_COLUMN: "https://docs.frappe.io/cloud/faq/site#data-truncated-for-column",
+ JobErr.OOM: "https://docs.framework.jingrow.com/cloud/common-issues/oom-issues",
+ JobErr.ROW_SIZE_TOO_LARGE: "https://docs.framework.jingrow.com/cloud/faq/site#row-size-too-large-error-on-migrate",
+ JobErr.DATA_TRUNCATED_FOR_COLUMN: "https://docs.framework.jingrow.com/cloud/faq/site#data-truncated-for-column",
JobErr.BROKEN_PIPE_ERR: None,
- JobErr.CANT_CONNECT_TO_MYSQL: "https://docs.frappe.io/cloud/cant-connect-to-mysql-server",
- JobErr.GZIP_TAR_ERR: "https://docs.frappe.io/cloud/sites/migrate-an-existing-site#tar-gzip-command-fails-with-unexpected-eof",
- JobErr.UNKNOWN_COMMAND_HYPHEN: "https://docs.frappe.io/cloud/unknown-command-",
- JobErr.RQ_JOBS_IN_QUEUE: "https://docs.frappe.io/cloud/faq/site#how-do-i-deactivate-my-site-",
+ JobErr.CANT_CONNECT_TO_MYSQL: "https://docs.framework.jingrow.com/cloud/cant-connect-to-mysql-server",
+ JobErr.GZIP_TAR_ERR: "https://docs.framework.jingrow.com/cloud/sites/migrate-an-existing-site#tar-gzip-command-fails-with-unexpected-eof",
+ JobErr.UNKNOWN_COMMAND_HYPHEN: "https://docs.framework.jingrow.com/cloud/unknown-command-",
+ JobErr.RQ_JOBS_IN_QUEUE: "https://docs.framework.jingrow.com/cloud/faq/site#how-do-i-deactivate-my-site-",
}
diff --git a/press/press/doctype/analytics_server/README.md b/press/press/doctype/analytics_server/README.md
index 444858f5..973d764e 100644
--- a/press/press/doctype/analytics_server/README.md
+++ b/press/press/doctype/analytics_server/README.md
@@ -1,4 +1,4 @@
-Added following locations to NGINX config on frappecloud.com
+Added following locations to NGINX config on jcloud.jingrow.com
Some adblockers don't seem to like third party domains and "plausible.js"
diff --git a/press/press/doctype/database_server/database_server.py b/press/press/doctype/database_server/database_server.py
index 57f519ea..c82318c3 100644
--- a/press/press/doctype/database_server/database_server.py
+++ b/press/press/doctype/database_server/database_server.py
@@ -638,7 +638,7 @@ class DatabaseServer(BaseServer):
return existing.value_str
if return_default_if_not_found:
- # Ref : https://github.com/frappe/press/blob/master/press/playbooks/roles/mariadb/templates/mariadb.cnf
+ # Ref : http://git.jingrow.com/jingrow/jcloude/blob/master/press/playbooks/roles/mariadb/templates/mariadb.cnf
match variable:
case "innodb_buffer_pool_size":
return int(self.ram_for_mariadb * 0.65)
@@ -1451,7 +1451,7 @@ class DatabaseServer(BaseServer):
- binlog_cache_size : 0.03MB
- max_heap_table_size : 32MB
- https://github.com/frappe/press/blob/master/press/playbooks/roles/mariadb/templates/mariadb.cnf
+ http://git.jingrow.com/jingrow/jcloude/blob/master/press/playbooks/roles/mariadb/templates/mariadb.cnf
"""
@property
@@ -1477,7 +1477,7 @@ class DatabaseServer(BaseServer):
- tmp_table_size : 32MB (applies to internal temporary tables created during query execution)
- innodb_log_buffer_size : 16MB
- https://github.com/frappe/press/blob/master/press/playbooks/roles/mariadb/templates/mariadb.cnf
+ http://git.jingrow.com/jingrow/jcloude/blob/master/press/playbooks/roles/mariadb/templates/mariadb.cnf
"""
return self.key_buffer_size + 32 + 16
diff --git a/press/press/doctype/deploy_candidate/deploy_notifications.py b/press/press/doctype/deploy_candidate/deploy_notifications.py
index de83cd7b..b8f288a9 100644
--- a/press/press/doctype/deploy_candidate/deploy_notifications.py
+++ b/press/press/doctype/deploy_candidate/deploy_notifications.py
@@ -19,10 +19,10 @@ from press.press.doctype.deploy_candidate.utils import (
Used to create notifications if the Deploy error is something that can
be handled by the user.
-Ref: https://github.com/frappe/press/pull/1544
+Ref: http://git.jingrow.com/jingrow/jcloude/pull/1544
To handle an error:
-1. Create a pg page that helps the user get out of it under: docs.frappe.io/cloud/common-issues
+1. Create a pg page that helps the user get out of it under: docs.framework.jingrow.com/cloud/common-issues
2. Check if the error is the known/expected one in `get_details`.
3. Update the details object with the correct values.
"""
@@ -70,15 +70,15 @@ if typing.TYPE_CHECKING:
PG_URLS = {
- "app-installation-issue": "https://docs.frappe.io/cloud/faq/app-installation-issue",
- "invalid-pyproject-file": "https://docs.frappe.io/cloud/common-issues/invalid-pyprojecttoml-file",
- "incompatible-node-version": "https://docs.frappe.io/cloud/common-issues/incompatible-node-version",
- "incompatible-dependency-version": "https://docs.frappe.io/cloud/common-issues/incompatible-dependency-version",
- "incompatible-app-version": "https://docs.frappe.io/cloud/common-issues/incompatible-app-version",
- "required-app-not-found": "https://docs.frappe.io/cloud/common-issues/required-app-not-found",
- "debugging-app-installs-locally": "https://docs.frappe.io/cloud/common-issues/debugging-app-installs-locally",
- "vite-not-found": "https://docs.frappe.io/cloud/common-issues/vite-not-found",
- "invalid-project-structure": "https://docs.frappe.io/framework/user/en/tutorial/create-an-app#app-directory-structure",
+ "app-installation-issue": "https://docs.framework.jingrow.com/cloud/faq/app-installation-issue",
+ "invalid-pyproject-file": "https://docs.framework.jingrow.com/cloud/common-issues/invalid-pyprojecttoml-file",
+ "incompatible-node-version": "https://docs.framework.jingrow.com/cloud/common-issues/incompatible-node-version",
+ "incompatible-dependency-version": "https://docs.framework.jingrow.com/cloud/common-issues/incompatible-dependency-version",
+ "incompatible-app-version": "https://docs.framework.jingrow.com/cloud/common-issues/incompatible-app-version",
+ "required-app-not-found": "https://docs.framework.jingrow.com/cloud/common-issues/required-app-not-found",
+ "debugging-app-installs-locally": "https://docs.framework.jingrow.com/cloud/common-issues/debugging-app-installs-locally",
+ "vite-not-found": "https://docs.framework.jingrow.com/cloud/common-issues/vite-not-found",
+ "invalid-project-structure": "https://docs.framework.jingrow.com/framework/user/en/tutorial/create-an-app#app-directory-structure",
"frappe-not-found": "https://pip.pypa.io/en/stable/news/#v25-3",
"no-python-dependency-file-found": "https://packaging.python.org/en/latest/guides/writing-pyproject-toml/",
}
diff --git a/press/press/doctype/erpnext_site_settings/erpnext_site_settings.js b/press/press/doctype/erpnext_site_settings/erpnext_site_settings.js
index 0deb8613..52aa1155 100644
--- a/press/press/doctype/erpnext_site_settings/erpnext_site_settings.js
+++ b/press/press/doctype/erpnext_site_settings/erpnext_site_settings.js
@@ -4,7 +4,7 @@
frappe.ui.form.on('ERPNext Site Settings', {
refresh: function (frm) {
frm.add_custom_button(__('Open Site'), () => {
- window.open(`https://frappecloud.com/dashboard/sites/${frm.pg.site}`);
+ window.open(`https://jcloud.jingrow.com/dashboard/sites/${frm.pg.site}`);
});
},
});
diff --git a/press/press/doctype/incident/incident.py b/press/press/doctype/incident/incident.py
index 3c268429..cb193c14 100644
--- a/press/press/doctype/incident/incident.py
+++ b/press/press/doctype/incident/incident.py
@@ -579,8 +579,8 @@ Likely due to insufficient balance or incorrect credentials""",
subject = f"Disk Full Incident on {title}"
message = f"""
Dear User,
- You are receiving this mail as the storage has been filled up on your server: {self.resource} and you have automatic addition of storage disabled.
- Please enable automatic addition of storage or add more storage manually to resolve the issue.
+ You are receiving this mail as the storage has been filled up on your server: {self.resource} and you have automatic addition of storage disabled.
+ Please enable automatic addition of storage or add more storage manually to resolve the issue.
Best regards, Frappe Cloud Team
"""
self.send_mail(subject, message)
diff --git a/press/press/doctype/invoice/invoice.js b/press/press/doctype/invoice/invoice.js
index 1a7a7c93..7fc337db 100644
--- a/press/press/doctype/invoice/invoice.js
+++ b/press/press/doctype/invoice/invoice.js
@@ -11,20 +11,20 @@ frappe.ui.form.on('Invoice', {
}
if (frm.pg.frappe_invoice) {
frm.add_web_link(
- `https://frappe.io/app/sales-invoice/${frm.pg.frappe_invoice}`,
+ `https://framework.jingrow.com/app/sales-invoice/${frm.pg.frappe_invoice}`,
'View Frappe Invoice',
);
}
if (frm.pg.frappe_partner_order) {
frm.add_web_link(
- `https://frappe.io/app/partner-order/${frm.pg.frappe_partner_order}`,
+ `https://framework.jingrow.com/app/partner-order/${frm.pg.frappe_partner_order}`,
'View Frappe Partner Order',
);
}
if (frm.pg.status == 'Paid' && !frm.pg.frappe_invoice) {
- let btn = frm.add_custom_button('Create Invoice on frappe.io', () => {
+ let btn = frm.add_custom_button('Create Invoice on framework.jingrow.com', () => {
frm
.call({
pg: frm.pg,
diff --git a/press/press/doctype/invoice/invoice.json b/press/press/doctype/invoice/invoice.json
index 975c59ef..1b8c333a 100644
--- a/press/press/doctype/invoice/invoice.json
+++ b/press/press/doctype/invoice/invoice.json
@@ -550,7 +550,7 @@
}
],
"modified": "2025-10-14 14:39:14.404906",
- "modified_by": "aysha@frappe.io",
+ "modified_by": "aysha@framework.jingrow.com",
"module": "Press",
"name": "Invoice",
"naming_rule": "Expression",
diff --git a/press/press/doctype/invoice/invoice.py b/press/press/doctype/invoice/invoice.py
index 38d46f1f..afe4827d 100644
--- a/press/press/doctype/invoice/invoice.py
+++ b/press/press/doctype/invoice/invoice.py
@@ -878,7 +878,7 @@ class Invoice(Document):
soup = BeautifulSoup(response.text, "html.parser")
self.add_comment(
- text="Failed to create invoice on frappe.io" + " " + str(soup.find("pre"))
+ text="Failed to create invoice on framework.jingrow.com" + " " + str(soup.find("pre"))
)
log_error(
@@ -887,7 +887,7 @@ class Invoice(Document):
)
except Exception:
traceback = "" + frappe.get_traceback() + " "
- self.add_comment(text="Failed to create invoice on frappe.io" + " " + traceback)
+ self.add_comment(text="Failed to create invoice on framework.jingrow.com" + " " + traceback)
log_error(
"Frappe.io Invoice Creation Error",
diff --git a/press/press/doctype/press_settings/press_settings.json b/press/press/doctype/press_settings/press_settings.json
index d82b239d..67bed68a 100644
--- a/press/press/doctype/press_settings/press_settings.json
+++ b/press/press/doctype/press_settings/press_settings.json
@@ -1156,7 +1156,7 @@
"fieldtype": "Column Break"
},
{
- "description": "Fetched from frappe.io",
+ "description": "Fetched from framework.jingrow.com",
"fieldname": "print_format",
"fieldtype": "Data",
"label": "Print Format"
diff --git a/press/press/doctype/server/server.py b/press/press/doctype/server/server.py
index bf68d751..d6a12a4a 100644
--- a/press/press/doctype/server/server.py
+++ b/press/press/doctype/server/server.py
@@ -2431,7 +2431,7 @@ class Server(BaseServer):
server_title = f"Secondary - {self.title or self.name}"
# This is horrible code, however it seems to be the standard
- # https://github.com/frappe/press/blob/28c9ba67b15b5d8ba64e302d084d3289ea744c39/press/api/server.py/#L228-L229
+ # http://git.jingrow.com/jingrow/jcloude/blob/28c9ba67b15b5d8ba64e302d084d3289ea744c39/press/api/server.py/#L228-L229
cluster.database_server = self.database_server
cluster.proxy_server = self.proxy_server
diff --git a/press/press/doctype/site/site.py b/press/press/doctype/site/site.py
index 324b41b8..480709fb 100644
--- a/press/press/doctype/site/site.py
+++ b/press/press/doctype/site/site.py
@@ -122,7 +122,7 @@ DOCTYPE_SERVER_TYPE_MAP = {
}
ARCHIVE_AFTER_SUSPEND_DAYS = 21
-PRIVATE_BENCH_PG = "https://docs.frappe.io/cloud/sites/move-site-to-private-bench"
+PRIVATE_BENCH_PG = "https://docs.framework.jingrow.com/cloud/sites/move-site-to-private-bench"
SERVER_SCRIPT_DISABLED_VERSION = (
15 # version from which server scripts were disabled on public benches. No longer set in site
)
@@ -1952,7 +1952,7 @@ class Site(Document, TagHelpers):
"doctype": "Webhook",
"webhook_doctype": "User",
"enabled": 1,
- "request_url": "https://frappecloud.com/api/method/press.api.site_login.sync_product_site_user",
+ "request_url": "https://jcloud.jingrow.com/api/method/press.api.site_login.sync_product_site_user",
"request_method": "POST",
"request_structure": "JSON",
"webhook_json": """{ "user_info": { "email": "{{pg.email}}", "enabled": "{{pg.enabled}}" } }""",
@@ -2156,7 +2156,7 @@ class Site(Document, TagHelpers):
and self.is_this_version_or_above(SERVER_SCRIPT_DISABLED_VERSION)
):
frappe.throw(
- f'You cannot enable server scripts on public benches. Please move to a private bench .'
+ f'You cannot enable server scripts on public benches. Please move to a private bench .'
)
def validate_encryption_key(self, key: str, value: Any):
@@ -2169,7 +2169,7 @@ class Site(Document, TagHelpers):
except (ValueError, InvalidToken):
frappe.throw(
_(
- "This is not a valid encryption key. Please copy it exactly. Read here if you have lost the encryption key."
+ "This is not a valid encryption key. Please copy it exactly. Read here if you have lost the encryption key."
)
)
@@ -2231,7 +2231,7 @@ class Site(Document, TagHelpers):
def delete_multiple_config(self, keys: list[str]):
# relies on self._keys_removed_in_last_update in self.validate
- # used by https://frappecloud.com/app/marketplace-app/email_delivery_service
+ # used by https://jcloud.jingrow.com/app/marketplace-app/email_delivery_service
config_list: list[dict] = []
for row in self.configuration:
config = {}
diff --git a/press/press/doctype/site_migration/site_migration.py b/press/press/doctype/site_migration/site_migration.py
index 9d840091..80498a6d 100644
--- a/press/press/doctype/site_migration/site_migration.py
+++ b/press/press/doctype/site_migration/site_migration.py
@@ -723,7 +723,7 @@ class SiteMigration(Document):
@property
def scheduled_by_consultant(self):
- return self.owner.endswith("@erpnext.com") or self.owner.endswith("@frappe.io")
+ return self.owner.endswith("@erpnext.com") or self.owner.endswith("@framework.jingrow.com")
def upgrade_plan(self, site: "Site", dest_server: Server):
if not dest_server.public and site.team == dest_server.team and not site.is_on_dedicated_plan:
diff --git a/press/press/doctype/site_plan_change/site_plan_change.py b/press/press/doctype/site_plan_change/site_plan_change.py
index c3d0b710..fd0f0cae 100644
--- a/press/press/doctype/site_plan_change/site_plan_change.py
+++ b/press/press/doctype/site_plan_change/site_plan_change.py
@@ -48,7 +48,7 @@ class SitePlanChange(Document):
and not frappe.db.get_value("Site Plan", self.to_plan, "allow_downgrading_from_other_plan")
):
frappe.throw(
- f"Sorry, you cannot downgrade to {self.to_plan} from {self.from_plan}. Why? "
+ f"Sorry, you cannot downgrade to {self.to_plan} from {self.from_plan}. Why? "
)
if self.type == "Initial Plan":
diff --git a/press/press/doctype/team/team.js b/press/press/doctype/team/team.js
index fb78595c..1fbcf5ea 100644
--- a/press/press/doctype/team/team.js
+++ b/press/press/doctype/team/team.js
@@ -88,7 +88,7 @@ frappe.ui.form.on('Team', {
frm.call('get_available_partner_credits').then((d) => {
frappe.msgprint({
title: 'Credit Balance Fetched Successfully',
- message: `Available Credits on frappe.io: ${frm.pg.currency} ${d.message} `,
+ message: `Available Credits on framework.jingrow.com: ${frm.pg.currency} ${d.message} `,
indicator: 'green',
});
}),
diff --git a/press/press/doctype/team/team.json b/press/press/doctype/team/team.json
index 976b51a2..fbb17430 100644
--- a/press/press/doctype/team/team.json
+++ b/press/press/doctype/team/team.json
@@ -408,7 +408,7 @@
},
{
"depends_on": "eval:pg.erpnext_partner",
- "description": "Fetched from frappe.io",
+ "description": "Fetched from framework.jingrow.com",
"fieldname": "frappe_partnership_date",
"fieldtype": "Date",
"label": "Frappe Partnership Date",
diff --git a/press/press/doctype/team/team.py b/press/press/doctype/team/team.py
index 3b423c2f..1aa7b3d2 100644
--- a/press/press/doctype/team/team.py
+++ b/press/press/doctype/team/team.py
@@ -554,7 +554,7 @@ class Team(Document):
client = get_frappe_io_connection()
data = client.get_value("Partner", "start_date", {"email": self.partner_email})
if not data:
- frappe.throw("Partner not found on frappe.io")
+ frappe.throw("Partner not found on framework.jingrow.com")
return frappe.utils.getdate(data.get("start_date"))
def create_referral_bonus(self, referrer_id):
@@ -685,7 +685,7 @@ class Team(Document):
frappeio_client.rename_pg("Customer", previous_billing_name, self.billing_name)
frappe.msgprint(f"Renamed customer from {previous_billing_name} to {self.billing_name}")
except Exception:
- log_error("Failed to rename customer on frappe.io", traceback=frappe.get_traceback())
+ log_error("Failed to rename customer on framework.jingrow.com", traceback=frappe.get_traceback())
def update_billing_details_on_stripe(self, address=None):
stripe = get_stripe()
@@ -1017,7 +1017,7 @@ class Team(Document):
return billing_details
def get_partner_level(self):
- # fetch partner level from frappe.io
+ # fetch partner level from framework.jingrow.com
if frappe.flags.in_install:
return None
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 d71fda1c..3488d1c3 100644
--- a/press/press/doctype/team_deletion_request/team_deletion_request.py
+++ b/press/press/doctype/team_deletion_request/team_deletion_request.py
@@ -155,7 +155,7 @@ class TeamDeletionRequest(PersonalDataDeletionRequest):
@handle_exc
def delete_data_on_frappeio(self):
- """Anonymize data on frappe.io"""
+ """Anonymize data on framework.jingrow.com"""
from press.utils.billing import get_frappe_io_connection, is_frappe_auth_disabled
if is_frappe_auth_disabled():
diff --git a/press/press/doctype/version_upgrade/version_upgrade.js b/press/press/doctype/version_upgrade/version_upgrade.js
index 5ff75bd5..994d4828 100644
--- a/press/press/doctype/version_upgrade/version_upgrade.js
+++ b/press/press/doctype/version_upgrade/version_upgrade.js
@@ -12,7 +12,7 @@ frappe.ui.form.on('Version Upgrade', {
}
if (frm.pg.status == 'Success') {
frm.add_custom_button(__('Show on FC'), () => {
- window.open(`https://frappecloud.com/dashboard/sites/${frm.pg.site}`);
+ window.open(`https://jcloud.jingrow.com/dashboard/sites/${frm.pg.site}`);
});
}
},
diff --git a/press/press/doctype/virtual_machine/cloud-init.yml.jinja2 b/press/press/doctype/virtual_machine/cloud-init.yml.jinja2
index ae83340d..87ca8a46 100644
--- a/press/press/doctype/virtual_machine/cloud-init.yml.jinja2
+++ b/press/press/doctype/virtual_machine/cloud-init.yml.jinja2
@@ -15,10 +15,10 @@ users:
runcmd:
- mkdir /etc/ssh/auth_principals
-- curl https://frappecloud.com/files/ca.pub > /etc/ssh/ca.pub && chmod 644 /etc/ssh/ca.pub
-- su - frappe -c "cd /home/frappe/agent && env/bin/agent setup config --name {{ server.name }} --workers 2"
-- su - frappe -c "cd /home/frappe/agent && env/bin/agent setup authentication --password {{ agent_password }}"
-- su - frappe -c "htpasswd -Bbc /home/frappe/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}"
+- curl https://jcloud.jingrow.com/files/ca.pub > /etc/ssh/ca.pub && chmod 644 /etc/ssh/ca.pub
+- su - frappe -c "cd /home/jingrow/agent && env/bin/agent setup config --name {{ server.name }} --workers 2"
+- su - frappe -c "cd /home/jingrow/agent && env/bin/agent setup authentication --password {{ agent_password }}"
+- su - frappe -c "htpasswd -Bbc /home/jingrow/agent/nginx/monitoring.htpasswd frappe {{ monitoring_password }}"
- supervisorctl restart all
{% if server.doctype == 'Database Server' and server.provider != 'Hetzner' %}
- resize2fs $(findmnt /opt/volumes/mariadb --noheadings --output SOURCE)
diff --git a/press/public/migrate b/press/public/migrate
index 5af6f6bb..eb314682 100755
--- a/press/public/migrate
+++ b/press/public/migrate
@@ -1,6 +1,6 @@
#!./env/bin/python
# Fallback Script to run the easy migrate script in place of `bench migrate-to`
-# This file was originally hosted on Frappe Cloud. For more information, contact us at frappecloud.com
+# This file was originally hosted on Frappe Cloud. For more information, contact us at jcloud.jingrow.com
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd.
import os
@@ -25,7 +25,7 @@ def get_remote_script(remote_site):
def frappecloud_migrator():
- remote_site_name = "frappecloud.com"
+ remote_site_name = "jcloud.jingrow.com"
script_contents = get_remote_script(remote_site=remote_site_name)
import os
import sys
diff --git a/press/public/migrate_2 b/press/public/migrate_2
index fa0163d3..badde947 100644
--- a/press/public/migrate_2
+++ b/press/public/migrate_2
@@ -1,6 +1,6 @@
#!./env/bin/python
-# Fallback Script to run the easy migrate script in place of `bench --site {site} migrate-to frappecloud.com`
-# This file was originally hosted on Frappe Cloud. For more information, contact us at frappecloud.com
+# Fallback Script to run the easy migrate script in place of `bench --site {site} migrate-to jcloud.jingrow.com`
+# This file was originally hosted on Frappe Cloud. For more information, contact us at jcloud.jingrow.com
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd.
import os
@@ -13,7 +13,7 @@ import requests
def frappecloud_migrator():
print("Retreiving Site Migrator...")
- remote_site = "frappecloud.com"
+ remote_site = "jcloud.jingrow.com"
request_url = "https://{}/api/method/press.api.script_2".format(remote_site)
request = requests.get(request_url)
diff --git a/press/saas/README.md b/press/saas/README.md
index 3764f562..442127f3 100644
--- a/press/saas/README.md
+++ b/press/saas/README.md
@@ -52,16 +52,16 @@ If `is_standby` field is checked, that site can be allocated to a user.
- **Redirect To After Login** - After SaaS signup/login, user is directly logged-in to his site. By default, we redirect the user to desk of site. With this option, we can configure the redirect path. For example, for gameplan the path would be `/g`
#### FC Dashboard
-- UI/UX - The pages are available in https://github.com/frappe/press/tree/master/dashboard/src2/pages/saas
-- The required apis for these pages are available in https://github.com/frappe/press/blob/master/press/api/product_trial.py
+- UI/UX - The pages are available in http://git.jingrow.com/jingrow/jcloude/tree/master/dashboard/src2/pages/saas
+- The required apis for these pages are available in http://git.jingrow.com/jingrow/jcloude/blob/master/press/api/product_trial.py
#### Billing APIs for Integration in Framework
> [!CAUTION]
> Changes in any of these APIs can cause disruption in on-site billing system.
-- All the required APIs for billing in site is available in https://github.com/frappe/press/tree/master/press/saas/api
-- These APIs use a different type of authentication mechanism. Check this readme for more info https://github.com/frappe/press/blob/master/press/saas/api/readme.md
+- All the required APIs for billing in site is available in http://git.jingrow.com/jingrow/jcloude/tree/master/press/saas/api
+- These APIs use a different type of authentication mechanism. Check this readme for more info http://git.jingrow.com/jingrow/jcloude/blob/master/press/saas/api/readme.md
- Reference of integration in framework
- https://github.com/frappe/frappe/tree/develop/billing
- https://github.com/frappe/frappe/blob/develop/frappe/integrations/frappe_providers/frappecloud_billing.py
diff --git a/press/saas/doctype/product_trial_request/product_trial_request.py b/press/saas/doctype/product_trial_request/product_trial_request.py
index 46b3cc85..8c94ee7a 100644
--- a/press/saas/doctype/product_trial_request/product_trial_request.py
+++ b/press/saas/doctype/product_trial_request/product_trial_request.py
@@ -445,11 +445,11 @@ def push_stats_message(stats, message):
message += f"**Total Trials**: {stats['total_trials']}\n\n"
message = (
message
- + f"[Succeeded trial requests](https://frappecloud.com/app/product-trial-request?status=Site+Created): {stats['succeeded_trials']}\n"
+ + f"[Succeeded trial requests](https://jcloud.jingrow.com/app/product-trial-request?status=Site+Created): {stats['succeeded_trials']}\n"
)
message = (
message
- + f"[Failed trial requests](https://frappecloud.com/app/product-trial-request?status=Error): {stats['failed_trials']}\n"
+ + f"[Failed trial requests](https://jcloud.jingrow.com/app/product-trial-request?status=Error): {stats['failed_trials']}\n"
)
# add app failure counts to message
diff --git a/press/saas/doctype/saas_app/saas_app.json b/press/saas/doctype/saas_app/saas_app.json
index d73d671f..1a50cbf0 100644
--- a/press/saas/doctype/saas_app/saas_app.json
+++ b/press/saas/doctype/saas_app/saas_app.json
@@ -76,7 +76,7 @@
"options": "Marketplace App Version"
},
{
- "default": "frappecloud.com",
+ "default": "jcloud.jingrow.com",
"description": "Redirects like signup urls will go to this custom domain",
"fieldname": "custom_domain",
"fieldtype": "Data",
diff --git a/press/sanity.py b/press/sanity.py
index 22369298..0e6bca62 100644
--- a/press/sanity.py
+++ b/press/sanity.py
@@ -20,7 +20,7 @@ CHROMEDRIVER_PATH = os.path.expanduser("~/chromedriver")
try:
WEBSITE = frappe.utils.get_url()
except Exception:
- WEBSITE = "https://frappecloud.com"
+ WEBSITE = "https://jcloud.jingrow.com"
def checks():
diff --git a/press/scripts/migrate.py b/press/scripts/migrate.py
index f9e17566..cc1547b0 100644
--- a/press/scripts/migrate.py
+++ b/press/scripts/migrate.py
@@ -530,7 +530,7 @@ def main():
atexit.register(cleanup, current_file)
frappe_provider = click.prompt(
- "Frappe provider (default: frappecloud.com)", default="frappecloud.com"
+ "Frappe provider (default: jcloud.jingrow.com)", default="jcloud.jingrow.com"
)
restore_choice = click.prompt(
diff --git a/press/scripts/weekend_support.py b/press/scripts/weekend_support.py
index 61694dfe..ed74f019 100644
--- a/press/scripts/weekend_support.py
+++ b/press/scripts/weekend_support.py
@@ -6,12 +6,12 @@ import frappe
agents = [
"shadrak@erpnext.com",
- "tanmoy@frappe.io",
+ "tanmoy@framework.jingrow.com",
"alan@iwebnotes.com",
"balamurali@erpnext.com",
- "arun@frappe.io",
+ "arun@framework.jingrow.com",
"saurabh@erpnext.com",
- "suhail@frappe.io",
+ "suhail@framework.jingrow.com",
]
diff --git a/press/templates/emails/admin_login.html b/press/templates/emails/admin_login.html
index e68a4f6a..af259a2a 100644
--- a/press/templates/emails/admin_login.html
+++ b/press/templates/emails/admin_login.html
@@ -11,7 +11,7 @@
{{reason}}
It might be one of our developers investigating an issue on your behalf. Please raise a ticket on
- frappecloud.com/support if this activity is
+ jcloud.jingrow.com/support if this activity is
not to your knowledge.
diff --git a/press/templates/emails/auto_scale_notification.html b/press/templates/emails/auto_scale_notification.html
index 3bb3c0a0..110adc04 100644
--- a/press/templates/emails/auto_scale_notification.html
+++ b/press/templates/emails/auto_scale_notification.html
@@ -11,7 +11,7 @@
If you have any concerns or questions, please do not hesitate to reach out to our support team at
- {{ utils.link('support.frappe.io', 'https://support.frappe.io')}}
+ {{ utils.link('support.framework.jingrow.com', 'https://support.framework.jingrow.com')}}
{{ utils.button('View Autoscale Job', link, true) }}
{{ utils.separator() }}
diff --git a/press/templates/emails/bench_deploy_failure.html b/press/templates/emails/bench_deploy_failure.html
index 9557d3ac..86d0d859 100644
--- a/press/templates/emails/bench_deploy_failure.html
+++ b/press/templates/emails/bench_deploy_failure.html
@@ -11,7 +11,7 @@
If you have any concerns or questions, please do not hesitate to reach out to our support team at
- {{ utils.link('support.frappe.io', 'https://support.frappe.io')}}
+ {{ utils.link('support.framework.jingrow.com', 'https://support.framework.jingrow.com')}}
{{ utils.button('View Deploy Job', link, true) }}
{{ utils.separator() }}
diff --git a/press/templates/emails/disabled_auto_disk_expansion.html b/press/templates/emails/disabled_auto_disk_expansion.html
index 31ae2b9b..ded24fe7 100644
--- a/press/templates/emails/disabled_auto_disk_expansion.html
+++ b/press/templates/emails/disabled_auto_disk_expansion.html
@@ -16,12 +16,12 @@
To enable auto disk expansion please refer the following
- documentation
Need Help ?
- Please raise a ticket on support.frappe.io for queires.
+ Please raise a ticket on support.framework.jingrow.com for queires.
{{ utils.separator() }} {{ utils.signature() }}
diff --git a/press/templates/emails/disabled_site_monitoring.html b/press/templates/emails/disabled_site_monitoring.html
index 64618bd1..ab72d0ec 100644
--- a/press/templates/emails/disabled_site_monitoring.html
+++ b/press/templates/emails/disabled_site_monitoring.html
@@ -13,12 +13,12 @@
Please re-enable monitoring from dashboard to receive alerts.
Check the documentation
here for the guide. If you need any assistance, please raise a ticket on
- frappecloud.com/support jcloud.jingrow.com/support.
diff --git a/press/templates/emails/enabled_auto_disk_expansion.html b/press/templates/emails/enabled_auto_disk_expansion.html
index 8ff98b12..c800017e 100644
--- a/press/templates/emails/enabled_auto_disk_expansion.html
+++ b/press/templates/emails/enabled_auto_disk_expansion.html
@@ -16,12 +16,12 @@
To disable auto disk expansion please refer the following
-
documentation
Need Help ?
- Please raise a ticket on support.frappe.io for queires.
+ Please raise a ticket on support.framework.jingrow.com for queires.
{{ utils.separator() }} {{ utils.signature() }}
diff --git a/press/templates/emails/incident.html b/press/templates/emails/incident.html
index 4d2e82b5..3dae407a 100644
--- a/press/templates/emails/incident.html
+++ b/press/templates/emails/incident.html
@@ -7,7 +7,7 @@
{{ message }}
For any concerns or questions, please reach out to our support team at {{
- utils.link('support.frappe.io', 'https://support.frappe.io')}}
+ utils.link('support.framework.jingrow.com', 'https://support.framework.jingrow.com')}}
{{ utils.button('View Server Analytics', link, true) }} {{ utils.separator()
}} {{ utils.signature() }}
diff --git a/press/templates/emails/marketplace_app_visibility.html b/press/templates/emails/marketplace_app_visibility.html
index c1ef2560..410ad530 100644
--- a/press/templates/emails/marketplace_app_visibility.html
+++ b/press/templates/emails/marketplace_app_visibility.html
@@ -24,7 +24,7 @@
We understand that this change might require some adjustments, and we appreciate your prompt attention to
this
matter. If you have any questions or anticipate any challenges in making your repository public, please
- raise a support ticket at support.frappe.io. We're here to help and ensure a smooth transition.
+ raise a support ticket at support.framework.jingrow.com. We're here to help and ensure a smooth transition.
Thank you for your understanding and cooperation.
diff --git a/press/templates/emails/press_webhook_disabled.html b/press/templates/emails/press_webhook_disabled.html
index 7f25b50c..23200852 100644
--- a/press/templates/emails/press_webhook_disabled.html
+++ b/press/templates/emails/press_webhook_disabled.html
@@ -9,7 +9,7 @@
Due to a high number of failed webhook deliveries in the past hour, we have disabled one of your configured webhooks.
Suspended webhook endpoint : {{ endpoint }}
-
Please visit the Frappe Cloud Dashboard to review the webhook attempts and identify the issue. Once resolved, you can reactivate it directly from the dashboard.
+
Please visit the Frappe Cloud Dashboard to review the webhook attempts and identify the issue. Once resolved, you can reactivate it directly from the dashboard.
{{ utils.separator() }}
{{ utils.signature() }}
diff --git a/press/templates/emails/site_exceeded_disk_usage_warning.html b/press/templates/emails/site_exceeded_disk_usage_warning.html
index 47a50143..00523d34 100644
--- a/press/templates/emails/site_exceeded_disk_usage_warning.html
+++ b/press/templates/emails/site_exceeded_disk_usage_warning.html
@@ -22,13 +22,13 @@
Need Help ?
1. How to change the plan ? Please refer the
documentation
2. If you want to know, which database table is consuming more space, you can check it using
Database Analyzer
+ href="https://docs.framework.jingrow.com/cloud/database-analyzer" _target="blank">
Database Analyzer
4. If you need some guide on which table can be truncated to reduce database storage, please check
documentation
- 3. If you have any doubts or need help, please contact support at
documentation
+ 3. If you have any doubts or need help, please contact support at
Frappe Cloud Support
If there is no action taken, your site will be suspended in {{ no_of_days_left_to_suspend }} days.
diff --git a/press/templates/emails/snapshot_recovery_completion.html b/press/templates/emails/snapshot_recovery_completion.html
index ddebed3f..2504657e 100644
--- a/press/templates/emails/snapshot_recovery_completion.html
+++ b/press/templates/emails/snapshot_recovery_completion.html
@@ -10,7 +10,7 @@
You can visit Frappe Cloud dashboard and download the site backups.
Need Help ?
- Please raise a ticket on support.frappe.io for queries.
+ Please raise a ticket on support.framework.jingrow.com for queries.
{{ utils.separator() }} {{ utils.signature() }}
diff --git a/press/templates/emails/suspended_sites.html b/press/templates/emails/suspended_sites.html
index a671c5e8..91b2edb3 100644
--- a/press/templates/emails/suspended_sites.html
+++ b/press/templates/emails/suspended_sites.html
@@ -11,14 +11,14 @@
Unfortunately, we must bring to your attention that your site hosted on Frappe Cloud has been temporarily suspended due to an unpaid invoice.
- To continue using your Frappe Cloud site, please settle your invoices by going to your Frappe Cloud Dashboard.
+ To continue using your Frappe Cloud site, please settle your invoices by going to your Frappe Cloud Dashboard.
Once your invoices are settled, your site will be activated immediately.
Please complete the above steps before 20th of this month , failing which your site will be dropped and if you have subscribed to $10 plan you might lose your data permanently.
- We're sad to see you discontinue usage of Frappe Cloud and value your feedback. Please fill this form or block 15-min with our team to share your experience.
- If you have any concerns or questions, contact our support team at support.frappe.io.
+ We're sad to see you discontinue usage of Frappe Cloud and value your feedback. Please fill this form or block 15-min with our team to share your experience.
+ If you have any concerns or questions, contact our support team at support.framework.jingrow.com.
{%- if sites -%}
diff --git a/press/templates/marketplace/footer.html b/press/templates/marketplace/footer.html
index 28323a69..a2541f01 100644
--- a/press/templates/marketplace/footer.html
+++ b/press/templates/marketplace/footer.html
@@ -4,7 +4,7 @@
+ src="https://jcloud.jingrow.com/files/frappe-logo-type.png">
@@ -12,16 +12,16 @@
@@ -35,7 +35,7 @@
Built on Frappe
diff --git a/press/templates/saas/macros.html b/press/templates/saas/macros.html
index c933a5ed..1ee7a6ec 100644
--- a/press/templates/saas/macros.html
+++ b/press/templates/saas/macros.html
@@ -131,7 +131,7 @@
Payment Request Received
Thank you for your payment request. We will send you a confirmation email shortly. In the meantime if you have any queries please reach us at
- our support page .
+ our
support page .
{% endmacro %}
@@ -140,7 +140,7 @@
Something Went Wrong
-
For some reason the payment request was could not complete. Please contact support in order to get a resolution at the earliest.
+
For some reason the payment request was could not complete. Please contact support in order to get a resolution at the earliest.
{% endmacro %}
diff --git a/press/templates/saas/signup.html b/press/templates/saas/signup.html
index 0e58556d..941bc145 100644
--- a/press/templates/saas/signup.html
+++ b/press/templates/saas/signup.html
@@ -63,10 +63,10 @@
style="margin-bottom: -0.15rem;">
I agree to Frappe
- Terms of Service ,
- Privacy Policy
+ Terms of Service ,
+ Privacy Policy
&
- Cookie Policy.
+ Cookie Policy.
diff --git a/press/www/saas-oauth.html b/press/www/saas-oauth.html
index 2c95ab12..16cc9874 100644
--- a/press/www/saas-oauth.html
+++ b/press/www/saas-oauth.html
@@ -47,10 +47,10 @@
By clicking on Create Account , you accept our
- Terms of Service ,
- Privacy Policy
+ Terms of Service ,
+ Privacy Policy
&
- Cookie Policy.
+ Cookie Policy.