Skip to content

A free open source IT asset/license management system

Update remaining comments from snipe/snipe-it to grokability/snipe-it

Jeremy Priceafd9282785df
diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php
index 77c27763ac..749abd6c1e 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 1a9bd00356..fbc137059a 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 cc29cefe41..4954e2f17b 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 <[email protected]>
*
diff --git a/app/Models/Traits/Searchable.php b/app/Models/Traits/Searchable.php
index 06e05348fb..1430ce649a 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 c807ac4d1d..d0ff86e53c 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 a6c06a7007..4bb7e2dab6 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 544835c3b8..38f5700ad1 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 296e140662..e2537594a5 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 0ec13f84c2..024214ce3a 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 60676f39c1..3cfaea1572 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)