From 93c3c153f0fb88930e37d1d829c1d26f0a4fb4e1 Mon Sep 17 00:00:00 2001 From: Daenney Date: Sun, 27 Apr 2025 13:36:27 +0200 Subject: [chore] Rewrite all remaining Github links --- internal/typeutils/astointernal_test.go | 2 +- internal/typeutils/internaltofrontend.go | 4 ++-- internal/typeutils/util_test.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/typeutils') diff --git a/internal/typeutils/astointernal_test.go b/internal/typeutils/astointernal_test.go index 80a91fac7..fb453c89e 100644 --- a/internal/typeutils/astointernal_test.go +++ b/internal/typeutils/astointernal_test.go @@ -570,7 +570,7 @@ func (suite *ASToInternalTestSuite) TestParseAnnounce() { func (suite *ASToInternalTestSuite) TestParseHonkAccount() { // Hopefully comprehensive checks for - // https://github.com/superseriousbusiness/gotosocial/issues/2527. + // https://codeberg.org/superseriousbusiness/gotosocial/issues/2527. const honk_user = `{ "@context": "https://www.w3.org/ns/activitystreams", diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go index ad6dcafea..659f47ab4 100644 --- a/internal/typeutils/internaltofrontend.go +++ b/internal/typeutils/internaltofrontend.go @@ -50,7 +50,7 @@ const ( instancePollsMinExpiration = 300 // seconds instancePollsMaxExpiration = 2629746 // seconds instanceAccountsMaxFeaturedTags = 10 - instanceAccountsMaxProfileFields = 6 // FIXME: https://github.com/superseriousbusiness/gotosocial/issues/1876 + instanceAccountsMaxProfileFields = 6 // FIXME: https://codeberg.org/superseriousbusiness/gotosocial/issues/1876 instanceSourceURL = "https://codeberg.org/superseriousbusiness/gotosocial" instanceMastodonVersion = "3.5.3" ) @@ -2155,7 +2155,7 @@ func (c *Converter) ConversationToAPIConversation( // If no other accounts are involved in this convo, // just include the requesting account and return. // - // See: https://github.com/superseriousbusiness/gotosocial/issues/3385#issuecomment-2394033477 + // See: https://codeberg.org/superseriousbusiness/gotosocial/issues/3385#issuecomment-2394033477 otherAcctsLen := len(conversation.OtherAccounts) if otherAcctsLen == 0 { apiAcct, err := c.AccountToAPIAccountPublic(ctx, requester) diff --git a/internal/typeutils/util_test.go b/internal/typeutils/util_test.go index f8f142f45..4f0e70db0 100644 --- a/internal/typeutils/util_test.go +++ b/internal/typeutils/util_test.go @@ -179,10 +179,10 @@ func TestFilterableText(t *testing.T) { }, { status: >smodel.Status{ - Content: `

@zlatko currently we used modernc/sqlite3 for our sqlite driver, but we've been experimenting with wasm sqlite, and will likely move to that permanently in future; in the meantime, both options are available (the latter with a build tag)

https://github.com/superseriousbusiness/gotosocial/pull/2863

`, + Content: `

@zlatko currently we used modernc/sqlite3 for our sqlite driver, but we've been experimenting with wasm sqlite, and will likely move to that permanently in future; in the meantime, both options are available (the latter with a build tag)

https://codeberg.org/superseriousbusiness/gotosocial/pulls/2863

`, }, expectedFields: []string{ - "@zlatko currently we used modernc/sqlite3 for our sqlite driver, but we've been experimenting with wasm sqlite, and will likely move to that permanently in future; in the meantime, both options are available (the latter with a build tag)\n\nhttps://github.com/superseriousbusiness/gotosocial/pull/2863 ", + "@zlatko currently we used modernc/sqlite3 for our sqlite driver, but we've been experimenting with wasm sqlite, and will likely move to that permanently in future; in the meantime, both options are available (the latter with a build tag)\n\nhttps://codeberg.org/superseriousbusiness/gotosocial/pulls/2863 ", }, }, { -- cgit v1.2.3