From 7d00c4529ba1ce0717473176d4c2d39e9061a670 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 3 Mar 2024 10:45:49 +0000 Subject: [PATCH 01/16] fix repo + feedback URLs for Firefish / IceShrimp --- .../migration/1709462550083-MoreRepoUrl.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/backend/migration/1709462550083-MoreRepoUrl.js diff --git a/packages/backend/migration/1709462550083-MoreRepoUrl.js b/packages/backend/migration/1709462550083-MoreRepoUrl.js new file mode 100644 index 0000000000..90bab0e676 --- /dev/null +++ b/packages/backend/migration/1709462550083-MoreRepoUrl.js @@ -0,0 +1,16 @@ +/* + * SPDX-FileCopyrightText: dakkar and other Sharkey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ + +export class MoreRepoUrl1709462550083 { + name = 'MoreRepoUrl1709462550083' + + async up(queryRunner) { + await queryRunner.query(`UPDATE "meta" SET "repositoryUrl"=DEFAULT WHERE "repositoryUrl" IN ('https://git.joinfirefish.org/firefish/firefish','https://codeberg/firefish/firefish','https://codeberg.org/calckey/calckey','https://iceshrimp.dev/iceshrimp/iceshrimp')`); + await queryRunner.query(`UPDATE "meta" SET "feedbackUrl"=DEFAULT WHERE "feedbackUrl" IN ('https://git.joinfirefish.org/firefish/firefish/issues','https://codeberg/firefish/firefish/issues','https://codeberg.org/calckey/calckey/firefish/firefish/issues','https://iceshrimp.dev/iceshrimp/iceshrimp/issues/new','https://iceshrimp.dev/iceshrimp/iceshrimp/issues')`); + } + + async down(queryRunner) { + } +} From 03464cc3792aa570548c0634e16cabf1e232c995 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 3 Mar 2024 12:06:22 +0000 Subject: [PATCH 02/16] always align code to the left - fixes #436 "featured notes" on the welcome page's right-hand column are shown with the text right-aligned; code should not be affected by that. This makes sure it isn't --- packages/frontend/src/components/MkCode.core.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/frontend/src/components/MkCode.core.vue b/packages/frontend/src/components/MkCode.core.vue index f9aaf4eff3..f696ae2f1a 100644 --- a/packages/frontend/src/components/MkCode.core.vue +++ b/packages/frontend/src/components/MkCode.core.vue @@ -72,6 +72,10 @@ watch(() => props.lang, (to) => {