3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
Commit Graph

92 Commits

Author SHA1 Message Date
ff10b8139a Use ITEM_TYPES constant 2026-08-07 11:57:58 +01:00
a9b6cdec40 Pint again :( 2026-08-07 11:39:43 +01:00
55d4ed02b5 Pint 2026-08-07 11:39:34 +01:00
037f50b1a5 Refactored to move initial create order logic into the trait 2026-08-07 11:15:10 +01:00
5b12e6b9cc Cleaned up seeded data 2026-08-06 13:37:44 +01:00
55ce28027a Updated observers to only write to orders when delta is positive 2026-08-05 22:24:06 +01:00
de2cdcb15b Updated observers with created_at 2026-08-05 14:55:20 +01:00
14141a0f64 Updated observers to create the items in order_items 2026-08-05 14:37:03 +01:00
29e01933d8 Updated controllers with orderItem logic and hashed redirect 2026-08-05 11:49:18 +01:00
ce01114c2d Updated tests 2026-08-03 18:55:44 +01:00
a53928e1a4 Replenish/remove for consumables, accessories, components 2026-08-03 13:07:59 +01:00
1efd470a77 Bulk User Edit Logging: Fixed #19193 - log parity in bulk as for regular user edit 2026-06-16 18:50:46 +01:00
3df21df85b Logging: Fixed FD-55757 - added log_meta for licenses and accessories 2026-06-08 22:29:44 +01:00
a6e55fb462 Fixed #19130 - normalize null and 0 in permissions array, since they mean the same 2026-06-03 11:33:48 +01:00
ce0ce8688b Fixed #19052 - PUT next_audit_date does not produce audit log entry 2026-05-26 10:40:26 +01:00
6ae09e15fb Updated tests and transformers 2026-05-20 16:17:02 +01:00
058da6bfef Added maintenance type strings 2026-05-18 11:09:48 +01:00
0daec32ddd Added dedicated maintenance permission (related right now just to assets) 2026-05-04 19:30:11 +01:00
a500dd4e9e Add generic history method and component blade for loggables 2026-03-26 12:13:59 +00:00
b2c0a21230 Apply pint to Observers and Policy directories 2026-03-13 17:41:08 +00:00
45ddaf1b72 Temp comment out location observer 2026-03-06 20:14:56 +00:00
7595c922fa Fixed #18043 - added location logging 2026-03-06 14:03:37 +00:00
7395b1a4eb Track permission changes 2025-10-30 13:40:24 +00:00
7d8ed399a8 Fix accessing force deleted model 2025-09-30 11:27:56 -07:00
14bc2cc1ba Added basic logging for maintenances
Signed-off-by: snipe <snipe@snipe.net>
2025-08-10 15:51:48 +01:00
0dfc083a91 Removed log error
Signed-off-by: snipe <snipe@snipe.net>
2025-06-03 06:07:06 +01:00
3d8f8faf01 Added action_date
Signed-off-by: snipe <snipe@snipe.net>
2025-06-03 05:28:58 +01:00
a67b320cae Merge pull request #15907 from uberbrady/protect_assigned_to_assigned_type_rebased
Rebased version of #15629 - prevent setting assigned_to without setting assigned_type
2025-05-05 20:42:46 +01:00
afd9282785 Update remaining comments from snipe/snipe-it to grokability/snipe-it 2025-04-03 12:07:05 -07:00
25fb1abc95 Fix eol rate in AssetObserver 2025-03-12 15:58:11 -07:00
8f512e5941 Replace isset with the more appropriate array_key_exists 2025-01-22 14:28:35 -08:00
8a1b6b0684 Add isset check 2025-01-22 14:15:35 -08:00
bb03e00279 fix deprecation on asset obs get unaccept report to populate 2025-01-06 11:26:45 -08:00
eccdcc373e parent 2220828b00
author Brady Wetherington <bwetherington@grokability.com> 1728320853 +0100
committer Brady Wetherington <bwetherington@grokability.com> 1733158021 +0000

Prevent setting assigned_to without setting assigned_type

Fixed tests to include assigned_type when setting assigned_to

Add new tests for assigned_to without assigned_type

Added tighter validation to assigned_to and assigned_type, new tests

Fixed wrong comment

Fixed tests to include assigned_type when setting assigned_to

Add new tests for assigned_to without assigned_type

Fixed wrong comment
2024-12-02 16:53:08 +00:00
1582d81e5b Change user_id to created_by
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
1527679f4b Handle deletions on the observer
Signed-off-by: snipe <snipe@snipe.net>
2024-07-11 17:26:43 +01:00
c2fe3b5459 Use the observer to delete associated files and detach users
Signed-off-by: snipe <snipe@snipe.net>
2024-07-11 17:00:38 +01:00
5108b1f3ed Capture the log meta for what was changed
Signed-off-by: snipe <snipe@snipe.net>
2024-07-11 16:35:16 +01:00
d87da78eb5 Merge remote-tracking branch 'origin/develop'
Signed-off-by: snipe <snipe@snipe.net>

# Conflicts:
#	app/Http/Controllers/Users/UsersController.php
#	config/version.php
#	public/css/build/AdminLTE.css
#	public/css/build/app.css
#	public/css/build/overrides.css
#	public/css/dist/all.css
#	public/css/dist/bootstrap-table.css
#	public/js/build/app.js
#	public/js/build/vendor.js
#	public/js/dist/all-defer.js
#	public/js/dist/all.js
#	public/js/dist/bootstrap-table.js
#	public/mix-manifest.json
2024-06-17 11:18:33 +01:00
90818bb147 Don't save next autoincrement base if it's going to fail, next 2024-06-03 15:58:57 +01:00
fb233c0aa4 Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
63e733f0d6 changes from a note to a source 2024-01-30 15:14:59 -06:00
2deba17d91 that's all of 'em 2024-01-25 20:04:02 -06:00
3574ef5bb9 a few more imports, component sample 2024-01-25 19:54:53 -06:00
4a7df470f0 this works 2024-01-25 19:34:41 -06:00
c9101f4d97 initial work, not working yet 2024-01-25 18:18:24 -06:00
f922d0518e Added allow list - quiet the observer down for magical laravel things
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 22:35:34 +00:00
d3175b2ca4 Removed remember token from changed
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:39:06 +00:00
a8123db4fb Fixed comments
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:35:12 +00:00
b1e782d2f0 Small nits picked to make Brady happy
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 21:34:39 +00:00