From 2c1253f56de7b424bd1a1b3796e2d38479fac0a3 Mon Sep 17 00:00:00 2001 From: "T. R. Bernstein" <137705289+trbernstein@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:02:10 +0200 Subject: [PATCH] adjust code to new repository --- .goreleaser.yaml | 2 +- apis/api_error_aliases.go | 2 +- apis/backup.go | 8 +++--- apis/backup_create.go | 2 +- apis/backup_test.go | 8 +++--- apis/backup_upload.go | 6 ++--- apis/base.go | 4 +-- apis/base_test.go | 8 +++--- apis/batch.go | 8 +++--- apis/batch_test.go | 6 ++--- apis/collection.go | 8 +++--- apis/collection_import.go | 2 +- apis/collection_import_test.go | 4 +-- apis/collection_test.go | 6 ++--- apis/cron.go | 8 +++--- apis/cron_test.go | 4 +-- apis/file.go | 8 +++--- apis/file_test.go | 8 +++--- apis/health.go | 4 +-- apis/health_test.go | 2 +- apis/installer.go | 6 ++--- apis/logs.go | 6 ++--- apis/logs_test.go | 4 +-- apis/middlewares.go | 10 +++---- apis/middlewares_body_limit.go | 6 ++--- apis/middlewares_body_limit_test.go | 6 ++--- apis/middlewares_cors.go | 4 +-- apis/middlewares_gzip.go | 6 ++--- apis/middlewares_rate_limit.go | 6 ++--- apis/middlewares_rate_limit_test.go | 6 ++--- apis/middlewares_test.go | 6 ++--- apis/realtime.go | 16 ++++++------ apis/realtime_test.go | 10 +++---- apis/record_auth.go | 4 +-- apis/record_auth_email_change_confirm.go | 4 +-- apis/record_auth_email_change_confirm_test.go | 4 +-- apis/record_auth_email_change_request.go | 4 +-- apis/record_auth_email_change_request_test.go | 4 +-- apis/record_auth_impersonate.go | 2 +- apis/record_auth_impersonate_test.go | 2 +- apis/record_auth_methods.go | 6 ++--- apis/record_auth_methods_test.go | 4 +-- apis/record_auth_otp_request.go | 8 +++--- apis/record_auth_otp_request_test.go | 6 ++--- apis/record_auth_password_reset_confirm.go | 6 ++--- ...record_auth_password_reset_confirm_test.go | 4 +-- apis/record_auth_password_reset_request.go | 6 ++--- ...record_auth_password_reset_request_test.go | 4 +-- apis/record_auth_refresh.go | 4 +-- apis/record_auth_refresh_test.go | 4 +-- apis/record_auth_verification_confirm.go | 4 +-- apis/record_auth_verification_confirm_test.go | 4 +-- apis/record_auth_verification_request.go | 6 ++--- apis/record_auth_verification_request_test.go | 4 +-- apis/record_auth_with_oauth2.go | 8 +++--- apis/record_auth_with_oauth2_redirect.go | 6 ++--- apis/record_auth_with_oauth2_redirect_test.go | 6 ++--- apis/record_auth_with_oauth2_test.go | 8 +++--- apis/record_auth_with_otp.go | 2 +- apis/record_auth_with_otp_test.go | 6 ++--- apis/record_auth_with_password.go | 6 ++--- apis/record_auth_with_password_test.go | 6 ++--- apis/record_crud.go | 16 ++++++------ apis/record_crud_auth_origin_test.go | 4 +-- apis/record_crud_external_auth_test.go | 4 +-- apis/record_crud_mfa_test.go | 4 +-- apis/record_crud_otp_test.go | 4 +-- apis/record_crud_superuser_test.go | 4 +-- apis/record_crud_test.go | 10 +++---- apis/record_helpers.go | 12 ++++----- apis/record_helpers_test.go | 10 +++---- apis/serve.go | 10 +++---- apis/settings.go | 6 ++--- apis/settings_test.go | 4 +-- cmd/serve.go | 4 +-- cmd/superuser.go | 4 +-- cmd/superuser_test.go | 6 ++--- core/app.go | 12 ++++----- core/auth_origin_model.go | 4 +-- core/auth_origin_model_test.go | 6 ++--- core/auth_origin_query_test.go | 4 +-- core/base.go | 22 ++++++++-------- core/base_backup.go | 12 ++++----- core/base_backup_test.go | 8 +++--- core/base_test.go | 8 +++--- core/collection_import_test.go | 4 +-- core/collection_model.go | 8 +++--- core/collection_model_auth_options.go | 10 +++---- core/collection_model_auth_options_test.go | 8 +++--- core/collection_model_test.go | 10 +++---- core/collection_model_view_options_test.go | 4 +-- core/collection_query.go | 4 +-- core/collection_query_test.go | 6 ++--- core/collection_record_table_sync.go | 4 +-- core/collection_record_table_sync_test.go | 8 +++--- core/collection_validate.go | 10 +++---- core/collection_validate_test.go | 6 ++--- core/db.go | 2 +- core/db_model_test.go | 2 +- core/db_table_test.go | 4 +-- core/db_test.go | 4 +-- core/db_tx_test.go | 4 +-- core/event_request.go | 4 +-- core/event_request_batch.go | 2 +- core/event_request_batch_test.go | 4 +-- core/event_request_test.go | 4 +-- core/events.go | 12 ++++----- core/external_auth_model.go | 6 ++--- core/external_auth_model_test.go | 6 ++--- core/external_auth_query_test.go | 4 +-- core/field.go | 4 +-- core/field_autodate.go | 4 +-- core/field_autodate_test.go | 8 +++--- core/field_bool.go | 2 +- core/field_bool_test.go | 4 +-- core/field_date.go | 4 +-- core/field_date_test.go | 6 ++--- core/field_editor.go | 2 +- core/field_editor_test.go | 4 +-- core/field_email.go | 2 +- core/field_email_test.go | 4 +-- core/field_file.go | 8 +++--- core/field_file_test.go | 10 +++---- core/field_geo_point.go | 4 +-- core/field_geo_point_test.go | 6 ++--- core/field_json.go | 4 +-- core/field_json_test.go | 6 ++--- core/field_number.go | 2 +- core/field_number_test.go | 6 ++--- core/field_password.go | 2 +- core/field_password_test.go | 4 +-- core/field_relation.go | 6 ++--- core/field_relation_test.go | 6 ++--- core/field_select.go | 4 +-- core/field_select_test.go | 6 ++--- core/field_test.go | 4 +-- core/field_text.go | 4 +-- core/field_text_test.go | 4 +-- core/field_url.go | 2 +- core/field_url_test.go | 4 +-- core/fields_list_test.go | 2 +- core/log_model.go | 2 +- core/log_printer.go | 4 +-- core/log_printer_test.go | 4 +-- core/log_query.go | 2 +- core/log_query_test.go | 6 ++--- core/mfa_model.go | 4 +-- core/mfa_model_test.go | 6 ++--- core/mfa_query.go | 2 +- core/mfa_query_test.go | 4 +-- core/migrations_list_test.go | 2 +- core/migrations_runner.go | 2 +- core/migrations_runner_test.go | 4 +-- core/otp_model.go | 2 +- core/otp_model_test.go | 6 ++--- core/otp_query.go | 2 +- core/otp_query_test.go | 4 +-- core/record_field_resolver.go | 6 ++--- core/record_field_resolver_runner.go | 14 +++++----- core/record_field_resolver_test.go | 10 +++---- core/record_model.go | 16 ++++++------ core/record_model_auth.go | 2 +- core/record_model_auth_test.go | 6 ++--- core/record_model_superusers.go | 4 +-- core/record_model_superusers_test.go | 4 +-- core/record_model_test.go | 10 +++---- core/record_proxy_test.go | 2 +- core/record_query.go | 10 +++---- core/record_query_expand.go | 4 +-- core/record_query_expand_test.go | 6 ++--- core/record_query_test.go | 8 +++--- core/record_tokens.go | 2 +- core/record_tokens_test.go | 6 ++--- core/settings_model.go | 12 ++++----- core/settings_model_test.go | 6 ++--- core/settings_query.go | 4 +-- core/settings_query_test.go | 6 ++--- core/syscall_wasm.go | 2 +- core/validators/db_test.go | 4 +-- core/validators/equal_test.go | 2 +- core/validators/file.go | 2 +- core/validators/file_test.go | 4 +-- core/validators/string_test.go | 2 +- core/validators/validators_test.go | 2 +- core/view.go | 8 +++--- core/view_test.go | 4 +-- examples/base/main.go | 16 ++++++------ forms/apple_client_secret_create.go | 2 +- forms/apple_client_secret_create_test.go | 4 +-- forms/record_upsert.go | 6 ++--- forms/record_upsert_test.go | 8 +++--- forms/test_email_send.go | 4 +-- forms/test_email_send_test.go | 4 +-- forms/test_s3_filesystem.go | 6 ++--- forms/test_s3_filesystem_test.go | 4 +-- go.mod | 2 +- mails/record.go | 6 ++--- mails/record_test.go | 4 +-- migrations/1640988000_aux_init.go | 2 +- migrations/1640988000_init.go | 4 +-- migrations/1717233556_v0.23_migrate.go | 6 ++--- migrations/1717233557_v0.23_migrate2.go | 2 +- migrations/1717233558_v0.23_migrate3.go | 2 +- migrations/1717233559_v0.23_migrate4.go | 2 +- modernc_versions_check.go | 4 +-- plugins/ghupdate/ghupdate.go | 6 ++--- plugins/jsvm/binds.go | 26 +++++++++---------- plugins/jsvm/binds_test.go | 14 +++++----- plugins/jsvm/form_data.go | 2 +- plugins/jsvm/form_data_test.go | 4 +-- plugins/jsvm/internal/types/types.go | 22 ++++++++-------- plugins/jsvm/jsvm.go | 6 ++--- plugins/jsvm/mapper_test.go | 2 +- plugins/migratecmd/automigrate.go | 2 +- plugins/migratecmd/migratecmd.go | 6 ++--- plugins/migratecmd/migratecmd_test.go | 22 ++++++++-------- plugins/migratecmd/templates.go | 22 ++++++++-------- pocketbase.go | 20 +++++++------- tests/api.go | 6 ++--- tests/app.go | 8 +++--- tests/dynamic_stubs.go | 4 +-- tests/mailer.go | 2 +- tools/archive/create_test.go | 2 +- tools/archive/extract_test.go | 2 +- tools/auth/apple.go | 2 +- tools/auth/auth.go | 2 +- tools/auth/auth_test.go | 2 +- tools/auth/bitbucket.go | 2 +- tools/auth/box.go | 2 +- tools/auth/discord.go | 2 +- tools/auth/facebook.go | 2 +- tools/auth/gitea.go | 2 +- tools/auth/gitee.go | 2 +- tools/auth/github.go | 2 +- tools/auth/gitlab.go | 2 +- tools/auth/google.go | 2 +- tools/auth/instagram.go | 2 +- tools/auth/kakao.go | 2 +- tools/auth/lark.go | 2 +- tools/auth/linear.go | 2 +- tools/auth/livechat.go | 2 +- tools/auth/mailcow.go | 2 +- tools/auth/microsoft.go | 2 +- tools/auth/monday.go | 2 +- tools/auth/notion.go | 2 +- tools/auth/oidc.go | 4 +-- tools/auth/patreon.go | 2 +- tools/auth/planningcenter.go | 2 +- tools/auth/spotify.go | 2 +- tools/auth/strava.go | 2 +- tools/auth/trakt.go | 2 +- tools/auth/twitch.go | 2 +- tools/auth/twitter.go | 2 +- tools/auth/vk.go | 2 +- tools/auth/wakatime.go | 2 +- tools/auth/yandex.go | 2 +- tools/cron/schedule_test.go | 2 +- tools/dbutils/index.go | 2 +- tools/dbutils/index_test.go | 2 +- tools/dbutils/json_test.go | 2 +- tools/filesystem/file.go | 4 +-- tools/filesystem/file_test.go | 4 +-- tools/filesystem/filesystem.go | 12 ++++----- tools/filesystem/filesystem_test.go | 2 +- .../filesystem/internal/fileblob/fileblob.go | 2 +- .../internal/s3blob/s3/copy_object_test.go | 4 +-- .../internal/s3blob/s3/delete_object_test.go | 4 +-- .../internal/s3blob/s3/error_test.go | 2 +- .../internal/s3blob/s3/get_object_test.go | 4 +-- .../internal/s3blob/s3/head_object_test.go | 4 +-- .../internal/s3blob/s3/list_objects_test.go | 4 +-- tools/filesystem/internal/s3blob/s3/s3.go | 4 +-- .../filesystem/internal/s3blob/s3/s3_test.go | 4 +-- .../internal/s3blob/s3/uploader_test.go | 4 +-- tools/filesystem/internal/s3blob/s3blob.go | 4 +-- .../filesystem/internal/s3blob/s3blob_test.go | 8 +++--- tools/hook/hook.go | 2 +- tools/hook/tagged.go | 2 +- tools/inflector/inflector_test.go | 2 +- tools/inflector/singularize.go | 2 +- tools/inflector/singularize_test.go | 2 +- tools/list/list.go | 2 +- tools/list/list_test.go | 4 +-- tools/logger/batch_handler.go | 2 +- tools/logger/log.go | 2 +- tools/mailer/html2text.go | 2 +- tools/mailer/mailer.go | 2 +- tools/mailer/sendmail.go | 2 +- tools/mailer/smtp.go | 4 +-- tools/osutils/cmd_test.go | 2 +- tools/osutils/dir.go | 4 +-- tools/osutils/dir_test.go | 6 ++--- tools/picker/excerpt_modifier.go | 2 +- tools/picker/modifiers.go | 2 +- tools/picker/pick.go | 4 +-- tools/picker/pick_test.go | 4 +-- tools/router/error.go | 2 +- tools/router/error_test.go | 2 +- tools/router/event.go | 8 +++--- tools/router/event_test.go | 2 +- tools/router/group.go | 2 +- tools/router/group_test.go | 2 +- tools/router/rereadable_read_closer_test.go | 2 +- tools/router/route.go | 2 +- tools/router/route_test.go | 2 +- tools/router/router.go | 2 +- tools/router/router_test.go | 4 +-- tools/router/unmarshal_request_data_test.go | 2 +- tools/routine/routine_test.go | 2 +- tools/search/filter.go | 4 +-- tools/search/filter_test.go | 2 +- tools/search/identifier_macros.go | 2 +- tools/search/provider.go | 2 +- tools/search/provider_test.go | 2 +- tools/search/simple_field_resolver.go | 4 +-- tools/search/simple_field_resolver_test.go | 2 +- tools/search/sort_test.go | 2 +- tools/search/token_functions_test.go | 2 +- tools/security/crypto_test.go | 2 +- tools/security/encrypt_test.go | 2 +- tools/security/jwt_test.go | 2 +- tools/security/random_by_regex_test.go | 2 +- tools/security/random_test.go | 2 +- tools/store/store_test.go | 2 +- tools/subscriptions/broker.go | 4 +-- tools/subscriptions/broker_test.go | 2 +- tools/subscriptions/client.go | 4 +-- tools/subscriptions/client_test.go | 2 +- tools/subscriptions/message_test.go | 2 +- tools/template/registry.go | 2 +- tools/types/datetime_test.go | 2 +- tools/types/geo_point_test.go | 2 +- tools/types/json_array_test.go | 2 +- tools/types/json_map_test.go | 2 +- tools/types/json_raw_test.go | 2 +- tools/types/types_test.go | 2 +- 336 files changed, 791 insertions(+), 791 deletions(-) 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 28eac809..26590ea7 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 39f10d91..62f0f76d 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 baa24fe7..06aa4ef8 100644 --- a/apis/collection.go +++ b/apis/collection.go @@ -6,10 +6,10 @@ import ( "strings" validation "github.com/go-ozzo/ozzo-validation/v4" - "github.com/pocketbase/pocketbase/core" - "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/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 8d74f750..4c428637 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 5c6ec211..2ec1712f 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 a57c2cc6..f94213d8 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 5b13b429..bb77da02 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 72405808..68e91e30 100644 --- a/apis/installer.go +++ b/apis/installer.go @@ -10,8 +10,8 @@ import ( "github.com/fatih/color" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/osutils" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/osutils" ) // DefaultInstallerFunc is the default PocketBase installer function. @@ -20,7 +20,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 { token, err := systemSuperuser.NewStaticAuthToken(30 * time.Minute) if err != nil { 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 6f4424d7..09357cd2 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 3661a2e4..47eab873 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 b4b737a9..f1d60f4a 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 a884be0f..22f13675 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 d28c1364..411a0c2e 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 0b68317f..d4690cf8 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 799e082e..72214a40 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 bf56be76..d8466d0d 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 c1982054..bff2beb8 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 df39d662..55fcf844 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 ec624681..c47dab32 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 fff8f2b3..c32a9b83 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 ef48c7c6..905da390 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 c0589f9a..481b5d2a 100644 --- a/apis/record_auth_with_oauth2.go +++ b/apis/record_auth_with_oauth2.go @@ -14,10 +14,10 @@ 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/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" "golang.org/x/oauth2" ) diff --git a/apis/record_auth_with_oauth2_redirect.go b/apis/record_auth_with_oauth2_redirect.go index c4ac4583..a0388aa8 100644 --- a/apis/record_auth_with_oauth2_redirect.go +++ b/apis/record_auth_with_oauth2_redirect.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tools/subscriptions" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tools/subscriptions" ) const ( @@ -60,7 +60,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 b1625fbf..65d4e567 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 c4641671..dcf81dca 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 bc514422..0ab9cda9 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 c28f911d..66afb23e 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 8ed3aea6..967f549f 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 ff487583..d61818c8 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 2db19fca..5da5a0c4 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 b15d241f..26a0bb97 100644 --- a/apis/record_helpers.go +++ b/apis/record_helpers.go @@ -9,12 +9,12 @@ 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/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" ) 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 d2af0c76..4321ab09 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 d6d609cd..20a23b36 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 3c20a750..8427f15b 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 df2b354a..fe1915dc 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 01185196..9c91d82c 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 b0b2f2d5..0a5436bc 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 b9b43531..06584f5c 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 c5d3006f..8b4d4a30 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 a0198d06..51e07e3b 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 ba0abf88..372a48a1 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 c7da1eff..66f13298 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 a3506aba..646f8fb1 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 0f98de43..537b2040 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 5f54f583..16601bc2 100644 --- a/core/events.go +++ b/core/events.go @@ -6,12 +6,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 3623dfa7..c60259b3 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 512f6771..69d7185e 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 868ba665..59f6f653 100644 --- a/core/external_auth_query_test.go +++ b/core/external_auth_query_test.go @@ -5,8 +5,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 8ee4d502..1b81602e 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 ca29bed2..4af0efaf 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 7be98c2a..6591aade 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 6706099b..23e0ec9f 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 67ee1ebf..bca2a8c8 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 ea95b191..5f279d95 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 e3f17489..56aa7f55 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 8bcebcd7..cf9b7df2 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 9d82ac1d..957eb96e 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 600f2c2c..f832bdbc 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 871adebb..e9300528 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 82ad3694..3e0ad9f5 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 eecc4186..b8cc280a 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 dfee422f..1266a8bb 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 4a30edfc..30c741b7 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 75263a99..78f651e7 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 d11e1750..0ec4c1a4 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 a9117d6b..463d7c78 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 794846f7..e6831f80 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 31a1113d..6c07bc9c 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 77956457..933b6c30 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() { @@ -282,7 +282,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 598e361b..c8474b17 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 e77eb38c..01b9467c 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 808c1096..cb0669c7 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 fba7089a..0967fd96 100644 --- a/core/field_test.go +++ b/core/field_test.go @@ -6,8 +6,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 b999e8b1..9c2b5d43 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 100ddb30..6a67441e 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 79a61dc3..db33c5e1 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 0b2db39d..48becf08 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 e667e769..216da9e6 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 d2d2eb1b..d24123fb 100644 --- a/core/mfa_model.go +++ b/core/mfa_model.go @@ -5,8 +5,8 @@ import ( "errors" "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 97669749..014bd41f 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 589ce4a9..03df6a23 100644 --- a/core/otp_model.go +++ b/core/otp_model.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/pocketbase/pocketbase/tools/types" + "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 f0d5155a..0afdc7ee 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 b93a7b0a..a048822c 100644 --- a/core/record_field_resolver.go +++ b/core/record_field_resolver.go @@ -9,9 +9,9 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/search" - "github.com/pocketbase/pocketbase/tools/security" - "github.com/pocketbase/pocketbase/tools/types" + "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 412e330b..4943627b 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" ) @@ -497,7 +497,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 } @@ -771,7 +771,7 @@ func (r *runner) processLastProp(collection *Collection, prop string) (*search.R // 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.NoCoalesce = true result.Identifier = dbutils.JSONExtract(r.activeTableAlias+"."+cleanFieldName, "") diff --git a/core/record_field_resolver_test.go b/core/record_field_resolver_test.go index 14394e3b..93af23e1 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 35efa86a..7acb3dd1 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 9797ca1f..74410707 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 2869c1da..0ea4ea6d 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 04b5cbf1..ee00eb8e 100644 --- a/core/record_query_expand_test.go +++ b/core/record_query_expand_test.go @@ -6,9 +6,9 @@ import ( "strings" "testing" - "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 fe38b406..1fdc1379 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 50eb2fc9..d4e00696 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 3f489c5b..b1aa0bed 100644 --- a/core/settings_model_test.go +++ b/core/settings_model_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/pocketbase/pocketbase/core" - "github.com/pocketbase/pocketbase/tests" - "github.com/pocketbase/pocketbase/tools/mailer" + "github.com/tabshift-gh/pocketbase/core" + "github.com/tabshift-gh/pocketbase/tests" + "github.com/tabshift-gh/pocketbase/tools/mailer" ) 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 5ae863b9..1a2e1f6b 100644 --- a/core/view.go +++ b/core/view.go @@ -8,10 +8,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 3e0a343e..b1dcd292 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 faf423d3..c6e944e1 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 77da7dca..5bb4e170 100644 --- a/forms/test_email_send.go +++ b/forms/test_email_send.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" ) 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 88a03666..575a0d9a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pocketbase/pocketbase +module github.com/tabshift-gh/pocketbase go 1.24.0 diff --git a/mails/record.go b/mails/record.go index 25b50aeb..4142e891 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 0f103dbb..bbd714ec 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 edb5b953..2c33cb6c 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 0ffabe69..7e4025e9 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 d6564749..30049701 100644 --- a/plugins/jsvm/binds.go +++ b/plugins/jsvm/binds.go @@ -21,19 +21,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 69b7e8a3..e62eca60 100644 --- a/plugins/jsvm/binds_test.go +++ b/plugins/jsvm/binds_test.go @@ -17,13 +17,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 35debe8b..f35fddf4 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" ) @@ -1180,14 +1180,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 43c80756..cec3195c 100644 --- a/plugins/jsvm/jsvm.go +++ b/plugins/jsvm/jsvm.go @@ -28,9 +28,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 e349cb84..eced1820 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) { @@ -196,8 +196,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() { @@ -633,8 +633,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() { @@ -1015,8 +1015,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 6ca4355a..54857af5 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 { @@ -252,8 +252,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 2fa281ec..0c34a84a 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 9783c2f2..cd640b85 100644 --- a/tools/auth/apple.go +++ b/tools/auth/apple.go @@ -6,7 +6,7 @@ import ( "errors" "github.com/golang-jwt/jwt/v5" - "github.com/pocketbase/pocketbase/tools/types" + "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 4d681f92..a1b09cf2 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 ca5d8776..d5a2e9a8 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 47b54f37..98dfcedd 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 41e78b48..ef6b85a1 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 b3f08c06..a93604c4 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 721efaf8..5d23310d 100644 --- a/tools/auth/gitea.go +++ b/tools/auth/gitea.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/gitee.go b/tools/auth/gitee.go index ae0b07b7..587e70f0 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 f4aa72fa..e8f3c5b5 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 837197bb..8849a7cb 100644 --- a/tools/auth/gitlab.go +++ b/tools/auth/gitlab.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/google.go b/tools/auth/google.go index 086cc97e..7d8062aa 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 9de0f602..65c5d5b7 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 849718a2..d04d1443 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 7466f86f..a9969420 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 d5bab3c8..faaaaf44 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 2272091b..1f455dfc 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 7e802be7..df2158e0 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 98732583..1d84829e 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 3076c49a..940064eb 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 5138e216..0ebd165e 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 81529ad6..69a1e136 100644 --- a/tools/auth/oidc.go +++ b/tools/auth/oidc.go @@ -16,8 +16,8 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "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" "github.com/spf13/cast" "golang.org/x/oauth2" ) diff --git a/tools/auth/patreon.go b/tools/auth/patreon.go index ccccc795..bc18f4ef 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 2d834dcc..8f4254ca 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 7e6b970e..8e9b5164 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 836af0f2..fbf44eed 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 b6bfdcda..cc49adf2 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 17db99e4..143b7370 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 9272e5f3..63991153 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 acba3f58..29fbae13 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 a69ead92..a93cf8c3 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 d4af1fa0..a9de5316 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 c1771975..63ccb92e 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 43ad31c1..ee276a7e 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 d1aac2e7..e540c2b4 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 257f101e..b84fd311 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 fa19e4c0..e34091be 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 3165888d..0af0964f 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 edb1cc48..b18288b5 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 c0143e48..b14d98bf 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 4363979a..39d7656d 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 3f1f7457..65081074 100644 --- a/tools/mailer/smtp.go +++ b/tools/mailer/smtp.go @@ -7,8 +7,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 a822c590..231b9ac3 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 8068ee1f..54ddd836 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/rereadable_read_closer_test.go b/tools/router/rereadable_read_closer_test.go index 2334ee68..440964ba 100644 --- a/tools/router/rereadable_read_closer_test.go +++ b/tools/router/rereadable_read_closer_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/pocketbase/pocketbase/tools/router" + "github.com/tabshift-gh/pocketbase/tools/router" ) func TestRereadableReadCloser(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 d789ff5f..e8ad447c 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 1e953a68..c5f81b1a 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 a9acc159..1e9e4cbc 100644 --- a/tools/search/provider.go +++ b/tools/search/provider.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/pocketbase/dbx" - "github.com/pocketbase/pocketbase/tools/inflector" + "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 0a523983..6bb82397 100644 --- a/tools/search/provider_test.go +++ b/tools/search/provider_test.go @@ -12,7 +12,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 bfd96ada..2b239a5c 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" ) // ResolverResult defines a single FieldResolver.Resolve() successfully parsed result. 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 bc92f121..cb7848de 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 1f5a9163..a2d951da 100644 --- a/tools/subscriptions/client_test.go +++ b/tools/subscriptions/client_test.go @@ -6,7 +6,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) {