Update remaining comments from snipe/snipe-it to grokability/snipe-it
This commit is contained in:
parent
1344ed1d16
commit
afd9282785
10 changed files with 10 additions and 10 deletions
|
@ -227,7 +227,7 @@ class LoginController extends Controller
|
||||||
|
|
||||||
$strip_prefixes = [
|
$strip_prefixes = [
|
||||||
// IIS/AD
|
// IIS/AD
|
||||||
// https://github.com/snipe/snipe-it/pull/5862
|
// https://github.com/grokability/snipe-it/pull/5862
|
||||||
'\\',
|
'\\',
|
||||||
|
|
||||||
// Google Cloud IAP
|
// Google Cloud IAP
|
||||||
|
|
|
@ -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,
|
// 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
|
// 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
|
// here because we don't have the username, etc form fields available in the profile password change
|
||||||
// form.
|
// form.
|
||||||
|
|
|
@ -378,7 +378,7 @@ class CustomField extends Model
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check to see if there is a custom regex format type
|
* 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>
|
* @author Wes Hulette <jwhulette@gmail.com>
|
||||||
*
|
*
|
||||||
|
|
|
@ -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!
|
* 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())) {
|
if (! preg_match('/^[0-9 :-]++$/', $term) && in_array($column, $this->getDates())) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -158,7 +158,7 @@ class AssetObserver
|
||||||
* is used in this observer, it doesn't actually exist yet and the migration will break unless we
|
* 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.
|
* 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)
|
public function saving(Asset $asset)
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,7 +11,7 @@ class CustomFieldsetPolicy extends SnipePermissionsPolicy
|
||||||
* This allows us to use the existing permissions in use and have more
|
* This allows us to use the existing permissions in use and have more
|
||||||
* semantically correct authorization checks for custom fieldsets.
|
* 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';
|
return 'customfields';
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ class LicensePolicy extends CheckoutablePermissionsPolicy
|
||||||
* something (maybe I got the product key wrong), and now I can never
|
* something (maybe I got the product key wrong), and now I can never
|
||||||
* see/edit that product key.
|
* 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\User $user
|
||||||
* @param \App\Models\License $license
|
* @param \App\Models\License $license
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
|
|
@ -26,7 +26,7 @@ class CreateReportTemplatesTable extends Migration
|
||||||
* for the systems that had successfully run the migration:
|
* for the systems that had successfully run the migration:
|
||||||
* 2025_01_06_210534_change_report_templates_options_to_column_text_field.
|
* 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');
|
$table->text('options');
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ return new class extends Migration {
|
||||||
* This migration definitively changes it to a text column
|
* This migration definitively changes it to a text column
|
||||||
* for the systems that had successfully run the migration.
|
* 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')) {
|
if (Schema::hasTable('report_templates') && Schema::hasColumn('report_templates', 'options')) {
|
||||||
Schema::table('report_templates', function (Blueprint $table) {
|
Schema::table('report_templates', function (Blueprint $table) {
|
||||||
|
|
|
@ -14,7 +14,7 @@ class StoreAssetWithFullMultipleCompanySupportTest extends TestCase
|
||||||
use ProvidesDataForFullMultipleCompanySupportTesting;
|
use ProvidesDataForFullMultipleCompanySupportTesting;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @link https://github.com/snipe/snipe-it/issues/15654
|
* @link https://github.com/grokability/snipe-it/issues/15654
|
||||||
*/
|
*/
|
||||||
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
|
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
|
||||||
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
|
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue