diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4958bd9f..082c61a8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,7 +13,7 @@ builds: main: ./examples/base binary: pocketbase ldflags: - - -s -w -X github.com/pocketbase/pocketbase.Version={{ .Version }} + - -s -w -X github.com/tabshift-gh/pocketbase.Version={{ .Version }} env: - CGO_ENABLED=0 goos: diff --git a/apis/api_error_aliases.go b/apis/api_error_aliases.go index 95b708b6..3a3b251e 100644 --- a/apis/api_error_aliases.go +++ b/apis/api_error_aliases.go @@ -1,6 +1,6 @@ package apis -import "github.com/pocketbase/pocketbase/tools/router" +import "github.com/tabshift-gh/pocketbase/tools/router" // ApiError aliases to minimize the breaking changes with earlier versions // and for consistency with the JSVM binds. diff --git a/apis/backup.go b/apis/backup.go index f1f2eb6e..81afdaac 100644 --- a/apis/backup.go +++ b/apis/backup.go @@ -6,10 +6,10 @@ import ( "path/filepath" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/routine" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/apis/backup_create.go b/apis/backup_create.go index d2ebe8dd..e41237a9 100644 --- a/apis/backup_create.go +++ b/apis/backup_create.go @@ -6,7 +6,7 @@ import ( "regexp" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func backupCreate(e *core.RequestEvent) error { diff --git a/apis/backup_test.go b/apis/backup_test.go index 0bc70985..e6c2dc8e 100644 --- a/apis/backup_test.go +++ b/apis/backup_test.go @@ -10,10 +10,10 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/filesystem/blob" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/blob" ) func TestBackupsList(t *testing.T) { diff --git a/apis/backup_upload.go b/apis/backup_upload.go index 81eaf051..a4ea1955 100644 --- a/apis/backup_upload.go +++ b/apis/backup_upload.go @@ -4,9 +4,9 @@ import ( "net/http" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/filesystem" ) func backupUpload(e *core.RequestEvent) error { diff --git a/apis/base.go b/apis/base.go index c57075d4..1ffb9640 100644 --- a/apis/base.go +++ b/apis/base.go @@ -8,8 +8,8 @@ import ( "path/filepath" "strings" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/router" ) // StaticWildcardParam is the name of Static handler wildcard parameter. diff --git a/apis/base_test.go b/apis/base_test.go index 19d96a51..d5b17485 100644 --- a/apis/base_test.go +++ b/apis/base_test.go @@ -8,10 +8,10 @@ import ( "path/filepath" "testing" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/router" ) func TestWrapStdHandler(t *testing.T) { diff --git a/apis/batch.go b/apis/batch.go index 3be1d1ce..5a200612 100644 --- a/apis/batch.go +++ b/apis/batch.go @@ -15,10 +15,10 @@ import ( "time" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/apis/batch_test.go b/apis/batch_test.go index 5ec6d44a..37c94b39 100644 --- a/apis/batch_test.go +++ b/apis/batch_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/router" ) func TestBatchRequest(t *testing.T) { diff --git a/apis/collection.go b/apis/collection.go index cfea38ff..3613bcd3 100644 --- a/apis/collection.go +++ b/apis/collection.go @@ -7,11 +7,11 @@ import ( "strings" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/security" ) // bindCollectionApi registers the collection api endpoints and the corresponding handlers. diff --git a/apis/collection_import.go b/apis/collection_import.go index 1a2f2ada..f87aadea 100644 --- a/apis/collection_import.go +++ b/apis/collection_import.go @@ -5,7 +5,7 @@ import ( "net/http" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func collectionsImport(e *core.RequestEvent) error { diff --git a/apis/collection_import_test.go b/apis/collection_import_test.go index aa0bf655..07e8ea51 100644 --- a/apis/collection_import_test.go +++ b/apis/collection_import_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestCollectionsImport(t *testing.T) { diff --git a/apis/collection_test.go b/apis/collection_test.go index 27051826..bdf057e3 100644 --- a/apis/collection_test.go +++ b/apis/collection_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/list" ) func TestCollectionsList(t *testing.T) { diff --git a/apis/cron.go b/apis/cron.go index 6195ed62..1574fe2b 100644 --- a/apis/cron.go +++ b/apis/cron.go @@ -5,10 +5,10 @@ import ( "slices" "strings" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/cron" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/cron" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/routine" ) // bindCronApi registers the crons api endpoint. diff --git a/apis/cron_test.go b/apis/cron_test.go index a72fb2f5..581561d2 100644 --- a/apis/cron_test.go +++ b/apis/cron_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" "github.com/spf13/cast" ) diff --git a/apis/file.go b/apis/file.go index f0d2390b..1dcb6518 100644 --- a/apis/file.go +++ b/apis/file.go @@ -10,10 +10,10 @@ import ( "runtime" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/router" "github.com/spf13/cast" "golang.org/x/sync/semaphore" "golang.org/x/sync/singleflight" diff --git a/apis/file_test.go b/apis/file_test.go index daee78f1..4995f541 100644 --- a/apis/file_test.go +++ b/apis/file_test.go @@ -10,10 +10,10 @@ import ( "sync" "testing" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestFileToken(t *testing.T) { diff --git a/apis/health.go b/apis/health.go index aa438070..6e35bc0d 100644 --- a/apis/health.go +++ b/apis/health.go @@ -4,8 +4,8 @@ import ( "net/http" "slices" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/router" ) // bindHealthApi registers the health api endpoint. diff --git a/apis/health_test.go b/apis/health_test.go index 4f45c472..40921040 100644 --- a/apis/health_test.go +++ b/apis/health_test.go @@ -4,7 +4,7 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tests" ) func TestHealthAPI(t *testing.T) { diff --git a/apis/installer.go b/apis/installer.go index 7085525f..2544abb8 100644 --- a/apis/installer.go +++ b/apis/installer.go @@ -10,9 +10,9 @@ import ( "github.com/fatih/color" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/osutils" - "github.com/pocketbase/pocketbase/ui" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/ui" ) // DefaultInstallerFunc is the default PocketBase installer function. @@ -21,7 +21,7 @@ import ( // token for the systemSuperuser) to the installer UI so that users can // create their own custom superuser record. // -// See https://github.com/pocketbase/pocketbase/discussions/5814. +// See https://github.com/tabshift-gh/pocketbase/discussions/5814. func DefaultInstallerFunc(app core.App, systemSuperuser *core.Record, baseURL string) error { if ui.DistDirFS == nil { color.Magenta("You can create your first superuser by running: %s superuser upsert EMAIL PASS", executablePath()) diff --git a/apis/logs.go b/apis/logs.go index 9f924921..1e6103d2 100644 --- a/apis/logs.go +++ b/apis/logs.go @@ -4,9 +4,9 @@ import ( "net/http" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/search" ) // bindLogsApi registers the request logs api endpoints. diff --git a/apis/logs_test.go b/apis/logs_test.go index ca3e33fb..110ffa9f 100644 --- a/apis/logs_test.go +++ b/apis/logs_test.go @@ -4,8 +4,8 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestLogsList(t *testing.T) { diff --git a/apis/middlewares.go b/apis/middlewares.go index dc1d44c3..726db795 100644 --- a/apis/middlewares.go +++ b/apis/middlewares.go @@ -11,11 +11,11 @@ import ( "strings" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/routine" "github.com/spf13/cast" ) diff --git a/apis/middlewares_body_limit.go b/apis/middlewares_body_limit.go index b02f0f65..12b483d8 100644 --- a/apis/middlewares_body_limit.go +++ b/apis/middlewares_body_limit.go @@ -4,9 +4,9 @@ import ( "io" "net/http" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/router" ) var ErrRequestEntityTooLarge = router.NewApiError(http.StatusRequestEntityTooLarge, "Request entity too large", nil) diff --git a/apis/middlewares_body_limit_test.go b/apis/middlewares_body_limit_test.go index 8e04e724..72ddd2c3 100644 --- a/apis/middlewares_body_limit_test.go +++ b/apis/middlewares_body_limit_test.go @@ -6,9 +6,9 @@ import ( "net/http/httptest" "testing" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestBodyLimitMiddleware(t *testing.T) { diff --git a/apis/middlewares_cors.go b/apis/middlewares_cors.go index 204586d0..16ae6297 100644 --- a/apis/middlewares_cors.go +++ b/apis/middlewares_cors.go @@ -19,8 +19,8 @@ import ( "strconv" "strings" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" ) const ( diff --git a/apis/middlewares_gzip.go b/apis/middlewares_gzip.go index 91faf1a6..bbdade75 100644 --- a/apis/middlewares_gzip.go +++ b/apis/middlewares_gzip.go @@ -17,9 +17,9 @@ import ( "strings" "sync" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/router" ) const ( diff --git a/apis/middlewares_rate_limit.go b/apis/middlewares_rate_limit.go index 809423eb..e483b261 100644 --- a/apis/middlewares_rate_limit.go +++ b/apis/middlewares_rate_limit.go @@ -5,9 +5,9 @@ import ( "sync" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/store" ) const ( diff --git a/apis/middlewares_rate_limit_test.go b/apis/middlewares_rate_limit_test.go index 307d8a9e..ab65059e 100644 --- a/apis/middlewares_rate_limit_test.go +++ b/apis/middlewares_rate_limit_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestDefaultRateLimitMiddleware(t *testing.T) { diff --git a/apis/middlewares_test.go b/apis/middlewares_test.go index 2a54afe8..ea334298 100644 --- a/apis/middlewares_test.go +++ b/apis/middlewares_test.go @@ -4,9 +4,9 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestPanicRecover(t *testing.T) { diff --git a/apis/realtime.go b/apis/realtime.go index 72b830bf..d8b4d109 100644 --- a/apis/realtime.go +++ b/apis/realtime.go @@ -12,13 +12,13 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/picker" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/routine" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/picker" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" "golang.org/x/sync/errgroup" ) @@ -57,7 +57,7 @@ func realtimeConnect(e *core.RequestEvent) error { e.Response.Header().Set("Content-Type", "text/event-stream") e.Response.Header().Set("Cache-Control", "no-store") - // https://github.com/pocketbase/pocketbase/discussions/480#discussioncomment-3657640 + // https://github.com/tabshift-gh/pocketbase/discussions/480#discussioncomment-3657640 // https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering e.Response.Header().Set("X-Accel-Buffering", "no") diff --git a/apis/realtime_test.go b/apis/realtime_test.go index 781ea18d..22494eac 100644 --- a/apis/realtime_test.go +++ b/apis/realtime_test.go @@ -13,11 +13,11 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/subscriptions" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRealtimeConnect(t *testing.T) { diff --git a/apis/record_auth.go b/apis/record_auth.go index fe960f77..9b94212d 100644 --- a/apis/record_auth.go +++ b/apis/record_auth.go @@ -1,8 +1,8 @@ package apis import ( - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/router" ) // bindRecordAuthApi registers the auth record api endpoints and diff --git a/apis/record_auth_email_change_confirm.go b/apis/record_auth_email_change_confirm.go index b1ef7bac..4745bf3d 100644 --- a/apis/record_auth_email_change_confirm.go +++ b/apis/record_auth_email_change_confirm.go @@ -4,8 +4,8 @@ import ( "net/http" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/security" ) func recordConfirmEmailChange(e *core.RequestEvent) error { diff --git a/apis/record_auth_email_change_confirm_test.go b/apis/record_auth_email_change_confirm_test.go index 2744dddf..e90af076 100644 --- a/apis/record_auth_email_change_confirm_test.go +++ b/apis/record_auth_email_change_confirm_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordConfirmEmailChange(t *testing.T) { diff --git a/apis/record_auth_email_change_request.go b/apis/record_auth_email_change_request.go index 079b0903..4970332e 100644 --- a/apis/record_auth_email_change_request.go +++ b/apis/record_auth_email_change_request.go @@ -5,8 +5,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/mails" ) func recordRequestEmailChange(e *core.RequestEvent) error { diff --git a/apis/record_auth_email_change_request_test.go b/apis/record_auth_email_change_request_test.go index ef39e0cd..cc8e5b01 100644 --- a/apis/record_auth_email_change_request_test.go +++ b/apis/record_auth_email_change_request_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordRequestEmailChange(t *testing.T) { diff --git a/apis/record_auth_impersonate.go b/apis/record_auth_impersonate.go index f0d51615..44238045 100644 --- a/apis/record_auth_impersonate.go +++ b/apis/record_auth_impersonate.go @@ -4,7 +4,7 @@ import ( "time" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) // note: for now allow superusers but it may change in the future to allow access diff --git a/apis/record_auth_impersonate_test.go b/apis/record_auth_impersonate_test.go index a5f2dc19..7655d52e 100644 --- a/apis/record_auth_impersonate_test.go +++ b/apis/record_auth_impersonate_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordAuthImpersonate(t *testing.T) { diff --git a/apis/record_auth_methods.go b/apis/record_auth_methods.go index 1cb59cfd..d2d0b05d 100644 --- a/apis/record_auth_methods.go +++ b/apis/record_auth_methods.go @@ -5,9 +5,9 @@ import ( "net/http" "slices" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/security" "golang.org/x/oauth2" ) diff --git a/apis/record_auth_methods_test.go b/apis/record_auth_methods_test.go index 0ea1bd67..9ddb05ba 100644 --- a/apis/record_auth_methods_test.go +++ b/apis/record_auth_methods_test.go @@ -4,8 +4,8 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordAuthMethodsList(t *testing.T) { diff --git a/apis/record_auth_otp_request.go b/apis/record_auth_otp_request.go index 6cc5ff74..293939d5 100644 --- a/apis/record_auth_otp_request.go +++ b/apis/record_auth_otp_request.go @@ -8,10 +8,10 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/mails" - "github.com/pocketbase/pocketbase/tools/routine" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/tools/security" ) func recordRequestOTP(e *core.RequestEvent) error { diff --git a/apis/record_auth_otp_request_test.go b/apis/record_auth_otp_request_test.go index 5a262d72..438bb223 100644 --- a/apis/record_auth_otp_request_test.go +++ b/apis/record_auth_otp_request_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRecordRequestOTP(t *testing.T) { diff --git a/apis/record_auth_password_reset_confirm.go b/apis/record_auth_password_reset_confirm.go index 2d3e4706..16da1571 100644 --- a/apis/record_auth_password_reset_confirm.go +++ b/apis/record_auth_password_reset_confirm.go @@ -4,9 +4,9 @@ import ( "net/http" validation "github.com/go-ozzo/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" ) diff --git a/apis/record_auth_password_reset_confirm_test.go b/apis/record_auth_password_reset_confirm_test.go index 8b87e6d9..14a19228 100644 --- a/apis/record_auth_password_reset_confirm_test.go +++ b/apis/record_auth_password_reset_confirm_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordConfirmPasswordReset(t *testing.T) { diff --git a/apis/record_auth_password_reset_request.go b/apis/record_auth_password_reset_request.go index 16d7b843..648c7eb5 100644 --- a/apis/record_auth_password_reset_request.go +++ b/apis/record_auth_password_reset_request.go @@ -8,9 +8,9 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/mails" - "github.com/pocketbase/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/tools/routine" ) func recordRequestPasswordReset(e *core.RequestEvent) error { diff --git a/apis/record_auth_password_reset_request_test.go b/apis/record_auth_password_reset_request_test.go index 0b4a3485..be442d42 100644 --- a/apis/record_auth_password_reset_request_test.go +++ b/apis/record_auth_password_reset_request_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordRequestPasswordReset(t *testing.T) { diff --git a/apis/record_auth_refresh.go b/apis/record_auth_refresh.go index 8d42962f..b00c550a 100644 --- a/apis/record_auth_refresh.go +++ b/apis/record_auth_refresh.go @@ -1,8 +1,8 @@ package apis import ( - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) diff --git a/apis/record_auth_refresh_test.go b/apis/record_auth_refresh_test.go index ffca2efd..b3229011 100644 --- a/apis/record_auth_refresh_test.go +++ b/apis/record_auth_refresh_test.go @@ -4,8 +4,8 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordAuthRefresh(t *testing.T) { diff --git a/apis/record_auth_verification_confirm.go b/apis/record_auth_verification_confirm.go index dcf86fb2..a2d4c019 100644 --- a/apis/record_auth_verification_confirm.go +++ b/apis/record_auth_verification_confirm.go @@ -4,8 +4,8 @@ import ( "net/http" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) diff --git a/apis/record_auth_verification_confirm_test.go b/apis/record_auth_verification_confirm_test.go index d291b056..5fdf6eca 100644 --- a/apis/record_auth_verification_confirm_test.go +++ b/apis/record_auth_verification_confirm_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordConfirmVerification(t *testing.T) { diff --git a/apis/record_auth_verification_request.go b/apis/record_auth_verification_request.go index dbabe2df..5d4b57e8 100644 --- a/apis/record_auth_verification_request.go +++ b/apis/record_auth_verification_request.go @@ -8,9 +8,9 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/mails" - "github.com/pocketbase/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/tools/routine" ) func recordRequestVerification(e *core.RequestEvent) error { diff --git a/apis/record_auth_verification_request_test.go b/apis/record_auth_verification_request_test.go index edbc7ca7..6e9eee9a 100644 --- a/apis/record_auth_verification_request_test.go +++ b/apis/record_auth_verification_request_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordRequestVerification(t *testing.T) { diff --git a/apis/record_auth_with_oauth2.go b/apis/record_auth_with_oauth2.go index 9611ad79..44dfd456 100644 --- a/apis/record_auth_with_oauth2.go +++ b/apis/record_auth_with_oauth2.go @@ -19,11 +19,11 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/inflector" "golang.org/x/oauth2" ) diff --git a/apis/record_auth_with_oauth2_redirect.go b/apis/record_auth_with_oauth2_redirect.go index c2c73c7d..f0a28d99 100644 --- a/apis/record_auth_with_oauth2_redirect.go +++ b/apis/record_auth_with_oauth2_redirect.go @@ -7,9 +7,9 @@ import ( "strings" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/subscriptions" - "github.com/pocketbase/pocketbase/ui" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/ui" ) const ( @@ -56,7 +56,7 @@ func oauth2SubscriptionRedirect(e *core.RequestEvent) error { defer client.Unsubscribe(oauth2SubscriptionTopic) // temporary store the Apple user's name so that it can be later retrieved with the authWithOAuth2 call - // (see https://github.com/pocketbase/pocketbase/issues/7090) + // (see https://github.com/tabshift-gh/pocketbase/issues/7090) if data.AppleUser != "" && data.Error == "" && data.Code != "" { nameErr := parseAndStoreAppleRedirectName( e.App, diff --git a/apis/record_auth_with_oauth2_redirect_test.go b/apis/record_auth_with_oauth2_redirect_test.go index fbf7ac32..1e02fa2c 100644 --- a/apis/record_auth_with_oauth2_redirect_test.go +++ b/apis/record_auth_with_oauth2_redirect_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" ) func TestRecordAuthWithOAuth2Redirect(t *testing.T) { diff --git a/apis/record_auth_with_oauth2_test.go b/apis/record_auth_with_oauth2_test.go index 72357cf1..f34c183e 100644 --- a/apis/record_auth_with_oauth2_test.go +++ b/apis/record_auth_with_oauth2_test.go @@ -11,10 +11,10 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/dbutils" "golang.org/x/oauth2" ) diff --git a/apis/record_auth_with_otp.go b/apis/record_auth_with_otp.go index 92e5bdce..ad57b0f3 100644 --- a/apis/record_auth_with_otp.go +++ b/apis/record_auth_with_otp.go @@ -5,7 +5,7 @@ import ( "fmt" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func recordAuthWithOTP(e *core.RequestEvent) error { diff --git a/apis/record_auth_with_otp_test.go b/apis/record_auth_with_otp_test.go index a0d950be..2cf05974 100644 --- a/apis/record_auth_with_otp_test.go +++ b/apis/record_auth_with_otp_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRecordAuthWithOTP(t *testing.T) { diff --git a/apis/record_auth_with_password.go b/apis/record_auth_with_password.go index 2bd847bb..a5837480 100644 --- a/apis/record_auth_with_password.go +++ b/apis/record_auth_with_password.go @@ -9,9 +9,9 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/list" ) func recordAuthWithPassword(e *core.RequestEvent) error { diff --git a/apis/record_auth_with_password_test.go b/apis/record_auth_with_password_test.go index 37f7ce62..a8792e66 100644 --- a/apis/record_auth_with_password_test.go +++ b/apis/record_auth_with_password_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/dbutils" ) func TestRecordAuthWithPassword(t *testing.T) { diff --git a/apis/record_crud.go b/apis/record_crud.go index 3a35e93a..a7006895 100644 --- a/apis/record_crud.go +++ b/apis/record_crud.go @@ -10,14 +10,14 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/forms" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/forms" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/security" ) // bindRecordCrudApi registers the record crud api endpoints and diff --git a/apis/record_crud_auth_origin_test.go b/apis/record_crud_auth_origin_test.go index 98db76c1..0a768f13 100644 --- a/apis/record_crud_auth_origin_test.go +++ b/apis/record_crud_auth_origin_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordCrudAuthOriginList(t *testing.T) { diff --git a/apis/record_crud_external_auth_test.go b/apis/record_crud_external_auth_test.go index c4d1c485..f494e1d0 100644 --- a/apis/record_crud_external_auth_test.go +++ b/apis/record_crud_external_auth_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordCrudExternalAuthList(t *testing.T) { diff --git a/apis/record_crud_mfa_test.go b/apis/record_crud_mfa_test.go index f82c446f..e48b7538 100644 --- a/apis/record_crud_mfa_test.go +++ b/apis/record_crud_mfa_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordCrudMFAList(t *testing.T) { diff --git a/apis/record_crud_otp_test.go b/apis/record_crud_otp_test.go index d7c44b82..7dd7b75c 100644 --- a/apis/record_crud_otp_test.go +++ b/apis/record_crud_otp_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordCrudOTPList(t *testing.T) { diff --git a/apis/record_crud_superuser_test.go b/apis/record_crud_superuser_test.go index 6c2ad58f..e307a681 100644 --- a/apis/record_crud_superuser_test.go +++ b/apis/record_crud_superuser_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordCrudSuperuserList(t *testing.T) { diff --git a/apis/record_crud_test.go b/apis/record_crud_test.go index c9110214..53ffe2ed 100644 --- a/apis/record_crud_test.go +++ b/apis/record_crud_test.go @@ -11,11 +11,11 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRecordCrudList(t *testing.T) { diff --git a/apis/record_helpers.go b/apis/record_helpers.go index 71095f97..28060c5b 100644 --- a/apis/record_helpers.go +++ b/apis/record_helpers.go @@ -9,13 +9,13 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/mails" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/routine" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" ) const ( diff --git a/apis/record_helpers_test.go b/apis/record_helpers_test.go index d0458d3f..1e3f408e 100644 --- a/apis/record_helpers_test.go +++ b/apis/record_helpers_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestEnrichRecords(t *testing.T) { diff --git a/apis/serve.go b/apis/serve.go index 193d103c..fd75536a 100644 --- a/apis/serve.go +++ b/apis/serve.go @@ -13,11 +13,11 @@ import ( "time" "github.com/fatih/color" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/routine" - "github.com/pocketbase/pocketbase/ui" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/ui" "golang.org/x/crypto/acme" "golang.org/x/crypto/acme/autocert" ) diff --git a/apis/settings.go b/apis/settings.go index c0522d0b..c49b65b2 100644 --- a/apis/settings.go +++ b/apis/settings.go @@ -4,9 +4,9 @@ import ( "net/http" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/forms" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/forms" + "github.com/tabshift-gh/pocketbase/tools/router" ) // bindSettingsApi registers the settings api endpoints. diff --git a/apis/settings_test.go b/apis/settings_test.go index 87d3e116..04872ed5 100644 --- a/apis/settings_test.go +++ b/apis/settings_test.go @@ -11,8 +11,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestSettingsList(t *testing.T) { diff --git a/cmd/serve.go b/cmd/serve.go index fbd7a475..450f3950 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -4,8 +4,8 @@ import ( "errors" "net/http" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" "github.com/spf13/cobra" ) diff --git a/cmd/superuser.go b/cmd/superuser.go index 523fa532..3cb227ed 100644 --- a/cmd/superuser.go +++ b/cmd/superuser.go @@ -6,8 +6,8 @@ import ( "github.com/fatih/color" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cobra" ) diff --git a/cmd/superuser_test.go b/cmd/superuser_test.go index dd3681d7..cc8b84c0 100644 --- a/cmd/superuser_test.go +++ b/cmd/superuser_test.go @@ -3,9 +3,9 @@ package cmd_test import ( "testing" - "github.com/pocketbase/pocketbase/cmd" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/cmd" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestSuperuserUpsertCommand(t *testing.T) { diff --git a/core/app.go b/core/app.go index 089c4e07..ee980c15 100644 --- a/core/app.go +++ b/core/app.go @@ -9,12 +9,12 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/cron" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/store" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/cron" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" ) // App defines the main PocketBase app interface. diff --git a/core/auth_origin_model.go b/core/auth_origin_model.go index 103ae936..56704935 100644 --- a/core/auth_origin_model.go +++ b/core/auth_origin_model.go @@ -7,8 +7,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" ) const CollectionNameAuthOrigins = "_authOrigins" diff --git a/core/auth_origin_model_test.go b/core/auth_origin_model_test.go index 2d06a2d3..7fd9819e 100644 --- a/core/auth_origin_model_test.go +++ b/core/auth_origin_model_test.go @@ -5,9 +5,9 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNewAuthOrigin(t *testing.T) { diff --git a/core/auth_origin_query_test.go b/core/auth_origin_query_test.go index eec036ae..18928362 100644 --- a/core/auth_origin_query_test.go +++ b/core/auth_origin_query_test.go @@ -5,8 +5,8 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestFindAllAuthOriginsByRecord(t *testing.T) { diff --git a/core/base.go b/core/base.go index e932eb1b..768701dc 100644 --- a/core/base.go +++ b/core/base.go @@ -16,15 +16,15 @@ import ( "github.com/fatih/color" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/cron" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/logger" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/routine" - "github.com/pocketbase/pocketbase/tools/store" - "github.com/pocketbase/pocketbase/tools/subscriptions" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/cron" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/logger" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" "golang.org/x/sync/semaphore" ) @@ -1233,7 +1233,7 @@ func normalizeSQLLog(sql string) string { func (app *BaseApp) initAuxDB() error { // note: renamed to "auxiliary" because "aux" is a reserved Windows filename - // (see https://github.com/pocketbase/pocketbase/issues/5607) + // (see https://github.com/tabshift-gh/pocketbase/issues/5607) dbPath := filepath.Join(app.DataDir(), "auxiliary.db") concurrentDB, err := app.config.DBConnect(dbPath) @@ -1314,7 +1314,7 @@ func (app *BaseApp) registerBaseHooks() { Func: func(e *ModelEvent) error { if m, ok := e.Model.(FilesManager); ok && m.BaseFilesPath() != "" && supportFiles(e.Model) { // ensure that there is a trailing slash so that the list iterator could start walking from the prefix dir - // (https://github.com/pocketbase/pocketbase/discussions/5246#discussioncomment-10128955) + // (https://github.com/tabshift-gh/pocketbase/discussions/5246#discussioncomment-10128955) prefix := strings.TrimRight(m.BaseFilesPath(), "/") + "/" // note: for now assume no context cancellation diff --git a/core/base_backup.go b/core/base_backup.go index 757360fb..40edffb9 100644 --- a/core/base_backup.go +++ b/core/base_backup.go @@ -12,11 +12,11 @@ import ( "sort" "time" - "github.com/pocketbase/pocketbase/tools/archive" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/osutils" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/archive" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/tools/security" ) const ( @@ -145,7 +145,7 @@ func (app *BaseApp) CreateBackup(ctx context.Context, name string) error { // // Note that if your pb_data has custom network mounts as subdirectories, then // it is possible the restore to fail during the `os.Rename` operations -// (see https://github.com/pocketbase/pocketbase/issues/4647). +// (see https://github.com/tabshift-gh/pocketbase/issues/4647). func (app *BaseApp) RestoreBackup(ctx context.Context, name string) error { if app.Store().Has(StoreKeyActiveBackup) { return errors.New("try again later - another backup/restore operation has already been started") diff --git a/core/base_backup_test.go b/core/base_backup_test.go index 47d00e33..9bcb2b7d 100644 --- a/core/base_backup_test.go +++ b/core/base_backup_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/archive" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/archive" + "github.com/tabshift-gh/pocketbase/tools/list" ) func TestCreateBackup(t *testing.T) { diff --git a/core/base_test.go b/core/base_test.go index 5555e020..b9b66292 100644 --- a/core/base_test.go +++ b/core/base_test.go @@ -12,10 +12,10 @@ import ( _ "unsafe" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/logger" - "github.com/pocketbase/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/logger" + "github.com/tabshift-gh/pocketbase/tools/mailer" ) func TestNewBaseApp(t *testing.T) { diff --git a/core/collection_import_test.go b/core/collection_import_test.go index 74df2f6e..eb883311 100644 --- a/core/collection_import_test.go +++ b/core/collection_import_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestImportCollections(t *testing.T) { diff --git a/core/collection_model.go b/core/collection_model.go index aeb0551e..6b5d1ea0 100644 --- a/core/collection_model.go +++ b/core/collection_model.go @@ -7,10 +7,10 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/core/collection_model_auth_options.go b/core/collection_model_auth_options.go index 231ab4cc..1e60d4b3 100644 --- a/core/collection_model_auth_options.go +++ b/core/collection_model_auth_options.go @@ -7,10 +7,10 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) @@ -461,7 +461,7 @@ type OAuth2ProviderConfig struct { // // This usually shouldn't be needed but some OAuth2 vendors, like the LinkedIn OIDC, // may require manual adjustment due to returning error if extra parameters are added to the request - // (https://github.com/pocketbase/pocketbase/discussions/3799#discussioncomment-7640312) + // (https://github.com/tabshift-gh/pocketbase/discussions/3799#discussioncomment-7640312) PKCE *bool `form:"pkce" json:"pkce"` Name string `form:"name" json:"name"` diff --git a/core/collection_model_auth_options_test.go b/core/collection_model_auth_options_test.go index a0aaa3bc..47e1fde0 100644 --- a/core/collection_model_auth_options_test.go +++ b/core/collection_model_auth_options_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestCollectionAuthOptionsValidate(t *testing.T) { diff --git a/core/collection_model_test.go b/core/collection_model_test.go index c328118e..3e6f8b78 100644 --- a/core/collection_model_test.go +++ b/core/collection_model_test.go @@ -11,11 +11,11 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNewCollection(t *testing.T) { diff --git a/core/collection_model_view_options_test.go b/core/collection_model_view_options_test.go index cb50bbb5..2fad5285 100644 --- a/core/collection_model_view_options_test.go +++ b/core/collection_model_view_options_test.go @@ -3,8 +3,8 @@ package core_test import ( "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestCollectionViewOptionsValidate(t *testing.T) { diff --git a/core/collection_query.go b/core/collection_query.go index b19bb554..e642058d 100644 --- a/core/collection_query.go +++ b/core/collection_query.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/list" ) const StoreKeyCachedCollections = "pbAppCachedCollections" @@ -299,7 +299,7 @@ func saveViewCollection(app App, newCollection, oldCollection *Collection) error // normalizeViewQueryId wraps (if necessary) the provided view query // with a subselect to ensure that the id column is a text since // currently we don't support non-string model ids -// (see https://github.com/pocketbase/pocketbase/issues/3110). +// (see https://github.com/tabshift-gh/pocketbase/issues/3110). func normalizeViewQueryId(app App, query string) (string, error) { query = strings.Trim(strings.TrimSpace(query), ";") diff --git a/core/collection_query_test.go b/core/collection_query_test.go index 2bef7cfe..3b0ee786 100644 --- a/core/collection_query_test.go +++ b/core/collection_query_test.go @@ -12,9 +12,9 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/list" ) func TestCollectionQuery(t *testing.T) { diff --git a/core/collection_record_table_sync.go b/core/collection_record_table_sync.go index 35eda70f..f9db22fe 100644 --- a/core/collection_record_table_sync.go +++ b/core/collection_record_table_sync.go @@ -8,8 +8,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/security" ) // SyncRecordTableSchema compares the two provided collections diff --git a/core/collection_record_table_sync_test.go b/core/collection_record_table_sync_test.go index 38beeb6f..d487fe0c 100644 --- a/core/collection_record_table_sync_test.go +++ b/core/collection_record_table_sync_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestSyncRecordTableSchema(t *testing.T) { diff --git a/core/collection_validate.go b/core/collection_validate.go index 5b83bb8d..68e3a749 100644 --- a/core/collection_validate.go +++ b/core/collection_validate.go @@ -9,11 +9,11 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/types" ) var collectionNameRegex = regexp.MustCompile(`^\w+$`) diff --git a/core/collection_validate_test.go b/core/collection_validate_test.go index 9f0ef342..d14523bf 100644 --- a/core/collection_validate_test.go +++ b/core/collection_validate_test.go @@ -3,9 +3,9 @@ package core_test import ( "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestCollectionValidate(t *testing.T) { diff --git a/core/db.go b/core/db.go index 71fa8294..ad8defab 100644 --- a/core/db.go +++ b/core/db.go @@ -12,7 +12,7 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) diff --git a/core/db_model_test.go b/core/db_model_test.go index 1771a778..84cf2ccd 100644 --- a/core/db_model_test.go +++ b/core/db_model_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func TestBaseModel(t *testing.T) { diff --git a/core/db_table_test.go b/core/db_table_test.go index 2dede6be..74461264 100644 --- a/core/db_table_test.go +++ b/core/db_table_test.go @@ -10,8 +10,8 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestHasTable(t *testing.T) { diff --git a/core/db_test.go b/core/db_test.go index d274b7ef..8ed1a3a0 100644 --- a/core/db_test.go +++ b/core/db_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestGenerateDefaultRandomId(t *testing.T) { diff --git a/core/db_tx_test.go b/core/db_tx_test.go index d83f1268..f716944a 100644 --- a/core/db_tx_test.go +++ b/core/db_tx_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRunInTransaction(t *testing.T) { diff --git a/core/event_request.go b/core/event_request.go index 11a80f7b..cc01c9a4 100644 --- a/core/event_request.go +++ b/core/event_request.go @@ -6,8 +6,8 @@ import ( "strings" "sync" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/router" ) // Common request store keys used by the middlewares and api handlers. diff --git a/core/event_request_batch.go b/core/event_request_batch.go index 240c880f..d99c4623 100644 --- a/core/event_request_batch.go +++ b/core/event_request_batch.go @@ -4,7 +4,7 @@ import ( "net/http" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) type BatchRequestEvent struct { diff --git a/core/event_request_batch_test.go b/core/event_request_batch_test.go index 6feaf40d..5e0e48a6 100644 --- a/core/event_request_batch_test.go +++ b/core/event_request_batch_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestInternalRequestValidate(t *testing.T) { diff --git a/core/event_request_test.go b/core/event_request_test.go index 6cfc3dc0..82c3fdde 100644 --- a/core/event_request_test.go +++ b/core/event_request_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestEventRequestRealIP(t *testing.T) { diff --git a/core/events.go b/core/events.go index f0da6ea2..e99475a3 100644 --- a/core/events.go +++ b/core/events.go @@ -7,12 +7,12 @@ import ( "net/http" "time" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" "golang.org/x/crypto/acme/autocert" ) diff --git a/core/external_auth_model.go b/core/external_auth_model.go index 401cff53..5a9911fd 100644 --- a/core/external_auth_model.go +++ b/core/external_auth_model.go @@ -5,9 +5,9 @@ import ( "errors" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/auth" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" ) var ( diff --git a/core/external_auth_model_test.go b/core/external_auth_model_test.go index 46f7be7b..176dcfa9 100644 --- a/core/external_auth_model_test.go +++ b/core/external_auth_model_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNewExternalAuth(t *testing.T) { diff --git a/core/external_auth_query_test.go b/core/external_auth_query_test.go index ccc97cb4..7568c5fc 100644 --- a/core/external_auth_query_test.go +++ b/core/external_auth_query_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestFindAllExternalAuthsByRecord(t *testing.T) { diff --git a/core/field.go b/core/field.go index 0ccf78ba..d655067b 100644 --- a/core/field.go +++ b/core/field.go @@ -7,8 +7,8 @@ import ( "strings" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/list" ) var fieldNameRegex = regexp.MustCompile(`^\w+$`) diff --git a/core/field_autodate.go b/core/field_autodate.go index 8239d090..292b1e1f 100644 --- a/core/field_autodate.go +++ b/core/field_autodate.go @@ -4,8 +4,8 @@ import ( "context" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/types" ) func init() { diff --git a/core/field_autodate_test.go b/core/field_autodate_test.go index 8861ae6e..0107a17a 100644 --- a/core/field_autodate_test.go +++ b/core/field_autodate_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestAutodateFieldBaseMethods(t *testing.T) { diff --git a/core/field_bool.go b/core/field_bool.go index f737c834..891417e7 100644 --- a/core/field_bool.go +++ b/core/field_bool.go @@ -4,7 +4,7 @@ import ( "context" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" "github.com/spf13/cast" ) diff --git a/core/field_bool_test.go b/core/field_bool_test.go index 1c45428f..e6d12b45 100644 --- a/core/field_bool_test.go +++ b/core/field_bool_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestBoolFieldBaseMethods(t *testing.T) { diff --git a/core/field_date.go b/core/field_date.go index 81f2e9d8..161e96fb 100644 --- a/core/field_date.go +++ b/core/field_date.go @@ -4,8 +4,8 @@ import ( "context" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/types" ) func init() { diff --git a/core/field_date_test.go b/core/field_date_test.go index 27cacf4d..031bb756 100644 --- a/core/field_date_test.go +++ b/core/field_date_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestDateFieldBaseMethods(t *testing.T) { diff --git a/core/field_editor.go b/core/field_editor.go index 629d6be8..0d3ed4a0 100644 --- a/core/field_editor.go +++ b/core/field_editor.go @@ -4,7 +4,7 @@ import ( "context" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" "github.com/spf13/cast" ) diff --git a/core/field_editor_test.go b/core/field_editor_test.go index 2b29ffd5..68a80c33 100644 --- a/core/field_editor_test.go +++ b/core/field_editor_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestEditorFieldBaseMethods(t *testing.T) { diff --git a/core/field_email.go b/core/field_email.go index a68b0298..a576ffd3 100644 --- a/core/field_email.go +++ b/core/field_email.go @@ -7,7 +7,7 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" "github.com/spf13/cast" ) diff --git a/core/field_email_test.go b/core/field_email_test.go index 0cff54dd..22022902 100644 --- a/core/field_email_test.go +++ b/core/field_email_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestEmailFieldBaseMethods(t *testing.T) { diff --git a/core/field_file.go b/core/field_file.go index 0e773277..6e4e96e4 100644 --- a/core/field_file.go +++ b/core/field_file.go @@ -10,10 +10,10 @@ import ( "strings" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/core/field_file_test.go b/core/field_file_test.go index 0e210050..f6c198dd 100644 --- a/core/field_file_test.go +++ b/core/field_file_test.go @@ -10,11 +10,11 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestFileFieldBaseMethods(t *testing.T) { diff --git a/core/field_geo_point.go b/core/field_geo_point.go index 542abe85..8d247534 100644 --- a/core/field_geo_point.go +++ b/core/field_geo_point.go @@ -4,8 +4,8 @@ import ( "context" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/types" ) func init() { diff --git a/core/field_geo_point_test.go b/core/field_geo_point_test.go index 2800a4f2..c2c43350 100644 --- a/core/field_geo_point_test.go +++ b/core/field_geo_point_test.go @@ -6,9 +6,9 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestGeoPointFieldBaseMethods(t *testing.T) { diff --git a/core/field_json.go b/core/field_json.go index aa4954d7..ad26a88f 100644 --- a/core/field_json.go +++ b/core/field_json.go @@ -8,8 +8,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/types" ) func init() { diff --git a/core/field_json_test.go b/core/field_json_test.go index 13eb1f21..0717273c 100644 --- a/core/field_json_test.go +++ b/core/field_json_test.go @@ -6,9 +6,9 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestJSONFieldBaseMethods(t *testing.T) { diff --git a/core/field_number.go b/core/field_number.go index 7f4855cb..f8386402 100644 --- a/core/field_number.go +++ b/core/field_number.go @@ -6,7 +6,7 @@ import ( "math" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" "github.com/spf13/cast" ) diff --git a/core/field_number_test.go b/core/field_number_test.go index eae6fb4d..999c74bf 100644 --- a/core/field_number_test.go +++ b/core/field_number_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNumberFieldBaseMethods(t *testing.T) { diff --git a/core/field_password.go b/core/field_password.go index ed1b1d5d..f2bf56f5 100644 --- a/core/field_password.go +++ b/core/field_password.go @@ -8,7 +8,7 @@ import ( "strings" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" "github.com/spf13/cast" "golang.org/x/crypto/bcrypt" ) diff --git a/core/field_password_test.go b/core/field_password_test.go index 39733e62..5939bae1 100644 --- a/core/field_password_test.go +++ b/core/field_password_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" "golang.org/x/crypto/bcrypt" ) diff --git a/core/field_relation.go b/core/field_relation.go index bf75674a..33c827a2 100644 --- a/core/field_relation.go +++ b/core/field_relation.go @@ -6,8 +6,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" ) func init() { @@ -287,7 +287,7 @@ func (f *RelationField) checkCollectionId(app App, collection *Collection) valid } // allow only views to have relations to other views - // (see https://github.com/pocketbase/pocketbase/issues/3000) + // (see https://github.com/tabshift-gh/pocketbase/issues/3000) if !collection.IsView() && relCollection.IsView() { return validation.NewError( "validation_relation_field_non_view_base_collection", diff --git a/core/field_relation_test.go b/core/field_relation_test.go index 501530fe..16eaf206 100644 --- a/core/field_relation_test.go +++ b/core/field_relation_test.go @@ -6,9 +6,9 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRelationFieldBaseMethods(t *testing.T) { diff --git a/core/field_select.go b/core/field_select.go index 8b1c5c9d..d87fc612 100644 --- a/core/field_select.go +++ b/core/field_select.go @@ -6,8 +6,8 @@ import ( "slices" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" ) func init() { diff --git a/core/field_select_test.go b/core/field_select_test.go index 093c7011..2b271ce7 100644 --- a/core/field_select_test.go +++ b/core/field_select_test.go @@ -6,9 +6,9 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestSelectFieldBaseMethods(t *testing.T) { diff --git a/core/field_test.go b/core/field_test.go index 158dde2e..61af12ec 100644 --- a/core/field_test.go +++ b/core/field_test.go @@ -8,8 +8,8 @@ import ( "testing" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func testFieldBaseMethods(t *testing.T, fieldType string) { diff --git a/core/field_text.go b/core/field_text.go index 2a2af532..16f931c5 100644 --- a/core/field_text.go +++ b/core/field_text.go @@ -10,8 +10,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) diff --git a/core/field_text_test.go b/core/field_text_test.go index 671a6575..f361d04f 100644 --- a/core/field_text_test.go +++ b/core/field_text_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestTextFieldBaseMethods(t *testing.T) { diff --git a/core/field_url.go b/core/field_url.go index 06d6d856..5232d248 100644 --- a/core/field_url.go +++ b/core/field_url.go @@ -7,7 +7,7 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" "github.com/spf13/cast" ) diff --git a/core/field_url_test.go b/core/field_url_test.go index 7f59e069..1a50a303 100644 --- a/core/field_url_test.go +++ b/core/field_url_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestURLFieldBaseMethods(t *testing.T) { diff --git a/core/fields_list_test.go b/core/fields_list_test.go index 13457e39..30377df8 100644 --- a/core/fields_list_test.go +++ b/core/fields_list_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func TestNewFieldsList(t *testing.T) { diff --git a/core/log_model.go b/core/log_model.go index c2c3e7aa..54d2ec6e 100644 --- a/core/log_model.go +++ b/core/log_model.go @@ -1,6 +1,6 @@ package core -import "github.com/pocketbase/pocketbase/tools/types" +import "github.com/tabshift-gh/pocketbase/tools/types" var ( _ Model = (*Log)(nil) diff --git a/core/log_printer.go b/core/log_printer.go index 0f8eb3b8..1551a8b3 100644 --- a/core/log_printer.go +++ b/core/log_printer.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/fatih/color" - "github.com/pocketbase/pocketbase/tools/logger" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/logger" + "github.com/tabshift-gh/pocketbase/tools/store" "github.com/spf13/cast" ) diff --git a/core/log_printer_test.go b/core/log_printer_test.go index 43497495..5c3eca1c 100644 --- a/core/log_printer_test.go +++ b/core/log_printer_test.go @@ -9,8 +9,8 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/logger" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/logger" ) func TestBaseAppLoggerLevelDevPrint(t *testing.T) { diff --git a/core/log_query.go b/core/log_query.go index a1ebc77a..126bd73c 100644 --- a/core/log_query.go +++ b/core/log_query.go @@ -4,7 +4,7 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) // LogQuery returns a new Log select query. diff --git a/core/log_query_test.go b/core/log_query_test.go index df361987..fb3a789d 100644 --- a/core/log_query_test.go +++ b/core/log_query_test.go @@ -7,9 +7,9 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestFindLogById(t *testing.T) { diff --git a/core/mfa_model.go b/core/mfa_model.go index 7a1429be..f8675a13 100644 --- a/core/mfa_model.go +++ b/core/mfa_model.go @@ -6,8 +6,8 @@ import ( "fmt" "time" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" ) const ( diff --git a/core/mfa_model_test.go b/core/mfa_model_test.go index 694b7bef..f1d31580 100644 --- a/core/mfa_model_test.go +++ b/core/mfa_model_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNewMFA(t *testing.T) { diff --git a/core/mfa_query.go b/core/mfa_query.go index 1ccfd457..b3c6c91f 100644 --- a/core/mfa_query.go +++ b/core/mfa_query.go @@ -5,7 +5,7 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) // FindAllMFAsByRecord returns all MFA models linked to the provided auth record. diff --git a/core/mfa_query_test.go b/core/mfa_query_test.go index e26e2b3c..9470c9da 100644 --- a/core/mfa_query_test.go +++ b/core/mfa_query_test.go @@ -5,8 +5,8 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestFindAllMFAsByRecord(t *testing.T) { diff --git a/core/migrations_list_test.go b/core/migrations_list_test.go index 36acd407..a7f42167 100644 --- a/core/migrations_list_test.go +++ b/core/migrations_list_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func TestMigrationsList(t *testing.T) { diff --git a/core/migrations_runner.go b/core/migrations_runner.go index 9b0ff76a..574335b6 100644 --- a/core/migrations_runner.go +++ b/core/migrations_runner.go @@ -7,7 +7,7 @@ import ( "github.com/fatih/color" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/tools/osutils" "github.com/spf13/cast" ) diff --git a/core/migrations_runner_test.go b/core/migrations_runner_test.go index a4c0c93f..81d3c09b 100644 --- a/core/migrations_runner_test.go +++ b/core/migrations_runner_test.go @@ -7,8 +7,8 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestMigrationsRunnerUpAndDown(t *testing.T) { diff --git a/core/otp_model.go b/core/otp_model.go index 78e58e3c..cd7c17ab 100644 --- a/core/otp_model.go +++ b/core/otp_model.go @@ -6,8 +6,8 @@ import ( "fmt" "time" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" ) const CollectionNameOTPs = "_otps" diff --git a/core/otp_model_test.go b/core/otp_model_test.go index a30aca13..17e8b5c2 100644 --- a/core/otp_model_test.go +++ b/core/otp_model_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNewOTP(t *testing.T) { diff --git a/core/otp_query.go b/core/otp_query.go index 8b2b4a94..46973c35 100644 --- a/core/otp_query.go +++ b/core/otp_query.go @@ -5,7 +5,7 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) // FindAllOTPsByRecord returns all OTP models linked to the provided auth record. diff --git a/core/otp_query_test.go b/core/otp_query_test.go index 440ffb96..969fa40c 100644 --- a/core/otp_query_test.go +++ b/core/otp_query_test.go @@ -5,8 +5,8 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestFindAllOTPsByRecord(t *testing.T) { diff --git a/core/record_field_resolver.go b/core/record_field_resolver.go index dca38dad..1a7d56f9 100644 --- a/core/record_field_resolver.go +++ b/core/record_field_resolver.go @@ -9,10 +9,10 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/core/record_field_resolver_runner.go b/core/record_field_resolver_runner.go index f44fd147..b9ecb37e 100644 --- a/core/record_field_resolver_runner.go +++ b/core/record_field_resolver_runner.go @@ -10,11 +10,11 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) @@ -536,7 +536,7 @@ func (r *runner) processActiveProps() (*search.ResolverResult, error) { return nil, fmt.Errorf("failed to initialize back relation field %q", backField.GetName()) } if backRelField.CollectionId != collection.Id { - // https://github.com/pocketbase/pocketbase/discussions/6590#discussioncomment-12496581 + // https://github.com/tabshift-gh/pocketbase/discussions/6590#discussioncomment-12496581 if r.nullifyMisingField { return &search.ResolverResult{Identifier: "NULL"}, nil } @@ -832,7 +832,7 @@ func (r *runner) finalizeActivePropsProcessing(collection *Collection, prop stri // wrap in json_extract to ensure that top-level primitives // stored as json work correctly when compared to their SQL equivalent - // (https://github.com/pocketbase/pocketbase/issues/4068) + // (https://github.com/tabshift-gh/pocketbase/issues/4068) if field.Type() == FieldTypeJSON { result.NullFallback = search.NullFallbackDisabled result.Identifier = dbutils.JSONExtract(r.activeTableAlias+"."+cleanFieldName, "") diff --git a/core/record_field_resolver_test.go b/core/record_field_resolver_test.go index f232368d..2dcbdc1a 100644 --- a/core/record_field_resolver_test.go +++ b/core/record_field_resolver_test.go @@ -7,11 +7,11 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRecordFieldResolverAllowedFields(t *testing.T) { diff --git a/core/record_model.go b/core/record_model.go index 7d578f2d..d0d10cc0 100644 --- a/core/record_model.go +++ b/core/record_model.go @@ -14,14 +14,14 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/store" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/core/record_model_auth.go b/core/record_model_auth.go index 07858f43..c269ac1a 100644 --- a/core/record_model_auth.go +++ b/core/record_model_auth.go @@ -1,6 +1,6 @@ package core -import "github.com/pocketbase/pocketbase/tools/security" +import "github.com/tabshift-gh/pocketbase/tools/security" // Email returns the "email" record field value (usually available with Auth collections). func (m *Record) Email() string { diff --git a/core/record_model_auth_test.go b/core/record_model_auth_test.go index f7168500..14a2a61b 100644 --- a/core/record_model_auth_test.go +++ b/core/record_model_auth_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestRecordEmail(t *testing.T) { diff --git a/core/record_model_superusers.go b/core/record_model_superusers.go index 8b1da48c..b9e600f3 100644 --- a/core/record_model_superusers.go +++ b/core/record_model_superusers.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/router" ) const CollectionNameSuperusers = "_superusers" diff --git a/core/record_model_superusers_test.go b/core/record_model_superusers_test.go index db8a70a4..1a187e45 100644 --- a/core/record_model_superusers_test.go +++ b/core/record_model_superusers_test.go @@ -3,8 +3,8 @@ package core_test import ( "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func TestRecordIsSuperUser(t *testing.T) { diff --git a/core/record_model_test.go b/core/record_model_test.go index a65c00a5..e5ed9666 100644 --- a/core/record_model_test.go +++ b/core/record_model_test.go @@ -15,11 +15,11 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/core/record_proxy_test.go b/core/record_proxy_test.go index bc8f004b..58d68718 100644 --- a/core/record_proxy_test.go +++ b/core/record_proxy_test.go @@ -3,7 +3,7 @@ package core_test import ( "testing" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func TestBaseRecordProxy(t *testing.T) { diff --git a/core/record_query.go b/core/record_query.go index f653621b..8b66fe23 100644 --- a/core/record_query.go +++ b/core/record_query.go @@ -9,11 +9,11 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/security" ) var recordProxyType = reflect.TypeOf((*RecordProxy)(nil)).Elem() diff --git a/core/record_query_expand.go b/core/record_query_expand.go index c8472d2d..9bc15b17 100644 --- a/core/record_query_expand.go +++ b/core/record_query_expand.go @@ -8,8 +8,8 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/list" ) // ExpandFetchFunc defines the function that is used to fetch the expanded relation records. diff --git a/core/record_query_expand_test.go b/core/record_query_expand_test.go index 3e23c509..d6010899 100644 --- a/core/record_query_expand_test.go +++ b/core/record_query_expand_test.go @@ -10,9 +10,9 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/list" ) func TestExpandRecords(t *testing.T) { diff --git a/core/record_query_test.go b/core/record_query_test.go index 91c1ab17..1dc298a6 100644 --- a/core/record_query_test.go +++ b/core/record_query_test.go @@ -9,10 +9,10 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestRecordQueryWithDifferentCollectionValues(t *testing.T) { diff --git a/core/record_tokens.go b/core/record_tokens.go index 0eead2b1..de690223 100644 --- a/core/record_tokens.go +++ b/core/record_tokens.go @@ -5,7 +5,7 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) // Supported record token types diff --git a/core/record_tokens_test.go b/core/record_tokens_test.go index 34ad909a..a1083fa5 100644 --- a/core/record_tokens_test.go +++ b/core/record_tokens_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) diff --git a/core/settings_model.go b/core/settings_model.go index 1adead7b..3fe57bfa 100644 --- a/core/settings_model.go +++ b/core/settings_model.go @@ -15,12 +15,12 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/cron" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/cron" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" ) const ( diff --git a/core/settings_model_test.go b/core/settings_model_test.go index 5f577f8d..1572ba60 100644 --- a/core/settings_model_test.go +++ b/core/settings_model_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestSettingsDelete(t *testing.T) { diff --git a/core/settings_query.go b/core/settings_query.go index 2adbb3d9..57178f7f 100644 --- a/core/settings_query.go +++ b/core/settings_query.go @@ -7,8 +7,8 @@ import ( "fmt" "os" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" ) type Param struct { diff --git a/core/settings_query_test.go b/core/settings_query_test.go index a7542889..2699a510 100644 --- a/core/settings_query_test.go +++ b/core/settings_query_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestReloadSettings(t *testing.T) { diff --git a/core/syscall_wasm.go b/core/syscall_wasm.go index 75c5a051..2e20f8e4 100644 --- a/core/syscall_wasm.go +++ b/core/syscall_wasm.go @@ -4,7 +4,7 @@ package core import "errors" -// https://github.com/pocketbase/pocketbase/pull/7116 +// https://github.com/tabshift-gh/pocketbase/pull/7116 func execve(argv0 string, argv []string, envv []string) error { return errors.ErrUnsupported } diff --git a/core/validators/db_test.go b/core/validators/db_test.go index 7ce2a9b4..406e7dab 100644 --- a/core/validators/db_test.go +++ b/core/validators/db_test.go @@ -6,8 +6,8 @@ import ( "testing" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tests" ) func TestUniqueId(t *testing.T) { diff --git a/core/validators/equal_test.go b/core/validators/equal_test.go index dedb3763..cef41be8 100644 --- a/core/validators/equal_test.go +++ b/core/validators/equal_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" ) func Equal(t *testing.T) { diff --git a/core/validators/file.go b/core/validators/file.go index e3e556e9..384cb130 100644 --- a/core/validators/file.go +++ b/core/validators/file.go @@ -6,7 +6,7 @@ import ( "github.com/gabriel-vasile/mimetype" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/filesystem" ) // UploadedFileSize checks whether the validated [*filesystem.File] diff --git a/core/validators/file_test.go b/core/validators/file_test.go index 3af6fe53..cbc09c11 100644 --- a/core/validators/file_test.go +++ b/core/validators/file_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core/validators" - "github.com/pocketbase/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/tools/filesystem" ) func TestUploadedFileSize(t *testing.T) { diff --git a/core/validators/string_test.go b/core/validators/string_test.go index dead6df7..8eb664e6 100644 --- a/core/validators/string_test.go +++ b/core/validators/string_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" ) func TestIsRegex(t *testing.T) { diff --git a/core/validators/validators_test.go b/core/validators/validators_test.go index 0a54fa8e..6e136e2d 100644 --- a/core/validators/validators_test.go +++ b/core/validators/validators_test.go @@ -6,7 +6,7 @@ import ( "testing" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core/validators" + "github.com/tabshift-gh/pocketbase/core/validators" ) func TestJoinValidationErrors(t *testing.T) { diff --git a/core/view.go b/core/view.go index 5b44e8bc..68595673 100644 --- a/core/view.go +++ b/core/view.go @@ -9,10 +9,10 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/tokenizer" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/tokenizer" ) // DeleteView drops the specified view name. diff --git a/core/view_test.go b/core/view_test.go index 384f3e23..f3576da4 100644 --- a/core/view_test.go +++ b/core/view_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" ) func ensureNoTempViews(app core.App, t *testing.T) { diff --git a/examples/base/main.go b/examples/base/main.go index 1ea529b4..1800b4b5 100644 --- a/examples/base/main.go +++ b/examples/base/main.go @@ -6,14 +6,14 @@ import ( "os" "path/filepath" - "github.com/pocketbase/pocketbase" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/plugins/ghupdate" - "github.com/pocketbase/pocketbase/plugins/jsvm" - "github.com/pocketbase/pocketbase/plugins/migratecmd" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/plugins/ghupdate" + "github.com/tabshift-gh/pocketbase/plugins/jsvm" + "github.com/tabshift-gh/pocketbase/plugins/migratecmd" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/osutils" ) func main() { diff --git a/forms/apple_client_secret_create.go b/forms/apple_client_secret_create.go index f07166e6..cac94a5d 100644 --- a/forms/apple_client_secret_create.go +++ b/forms/apple_client_secret_create.go @@ -7,7 +7,7 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/golang-jwt/jwt/v5" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) var privateKeyRegex = regexp.MustCompile(`(?m)-----BEGIN PRIVATE KEY----[\s\S]+-----END PRIVATE KEY-----`) diff --git a/forms/apple_client_secret_create_test.go b/forms/apple_client_secret_create_test.go index 4778d486..1445ad6e 100644 --- a/forms/apple_client_secret_create_test.go +++ b/forms/apple_client_secret_create_test.go @@ -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) { diff --git a/forms/record_upsert.go b/forms/record_upsert.go index 02b65089..e705d980 100644 --- a/forms/record_upsert.go +++ b/forms/record_upsert.go @@ -8,9 +8,9 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/pocketbase/dbx" - "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" ) diff --git a/forms/record_upsert_test.go b/forms/record_upsert_test.go index 4cc1fa9f..dda36377 100644 --- a/forms/record_upsert_test.go +++ b/forms/record_upsert_test.go @@ -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) { diff --git a/forms/test_email_send.go b/forms/test_email_send.go index ddc3035d..67b92867 100644 --- a/forms/test_email_send.go +++ b/forms/test_email_send.go @@ -5,9 +5,10 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/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 ( diff --git a/forms/test_email_send_test.go b/forms/test_email_send_test.go index 0d58595b..37f2b6d7 100644 --- a/forms/test_email_send_test.go +++ b/forms/test_email_send_test.go @@ -6,8 +6,8 @@ import ( "testing" validation "github.com/go-ozzo/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) { diff --git a/forms/test_s3_filesystem.go b/forms/test_s3_filesystem.go index c39c59ed..cff0054f 100644 --- a/forms/test_s3_filesystem.go +++ b/forms/test_s3_filesystem.go @@ -5,9 +5,9 @@ import ( "fmt" validation "github.com/go-ozzo/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 ( diff --git a/forms/test_s3_filesystem_test.go b/forms/test_s3_filesystem_test.go index 391cef7d..b0bf4d26 100644 --- a/forms/test_s3_filesystem_test.go +++ b/forms/test_s3_filesystem_test.go @@ -4,8 +4,8 @@ import ( "testing" validation "github.com/go-ozzo/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) { diff --git a/go.mod b/go.mod index 396ee9f1..d64907e0 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pocketbase/pocketbase +module github.com/tabshift-gh/pocketbase go 1.25.0 diff --git a/mails/record.go b/mails/record.go index 50916911..14b49b7e 100644 --- a/mails/record.go +++ b/mails/record.go @@ -6,9 +6,9 @@ import ( "net/mail" "slices" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/mails/templates" - "github.com/pocketbase/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/mails/templates" + "github.com/tabshift-gh/pocketbase/tools/mailer" ) // SendRecordAuthAlert sends a new device login alert to the specified auth record. diff --git a/mails/record_test.go b/mails/record_test.go index 24f86d3c..c41ec8ca 100644 --- a/mails/record_test.go +++ b/mails/record_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/mails" - "github.com/pocketbase/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/tests" ) func TestSendRecordAuthAlert(t *testing.T) { diff --git a/migrations/1640988000_aux_init.go b/migrations/1640988000_aux_init.go index db1b841f..46119bff 100644 --- a/migrations/1640988000_aux_init.go +++ b/migrations/1640988000_aux_init.go @@ -1,7 +1,7 @@ package migrations import ( - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) func init() { diff --git a/migrations/1640988000_init.go b/migrations/1640988000_init.go index 541f045d..6380ce83 100644 --- a/migrations/1640988000_init.go +++ b/migrations/1640988000_init.go @@ -5,8 +5,8 @@ import ( "path/filepath" "runtime" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/types" ) // Register is a short alias for `AppMigrations.Register()` diff --git a/migrations/1717233556_v0.23_migrate.go b/migrations/1717233556_v0.23_migrate.go index c6b9818a..d5b07e44 100644 --- a/migrations/1717233556_v0.23_migrate.go +++ b/migrations/1717233556_v0.23_migrate.go @@ -9,9 +9,9 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" "golang.org/x/crypto/bcrypt" ) diff --git a/migrations/1717233557_v0.23_migrate2.go b/migrations/1717233557_v0.23_migrate2.go index 6a26e9c3..0a3d91dd 100644 --- a/migrations/1717233557_v0.23_migrate2.go +++ b/migrations/1717233557_v0.23_migrate2.go @@ -1,7 +1,7 @@ package migrations import ( - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) // note: this migration will be deleted in future version diff --git a/migrations/1717233558_v0.23_migrate3.go b/migrations/1717233558_v0.23_migrate3.go index e14675a3..d24b38f1 100644 --- a/migrations/1717233558_v0.23_migrate3.go +++ b/migrations/1717233558_v0.23_migrate3.go @@ -5,7 +5,7 @@ import ( "strconv" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) // note: this migration will be deleted in future version diff --git a/migrations/1717233559_v0.23_migrate4.go b/migrations/1717233559_v0.23_migrate4.go index b471ddcd..f3bae790 100644 --- a/migrations/1717233559_v0.23_migrate4.go +++ b/migrations/1717233559_v0.23_migrate4.go @@ -1,7 +1,7 @@ package migrations import ( - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) // note: this migration will be deleted in future version diff --git a/modernc_versions_check.go b/modernc_versions_check.go index 6734da4f..d6a530b7 100644 --- a/modernc_versions_check.go +++ b/modernc_versions_check.go @@ -6,7 +6,7 @@ import ( "runtime/debug" "github.com/fatih/color" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) const ( @@ -24,7 +24,7 @@ const ( // This is needed because modernc.org/libc doesn't follow semantic versioning // and using a version different from the one in the go.mod of modernc.org/sqlite // could have unintended side-effects and cause obscure build and runtime bugs -// (https://github.com/pocketbase/pocketbase/issues/6136). +// (https://github.com/tabshift-gh/pocketbase/issues/6136). func checkModerncDeps(app core.App) { info, ok := debug.ReadBuildInfo() if !ok { diff --git a/plugins/ghupdate/ghupdate.go b/plugins/ghupdate/ghupdate.go index 0a4c9618..103aea2b 100644 --- a/plugins/ghupdate/ghupdate.go +++ b/plugins/ghupdate/ghupdate.go @@ -21,9 +21,9 @@ import ( "strings" "github.com/fatih/color" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/archive" - "github.com/pocketbase/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/archive" + "github.com/tabshift-gh/pocketbase/tools/osutils" "github.com/spf13/cobra" ) diff --git a/plugins/jsvm/binds.go b/plugins/jsvm/binds.go index 9025a95a..df0687fc 100644 --- a/plugins/jsvm/binds.go +++ b/plugins/jsvm/binds.go @@ -22,19 +22,19 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/golang-jwt/jwt/v5" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/forms" - "github.com/pocketbase/pocketbase/mails" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/store" - "github.com/pocketbase/pocketbase/tools/subscriptions" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/forms" + "github.com/tabshift-gh/pocketbase/mails" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/plugins/jsvm/binds_test.go b/plugins/jsvm/binds_test.go index 263dd3d0..51196f41 100644 --- a/plugins/jsvm/binds_test.go +++ b/plugins/jsvm/binds_test.go @@ -18,13 +18,13 @@ import ( "github.com/dop251/goja" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/mailer" - "github.com/pocketbase/pocketbase/tools/router" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" ) diff --git a/plugins/jsvm/form_data.go b/plugins/jsvm/form_data.go index 4419c684..8fcc7d60 100644 --- a/plugins/jsvm/form_data.go +++ b/plugins/jsvm/form_data.go @@ -5,7 +5,7 @@ import ( "io" "mime/multipart" - "github.com/pocketbase/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/filesystem" "github.com/spf13/cast" ) diff --git a/plugins/jsvm/form_data_test.go b/plugins/jsvm/form_data_test.go index dbf0f403..1abffb94 100644 --- a/plugins/jsvm/form_data_test.go +++ b/plugins/jsvm/form_data_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/list" ) func TestFormDataAppendAndSet(t *testing.T) { diff --git a/plugins/jsvm/internal/types/types.go b/plugins/jsvm/internal/types/types.go index bbe73b5d..b0471af1 100644 --- a/plugins/jsvm/internal/types/types.go +++ b/plugins/jsvm/internal/types/types.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/plugins/jsvm" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/plugins/jsvm" + "github.com/tabshift-gh/pocketbase/tools/list" "github.com/pocketbase/tygoja" ) @@ -1291,14 +1291,14 @@ func main() { Packages: map[string][]string{ "github.com/go-ozzo/ozzo-validation/v4": {"Error"}, "github.com/pocketbase/dbx": {"*"}, - "github.com/pocketbase/pocketbase/tools/security": {"*"}, - "github.com/pocketbase/pocketbase/tools/filesystem": {"*"}, - "github.com/pocketbase/pocketbase/tools/template": {"*"}, - "github.com/pocketbase/pocketbase/mails": {"*"}, - "github.com/pocketbase/pocketbase/apis": {"*"}, - "github.com/pocketbase/pocketbase/core": {"*"}, - "github.com/pocketbase/pocketbase/forms": {"*"}, - "github.com/pocketbase/pocketbase": {"*"}, + "github.com/tabshift-gh/pocketbase/tools/security": {"*"}, + "github.com/tabshift-gh/pocketbase/tools/filesystem": {"*"}, + "github.com/tabshift-gh/pocketbase/tools/template": {"*"}, + "github.com/tabshift-gh/pocketbase/mails": {"*"}, + "github.com/tabshift-gh/pocketbase/apis": {"*"}, + "github.com/tabshift-gh/pocketbase/core": {"*"}, + "github.com/tabshift-gh/pocketbase/forms": {"*"}, + "github.com/tabshift-gh/pocketbase": {"*"}, "path/filepath": {"*"}, "os": {"*"}, "os/exec": {"Command"}, diff --git a/plugins/jsvm/jsvm.go b/plugins/jsvm/jsvm.go index d61aef3d..57ca0b8f 100644 --- a/plugins/jsvm/jsvm.go +++ b/plugins/jsvm/jsvm.go @@ -31,9 +31,9 @@ import ( "github.com/dop251/goja_nodejs/require" "github.com/fatih/color" "github.com/fsnotify/fsnotify" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/plugins/jsvm/internal/types/generated" - "github.com/pocketbase/pocketbase/tools/template" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/plugins/jsvm/internal/types/generated" + "github.com/tabshift-gh/pocketbase/tools/template" ) const typesFileName = "types.d.ts" diff --git a/plugins/jsvm/mapper_test.go b/plugins/jsvm/mapper_test.go index 0cc020eb..de7462eb 100644 --- a/plugins/jsvm/mapper_test.go +++ b/plugins/jsvm/mapper_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/pocketbase/pocketbase/plugins/jsvm" + "github.com/tabshift-gh/pocketbase/plugins/jsvm" ) func TestFieldMapper(t *testing.T) { diff --git a/plugins/migratecmd/automigrate.go b/plugins/migratecmd/automigrate.go index a022a4e3..8e640bda 100644 --- a/plugins/migratecmd/automigrate.go +++ b/plugins/migratecmd/automigrate.go @@ -10,7 +10,7 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) // automigrateOnCollectionChange handles the automigration snapshot diff --git a/plugins/migratecmd/migratecmd.go b/plugins/migratecmd/migratecmd.go index 38485ff1..6454db5d 100644 --- a/plugins/migratecmd/migratecmd.go +++ b/plugins/migratecmd/migratecmd.go @@ -23,9 +23,9 @@ import ( "path/filepath" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/osutils" "github.com/spf13/cobra" ) diff --git a/plugins/migratecmd/migratecmd_test.go b/plugins/migratecmd/migratecmd_test.go index e19846e1..8aea95d8 100644 --- a/plugins/migratecmd/migratecmd_test.go +++ b/plugins/migratecmd/migratecmd_test.go @@ -7,11 +7,11 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/plugins/migratecmd" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/plugins/migratecmd" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestAutomigrateCollectionCreate(t *testing.T) { @@ -202,8 +202,8 @@ package _test_migrations import ( "encoding/json" - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { @@ -651,8 +651,8 @@ package _test_migrations import ( "encoding/json" - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { @@ -1043,8 +1043,8 @@ package _test_migrations import ( "encoding/json" - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { diff --git a/plugins/migratecmd/templates.go b/plugins/migratecmd/templates.go index 3667deb7..4a549b17 100644 --- a/plugins/migratecmd/templates.go +++ b/plugins/migratecmd/templates.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/pocketbase/pocketbase/core" + "github.com/tabshift-gh/pocketbase/core" ) const ( @@ -302,8 +302,8 @@ func (p *plugin) goBlankTemplate() (string, error) { const template = `package %s import ( - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { @@ -344,8 +344,8 @@ func (p *plugin) goSnapshotTemplate(collections []*core.Collection) (string, err const template = `package %s import ( - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { @@ -385,8 +385,8 @@ func (p *plugin) goCreateTemplate(collection *core.Collection) (string, error) { import ( "encoding/json" - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { @@ -438,8 +438,8 @@ func (p *plugin) goDeleteTemplate(collection *core.Collection) (string, error) { import ( "encoding/json" - "github.com/pocketbase/pocketbase/core" - m "github.com/pocketbase/pocketbase/migrations" + "github.com/tabshift-gh/pocketbase/core" + m "github.com/tabshift-gh/pocketbase/migrations" ) func init() { @@ -624,8 +624,8 @@ func (p *plugin) goDiffTemplate(new *core.Collection, old *core.Collection) (str imports += "\n\t\"encoding/json\"\n" } - imports += "\n\t\"github.com/pocketbase/pocketbase/core\"" - imports += "\n\tm \"github.com/pocketbase/pocketbase/migrations\"" + imports += "\n\t\"github.com/tabshift-gh/pocketbase/core\"" + imports += "\n\tm \"github.com/tabshift-gh/pocketbase/migrations\"" // --- const template = `package %s diff --git a/pocketbase.go b/pocketbase.go index 91b92c81..6ac12f12 100644 --- a/pocketbase.go +++ b/pocketbase.go @@ -10,15 +10,15 @@ import ( "time" "github.com/fatih/color" - "github.com/pocketbase/pocketbase/cmd" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/osutils" - "github.com/pocketbase/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/cmd" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/tools/routine" "github.com/spf13/cobra" - _ "github.com/pocketbase/pocketbase/migrations" + _ "github.com/tabshift-gh/pocketbase/migrations" ) var _ core.App = (*PocketBase)(nil) @@ -140,7 +140,7 @@ func NewWithConfig(config Config) *PocketBase { // hide the default help command (allow only `--help` flag) pb.RootCmd.SetHelpCommand(&cobra.Command{Hidden: true}) - // https://github.com/pocketbase/pocketbase/issues/6136 + // https://github.com/tabshift-gh/pocketbase/issues/6136 pb.OnBootstrap().Bind(&hook.Handler[*core.BootstrapEvent]{ Id: ModerncDepsCheckHookId, Func: func(be *core.BootstrapEvent) error { @@ -254,8 +254,8 @@ func (pb *PocketBase) eagerParseFlags(config *Config) error { // - is the default help command // - is the default version command // -// https://github.com/pocketbase/pocketbase/issues/404 -// https://github.com/pocketbase/pocketbase/discussions/1267 +// https://github.com/tabshift-gh/pocketbase/issues/404 +// https://github.com/tabshift-gh/pocketbase/discussions/1267 func (pb *PocketBase) skipBootstrap() bool { flags := []string{ "-h", diff --git a/tests/api.go b/tests/api.go index 43b820a2..0c8f36ed 100644 --- a/tests/api.go +++ b/tests/api.go @@ -13,9 +13,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/apis" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/apis" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" ) // ApiScenario defines a single api request test case/scenario. diff --git a/tests/app.go b/tests/app.go index 5299e806..5d4802dd 100644 --- a/tests/app.go +++ b/tests/app.go @@ -9,10 +9,10 @@ import ( "runtime" "sync" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/hook" - _ "github.com/pocketbase/pocketbase/migrations" + _ "github.com/tabshift-gh/pocketbase/migrations" ) // TestApp is a wrapper app instance used for testing. @@ -147,7 +147,7 @@ func NewTestAppWithConfig(config core.BaseAppConfig) (*TestApp, error) { t.OnServe().Bind(&hook.Handler[*core.ServeEvent]{ Func: func(e *core.ServeEvent) error { t.registerEventCall("OnServe") - e.InstallerFunc = nil // https://github.com/pocketbase/pocketbase/discussions/7202 + e.InstallerFunc = nil // https://github.com/tabshift-gh/pocketbase/discussions/7202 return e.Next() }, Priority: -99999, diff --git a/tests/dynamic_stubs.go b/tests/dynamic_stubs.go index 6fda676b..eb9066e5 100644 --- a/tests/dynamic_stubs.go +++ b/tests/dynamic_stubs.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/types" ) func StubOTPRecords(app core.App) error { diff --git a/tests/mailer.go b/tests/mailer.go index 15d6190c..e2f939ce 100644 --- a/tests/mailer.go +++ b/tests/mailer.go @@ -4,7 +4,7 @@ import ( "slices" "sync" - "github.com/pocketbase/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/tools/mailer" ) var _ mailer.Mailer = (*TestMailer)(nil) diff --git a/tools/archive/create_test.go b/tools/archive/create_test.go index f75eb8ef..e0f9ff23 100644 --- a/tools/archive/create_test.go +++ b/tools/archive/create_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/pocketbase/pocketbase/tools/archive" + "github.com/tabshift-gh/pocketbase/tools/archive" ) func TestCreateFailure(t *testing.T) { diff --git a/tools/archive/extract_test.go b/tools/archive/extract_test.go index 16e26172..ebd33df0 100644 --- a/tools/archive/extract_test.go +++ b/tools/archive/extract_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/pocketbase/pocketbase/tools/archive" + "github.com/tabshift-gh/pocketbase/tools/archive" ) func TestExtractFailure(t *testing.T) { diff --git a/tools/auth/apple.go b/tools/auth/apple.go index 2a7da930..e0203766 100644 --- a/tools/auth/apple.go +++ b/tools/auth/apple.go @@ -7,8 +7,8 @@ import ( "fmt" "github.com/golang-jwt/jwt/v5" - "github.com/pocketbase/pocketbase/tools/auth/internal/jwk" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/auth/internal/jwk" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" "golang.org/x/oauth2" ) diff --git a/tools/auth/auth.go b/tools/auth/auth.go index d0a9fbe8..ea21155d 100644 --- a/tools/auth/auth.go +++ b/tools/auth/auth.go @@ -6,7 +6,7 @@ import ( "errors" "net/http" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/auth_test.go b/tools/auth/auth_test.go index e025f8c6..c3ec9a08 100644 --- a/tools/auth/auth_test.go +++ b/tools/auth/auth_test.go @@ -3,7 +3,7 @@ package auth_test import ( "testing" - "github.com/pocketbase/pocketbase/tools/auth" + "github.com/tabshift-gh/pocketbase/tools/auth" ) func TestProvidersCount(t *testing.T) { diff --git a/tools/auth/bitbucket.go b/tools/auth/bitbucket.go index 05ffa29c..87affdf6 100644 --- a/tools/auth/bitbucket.go +++ b/tools/auth/bitbucket.go @@ -6,7 +6,7 @@ import ( "errors" "io" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/box.go b/tools/auth/box.go index b93394c5..4261148b 100644 --- a/tools/auth/box.go +++ b/tools/auth/box.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/discord.go b/tools/auth/discord.go index b3588719..0dde3b93 100644 --- a/tools/auth/discord.go +++ b/tools/auth/discord.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/facebook.go b/tools/auth/facebook.go index 07f61988..6149855d 100644 --- a/tools/auth/facebook.go +++ b/tools/auth/facebook.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/facebook" ) diff --git a/tools/auth/gitea.go b/tools/auth/gitea.go index 12090d82..aa88c285 100644 --- a/tools/auth/gitea.go +++ b/tools/auth/gitea.go @@ -8,7 +8,7 @@ import ( "io" "strconv" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/gitee.go b/tools/auth/gitee.go index a31e279b..2136cb87 100644 --- a/tools/auth/gitee.go +++ b/tools/auth/gitee.go @@ -7,7 +7,7 @@ import ( "strconv" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/github.go b/tools/auth/github.go index b8d858ef..9f1c096c 100644 --- a/tools/auth/github.go +++ b/tools/auth/github.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/github" ) diff --git a/tools/auth/gitlab.go b/tools/auth/gitlab.go index c879743c..34fe94b3 100644 --- a/tools/auth/gitlab.go +++ b/tools/auth/gitlab.go @@ -6,7 +6,7 @@ import ( "strconv" "time" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/google.go b/tools/auth/google.go index 4c6fe142..12404721 100644 --- a/tools/auth/google.go +++ b/tools/auth/google.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/instagram.go b/tools/auth/instagram.go index 580149b7..332b3e13 100644 --- a/tools/auth/instagram.go +++ b/tools/auth/instagram.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/kakao.go b/tools/auth/kakao.go index 68fd5f54..a198f883 100644 --- a/tools/auth/kakao.go +++ b/tools/auth/kakao.go @@ -5,7 +5,7 @@ import ( "encoding/json" "strconv" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/kakao" ) diff --git a/tools/auth/lark.go b/tools/auth/lark.go index d4d93ef9..5c41525d 100644 --- a/tools/auth/lark.go +++ b/tools/auth/lark.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/linear.go b/tools/auth/linear.go index bf256b1a..c8aed767 100644 --- a/tools/auth/linear.go +++ b/tools/auth/linear.go @@ -7,7 +7,7 @@ import ( "errors" "net/http" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/livechat.go b/tools/auth/livechat.go index 0d5d480c..e3b6c269 100644 --- a/tools/auth/livechat.go +++ b/tools/auth/livechat.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/mailcow.go b/tools/auth/mailcow.go index b7c37b9b..db60c4c2 100644 --- a/tools/auth/mailcow.go +++ b/tools/auth/mailcow.go @@ -6,7 +6,7 @@ import ( "errors" "strings" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/microsoft.go b/tools/auth/microsoft.go index 47789e9e..32fb300f 100644 --- a/tools/auth/microsoft.go +++ b/tools/auth/microsoft.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/microsoft" ) diff --git a/tools/auth/monday.go b/tools/auth/monday.go index 416f1822..9f8936aa 100644 --- a/tools/auth/monday.go +++ b/tools/auth/monday.go @@ -7,7 +7,7 @@ import ( "errors" "net/http" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/notion.go b/tools/auth/notion.go index 2a0d09dd..461b370f 100644 --- a/tools/auth/notion.go +++ b/tools/auth/notion.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/oidc.go b/tools/auth/oidc.go index 9390eb93..3b902858 100644 --- a/tools/auth/oidc.go +++ b/tools/auth/oidc.go @@ -10,9 +10,9 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "github.com/pocketbase/pocketbase/tools/auth/internal/jwk" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/auth/internal/jwk" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/types" "github.com/spf13/cast" "golang.org/x/oauth2" ) diff --git a/tools/auth/patreon.go b/tools/auth/patreon.go index 3a85fc64..28e2f767 100644 --- a/tools/auth/patreon.go +++ b/tools/auth/patreon.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/endpoints" ) diff --git a/tools/auth/planningcenter.go b/tools/auth/planningcenter.go index 1658f234..c0d3af17 100644 --- a/tools/auth/planningcenter.go +++ b/tools/auth/planningcenter.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/spotify.go b/tools/auth/spotify.go index 5f4d44c5..1f6e5021 100644 --- a/tools/auth/spotify.go +++ b/tools/auth/spotify.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/spotify" ) diff --git a/tools/auth/strava.go b/tools/auth/strava.go index 510fb03d..ea914e04 100644 --- a/tools/auth/strava.go +++ b/tools/auth/strava.go @@ -5,7 +5,7 @@ import ( "encoding/json" "strconv" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/trakt.go b/tools/auth/trakt.go index 740f31bd..3a6af537 100644 --- a/tools/auth/trakt.go +++ b/tools/auth/trakt.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/twitch.go b/tools/auth/twitch.go index 2b336820..cf876243 100644 --- a/tools/auth/twitch.go +++ b/tools/auth/twitch.go @@ -6,7 +6,7 @@ import ( "errors" "net/http" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/twitch" ) diff --git a/tools/auth/twitter.go b/tools/auth/twitter.go index b57125c7..c5920eb6 100644 --- a/tools/auth/twitter.go +++ b/tools/auth/twitter.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/vk.go b/tools/auth/vk.go index fc75d200..deea06d9 100644 --- a/tools/auth/vk.go +++ b/tools/auth/vk.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/vk" ) diff --git a/tools/auth/wakatime.go b/tools/auth/wakatime.go index d2fede3b..c93f2909 100644 --- a/tools/auth/wakatime.go +++ b/tools/auth/wakatime.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" ) diff --git a/tools/auth/yandex.go b/tools/auth/yandex.go index 024b890d..339d6c45 100644 --- a/tools/auth/yandex.go +++ b/tools/auth/yandex.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" "golang.org/x/oauth2" "golang.org/x/oauth2/yandex" ) diff --git a/tools/cron/schedule_test.go b/tools/cron/schedule_test.go index edc38e11..5cb0ca55 100644 --- a/tools/cron/schedule_test.go +++ b/tools/cron/schedule_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/tools/cron" + "github.com/tabshift-gh/pocketbase/tools/cron" ) func TestNewMoment(t *testing.T) { diff --git a/tools/dbutils/index.go b/tools/dbutils/index.go index d71098fd..c9502046 100644 --- a/tools/dbutils/index.go +++ b/tools/dbutils/index.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "github.com/pocketbase/pocketbase/tools/tokenizer" + "github.com/tabshift-gh/pocketbase/tools/tokenizer" ) var ( diff --git a/tools/dbutils/index_test.go b/tools/dbutils/index_test.go index 389ddcb1..54339a42 100644 --- a/tools/dbutils/index_test.go +++ b/tools/dbutils/index_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/dbutils" ) func TestParseIndex(t *testing.T) { diff --git a/tools/dbutils/json_test.go b/tools/dbutils/json_test.go index 194b9a6c..f92e18db 100644 --- a/tools/dbutils/json_test.go +++ b/tools/dbutils/json_test.go @@ -3,7 +3,7 @@ package dbutils_test import ( "testing" - "github.com/pocketbase/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/dbutils" ) func TestJSONEach(t *testing.T) { diff --git a/tools/filesystem/file.go b/tools/filesystem/file.go index 6cb54264..0f0f34d5 100644 --- a/tools/filesystem/file.go +++ b/tools/filesystem/file.go @@ -14,8 +14,8 @@ import ( "strings" "github.com/gabriel-vasile/mimetype" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/security" ) // FileReader defines an interface for a file resource reader. diff --git a/tools/filesystem/file_test.go b/tools/filesystem/file_test.go index b5bca2ce..93b077f7 100644 --- a/tools/filesystem/file_test.go +++ b/tools/filesystem/file_test.go @@ -12,8 +12,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem" ) func TestFileAsMap(t *testing.T) { diff --git a/tools/filesystem/filesystem.go b/tools/filesystem/filesystem.go index c756c4a7..c8dd1dbe 100644 --- a/tools/filesystem/filesystem.go +++ b/tools/filesystem/filesystem.go @@ -18,11 +18,11 @@ import ( "github.com/disintegration/imaging" "github.com/fatih/color" "github.com/gabriel-vasile/mimetype" - "github.com/pocketbase/pocketbase/tools/filesystem/blob" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/fileblob" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/filesystem/blob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/fileblob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/list" // explicit webp decoder because disintegration/imaging does not support webp _ "golang.org/x/image/webp" @@ -413,7 +413,7 @@ var inlineServeContentTypes = []string{ var manualExtensionContentTypes = map[string]string{ ".svg": "image/svg+xml", // (see https://github.com/whatwg/mimesniff/issues/7) ".css": "text/css", // (see https://github.com/gabriel-vasile/mimetype/pull/113) - ".js": "text/javascript", // (see https://github.com/pocketbase/pocketbase/issues/6597) + ".js": "text/javascript", // (see https://github.com/tabshift-gh/pocketbase/issues/6597) ".mjs": "text/javascript", } diff --git a/tools/filesystem/filesystem_test.go b/tools/filesystem/filesystem_test.go index c530e252..66c3b33f 100644 --- a/tools/filesystem/filesystem_test.go +++ b/tools/filesystem/filesystem_test.go @@ -16,7 +16,7 @@ import ( "testing" "github.com/gabriel-vasile/mimetype" - "github.com/pocketbase/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/filesystem" ) func TestFileSystemExists(t *testing.T) { diff --git a/tools/filesystem/internal/fileblob/fileblob.go b/tools/filesystem/internal/fileblob/fileblob.go index 9a2d9503..ab4cc385 100644 --- a/tools/filesystem/internal/fileblob/fileblob.go +++ b/tools/filesystem/internal/fileblob/fileblob.go @@ -50,7 +50,7 @@ import ( "strings" "time" - "github.com/pocketbase/pocketbase/tools/filesystem/blob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/blob" ) const defaultPageSize = 1000 diff --git a/tools/filesystem/internal/s3blob/s3/copy_object_test.go b/tools/filesystem/internal/s3blob/s3/copy_object_test.go index 04fdb4ad..a3844f2b 100644 --- a/tools/filesystem/internal/s3blob/s3/copy_object_test.go +++ b/tools/filesystem/internal/s3blob/s3/copy_object_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestS3CopyObject(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/delete_object_test.go b/tools/filesystem/internal/s3blob/s3/delete_object_test.go index 48d245cc..d1e28e3d 100644 --- a/tools/filesystem/internal/s3blob/s3/delete_object_test.go +++ b/tools/filesystem/internal/s3blob/s3/delete_object_test.go @@ -5,8 +5,8 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestS3DeleteObject(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/error_test.go b/tools/filesystem/internal/s3blob/s3/error_test.go index 4728c391..a7275cba 100644 --- a/tools/filesystem/internal/s3blob/s3/error_test.go +++ b/tools/filesystem/internal/s3blob/s3/error_test.go @@ -5,7 +5,7 @@ import ( "encoding/xml" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" ) func TestResponseErrorSerialization(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/get_object_test.go b/tools/filesystem/internal/s3blob/s3/get_object_test.go index 3dde3b05..992c2003 100644 --- a/tools/filesystem/internal/s3blob/s3/get_object_test.go +++ b/tools/filesystem/internal/s3blob/s3/get_object_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestS3GetObject(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/head_object_test.go b/tools/filesystem/internal/s3blob/s3/head_object_test.go index e2bf9796..013c29fc 100644 --- a/tools/filesystem/internal/s3blob/s3/head_object_test.go +++ b/tools/filesystem/internal/s3blob/s3/head_object_test.go @@ -6,8 +6,8 @@ import ( "net/http" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestS3HeadObject(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/list_objects_test.go b/tools/filesystem/internal/s3blob/s3/list_objects_test.go index cd0b7f7c..0162d3a8 100644 --- a/tools/filesystem/internal/s3blob/s3/list_objects_test.go +++ b/tools/filesystem/internal/s3blob/s3/list_objects_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestS3ListParamsEncode(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/s3.go b/tools/filesystem/internal/s3blob/s3/s3.go index 22122bd4..18ce9c22 100644 --- a/tools/filesystem/internal/s3blob/s3/s3.go +++ b/tools/filesystem/internal/s3blob/s3/s3.go @@ -5,7 +5,7 @@ // such as objects list, get, copy, delete and upload. // // For more details why we don't use the official aws-sdk-go-v2, you could check -// https://github.com/pocketbase/pocketbase/discussions/6562. +// https://github.com/tabshift-gh/pocketbase/discussions/6562. // // Example: // @@ -66,7 +66,7 @@ type S3 struct { // Note that the path will be URL escaped based on the AWS [UriEncode rules] // for broader compatibility with some providers that expect the same // path format as the one in the canonical signed header -// (see also https://github.com/pocketbase/pocketbase/issues/7153). +// (see also https://github.com/tabshift-gh/pocketbase/issues/7153). // // [UriEncode rules]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-create-signed-request.html func (s3 *S3) URL(path string) string { diff --git a/tools/filesystem/internal/s3blob/s3/s3_test.go b/tools/filesystem/internal/s3blob/s3/s3_test.go index 35dbd050..7084e227 100644 --- a/tools/filesystem/internal/s3blob/s3/s3_test.go +++ b/tools/filesystem/internal/s3blob/s3/s3_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestS3URL(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3/uploader_test.go b/tools/filesystem/internal/s3blob/s3/uploader_test.go index 16652022..b6c1a37c 100644 --- a/tools/filesystem/internal/s3blob/s3/uploader_test.go +++ b/tools/filesystem/internal/s3blob/s3/uploader_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestUploaderRequiredFields(t *testing.T) { diff --git a/tools/filesystem/internal/s3blob/s3blob.go b/tools/filesystem/internal/s3blob/s3blob.go index 041bc1de..02c2dc7e 100644 --- a/tools/filesystem/internal/s3blob/s3blob.go +++ b/tools/filesystem/internal/s3blob/s3blob.go @@ -40,8 +40,8 @@ import ( "strconv" "strings" - "github.com/pocketbase/pocketbase/tools/filesystem/blob" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/blob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" ) const defaultPageSize = 1000 diff --git a/tools/filesystem/internal/s3blob/s3blob_test.go b/tools/filesystem/internal/s3blob/s3blob_test.go index 20d0f3b7..ddbd575d 100644 --- a/tools/filesystem/internal/s3blob/s3blob_test.go +++ b/tools/filesystem/internal/s3blob/s3blob_test.go @@ -10,10 +10,10 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/filesystem/blob" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3" - "github.com/pocketbase/pocketbase/tools/filesystem/internal/s3blob/s3/tests" + "github.com/tabshift-gh/pocketbase/tools/filesystem/blob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3" + "github.com/tabshift-gh/pocketbase/tools/filesystem/internal/s3blob/s3/tests" ) func TestNew(t *testing.T) { diff --git a/tools/hook/hook.go b/tools/hook/hook.go index 722ed9f2..35ec86fd 100644 --- a/tools/hook/hook.go +++ b/tools/hook/hook.go @@ -4,7 +4,7 @@ import ( "sort" "sync" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) // Handler defines a single Hook handler. diff --git a/tools/hook/tagged.go b/tools/hook/tagged.go index f6bfaba2..f822f097 100644 --- a/tools/hook/tagged.go +++ b/tools/hook/tagged.go @@ -1,7 +1,7 @@ package hook import ( - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/list" ) // Tagger defines an interface for event data structs that support tags/groups/categories/etc. diff --git a/tools/inflector/inflector_test.go b/tools/inflector/inflector_test.go index 0b96dd28..883aa1d4 100644 --- a/tools/inflector/inflector_test.go +++ b/tools/inflector/inflector_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/inflector" ) func TestUcFirst(t *testing.T) { diff --git a/tools/inflector/singularize.go b/tools/inflector/singularize.go index 07aab24c..e98db4ec 100644 --- a/tools/inflector/singularize.go +++ b/tools/inflector/singularize.go @@ -4,7 +4,7 @@ import ( "log" "regexp" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/store" ) var compiledPatterns = store.New[string, *regexp.Regexp](nil) diff --git a/tools/inflector/singularize_test.go b/tools/inflector/singularize_test.go index 70ed2ab0..033032df 100644 --- a/tools/inflector/singularize_test.go +++ b/tools/inflector/singularize_test.go @@ -3,7 +3,7 @@ package inflector_test import ( "testing" - "github.com/pocketbase/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/inflector" ) func TestSingularize(t *testing.T) { diff --git a/tools/list/list.go b/tools/list/list.go index 76c41eed..057ab705 100644 --- a/tools/list/list.go +++ b/tools/list/list.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/store" "github.com/spf13/cast" ) diff --git a/tools/list/list_test.go b/tools/list/list_test.go index d169a75f..d3ff2acc 100644 --- a/tools/list/list_test.go +++ b/tools/list/list_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestSubtractSliceString(t *testing.T) { diff --git a/tools/logger/batch_handler.go b/tools/logger/batch_handler.go index e4d34375..1d030184 100644 --- a/tools/logger/batch_handler.go +++ b/tools/logger/batch_handler.go @@ -8,7 +8,7 @@ import ( "sync" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) var _ slog.Handler = (*BatchHandler)(nil) diff --git a/tools/logger/log.go b/tools/logger/log.go index e017ff18..971585ff 100644 --- a/tools/logger/log.go +++ b/tools/logger/log.go @@ -4,7 +4,7 @@ import ( "log/slog" "time" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) // Log is similar to [slog.Record] bit contains the log attributes as diff --git a/tools/mailer/html2text.go b/tools/mailer/html2text.go index 1f1f02fa..d971e69f 100644 --- a/tools/mailer/html2text.go +++ b/tools/mailer/html2text.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/list" "golang.org/x/net/html" ) diff --git a/tools/mailer/mailer.go b/tools/mailer/mailer.go index c87e2e8d..4d92ff5c 100644 --- a/tools/mailer/mailer.go +++ b/tools/mailer/mailer.go @@ -6,7 +6,7 @@ import ( "net/mail" "github.com/gabriel-vasile/mimetype" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) // Message defines a generic email message struct. diff --git a/tools/mailer/sendmail.go b/tools/mailer/sendmail.go index b1dbaec4..51d6d4a9 100644 --- a/tools/mailer/sendmail.go +++ b/tools/mailer/sendmail.go @@ -8,7 +8,7 @@ import ( "os/exec" "strings" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) var _ Mailer = (*Sendmail)(nil) diff --git a/tools/mailer/smtp.go b/tools/mailer/smtp.go index 56e10448..6bd5bdc5 100644 --- a/tools/mailer/smtp.go +++ b/tools/mailer/smtp.go @@ -9,8 +9,8 @@ import ( "strings" "github.com/domodwyer/mailyak/v3" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/security" ) var _ Mailer = (*SMTPClient)(nil) diff --git a/tools/osutils/cmd_test.go b/tools/osutils/cmd_test.go index 38beeab1..afb49371 100644 --- a/tools/osutils/cmd_test.go +++ b/tools/osutils/cmd_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/tools/osutils" ) func TestYesNoPrompt(t *testing.T) { diff --git a/tools/osutils/dir.go b/tools/osutils/dir.go index 2d2c8191..84e454be 100644 --- a/tools/osutils/dir.go +++ b/tools/osutils/dir.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/list" ) // MoveDirContent moves the src dir content, that is not listed in the exclude list, @@ -16,7 +16,7 @@ import ( // Note that this method doesn't delete the old src dir. // // It is an alternative to os.Rename() for the cases where we can't -// rename/delete the src dir (see https://github.com/pocketbase/pocketbase/issues/2519). +// rename/delete the src dir (see https://github.com/tabshift-gh/pocketbase/issues/2519). func MoveDirContent(src string, dest string, rootExclude ...string) error { entries, err := os.ReadDir(src) if err != nil { diff --git a/tools/osutils/dir_test.go b/tools/osutils/dir_test.go index f690e999..1117ffcb 100644 --- a/tools/osutils/dir_test.go +++ b/tools/osutils/dir_test.go @@ -6,9 +6,9 @@ import ( "path/filepath" "testing" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/osutils" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestMoveDirContent(t *testing.T) { diff --git a/tools/picker/excerpt_modifier.go b/tools/picker/excerpt_modifier.go index a60c842f..76ee2007 100644 --- a/tools/picker/excerpt_modifier.go +++ b/tools/picker/excerpt_modifier.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/list" "github.com/spf13/cast" "golang.org/x/net/html" ) diff --git a/tools/picker/modifiers.go b/tools/picker/modifiers.go index 6572e0c4..9acd2b00 100644 --- a/tools/picker/modifiers.go +++ b/tools/picker/modifiers.go @@ -3,7 +3,7 @@ package picker import ( "fmt" - "github.com/pocketbase/pocketbase/tools/tokenizer" + "github.com/tabshift-gh/pocketbase/tools/tokenizer" ) var Modifiers = map[string]ModifierFactoryFunc{} diff --git a/tools/picker/pick.go b/tools/picker/pick.go index 2cd23aa5..ef3cb07c 100644 --- a/tools/picker/pick.go +++ b/tools/picker/pick.go @@ -4,8 +4,8 @@ import ( "encoding/json" "strings" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/tokenizer" + "github.com/tabshift-gh/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/tokenizer" ) // Pick converts data into a []any, map[string]any, etc. (using json marshal->unmarshal) diff --git a/tools/picker/pick_test.go b/tools/picker/pick_test.go index 95add588..b94fda62 100644 --- a/tools/picker/pick_test.go +++ b/tools/picker/pick_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/pocketbase/pocketbase/tools/picker" - "github.com/pocketbase/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/picker" + "github.com/tabshift-gh/pocketbase/tools/search" ) func TestPickFields(t *testing.T) { diff --git a/tools/router/error.go b/tools/router/error.go index 2c437cdc..a25c83f5 100644 --- a/tools/router/error.go +++ b/tools/router/error.go @@ -8,7 +8,7 @@ import ( "strings" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/inflector" ) // SafeErrorItem defines a common error interface for a printable public safe error. diff --git a/tools/router/error_test.go b/tools/router/error_test.go index 8ced8932..595be421 100644 --- a/tools/router/error_test.go +++ b/tools/router/error_test.go @@ -10,7 +10,7 @@ import ( "testing" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/router" ) func TestNewApiErrorWithRawData(t *testing.T) { diff --git a/tools/router/event.go b/tools/router/event.go index 88b03786..de0de5d4 100644 --- a/tools/router/event.go +++ b/tools/router/event.go @@ -12,10 +12,10 @@ import ( "path/filepath" "strings" - "github.com/pocketbase/pocketbase/tools/filesystem" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/picker" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/filesystem" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/picker" + "github.com/tabshift-gh/pocketbase/tools/store" ) var ErrUnsupportedContentType = NewBadRequestError("Unsupported Content-Type", nil) diff --git a/tools/router/event_test.go b/tools/router/event_test.go index 519f67b6..796b9472 100644 --- a/tools/router/event_test.go +++ b/tools/router/event_test.go @@ -19,7 +19,7 @@ import ( "testing" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/router" ) type unwrapTester struct { diff --git a/tools/router/group.go b/tools/router/group.go index b6f75248..f4278819 100644 --- a/tools/router/group.go +++ b/tools/router/group.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) // (note: the struct is named RouterGroup instead of Group so that it can diff --git a/tools/router/group_test.go b/tools/router/group_test.go index aeafca44..2b5b6b2c 100644 --- a/tools/router/group_test.go +++ b/tools/router/group_test.go @@ -7,7 +7,7 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) func TestRouterGroupGroup(t *testing.T) { diff --git a/tools/router/route.go b/tools/router/route.go index 351096df..ef7fa60c 100644 --- a/tools/router/route.go +++ b/tools/router/route.go @@ -1,6 +1,6 @@ package router -import "github.com/pocketbase/pocketbase/tools/hook" +import "github.com/tabshift-gh/pocketbase/tools/hook" type Route[T hook.Resolver] struct { excludedMiddlewares map[string]struct{} diff --git a/tools/router/route_test.go b/tools/router/route_test.go index ef6e5416..c5b606f7 100644 --- a/tools/router/route_test.go +++ b/tools/router/route_test.go @@ -4,7 +4,7 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) func TestRouteBindFunc(t *testing.T) { diff --git a/tools/router/router.go b/tools/router/router.go index c2c35ddd..3dd777d6 100644 --- a/tools/router/router.go +++ b/tools/router/router.go @@ -9,7 +9,7 @@ import ( "net" "net/http" - "github.com/pocketbase/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/hook" ) type EventCleanupFunc func() diff --git a/tools/router/router_test.go b/tools/router/router_test.go index c71cb708..12c18470 100644 --- a/tools/router/router_test.go +++ b/tools/router/router_test.go @@ -6,8 +6,8 @@ import ( "net/http/httptest" "testing" - "github.com/pocketbase/pocketbase/tools/hook" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/hook" + "github.com/tabshift-gh/pocketbase/tools/router" ) func TestRouter(t *testing.T) { diff --git a/tools/router/unmarshal_request_data_test.go b/tools/router/unmarshal_request_data_test.go index 797719a3..d07e24d9 100644 --- a/tools/router/unmarshal_request_data_test.go +++ b/tools/router/unmarshal_request_data_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/router" ) func pointer[T any](val T) *T { diff --git a/tools/routine/routine_test.go b/tools/routine/routine_test.go index dcb6ace6..044871a0 100644 --- a/tools/routine/routine_test.go +++ b/tools/routine/routine_test.go @@ -4,7 +4,7 @@ import ( "sync" "testing" - "github.com/pocketbase/pocketbase/tools/routine" + "github.com/tabshift-gh/pocketbase/tools/routine" ) func TestFireAndForget(t *testing.T) { diff --git a/tools/search/filter.go b/tools/search/filter.go index 8df74a95..f0921524 100644 --- a/tools/search/filter.go +++ b/tools/search/filter.go @@ -9,8 +9,8 @@ import ( "github.com/ganigeorgiev/fexpr" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/store" "github.com/spf13/cast" ) diff --git a/tools/search/filter_test.go b/tools/search/filter_test.go index a5bf81e8..dce69279 100644 --- a/tools/search/filter_test.go +++ b/tools/search/filter_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/search" ) func TestFilterDataBuildExpr(t *testing.T) { diff --git a/tools/search/identifier_macros.go b/tools/search/identifier_macros.go index b0314de4..1dbc2643 100644 --- a/tools/search/identifier_macros.go +++ b/tools/search/identifier_macros.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) // note: used primarily for the tests diff --git a/tools/search/provider.go b/tools/search/provider.go index 02a1f7b7..e3639d6d 100644 --- a/tools/search/provider.go +++ b/tools/search/provider.go @@ -8,8 +8,8 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/dbutils" - "github.com/pocketbase/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/dbutils" + "github.com/tabshift-gh/pocketbase/tools/inflector" "golang.org/x/sync/errgroup" ) diff --git a/tools/search/provider_test.go b/tools/search/provider_test.go index fc73a4df..60eb08ef 100644 --- a/tools/search/provider_test.go +++ b/tools/search/provider_test.go @@ -13,7 +13,7 @@ import ( "time" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/list" _ "modernc.org/sqlite" ) diff --git a/tools/search/simple_field_resolver.go b/tools/search/simple_field_resolver.go index f19600c7..bab15989 100644 --- a/tools/search/simple_field_resolver.go +++ b/tools/search/simple_field_resolver.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/list" ) type NullFallbackPreference int diff --git a/tools/search/simple_field_resolver_test.go b/tools/search/simple_field_resolver_test.go index c5543e08..f7f93931 100644 --- a/tools/search/simple_field_resolver_test.go +++ b/tools/search/simple_field_resolver_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/search" ) func TestSimpleFieldResolverUpdateQuery(t *testing.T) { diff --git a/tools/search/sort_test.go b/tools/search/sort_test.go index 1c23cc45..8ba30dc9 100644 --- a/tools/search/sort_test.go +++ b/tools/search/sort_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/search" + "github.com/tabshift-gh/pocketbase/tools/search" ) func TestSortFieldBuildExpr(t *testing.T) { diff --git a/tools/search/token_functions_test.go b/tools/search/token_functions_test.go index fa9ed6a4..b738862f 100644 --- a/tools/search/token_functions_test.go +++ b/tools/search/token_functions_test.go @@ -8,7 +8,7 @@ import ( "github.com/ganigeorgiev/fexpr" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestTokenFunctionsGeoDistance(t *testing.T) { diff --git a/tools/security/crypto_test.go b/tools/security/crypto_test.go index 36134d45..79917ddb 100644 --- a/tools/security/crypto_test.go +++ b/tools/security/crypto_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestS256Challenge(t *testing.T) { diff --git a/tools/security/encrypt_test.go b/tools/security/encrypt_test.go index 19316721..685e5ada 100644 --- a/tools/security/encrypt_test.go +++ b/tools/security/encrypt_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestEncrypt(t *testing.T) { diff --git a/tools/security/jwt_test.go b/tools/security/jwt_test.go index afb636d2..ead2e80d 100644 --- a/tools/security/jwt_test.go +++ b/tools/security/jwt_test.go @@ -5,7 +5,7 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestParseUnverifiedJWT(t *testing.T) { diff --git a/tools/security/random_by_regex_test.go b/tools/security/random_by_regex_test.go index 208e8553..dbadad36 100644 --- a/tools/security/random_by_regex_test.go +++ b/tools/security/random_by_regex_test.go @@ -7,7 +7,7 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestRandomStringByRegex(t *testing.T) { diff --git a/tools/security/random_test.go b/tools/security/random_test.go index d0f8ecea..9d47690b 100644 --- a/tools/security/random_test.go +++ b/tools/security/random_test.go @@ -6,7 +6,7 @@ import ( "slices" "testing" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/security" ) func TestRandomString(t *testing.T) { diff --git a/tools/store/store_test.go b/tools/store/store_test.go index 24f28741..27933da0 100644 --- a/tools/store/store_test.go +++ b/tools/store/store_test.go @@ -7,7 +7,7 @@ import ( "strconv" "testing" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/store" ) func TestNew(t *testing.T) { diff --git a/tools/subscriptions/broker.go b/tools/subscriptions/broker.go index 82cf30d1..09d4ca72 100644 --- a/tools/subscriptions/broker.go +++ b/tools/subscriptions/broker.go @@ -3,8 +3,8 @@ package subscriptions import ( "fmt" - "github.com/pocketbase/pocketbase/tools/list" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/list" + "github.com/tabshift-gh/pocketbase/tools/store" ) // Broker defines a struct for managing subscriptions clients. diff --git a/tools/subscriptions/broker_test.go b/tools/subscriptions/broker_test.go index 74955d60..896431ce 100644 --- a/tools/subscriptions/broker_test.go +++ b/tools/subscriptions/broker_test.go @@ -3,7 +3,7 @@ package subscriptions_test import ( "testing" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" ) func TestNewBroker(t *testing.T) { diff --git a/tools/subscriptions/client.go b/tools/subscriptions/client.go index 06309d54..4feb9487 100644 --- a/tools/subscriptions/client.go +++ b/tools/subscriptions/client.go @@ -6,8 +6,8 @@ import ( "strings" "sync" - "github.com/pocketbase/pocketbase/tools/inflector" - "github.com/pocketbase/pocketbase/tools/security" + "github.com/tabshift-gh/pocketbase/tools/inflector" + "github.com/tabshift-gh/pocketbase/tools/security" "github.com/spf13/cast" ) diff --git a/tools/subscriptions/client_test.go b/tools/subscriptions/client_test.go index ff5b59b7..cf4ed1fd 100644 --- a/tools/subscriptions/client_test.go +++ b/tools/subscriptions/client_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" ) func TestNewDefaultClient(t *testing.T) { diff --git a/tools/subscriptions/message_test.go b/tools/subscriptions/message_test.go index 6483c9b7..6a147962 100644 --- a/tools/subscriptions/message_test.go +++ b/tools/subscriptions/message_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" ) func TestMessageWrite(t *testing.T) { diff --git a/tools/template/registry.go b/tools/template/registry.go index 24402069..2bc433fd 100644 --- a/tools/template/registry.go +++ b/tools/template/registry.go @@ -28,7 +28,7 @@ import ( "path/filepath" "strings" - "github.com/pocketbase/pocketbase/tools/store" + "github.com/tabshift-gh/pocketbase/tools/store" ) // NewRegistry creates and initializes a new templates registry with diff --git a/tools/types/datetime_test.go b/tools/types/datetime_test.go index 0d6e38b1..9512211c 100644 --- a/tools/types/datetime_test.go +++ b/tools/types/datetime_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestNowDateTime(t *testing.T) { diff --git a/tools/types/geo_point_test.go b/tools/types/geo_point_test.go index fa7c5d5a..73488980 100644 --- a/tools/types/geo_point_test.go +++ b/tools/types/geo_point_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestGeoPointAsMap(t *testing.T) { diff --git a/tools/types/json_array_test.go b/tools/types/json_array_test.go index 27aa16fe..bc218288 100644 --- a/tools/types/json_array_test.go +++ b/tools/types/json_array_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestJSONArrayMarshalJSON(t *testing.T) { diff --git a/tools/types/json_map_test.go b/tools/types/json_map_test.go index 56ea95aa..a656b8dc 100644 --- a/tools/types/json_map_test.go +++ b/tools/types/json_map_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestJSONMapMarshalJSON(t *testing.T) { diff --git a/tools/types/json_raw_test.go b/tools/types/json_raw_test.go index 31c8eb25..f371f543 100644 --- a/tools/types/json_raw_test.go +++ b/tools/types/json_raw_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestParseJSONRaw(t *testing.T) { diff --git a/tools/types/types_test.go b/tools/types/types_test.go index 615ac4c6..904e6671 100644 --- a/tools/types/types_test.go +++ b/tools/types/types_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/pocketbase/pocketbase/tools/types" + "github.com/tabshift-gh/pocketbase/tools/types" ) func TestPointer(t *testing.T) {