diff --git a/apps/api/src/jobs/infrastructure.ts b/apps/api/src/jobs/infrastructure.ts index 19ab713aa..29ac8aa20 100644 --- a/apps/api/src/jobs/infrastructure.ts +++ b/apps/api/src/jobs/infrastructure.ts @@ -3,9 +3,6 @@ import axios from 'axios'; import { compareVersions } from 'compare-versions'; import { asyncExecShell, cleanupDockerStorage, executeDockerCmd, isDev, prisma, startTraefikTCPProxy, generateDatabaseConfiguration, startTraefikProxy, listSettings, version } from '../lib/common'; -async function disconnect() { - await prisma.$disconnect(); -} async function autoUpdater() { try { const currentVersion = version; diff --git a/apps/ui/src/lib/components/SimpleExplainer.svelte b/apps/ui/src/lib/components/SimpleExplainer.svelte new file mode 100644 index 000000000..6a3198c27 --- /dev/null +++ b/apps/ui/src/lib/components/SimpleExplainer.svelte @@ -0,0 +1,6 @@ + + +
{@html text}
\ No newline at end of file diff --git a/apps/ui/src/routes/applications/[id]/_Setting.svelte b/apps/ui/src/routes/applications/[id]/_Setting.svelte deleted file mode 100644 index e1d5e79f8..000000000 --- a/apps/ui/src/routes/applications/[id]/_Setting.svelte +++ /dev/null @@ -1,72 +0,0 @@ - - -
-
-
{title}
- -
-
-
-
- Use setting - - - - -
-
diff --git a/apps/ui/src/routes/applications/[id]/configuration/source.svelte b/apps/ui/src/routes/applications/[id]/configuration/source.svelte index fee45aba5..d1252c74f 100644 --- a/apps/ui/src/routes/applications/[id]/configuration/source.svelte +++ b/apps/ui/src/routes/applications/[id]/configuration/source.svelte @@ -32,7 +32,6 @@ import { errorNotification } from '$lib/common'; import { appSession } from '$lib/store'; import PublicRepository from './_PublicRepository.svelte'; - import Explaner from '$lib/components/Explainer.svelte'; import DocLink from '$lib/components/DocLink.svelte'; const { id } = $page.params; diff --git a/apps/ui/src/routes/applications/[id]/index.svelte b/apps/ui/src/routes/applications/[id]/index.svelte index 9d908346d..c646171fc 100644 --- a/apps/ui/src/routes/applications/[id]/index.svelte +++ b/apps/ui/src/routes/applications/[id]/index.svelte @@ -32,16 +32,15 @@ import { onDestroy, onMount } from 'svelte'; import Select from 'svelte-select'; - import Explainer from '$lib/components/Explainer.svelte'; import { get, post } from '$lib/api'; import cuid from 'cuid'; - import { browser } from '$app/env'; import { addToast, appSession, disabledButton, setLocation, status } from '$lib/store'; import { t } from '$lib/translations'; import { errorNotification, getDomain, notNodeDeployments, staticDeployments } from '$lib/common'; import Setting from '$lib/components/Setting.svelte'; import Tooltip from '$lib/components/Tooltip.svelte'; - import Explaner from '$lib/components/Explainer.svelte'; + import Explainer from '$lib/components/Explainer.svelte'; + const { id } = $page.params; $: isDisabled = @@ -447,7 +446,7 @@
@@ -719,7 +717,7 @@ {#if application.buildPack === 'docker'}
@@ -747,7 +745,7 @@
@@ -766,7 +764,7 @@
@@ -786,7 +784,7 @@
diff --git a/apps/ui/src/routes/applications/[id]/previews.svelte b/apps/ui/src/routes/applications/[id]/previews.svelte index 6848a0d38..2942b2954 100644 --- a/apps/ui/src/routes/applications/[id]/previews.svelte +++ b/apps/ui/src/routes/applications/[id]/previews.svelte @@ -21,13 +21,13 @@ import Secret from './_Secret.svelte'; import { get, post } from '$lib/api'; import { page } from '$app/stores'; - import Explainer from '$lib/components/Explainer.svelte'; import { t } from '$lib/translations'; import { goto } from '$app/navigation'; import { errorNotification, getDomain } from '$lib/common'; import { onMount } from 'svelte'; import Loading from '$lib/components/Loading.svelte'; import { addToast } from '$lib/store'; + import SimpleExplainer from '$lib/components/SimpleExplainer.svelte'; const { id } = $page.params; @@ -145,7 +145,7 @@ {:else}
- Useful for creating staging environments." @@ -194,8 +194,9 @@
- redeploy(container)}>{$t('application.preview.redeploy')}
diff --git a/apps/ui/src/routes/applications/[id]/storages.svelte b/apps/ui/src/routes/applications/[id]/storages.svelte index 96908fa89..c8847582d 100644 --- a/apps/ui/src/routes/applications/[id]/storages.svelte +++ b/apps/ui/src/routes/applications/[id]/storages.svelte @@ -24,7 +24,7 @@ import { page } from '$app/stores'; import Storage from './_Storage.svelte'; import { get } from '$lib/api'; - import Explainer from '$lib/components/Explainer.svelte'; + import SimpleExplainer from '$lib/components/SimpleExplainer.svelte'; import { t } from '$lib/translations'; const { id } = $page.params; @@ -88,7 +88,7 @@
- +
diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte index 5d80cb3db..5cfa6025e 100644 --- a/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte +++ b/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte @@ -16,7 +16,7 @@ import { t } from '$lib/translations'; import { errorNotification } from '$lib/common'; import { addToast, appSession, status } from '$lib/store'; - import Explaner from '$lib/components/Explainer.svelte'; + import Explainer from '$lib/components/Explainer.svelte'; const { id } = $page.params; @@ -211,7 +211,7 @@
@@ -38,7 +38,7 @@
{$t('forms.roots_password')}
@@ -24,7 +24,7 @@
@@ -38,7 +37,8 @@ import Explaner from '$lib/components/Explainer.svelte';
{$t('forms.password')} +
{$t('forms.roots_password')} +
@@ -26,7 +26,7 @@
@@ -54,7 +54,7 @@
@@ -13,7 +13,7 @@
- {#if team.id === '0'} - + {/if}
@@ -179,7 +179,7 @@ >
- +
import CopyPasswordField from '$lib/components/CopyPasswordField.svelte'; - import Explaner from '$lib/components/Explainer.svelte'; + import Explainer from '$lib/components/Explainer.svelte'; import { t } from '$lib/translations'; export let readOnly: any; export let service: any; @@ -8,7 +8,7 @@
- Ghost + Ghost
diff --git a/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte b/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte index 034c37903..e1992f56d 100644 --- a/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte +++ b/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte @@ -1,6 +1,6 @@ @@ -13,7 +13,7 @@
diff --git a/apps/ui/src/routes/services/[id]/storages.svelte b/apps/ui/src/routes/services/[id]/storages.svelte index 1965878e0..ee95583a5 100644 --- a/apps/ui/src/routes/services/[id]/storages.svelte +++ b/apps/ui/src/routes/services/[id]/storages.svelte @@ -25,7 +25,7 @@ import { page } from '$app/stores'; import Storage from './_Storage.svelte'; import { get } from '$lib/api'; - import Explainer from '$lib/components/Explainer.svelte'; + import SimpleExplainer from '$lib/components/SimpleExplainer.svelte'; import ServiceLinks from './_ServiceLinks.svelte'; const { id } = $page.params; @@ -74,7 +74,7 @@
- This is useful for storing data for VSCode server or WordPress.'} /> diff --git a/apps/ui/src/routes/settings/global.svelte b/apps/ui/src/routes/settings/global.svelte index db2013979..9b71109e6 100644 --- a/apps/ui/src/routes/settings/global.svelte +++ b/apps/ui/src/routes/settings/global.svelte @@ -19,14 +19,13 @@