Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
62a58fa23b99d59260d767965ae531f9f726d531
snipe-it
/
app
/
Console
/
Commands
下载当前目录
S
snipe
Include output even if there is nothing to send
a18957db
创建于
2025年9月16日
历史提交
文件
最后提交记录
最后更新时间
CheckinLicensesFromAllUsers.php
Adopt Laravel coding style Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
4 年前
CheckoutLicenseToAllUsers.php
Fix operator in where clause
3 年前
CleanIncorrectCheckoutAcceptances.php
New Artisan command to clean checkout acceptances and a migration that runs it
10 个月前
CleanOldCheckoutRequests.php
Add command to clean checkout requests
10 个月前
CreateAdmin.php
Added autoassign_licenses option to create admin Signed-off-by: snipe <snipe@snipe.net>
3 年前
DisableLDAP.php
Adopt Laravel coding style Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
4 年前
DisableSAML.php
Add console command to disable SAML logins If a Snipe-IT sire has SAML enabled, and the SAML config is sufficiently borked, the site will fail to even load the login page. That's probably something that should be examined, but in the meantime, it'd be handy to not have to manually edit the database to turn off SAML. In this commit, I'm creating a saml-disable console command. And by create, i mean i'm copypasta-ing the existing ldap-disable command.
1 年前
FixBulkAccessoryCheckinActionLogEntries.php
Backup before running updates
1 年前
FixDoubleEscape.php
Shift bindings PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.
4 年前
FixMismatchedAssetsAndLogs.php
Shift bindings PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.
4 年前
FixUpAssignedTypeWithoutAssignedTo.php
Added console command for fixup Signed-off-by: snipe <snipe@snipe.net>
11 个月前
FixupAssignedToWithoutAssignedType.php
working fixup script, but failing tests. But I have tests!
1 年前
GeneratePersonalAccessToken.php
Remove comments Signed-off-by: snipe <snipe@snipe.net>
1 年前
ImportLocations.php
Adopt Laravel coding style Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
4 年前
KillAllSessions.php
Merging master down into develop Signed-off-by: snipe <snipe@snipe.net>
4 年前
LdapSync.php
Fixed address field Signed-off-by: snipe <snipe@snipe.net>
8 个月前
LdapTroubleshooter.php
One last time Signed-off-by: snipe <snipe@snipe.net>
8 个月前
MergeUsersByUsername.php
Add merge event Signed-off-by: snipe <snipe@snipe.net>
1 年前
MoveUploadsToNewDisk.php
Missed a few Signed-off-by: snipe <snipe@snipe.net>
9 个月前
NormalizeUserNames.php
Added console command to normalize capitalization on names Signed-off-by: snipe <snipe@snipe.net>
3 年前
ObjectImportCommand.php
Fixed #15928 - updated method name to setCreatedBy from SetUserId Signed-off-by: snipe <snipe@snipe.net>
1 年前
PaveIt.php
Add telescope tables to the excepted tables Signed-off-by: snipe <snipe@snipe.net>
8 个月前
Purge.php
Fixed a few more `display_name` instances Signed-off-by: snipe <snipe@snipe.net>
8 个月前
PurgeLoginAttempts.php
Adopt Laravel coding style Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
4 年前
ReEncodeCustomFieldNames.php
Refine output and checks Signed-off-by: snipe <snipe@snipe.net>
3 年前
RegenerateAssetTags.php
Use artisan facade Signed-off-by: snipe <snipe@snipe.net>
1 年前
RemoveExplicitEols.php
adds execution timer
1 年前
ResetDemoSettings.php
Set support footer to on in reset demo script Signed-off-by: snipe <snipe@snipe.net>
1 年前
RestoreDeletedUsers.php
Use artisan facade Signed-off-by: snipe <snipe@snipe.net>
1 年前
RestoreFromBackup.php
Copy over the old dirs just in case Signed-off-by: snipe <snipe@snipe.net>
9 个月前
RotateAppKey.php
Use artisan facade Signed-off-by: snipe <snipe@snipe.net>
1 年前
SamlClearExpiredNonces.php
Add table-check; add command-description for Artisan command
2 年前
SendAcceptanceReminder.php
Updated `->present()->fullName()` to `->display_name` Signed-off-by: snipe <snipe@snipe.net>
8 个月前
SendCurrentInventoryToUsers.php
Fixed #14812 - added consumables to individual inventory report Signed-off-by: snipe <snipe@snipe.net>
1 年前
SendExpectedCheckinAlerts.php
Moved settings call higher Signed-off-by: snipe <snipe@snipe.net>
2 年前
SendExpirationAlerts.php
Include output even if there is nothing to send
8 个月前
SendInventoryAlerts.php
Fixed #8597 - Added leading slash to notifications console commands
5 年前
SendUpcomingAuditReport.php
Filter out empty email address in alerts
1 年前
SyncAssetCounters.php
Cleaned up facade names and references Signed-off-by: snipe <snipe@snipe.net>
1 年前
SyncAssetLocations.php
Shift bindings PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.
4 年前
SystemBackup.php
Check that the filename we pass ends in zip, add it if not Signed-off-by: snipe <snipe@snipe.net>
2 年前
TestLocationsFMCS.php
Updated text Signed-off-by: snipe <snipe@snipe.net>
1 年前
ToggleCustomfieldEncryption.php
Wrapped in a transaction Signed-off-by: snipe <snipe@snipe.net>
2 年前
Version.php
Adopt Laravel coding style Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
4 年前