Commit graph

17734 commits

Author SHA1 Message Date
Jeremy Price
3d2d7684aa 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.
2025-03-17 19:58:21 -07:00
Marcus Moore
9aede45918
Remove unneeded eager loads 2025-03-17 14:43:23 -07:00
Marcus Moore
b26a73e385
Filter out empty email address in alerts 2025-03-17 12:30:15 -07:00
Marcus Moore
650839b68a
Update command name 2025-03-12 17:05:16 -07:00
Marcus Moore
388dc23241
Add comments 2025-03-12 17:02:05 -07:00
Marcus Moore
32b194ddc7
Update description 2025-03-12 16:44:37 -07:00
Marcus Moore
9cea6cee26
Docblock 2025-03-12 16:42:50 -07:00
Marcus Moore
73f64c53b1
Skip logs where created_by cannot be set 2025-03-12 16:42:39 -07:00
Marcus Moore
2091f66f5b
Reorganize 2025-03-12 16:30:36 -07:00
snipe
c711278b8b
Merge pull request #16486 from marcusmoore/bug/sc-28639
Fixed location being automatically populated on asset checkin screen
2025-03-12 23:26:08 +00:00
snipe
ff637f1926
Merge pull request #16497 from marcusmoore/fixes/diff-in
Fixed various carbon displays
2025-03-12 23:17:48 +00:00
Marcus Moore
4d978e0fc6
Fix eol rate in upcoming audit notification 2025-03-12 16:04:16 -07:00
Marcus Moore
167001ed54
Fix eol rate in tests 2025-03-12 16:01:32 -07:00
Marcus Moore
25fb1abc95
Fix eol rate in AssetObserver 2025-03-12 15:58:11 -07:00
Marcus Moore
658bef447d
Fix eol rate in Actionlog 2025-03-12 15:55:13 -07:00
Marcus Moore
a28ff22d03
Fix eol rate in ReportsController 2025-03-12 15:44:06 -07:00
Marcus Moore
63a1ee0047
Fix eol rate in AssetMaintenancesController 2025-03-12 15:38:54 -07:00
Marcus Moore
ab8f4454d1
Add failing test for updating asset maintenance 2025-03-12 15:38:46 -07:00
Marcus Moore
e439f1f42b
Fix eol rate in AssetMaintenancesController 2025-03-12 15:35:46 -07:00
Marcus Moore
9be27bdf07
Add failing test for creating asset maintenance 2025-03-12 15:35:14 -07:00
snipe
bfc122469c
Merge pull request #16495 from snipe/add_highlight_for_low_qty
Added highlight to items when the remaining is less than the min_amt
2025-03-12 21:23:15 +00:00
snipe
036c225dcf Fixed dashboard string
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 21:22:24 +00:00
snipe
083cf78305 Added footer style for nicer number cell padding
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 21:17:41 +00:00
Marcus Moore
824271078e
Fix eol rate in AssetsController 2025-03-12 13:55:12 -07:00
Marcus Moore
1122cd8567
Fix eol rate in asset transformer 2025-03-12 13:33:15 -07:00
Marcus Moore
6cf7df22cd
Fix eol rate on asset show page 2025-03-12 13:28:34 -07:00
snipe
7421d089ff Added formatter and centering in presenters
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 20:25:00 +00:00
snipe
bdb4bd73d2 Return an indicator for no value set
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 20:18:51 +00:00
snipe
bf88597132 Added qtySumFormatter and made seats formatter more generic
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 20:14:23 +00:00
snipe
dfacd876d5 Added remaining/min_amt to transformers
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 20:13:15 +00:00
Marcus Moore
d5bc5caacd
Purge activity log of consumable bulk checkins 2025-03-12 11:57:18 -07:00
Marcus Moore
be6caf936e
Avoid logging consumable checkins 2025-03-12 11:48:14 -07:00
snipe
f1e70eb7a0 Add min_qty to asset model bulk edit
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 18:27:27 +00:00
snipe
dbe78c30d5
Merge pull request #16491 from snipe/bug/sc-28671
Fixed new user modal pre-populating with first name and last name of acting user
2025-03-12 18:05:57 +00:00
snipe
c1601b9a8c Updated tests
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 17:28:50 +00:00
snipe
aa8e9f61d2 Check for value override
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 17:28:44 +00:00
snipe
163ddc8026 Check for value override
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 17:28:29 +00:00
snipe
c73dba4a43 Better visual spacing
Signed-off-by: snipe <snipe@snipe.net>
2025-03-12 17:28:05 +00:00
snipe
5e61a814a7
Merge pull request #16489 from marcusmoore/bug/sc-28644
Fixed timestamp in action log for bulk accessory check in
2025-03-12 14:56:52 +00:00
Marcus Moore
935d3eea9f
Attempt to match and populate created_by 2025-03-11 17:17:39 -07:00
Marcus Moore
fffc606d9a
Improve output 2025-03-11 17:06:02 -07:00
Marcus Moore
c3a48182fd
Display the created_by 2025-03-11 17:03:26 -07:00
Marcus Moore
147e610062
Add todos 2025-03-11 17:00:36 -07:00
Marcus Moore
dd14eac1eb
Prompt for confirmation 2025-03-11 16:56:07 -07:00
Marcus Moore
4954d972bb
Write table of ids 2025-03-11 16:52:20 -07:00
Marcus Moore
c8177eb51e
Update timestamps 2025-03-11 16:50:16 -07:00
Marcus Moore
a8cccffa1e
Update output 2025-03-11 16:41:22 -07:00
Marcus Moore
c774e969d7
Scaffold command 2025-03-11 16:34:07 -07:00
Marcus Moore
b5fa538a54
Set created_by correctly in he action log 2025-03-11 16:05:02 -07:00
snipe
fcdc1494c2
Merge pull request #16443 from azmcnutt/feature/labels_Avery_5520_1DBarcode
Nice work! Thank you!
2025-03-11 22:12:09 +00:00