adjust code to new repository

This commit is contained in:
T. R. Bernstein
2025-10-09 21:02:10 +02:00
committed by T. R. Bernstein
parent 0a74d2f25d
commit 4128071070
335 changed files with 814 additions and 808 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/golang-jwt/jwt/v5"
validation "github.com/pocketbase/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/core"
"github.com/tabshift-gh/pocketbase/core"
)
var privateKeyRegex = regexp.MustCompile(`(?m)-----BEGIN PRIVATE KEY----[\s\S]+-----END PRIVATE KEY-----`)
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"testing"
"github.com/golang-jwt/jwt/v5"
"github.com/pocketbase/pocketbase/forms"
"github.com/pocketbase/pocketbase/tests"
"github.com/tabshift-gh/pocketbase/forms"
"github.com/tabshift-gh/pocketbase/tests"
)
func TestAppleClientSecretCreateValidateAndSubmit(t *testing.T) {
+3 -3
View File
@@ -8,9 +8,9 @@ import (
"github.com/pocketbase/dbx"
validation "github.com/pocketbase/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/core/validators"
"github.com/pocketbase/pocketbase/tools/security"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/core/validators"
"github.com/tabshift-gh/pocketbase/tools/security"
"github.com/spf13/cast"
)
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"strings"
"testing"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/forms"
"github.com/pocketbase/pocketbase/tests"
"github.com/pocketbase/pocketbase/tools/filesystem"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/forms"
"github.com/tabshift-gh/pocketbase/tests"
"github.com/tabshift-gh/pocketbase/tools/filesystem"
)
func TestRecordUpsertLoad(t *testing.T) {
+3 -3
View File
@@ -5,9 +5,9 @@ import (
validation "github.com/pocketbase/ozzo-validation/v4"
"github.com/pocketbase/ozzo-validation/v4/is"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/mails"
"github.com/pocketbase/pocketbase/tools/types"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/mails"
"github.com/tabshift-gh/pocketbase/tools/types"
)
const (
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"testing"
validation "github.com/pocketbase/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/forms"
"github.com/pocketbase/pocketbase/tests"
"github.com/tabshift-gh/pocketbase/forms"
"github.com/tabshift-gh/pocketbase/tests"
)
func TestEmailSendValidateAndSubmit(t *testing.T) {
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"fmt"
validation "github.com/pocketbase/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/filesystem"
"github.com/pocketbase/pocketbase/tools/security"
"github.com/tabshift-gh/pocketbase/core"
"github.com/tabshift-gh/pocketbase/tools/filesystem"
"github.com/tabshift-gh/pocketbase/tools/security"
)
const (
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"testing"
validation "github.com/pocketbase/ozzo-validation/v4"
"github.com/pocketbase/pocketbase/forms"
"github.com/pocketbase/pocketbase/tests"
"github.com/tabshift-gh/pocketbase/forms"
"github.com/tabshift-gh/pocketbase/tests"
)
func TestS3FilesystemValidate(t *testing.T) {