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

This commit is contained in:
Jeremy Price 2025-04-03 12:07:05 -07:00
parent 1344ed1d16
commit afd9282785
10 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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.

View file

@ -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 <jwhulette@gmail.com>
*

View file

@ -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;

View file

@ -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)
{

View file

@ -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';
}

View file

@ -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

View file

@ -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');

View file

@ -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) {

View file

@ -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)