diff options
| author | 2025-04-27 13:36:27 +0200 | |
|---|---|---|
| committer | 2025-04-27 13:40:22 +0200 | |
| commit | 93c3c153f0fb88930e37d1d829c1d26f0a4fb4e1 (patch) | |
| tree | 0e487b1f0d32ac0d45589198fb573b89e48afd8b /internal/typeutils | |
| parent | [chore] add woodpecker ci/cd pipelines (#4061) (diff) | |
| download | gotosocial-93c3c153f0fb88930e37d1d829c1d26f0a4fb4e1.tar.xz | |
[chore] Rewrite all remaining Github links
Diffstat (limited to 'internal/typeutils')
| -rw-r--r-- | internal/typeutils/astointernal_test.go | 2 | ||||
| -rw-r--r-- | internal/typeutils/internaltofrontend.go | 4 | ||||
| -rw-r--r-- | internal/typeutils/util_test.go | 4 |
3 files changed, 5 insertions, 5 deletions
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: `<p><span class="h-card"><a href="https://example.org/@zlatko" class="u-url mention" rel="nofollow noreferrer noopener" target="_blank">@<span>zlatko</span></a></span> 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)</p><p><a href="https://github.com/superseriousbusiness/gotosocial/pull/2863" rel="nofollow noreferrer noopener" target="_blank">https://github.com/superseriousbusiness/gotosocial/pull/2863</a></p>`, + Content: `<p><span class="h-card"><a href="https://example.org/@zlatko" class="u-url mention" rel="nofollow noreferrer noopener" target="_blank">@<span>zlatko</span></a></span> 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)</p><p><a href="https://codeberg.org/superseriousbusiness/gotosocial/pulls/2863" rel="nofollow noreferrer noopener" target="_blank">https://codeberg.org/superseriousbusiness/gotosocial/pulls/2863</a></p>`, }, expectedFields: []string{ - "@zlatko <https://example.org/@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 <https://github.com/superseriousbusiness/gotosocial/pull/2863>", + "@zlatko <https://example.org/@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 <https://codeberg.org/superseriousbusiness/gotosocial/pulls/2863>", }, }, { |
