Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ipv6 to all applications #2993

Merged
merged 4 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_algorand.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<v-text-field label="Name" v-model="name" v-bind="props" />
</input-tooltip>
</input-validator>
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv4="ipv4" />
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv4="ipv4" v-model:ipv6="ipv6" />
<AlgorandCapacity
:network="network"
:type="type"
Expand Down Expand Up @@ -83,6 +83,7 @@
}"
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu,
Expand Down Expand Up @@ -121,6 +122,7 @@ const flist: Flist = {
};
const name = ref(generateName({ prefix: "al" }));
const ipv4 = ref(false);
const ipv6 = ref(false);
const planetary = ref(true);
const mycelium = ref(true);
const cpu = ref() as Ref<number>;
Expand Down Expand Up @@ -171,6 +173,7 @@ async function deploy() {
: [],
rootFilesystemSize: rootFilesystemSize.value,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
mycelium: mycelium.value,
planetary: planetary.value,
nodeId: selectionDetails.value!.node!.nodeId,
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_casperlabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
:large="{ cpu: 8, memory: 32, disk: 1000 }"
/>

<Networks v-model:ipv4="ipv4" v-model:planetary="planetary" v-model:mycelium="mycelium" />
<Networks v-model:ipv4="ipv4" v-model:planetary="planetary" v-model:mycelium="mycelium" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -50,6 +50,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -97,6 +98,7 @@ const flist: Flist = {
const dedicated = ref(false);
const certified = ref(false);
const ipv4 = ref(false);
const ipv6 = ref(false);
const mycelium = ref(true);
const planetary = ref(false);
const rootFilesystemSize = computed(() => rootFs(solution.value?.cpu ?? 0, solution.value?.memory ?? 0));
Expand Down Expand Up @@ -149,6 +151,7 @@ async function deploy() {
flist: flist.value,
entryPoint: flist.entryPoint,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
mycelium: mycelium.value,
planetary: planetary.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_discourse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
:medium="{ cpu: 2, memory: 4, disk: 50 }"
:large="{ cpu: 4, memory: 16, disk: 100 }"
/>
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv4="ipv4" />
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv4="ipv4" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -71,6 +71,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -123,6 +124,7 @@ const name = ref(generateName({ prefix: "dc" }));
const email = ref(profileManager.profile?.email || "");
const solution = ref() as Ref<SolutionFlavor>;
const ipv4 = ref(false);
const ipv6 = ref(false);
const mycelium = ref(true);
const planetary = ref(true);
const smtp = ref(createSMTPServer());
Expand Down Expand Up @@ -182,6 +184,7 @@ async function deploy() {
entryPoint: flist.entryPoint,
rootFilesystemSize: rootFilesystemSize.value,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
planetary: planetary.value,
mycelium: mycelium.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_funkwhale.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
:small="{ cpu: 1, memory: 2, disk: 50 }"
:medium="{ cpu: 2, memory: 4, disk: 100 }"
/>
<Networks v-model:ipv4="ipv4" v-model:planetary="planetary" v-model:mycelium="mycelium" />
<Networks v-model:ipv4="ipv4" v-model:planetary="planetary" v-model:mycelium="mycelium" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -102,6 +102,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -152,6 +153,7 @@ const flist: Flist = {
const dedicated = ref(false);
const certified = ref(false);
const ipv4 = ref(false);
const ipv6 = ref(false);
const mycelium = ref(true);
const planetary = ref(false);
const selectionDetails = ref<SelectionDetails>();
Expand Down Expand Up @@ -207,6 +209,7 @@ async function deploy() {
flist: flist.value,
entryPoint: flist.entryPoint,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
mycelium: mycelium.value,
planetary: planetary.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_mattermost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
:medium="{ cpu: 2, memory: 4, disk: 50 }"
:large="{ cpu: 4, memory: 16, disk: 100 }"
/>
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv4="ipv4" />
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv4="ipv4" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -55,6 +55,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -106,6 +107,7 @@ const flist: Flist = {
const dedicated = ref(false);
const certified = ref(false);
const ipv4 = ref(false);
const ipv6 = ref(false);
const planetary = ref(true);
const smtp = ref(createSMTPServer());
const rootFilesystemSize = computed(() => rootFs(solution.value?.cpu ?? 0, solution.value?.memory ?? 0));
Expand Down Expand Up @@ -165,6 +167,7 @@ async function deploy() {
entryPoint: flist.entryPoint,
rootFilesystemSize: rootFilesystemSize.value,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
planetary: planetary.value,
mycelium: mycelium.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_nextcloud.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
:large="{ cpu: 4, memory: 16, disk: 1000 }"
v-model="solution"
/>
<Networks v-model:ipv4="ipv4" v-model:mycelium="mycelium" v-model:planetary="planetary" />
<Networks v-model:ipv4="ipv4" v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -49,6 +49,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -96,6 +97,7 @@ const flist: Flist = {
const dedicated = ref(false);
const certified = ref(false);
const ipv4 = ref(false);
const ipv6 = ref(false);
const mycelium = ref(true);
const planetary = ref(false);
const rootFilesystemSize = computed(() => rootFs(solution.value?.cpu ?? 0, solution.value?.memory ?? 0));
Expand Down Expand Up @@ -159,6 +161,7 @@ async function deploy() {
flist: flist.value,
entryPoint: flist.entryPoint,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
planetary: planetary.value,
mycelium: mycelium.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_peertube.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</password-input-wrapper>

<SelectSolutionFlavor v-model="solution" />
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" />
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -76,6 +76,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -123,6 +124,7 @@ const flist: Flist = {
const dedicated = ref(false);
const certified = ref(false);
const ipv4 = ref(false);
const ipv6 = ref(false);
const rootFilesystemSize = computed(() => rootFs(solution.value?.cpu ?? 0, solution.value?.memory ?? 0));
const selectionDetails = ref<SelectionDetails>();
const mycelium = ref(true);
Expand Down Expand Up @@ -178,6 +180,7 @@ async function deploy() {
flist: flist.value,
entryPoint: flist.entryPoint,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
planetary: planetary.value,
mycelium: mycelium.value,
envs: [
Expand Down
12 changes: 11 additions & 1 deletion packages/playground/src/weblets/tf_presearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@
</password-input-wrapper>
</input-validator>

<Network required v-model:ipv4="ipv4" v-model:planetary="planetary" v-model:mycelium="mycelium" ref="network" />
<Network
required
v-model:ipv4="ipv4"
v-model:planetary="planetary"
v-model:mycelium="mycelium"
v-model:ipv6="ipv6"
ref="network"
/>

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -69,6 +76,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu,
Expand Down Expand Up @@ -123,6 +131,7 @@ const tabs = ref();
const name = ref(generateName({ prefix: "ps" }));
const code = ref("");
const ipv4 = ref(false);
const ipv6 = ref(false);
const planetary = ref(true);
const cpu = 1;
const memory = 512;
Expand Down Expand Up @@ -171,6 +180,7 @@ async function deploy() {
],
planetary: planetary.value,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
mycelium: mycelium.value,
envs: [
{
Expand Down
11 changes: 10 additions & 1 deletion packages/playground/src/weblets/tf_staticwebsite.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@
:medium="{ cpu: 2, memory: 4, disk: 100 }"
/>

<Networks ref="network" v-model:ipv4="ipv4" v-model:mycelium="mycelium" v-model:planetary="planetary" />
<Networks
ref="network"
v-model:ipv4="ipv4"
v-model:mycelium="mycelium"
v-model:planetary="planetary"
v-model:ipv6="ipv6"
/>

<input-tooltip
inline
Expand All @@ -79,6 +85,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -121,6 +128,7 @@ const root = ref("");
const domain = ref();

const ipv4 = ref(false);
const ipv6 = ref(false);
const mycelium = ref(true);
const planetary = ref(false);
const solution = ref() as Ref<SolutionFlavor>;
Expand Down Expand Up @@ -193,6 +201,7 @@ async function deploy() {
flist: flist.value,
entryPoint: flist.entryPoint,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
mycelium: mycelium.value,
planetary: planetary.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_subsquid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
:medium="{ cpu: 2, memory: 4, disk: 100 }"
/>

<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" />
<Networks v-model:mycelium="mycelium" v-model:planetary="planetary" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -64,6 +64,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -104,6 +105,7 @@ const profileManager = useProfileManager();
const name = ref(generateName({ prefix: "ss" }));
const endpoint = ref("");
const ipv4 = ref(false);
const ipv6 = ref(false);
const planetary = ref(false);
const mycelium = ref(true);
const solution = ref() as Ref<SolutionFlavor>;
Expand Down Expand Up @@ -168,6 +170,7 @@ async function deploy() {
flist: flist.value,
entryPoint: flist.entryPoint,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
mycelium: mycelium.value,
planetary: planetary.value,
envs: [
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/tf_taiga.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
:small="{ cpu: 2, memory: 4, disk: 100 }"
:medium="{ cpu: 4, memory: 8, disk: 150 }"
/>
<Networks v-model:mycelium="mycelium" v-model:ipv4="ipv4" v-model:planetary="planetary" />
<Networks v-model:mycelium="mycelium" v-model:ipv4="ipv4" v-model:planetary="planetary" v-model:ipv6="ipv6" />

<input-tooltip inline tooltip="Click to know more about dedicated machines." :href="manual.dedicated_machines">
<v-switch color="primary" inset label="Dedicated" v-model="dedicated" hide-details />
Expand All @@ -103,6 +103,7 @@
<TfSelectionDetails
:filters="{
ipv4,
ipv6,
certified,
dedicated,
cpu: solution?.cpu,
Expand Down Expand Up @@ -160,6 +161,7 @@ const flist: Flist = {
const dedicated = ref(false);
const certified = ref(false);
const ipv4 = ref(false);
const ipv6 = ref(false);
const mycelium = ref(true);
const planetary = ref(true);
const smtp = ref(createSMTPServer());
Expand Down Expand Up @@ -219,6 +221,7 @@ async function deploy() {
entryPoint: flist.entryPoint,
rootFilesystemSize: rootFilesystemSize.value,
publicIpv4: ipv4.value,
publicIpv6: ipv6.value,
planetary: planetary.value,
mycelium: mycelium.value,
envs: [
Expand Down
Loading
Loading