moving to codeberg

This commit is contained in:
2025-12-02 20:18:27 +01:00
parent a1b3fe6f25
commit a9b4f94986
36 changed files with 225 additions and 128 deletions

View File

@@ -22,8 +22,8 @@ import (
"errors"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/keyauth/v2"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
)
// these vars can be savely global, since they don't change ever

View File

@@ -20,8 +20,8 @@ import (
"fmt"
//"github.com/alecthomas/repr"
"encoding/json"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
bolt "go.etcd.io/bbolt"
"path/filepath"
"time"

View File

@@ -18,8 +18,8 @@ package api
import (
"fmt"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
//"github.com/alecthomas/repr"
bolt "go.etcd.io/bbolt"
"regexp"

View File

@@ -19,8 +19,8 @@ package api
import (
//"github.com/alecthomas/repr"
"github.com/maxatome/go-testdeep/td"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
"os"
"testing"
"time"

View File

@@ -20,8 +20,8 @@ import (
"archive/zip"
"errors"
"github.com/gofiber/fiber/v2"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
"io"
"mime/multipart"
"os"

View File

@@ -20,8 +20,8 @@ import (
//"github.com/alecthomas/repr"
"github.com/gofiber/fiber/v2"
"github.com/google/uuid"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
"bytes"
"html/template"

View File

@@ -18,7 +18,7 @@ package api
import (
"fmt"
"github.com/tlinden/ephemerup/cfg"
"codeberg.org/scip/ephemerup/cfg"
"net/smtp"
)

View File

@@ -26,8 +26,8 @@ import (
"github.com/gofiber/fiber/v2/middleware/requestid"
"github.com/gofiber/fiber/v2/middleware/session"
"github.com/gofiber/keyauth/v2"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
)
// sessions are context specific and can be global savely

View File

@@ -11,8 +11,8 @@ package api
import (
"github.com/gofiber/fiber/v2"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
)
func Status(c *fiber.Ctx, cfg *cfg.Config) error {

View File

@@ -20,8 +20,8 @@ import (
//"github.com/alecthomas/repr"
"github.com/gofiber/fiber/v2"
"github.com/google/uuid"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
"fmt"
"os"

View File

@@ -19,8 +19,8 @@ package api
import (
"fmt"
"github.com/gofiber/fiber/v2"
"github.com/tlinden/ephemerup/cfg"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/cfg"
"codeberg.org/scip/ephemerup/common"
"time"
)