From c742617a35b6ead5786f1451e68a5acf17246260 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 19 Jan 2023 16:18:17 -0800 Subject: [PATCH] lavaforge --> codeberg until lavaforge is ready --- README.md | 6 +++--- issue_template/bug.yaml | 2 +- issue_template/feature.yaml | 2 +- package.json | 2 +- packages/backend/src/boot/master.ts | 2 +- packages/backend/src/models/entities/meta.ts | 4 ++-- packages/backend/src/server/api/endpoints/latest-version.ts | 2 +- packages/backend/src/server/api/endpoints/meta.ts | 4 ++-- packages/backend/src/server/api/endpoints/patrons.ts | 2 +- packages/backend/src/server/api/endpoints/release.ts | 2 +- packages/backend/src/server/api/openapi/gen-spec.ts | 4 ++-- packages/backend/src/server/web/views/base.pug | 2 +- packages/client/src/pages/about-calckey.vue | 6 +++--- packages/client/src/pages/admin/index.vue | 2 +- packages/client/src/ui/visitor/a.vue | 2 +- packages/client/src/ui/visitor/b.vue | 2 +- packages/client/src/ui/visitor/kanban.vue | 2 +- 17 files changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 5cf40f245..aad8221e0 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@ **🌎 **[Calckey](https://i.calckey.cloud/)** is an open source, decentralized social media platform that's free forever! 🚀** [![no github badge](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page/) -[![status badge](https://ci.lavaforge.org/api/badges/calckey/calckey/status.svg)](https://ci.lavaforge.org/calckey/calckey) +[![status badge](https://ci.codeberg.org/api/badges/calckey/calckey/status.svg)](https://ci.codeberg.org/calckey/calckey) [![liberapay badge](https://img.shields.io/liberapay/receives/ThatOneCalculator?logo=liberapay)](https://liberapay.com/ThatOneCalculator) [![translate-badge](https://hosted.weblate.org/widgets/calckey/-/svg-badge.svg)](https://hosted.weblate.org/engage/calckey/) [![docker badge](https://img.shields.io/docker/pulls/thatonecalculator/calckey?logo=docker)](https://hub.docker.com/r/thatonecalculator/calckey) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](./CODE_OF_CONDUCT.md) -[![lavaforge badge](https://custom-icon-badges.demolab.com/badge/hosted%20on-lavaforge-FF8066.svg?logo=lavaforge&logoColor=white)](https://lavaforge.org/calckey/calckey/) +[![lavaforge badge](https://custom-icon-badges.demolab.com/badge/hosted%20on-lavaforge-FF8066.svg?logo=lavaforge&logoColor=white)](https://codeberg.org/calckey/calckey/) @@ -92,7 +92,7 @@ If you have access to a server that supports one of the sources below, I recomme ## 👀 Get folder ready ```sh -git clone https://lavaforge.org/calckey/calckey.git +git clone https://codeberg.org/calckey/calckey.git cd calckey/ # git checkout main # if you want only stable versions ``` diff --git a/issue_template/bug.yaml b/issue_template/bug.yaml index 3cb83b225..3a21f1399 100644 --- a/issue_template/bug.yaml +++ b/issue_template/bug.yaml @@ -64,7 +64,7 @@ body: id: terms attributes: label: Contribution Guidelines - description: By submitting this issue, you agree to follow our [Contribution Guidelines](https://lavaforge.org/calckey/calckey/src/branch/develop/CONTRIBUTING.md) + description: By submitting this issue, you agree to follow our [Contribution Guidelines](https://codeberg.org/calckey/calckey/src/branch/develop/CONTRIBUTING.md) options: - label: I agree to follow this project's Contribution Guidelines required: true diff --git a/issue_template/feature.yaml b/issue_template/feature.yaml index 6f0d25565..32f7f2c10 100644 --- a/issue_template/feature.yaml +++ b/issue_template/feature.yaml @@ -64,7 +64,7 @@ body: id: terms attributes: label: Contribution Guidelines - description: By submitting this issue, you agree to follow our [Contribution Guidelines](https://lavaforge.org/calckey/calckey/src/branch/develop/CONTRIBUTING.md) + description: By submitting this issue, you agree to follow our [Contribution Guidelines](https://codeberg.org/calckey/calckey/src/branch/develop/CONTRIBUTING.md) options: - label: I agree to follow this project's Contribution Guidelines required: true diff --git a/package.json b/package.json index 7b1837bf0..b5e3feea0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "codename": "aqua", "repository": { "type": "git", - "url": "https://lavaforge.org/calckey/calckey.git" + "url": "https://codeberg.org/calckey/calckey.git" }, "packageManager": "pnpm@7.25.0", "private": true, diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index a9c47abc4..193f02429 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -48,7 +48,7 @@ function greet() { 136, 0, )( - " If you like Calckey, please consider starring or contributing to the repo. https://lavaforge.org/calckey/calckey", + " If you like Calckey, please consider starring or contributing to the repo. https://codeberg.org/calckey/calckey", ), ); diff --git a/packages/backend/src/models/entities/meta.ts b/packages/backend/src/models/entities/meta.ts index c22a2d9b9..26a7c9c19 100644 --- a/packages/backend/src/models/entities/meta.ts +++ b/packages/backend/src/models/entities/meta.ts @@ -394,14 +394,14 @@ export class Meta { @Column('varchar', { length: 512, - default: 'https://lavaforge.org/calckey/calckey', + default: 'https://codeberg.org/calckey/calckey', nullable: false, }) public repositoryUrl: string; @Column('varchar', { length: 512, - default: 'https://lavaforge.org/calckey/calckey/issues/new', + default: 'https://codeberg.org/calckey/calckey/issues/new', nullable: true, }) public feedbackUrl: string | null; diff --git a/packages/backend/src/server/api/endpoints/latest-version.ts b/packages/backend/src/server/api/endpoints/latest-version.ts index fc0ccbc96..72e84ae04 100644 --- a/packages/backend/src/server/api/endpoints/latest-version.ts +++ b/packages/backend/src/server/api/endpoints/latest-version.ts @@ -16,7 +16,7 @@ export const paramDef = { export default define(meta, paramDef, async () => { let tag_name; await fetch( - "https://lavaforge.org/api/v1/repos/calckey/calckey/releases?draft=false&pre-release=false&page=1&limit=1", + "https://codeberg.org/api/v1/repos/calckey/calckey/releases?draft=false&pre-release=false&page=1&limit=1", ) .then((response) => response.json()) .then((data) => { diff --git a/packages/backend/src/server/api/endpoints/meta.ts b/packages/backend/src/server/api/endpoints/meta.ts index bb3eb4d57..005d0800a 100644 --- a/packages/backend/src/server/api/endpoints/meta.ts +++ b/packages/backend/src/server/api/endpoints/meta.ts @@ -68,13 +68,13 @@ export const meta = { type: "string", optional: false, nullable: false, - default: "https://lavaforge.org/calckey/calckey", + default: "https://codeberg.org/calckey/calckey", }, feedbackUrl: { type: "string", optional: false, nullable: false, - default: "https://lavaforge.org/calckey/calckey/issues", + default: "https://codeberg.org/calckey/calckey/issues", }, defaultDarkTheme: { type: "string", diff --git a/packages/backend/src/server/api/endpoints/patrons.ts b/packages/backend/src/server/api/endpoints/patrons.ts index 99d698881..d6ac6c397 100644 --- a/packages/backend/src/server/api/endpoints/patrons.ts +++ b/packages/backend/src/server/api/endpoints/patrons.ts @@ -17,7 +17,7 @@ export const paramDef = { export default define(meta, paramDef, async () => { let patrons; await fetch( - "https://lavaforge.org/calckey/calckey/raw/branch/develop/patrons.json", + "https://codeberg.org/calckey/calckey/raw/branch/develop/patrons.json", ) .then((response) => response.json()) .then((data) => { diff --git a/packages/backend/src/server/api/endpoints/release.ts b/packages/backend/src/server/api/endpoints/release.ts index 6365274b6..e5ebbb79a 100644 --- a/packages/backend/src/server/api/endpoints/release.ts +++ b/packages/backend/src/server/api/endpoints/release.ts @@ -18,7 +18,7 @@ export default define(meta, paramDef, async () => { let release; await fetch( - "https://lavaforge.org/calckey/calckey/raw/branch/develop/release.json", + "https://codeberg.org/calckey/calckey/raw/branch/develop/release.json", ) .then((response) => response.json()) .then((data) => { diff --git a/packages/backend/src/server/api/openapi/gen-spec.ts b/packages/backend/src/server/api/openapi/gen-spec.ts index 9bd248abb..dfaacf9e5 100644 --- a/packages/backend/src/server/api/openapi/gen-spec.ts +++ b/packages/backend/src/server/api/openapi/gen-spec.ts @@ -15,7 +15,7 @@ export function genOpenapiSpec() { externalDocs: { description: "Repository", - url: "https://lavaforge.org/calckey/calckey", + url: "https://codeberg.org/calckey/calckey", }, servers: [ @@ -106,7 +106,7 @@ export function genOpenapiSpec() { description: desc, externalDocs: { description: "Source code", - url: `https://lavaforge.org/calckey/calckey/src/branch/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`, + url: `https://codeberg.org/calckey/calckey/src/branch/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`, }, tags: endpoint.meta.tags || undefined, security, diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index da26da641..b5841883b 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -16,7 +16,7 @@ doctype html Thank you for using Calckey! If you are reading this message... how about joining the development? - https://lavaforge.org/calckey/calckey + https://codeberg.org/calckey/calckey html diff --git a/packages/client/src/pages/about-calckey.vue b/packages/client/src/pages/about-calckey.vue index 53631ca1e..880af1f96 100644 --- a/packages/client/src/pages/about-calckey.vue +++ b/packages/client/src/pages/about-calckey.vue @@ -12,14 +12,14 @@
- {{ i18n.ts._aboutMisskey.about }}
{{ i18n.ts.learnMore }} + {{ i18n.ts._aboutMisskey.about }}
{{ i18n.ts.learnMore }}
I #Calckey
- + diff --git a/packages/client/src/pages/admin/index.vue b/packages/client/src/pages/admin/index.vue index d92025575..736b40b12 100644 --- a/packages/client/src/pages/admin/index.vue +++ b/packages/client/src/pages/admin/index.vue @@ -11,7 +11,7 @@ {{ i18n.ts.noMaintainerInformationWarning }} {{ i18n.ts.configure }} {{ i18n.ts.noBotProtectionWarning }} {{ i18n.ts.configure }} {{ i18n.ts.noEmailServerWarning }} {{ i18n.ts.configure }} - {{ i18n.ts.updateAvailable }} {{ i18n.ts.check }} + {{ i18n.ts.updateAvailable }} {{ i18n.ts.check }} diff --git a/packages/client/src/ui/visitor/a.vue b/packages/client/src/ui/visitor/a.vue index 978074ea2..1481b80a0 100644 --- a/packages/client/src/ui/visitor/a.vue +++ b/packages/client/src/ui/visitor/a.vue @@ -28,7 +28,7 @@
{{ host }} - Powered by Calckey + Powered by Calckey
diff --git a/packages/client/src/ui/visitor/b.vue b/packages/client/src/ui/visitor/b.vue index 68ef9b90e..03186981e 100644 --- a/packages/client/src/ui/visitor/b.vue +++ b/packages/client/src/ui/visitor/b.vue @@ -14,7 +14,7 @@
{{ host }} - Powered by Calckey + Powered by Calckey
diff --git a/packages/client/src/ui/visitor/kanban.vue b/packages/client/src/ui/visitor/kanban.vue index 7572aaf22..28b222697 100644 --- a/packages/client/src/ui/visitor/kanban.vue +++ b/packages/client/src/ui/visitor/kanban.vue @@ -28,7 +28,7 @@
{{ host }} - Powered by Calckey + Powered by Calckey