From afd9282785dfc3a6dee4eb92f9cd2ef41b8ac5d6 Mon Sep 17 00:00:00 2001 From: Jeremy Price Date: Thu, 3 Apr 2025 12:07:05 -0700 Subject: [PATCH] Update remaining comments from snipe/snipe-it to grokability/snipe-it --- app/Http/Controllers/Auth/LoginController.php | 2 +- app/Http/Controllers/ProfileController.php | 2 +- app/Models/CustomField.php | 2 +- app/Models/Traits/Searchable.php | 2 +- app/Observers/AssetObserver.php | 2 +- app/Policies/CustomFieldsetPolicy.php | 2 +- app/Policies/LicensePolicy.php | 2 +- .../2023_08_23_232739_create_report_templates_table.php | 2 +- ...534_change_report_templates_options_to_column_text_field.php | 2 +- .../Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 77c27763a..749abd6c1 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -227,7 +227,7 @@ class LoginController extends Controller $strip_prefixes = [ // IIS/AD - // https://github.com/snipe/snipe-it/pull/5862 + // https://github.com/grokability/snipe-it/pull/5862 '\\', // Google Cloud IAP diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 1a9bd0035..fbc137059 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -136,7 +136,7 @@ class ProfileController extends Controller } // This checks to make sure that the user's password isn't the same as their username, - // email address, first name or last name (see https://github.com/snipe/snipe-it/issues/8661) + // email address, first name or last name (see https://github.com/grokability/snipe-it/issues/8661) // While this is handled via SaveUserRequest form request in other places, we have to do this manually // here because we don't have the username, etc form fields available in the profile password change // form. diff --git a/app/Models/CustomField.php b/app/Models/CustomField.php index cc29cefe4..4954e2f17 100644 --- a/app/Models/CustomField.php +++ b/app/Models/CustomField.php @@ -378,7 +378,7 @@ class CustomField extends Model /** * Check to see if there is a custom regex format type - * @see https://github.com/snipe/snipe-it/issues/5896 + * @see https://github.com/grokability/snipe-it/issues/5896 * * @author Wes Hulette * diff --git a/app/Models/Traits/Searchable.php b/app/Models/Traits/Searchable.php index 06e05348f..1430ce649 100644 --- a/app/Models/Traits/Searchable.php +++ b/app/Models/Traits/Searchable.php @@ -77,7 +77,7 @@ trait Searchable /** * Making sure to only search in date columns if the search term consists of characters that can make up a MySQL timestamp! * - * @see https://github.com/snipe/snipe-it/issues/4590 + * @see https://github.com/grokability/snipe-it/issues/4590 */ if (! preg_match('/^[0-9 :-]++$/', $term) && in_array($column, $this->getDates())) { continue; diff --git a/app/Observers/AssetObserver.php b/app/Observers/AssetObserver.php index c807ac4d1..d0ff86e53 100644 --- a/app/Observers/AssetObserver.php +++ b/app/Observers/AssetObserver.php @@ -158,7 +158,7 @@ class AssetObserver * is used in this observer, it doesn't actually exist yet and the migration will break unless we * use saveQuietly() in the migration which skips this observer. * - * @see https://github.com/snipe/snipe-it/issues/13723#issuecomment-1761315938 + * @see https://github.com/grokability/snipe-it/issues/13723#issuecomment-1761315938 */ public function saving(Asset $asset) { diff --git a/app/Policies/CustomFieldsetPolicy.php b/app/Policies/CustomFieldsetPolicy.php index a6c06a700..4bb7e2dab 100644 --- a/app/Policies/CustomFieldsetPolicy.php +++ b/app/Policies/CustomFieldsetPolicy.php @@ -11,7 +11,7 @@ class CustomFieldsetPolicy extends SnipePermissionsPolicy * This allows us to use the existing permissions in use and have more * semantically correct authorization checks for custom fieldsets. * - * See: https://github.com/snipe/snipe-it/pull/5795 + * See: https://github.com/grokability/snipe-it/pull/5795 */ return 'customfields'; } diff --git a/app/Policies/LicensePolicy.php b/app/Policies/LicensePolicy.php index 544835c3b..38f5700ad 100644 --- a/app/Policies/LicensePolicy.php +++ b/app/Policies/LicensePolicy.php @@ -22,7 +22,7 @@ class LicensePolicy extends CheckoutablePermissionsPolicy * something (maybe I got the product key wrong), and now I can never * see/edit that product key. * - * @see https://github.com/snipe/snipe-it/issues/6956 + * @see https://github.com/grokability/snipe-it/issues/6956 * @param \App\Models\User $user * @param \App\Models\License $license * @return mixed diff --git a/database/migrations/2023_08_23_232739_create_report_templates_table.php b/database/migrations/2023_08_23_232739_create_report_templates_table.php index 296e14066..e2537594a 100644 --- a/database/migrations/2023_08_23_232739_create_report_templates_table.php +++ b/database/migrations/2023_08_23_232739_create_report_templates_table.php @@ -26,7 +26,7 @@ class CreateReportTemplatesTable extends Migration * for the systems that had successfully run the migration: * 2025_01_06_210534_change_report_templates_options_to_column_text_field. * - * https://github.com/snipe/snipe-it/issues/16015 + * https://github.com/grokability/snipe-it/issues/16015 */ $table->text('options'); diff --git a/database/migrations/2025_01_06_210534_change_report_templates_options_to_column_text_field.php b/database/migrations/2025_01_06_210534_change_report_templates_options_to_column_text_field.php index 0ec13f84c..024214ce3 100644 --- a/database/migrations/2025_01_06_210534_change_report_templates_options_to_column_text_field.php +++ b/database/migrations/2025_01_06_210534_change_report_templates_options_to_column_text_field.php @@ -17,7 +17,7 @@ return new class extends Migration { * This migration definitively changes it to a text column * for the systems that had successfully run the migration. * - * https://github.com/snipe/snipe-it/issues/16015 + * https://github.com/grokability/snipe-it/issues/16015 */ if (Schema::hasTable('report_templates') && Schema::hasColumn('report_templates', 'options')) { Schema::table('report_templates', function (Blueprint $table) { diff --git a/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php b/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php index 60676f39c..3cfaea157 100644 --- a/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php +++ b/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php @@ -14,7 +14,7 @@ class StoreAssetWithFullMultipleCompanySupportTest extends TestCase use ProvidesDataForFullMultipleCompanySupportTesting; /** - * @link https://github.com/snipe/snipe-it/issues/15654 + * @link https://github.com/grokability/snipe-it/issues/15654 */ #[DataProvider('dataForFullMultipleCompanySupportTesting')] public function testAdheresToFullMultipleCompaniesSupportScoping($data)