Skip to content

Commit ab1f3c0

Browse files
authored
Merge pull request #7657 from sagemathinc/rename-cocalc-cloud
rename "CoCalc Cloud" → "CoCalc OnPrem"
2 parents c401eda + b2c18a8 commit ab1f3c0

File tree

12 files changed

+23
-24
lines changed

12 files changed

+23
-24
lines changed

src/packages/database/postgres/site-license/hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ class SiteLicenseHook {
406406
if (quota == null) return true;
407407
// there are some exceptions. dedicated disks do work under PAYGO.
408408
const hasDisk = quota.get("dedicated_disk") != null;
409-
// ext_rw and patch are for Cocalc Cloud, adding them just in case...
409+
// ext_rw and patch are for CoCalc OnPrem, adding them just in case...
410410
const hasExtRW = quota.get("ext_rw") === true;
411411
const hasPatch = quota.get("patch") != null;
412412
if (hasDisk || hasExtRW || hasPatch) return false;

src/packages/database/postgres/site-license/quota-site-settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function getQuotaSiteSettings(): Promise<
1111
SiteSettingsQuotas | undefined
1212
> {
1313
const allSettings = await getServerSettings();
14-
// default_quotas and max_upgrades only play a role for cocalc-cloud
14+
// default_quotas and max_upgrades only play a role for cocalc-onprem
1515
// it's fine to pass down "undefined" to the quota calculation function
1616
if (allSettings.kucalc === KUCALC_ON_PREMISES) {
1717
return {

src/packages/frontend/compute/onprem-config.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export default function OnPremCloudConfiguration({
106106
</li>
107107
<li>On-Prem compute servers are currently free.</li>
108108
<li>
109-
<A href="https://doc-cloud.cocalc.com/overview.html">
110-
CoCalc-Cloud
109+
<A href="https://onprem.cocalc.com/overview.html">
110+
CoCalc-OnPrem
111111
</A>{" "}
112112
is a related on-prem product for running a self-contained CoCalc
113113
cluster.

src/packages/frontend/course/configuration/envvars-config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const EnvironmentVariablesConfig: React.FC<Props> = (props: Props) => {
5353
setNeedSave(nextVal != inherit);
5454
}, [nextVal, inherit]);
5555

56-
// this selector only make sense for cocalc.com and cocalc-cloud on-prem
56+
// this selector only make sense for cocalc.com and cocalc-onprem
5757
if (
5858
customize_kucalc !== KUCALC_COCALC_COM &&
5959
customize_kucalc !== KUCALC_ON_PREMISES

src/packages/frontend/course/configuration/student-project-software-environment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export const StudentProjectSoftwareEnvironment: React.FC<Props> = ({
215215
);
216216
}
217217

218-
// this selector only make sense for cocalc.com and cocalc-cloud on-prem
218+
// this selector only make sense for cocalc.com and cocalc-onprem
219219
if (
220220
customize_kucalc !== KUCALC_COCALC_COM &&
221221
customize_kucalc !== KUCALC_ON_PREMISES

src/packages/frontend/project/settings/datastore.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/*
7-
Datastore (only for kucalc and cocalc-cloud)
7+
Datastore (only for kucalc and cocalc-onprem)
88
*/
99

1010
import {

src/packages/next/components/landing/cocalc-com-features.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export function CoCalcComFeatures() {
463463
style={link}
464464
href="https://doc.cocalc.com/cocalc-cloud.html"
465465
>
466-
<strong>cocalc-cloud</strong>
466+
<strong>cocalc-onprem</strong>
467467
</A>
468468
.
469469
</li>

src/packages/next/pages/auth/ROUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ hence that check happens upon SSO strategy initialization.
1818
## Backend
1919

2020
- Kucalc's proxy service redirects all `/auth` routes to `hub-next`, but since this is still setting up all the auth routes, everything should be fine.
21-
- cocalc-cloud's ingress route configuration file has to list them as well (shorter route names take precedence in the nginx ingress controller)
21+
- cocalc-onprem's ingress route configuration file has to list them as well (shorter route names take precedence in the nginx ingress controller)

src/packages/next/pages/pricing/onprem.tsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ function Body() {
5050
return (
5151
<>
5252
<Title level={2}>
53-
CoCalc Cloud <Icon name="network-wired" style={{ float: "right" }} />
53+
CoCalc OnPrem <Icon name="network-wired" style={{ float: "right" }} />
5454
</Title>
5555
<Paragraph>
5656
<Text strong>
57-
<A href="https://doc-cloud.cocalc.com/">CoCalc Cloud</A>
57+
<A href="https://onprem.cocalc.com/">CoCalc OnPrem</A>
5858
</Text>{" "}
5959
is an on-prem version of CoCalc that runs on a full-fledged{" "}
6060
<A href={"https://kubernetes.io"}>Kubernetes Cluster</A>. The
@@ -140,20 +140,19 @@ function Body() {
140140
</Paragraph>
141141
<Paragraph>
142142
For more details, see the{" "}
143-
<A href="https://doc-cloud.cocalc.com/">CoCalc Cloud documentation</A>
144-
.
143+
<A href="https://onprem.cocalc.com/">CoCalc OnPrem documentation</A>.
145144
</Paragraph>
146-
<Title level={3}>Purchasing CoCalc Cloud</Title>
145+
<Title level={3}>Purchasing CoCalc OnPrem</Title>
147146
<Paragraph>
148-
CoCalc Cloud is a scalable solution and the license price depends on
147+
CoCalc OnPrem is a scalable solution and the license price depends on
149148
the use case and expected number of users. Additionally, various
150149
levels of support and custom development can be negotiated for an
151150
additional cost.
152151
<Button
153152
type="link"
154153
onClick={() =>
155154
router.push(
156-
`/support/new?hideExtra=true&type=purchase&subject=CoCalc%20Cloud%20Quote&body=${body}&title=Purchase%20CoCalc-Cloud`,
155+
`/support/new?hideExtra=true&type=purchase&subject=CoCalc%20OnPrem%20Quote&body=${body}&title=Purchase%20CoCalc-OnPrem`,
157156
)
158157
}
159158
>
@@ -167,7 +166,7 @@ function Body() {
167166
size="large"
168167
onClick={() =>
169168
router.push(
170-
`/support/new?hideExtra=true&type=purchase&subject=CoCalc%20Cloud%20Business&body=${body}&title=Purchase%20CoCalc-Cloud`,
169+
`/support/new?hideExtra=true&type=purchase&subject=CoCalc%20OnPrem%20Business&body=${body}&title=Purchase%20CoCalc-OnPrem`,
171170
)
172171
}
173172
>
@@ -179,7 +178,7 @@ function Body() {
179178
size="large"
180179
onClick={() =>
181180
router.push(
182-
`/support/new?hideExtra=true&type=purchase&subject=CoCalc%20Cloud%20Academic&body=${body}&title=Purchase%20CoCalc-Cloud`,
181+
`/support/new?hideExtra=true&type=purchase&subject=CoCalc%20OnPrem%20Academic&body=${body}&title=Purchase%20CoCalc-OnPrem`,
183182
)
184183
}
185184
>

src/packages/util/quota.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ describe("main quota functionality", () => {
719719
it("allow for much larger max_upgrades", () => {
720720
const site_settings = {
721721
max_upgrades: {
722-
// taken from cocalc-cloud example configuration
722+
// taken from cocalc-onprem example configuration
723723
memory: 32000,
724724
cores: 16,
725725
},
@@ -826,7 +826,7 @@ describe("main quota functionality", () => {
826826
cpu_oc: 1,
827827
},
828828
max_upgrades: {
829-
// taken from cocalc-cloud example configuration
829+
// taken from cocalc-onprem example configuration
830830
memory: 32000,
831831
memory_request: 32000,
832832
cores: 16,
@@ -873,7 +873,7 @@ describe("main quota functionality", () => {
873873
cpu_oc: 1,
874874
},
875875
max_upgrades: {
876-
// taken from cocalc-cloud example configuration
876+
// taken from cocalc-onprem example configuration
877877
memory: 32000,
878878
memory_request: 32000,
879879
cores: 16,

0 commit comments

Comments
 (0)