[feature] Move to code.superseriousbusiness.org

This commit is contained in:
Daenney 2025-04-26 15:34:10 +02:00 committed by tobi
commit 27edfccf7d
1188 changed files with 4969 additions and 4967 deletions

View file

@ -20,11 +20,11 @@ package cache
import (
"time"
"code.superseriousbusiness.org/gotosocial/internal/cache/headerfilter"
"code.superseriousbusiness.org/gotosocial/internal/config"
"code.superseriousbusiness.org/gotosocial/internal/gtserror"
"code.superseriousbusiness.org/gotosocial/internal/log"
"codeberg.org/gruf/go-cache/v3/ttl"
"github.com/superseriousbusiness/gotosocial/internal/cache/headerfilter"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/log"
)
type Caches struct {

View file

@ -20,11 +20,11 @@ package cache
import (
"sync/atomic"
"code.superseriousbusiness.org/gotosocial/internal/cache/domain"
"code.superseriousbusiness.org/gotosocial/internal/config"
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
"code.superseriousbusiness.org/gotosocial/internal/log"
"codeberg.org/gruf/go-structr"
"github.com/superseriousbusiness/gotosocial/internal/cache/domain"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/log"
)
type DBCaches struct {

View file

@ -21,7 +21,7 @@ import (
"errors"
"testing"
"github.com/superseriousbusiness/gotosocial/internal/cache/domain"
"code.superseriousbusiness.org/gotosocial/internal/cache/domain"
)
func TestCache(t *testing.T) {

View file

@ -22,8 +22,8 @@ import (
"net/http"
"sync/atomic"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/headerfilter"
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
"code.superseriousbusiness.org/gotosocial/internal/headerfilter"
)
// Cache provides a means of caching headerfilter.Filters in

View file

@ -18,8 +18,8 @@
package cache
import (
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/util"
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
"code.superseriousbusiness.org/gotosocial/internal/util"
)
// Below are cache invalidation hooks between other caches,

View file

@ -23,13 +23,13 @@ import (
"time"
"unsafe"
"code.superseriousbusiness.org/gotosocial/internal/ap"
"code.superseriousbusiness.org/gotosocial/internal/config"
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
"code.superseriousbusiness.org/gotosocial/internal/id"
"code.superseriousbusiness.org/gotosocial/internal/util"
"codeberg.org/gruf/go-cache/v3/simple"
"github.com/DmitriyVTitov/size"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/id"
"github.com/superseriousbusiness/gotosocial/internal/util"
)
const (

View file

@ -20,8 +20,8 @@ package cache
import (
"errors"
"code.superseriousbusiness.org/gotosocial/internal/db"
errorsv2 "codeberg.org/gruf/go-errors/v2"
"github.com/superseriousbusiness/gotosocial/internal/db"
)
// SentinelError is an error that can be returned and checked against to indicate a non-permanent

View file

@ -18,9 +18,9 @@
package cache
import (
"code.superseriousbusiness.org/gotosocial/internal/config"
"code.superseriousbusiness.org/gotosocial/internal/log"
"codeberg.org/gruf/go-structr"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/log"
)
type VisibilityCache struct {