3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 19:22:48 +00:00
Commit Graph

106 Commits

Author SHA1 Message Date
888b63ba4c Handle parent+children users, etc 2026-06-25 15:15:54 +01:00
cf7701e159 API Controllers: Fixed missing sorts on some columns
In the presenters, we had some fields labeled as sortable that were not actually sortable via the API ($allowed_columns). This shores that up
2026-06-17 12:20:56 +01:00
70ba654138 Accessories: make total_cost sortable 2026-06-16 23:19:30 +01:00
07a432b8a0 Accessories: Fix sorting 2026-06-16 21:26:15 +01:00
1252681d55 API pagination: Fixed #19155 - API not paginating correctly with page=x, added tests 2026-06-08 14:03:47 +01:00
43be1e8364 Fixed FD-55580 - added selectlist gate and tests 2026-05-26 10:40:26 +01:00
c377b41198 Updated controllers 2026-05-20 14:58:18 +01:00
bc808cbe46 Pint 2026-05-14 12:50:31 +01:00
fdc65fb1b2 Moved and renamed CheckInOutRequest 2026-05-14 12:50:23 +01:00
2a56f6573d Wrap the checkout in a transaction and add tests 2026-05-11 15:07:25 +01:00
dc8cbf4786 Stricter FMCS enforcement in API 2026-05-07 12:41:46 +01:00
ef746a173e Fixed RB-4120 - Column 'location_id' in where clause is ambiguous 2026-05-04 21:46:40 +01:00
fe308ef2e4 Use query clone to prevent n+1 2026-04-14 10:25:37 +01:00
4c4ec3eacc Fixed #18821 - pagination on history 2026-04-04 16:59:23 +01:00
0261776778 Added FilterRequest and added refactorerd search check 2026-03-27 19:19:25 +00:00
316f1be3d0 Fixed typo and spacing 2026-03-26 12:14:20 +00:00
a500dd4e9e Add generic history method and component blade for loggables 2026-03-26 12:13:59 +00:00
1e5d426e70 Apply pint to API controllers 2026-03-13 16:38:23 +00:00
8f34c06196 Added order_number to API for accessories, consumables, components 2026-02-17 13:08:09 +00:00
0af45a53a9 Merge pull request #18359 from marcusmoore/17816-qty-in-activity-report
Fixed #17816 - added quantity to activity reports
2026-01-05 13:03:56 +00:00
0f215bbcf8 fix: replace deprecated Symfony Request::get() usage 2025-12-17 18:44:04 -08:00
06224371b3 Begin passing qty in CheckoutableCheckedOut event 2025-12-15 12:47:36 -08:00
b7193a06fd Normalize advanced search 2025-10-08 20:51:35 +01:00
bf5668a42e Added payload to accessories API
Signed-off-by: snipe <snipe@snipe.net>
2025-09-01 12:23:39 +01:00
876715b3c5 Merge pull request #16435 from marcusmoore/fixes/prevent-deleting-accessories-with-checkouts
Disallow deleting accessories that have active checkouts
2025-04-19 14:38:14 +01:00
141fad8393 Fixed ambiguous clause using company_id
Signed-off-by: snipe <snipe@snipe.net>
2025-04-17 11:56:39 +01:00
d1683d1c65 Use existing translation string 2025-03-05 16:10:36 -08:00
a19582a5f3 Prevent deleting accessory that has checkouts via api 2025-03-05 15:58:34 -08:00
bc8719e336 Specify created_by in the API call as well
Signed-off-by: snipe <snipe@snipe.net>
2024-12-16 16:35:34 +00:00
183a4d49d8 Refactor of #15235 - added accessory checkout to locations, assets
Signed-off-by: snipe <snipe@snipe.net>
2024-12-16 16:34:49 +00:00
fdfea390fb Merge branch 'develop' into testing/fmcs-accessories 2024-09-30 12:59:27 -07:00
2137890496 Remove dead code 2024-09-19 11:33:20 -07:00
c93229179b Added order by created_by to accessories
Signed-off-by: snipe <snipe@snipe.net>
2024-09-19 16:45:39 +01:00
636c776620 Remove dead code 2024-09-18 11:27:37 -07:00
1582d81e5b Change user_id to created_by
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
eb35608bb5 Remove call handled by form request 2024-09-16 16:35:33 -07:00
e8d0147075 Adjusted missing down on migration and code smells 2024-07-29 19:04:10 +02:00
b18baf74d2 added options to checkout accessoires to locations and assets
Added #14979: add checkout functionality to accessoires
2024-07-29 10:54:53 +02:00
0c933bcc5d Cleaned up controllers, use form requests
Signed-off-by: snipe <snipe@snipe.net>
2024-07-18 00:25:42 +01:00
1d65781d8d More type-hinting
Signed-off-by: snipe <snipe@snipe.net>
2024-07-05 07:07:20 +01:00
e98284fff5 Modernized helpers and use statements
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 20:48:35 +01:00
df1cef59d5 Fixes path for redirect response
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 18:01:40 +01:00
fb233c0aa4 Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
42ec2548c9 Fire event when accessory checked out via API
Brings behavior in line with GUI controller
2024-01-29 17:03:19 -08:00
7d45cfff2c Ensure accessory available when checking out via api 2024-01-29 16:49:09 -08:00
852e9ff311 Accessory checkin via API reported wrong target user 2023-08-16 13:03:37 +01:00
086265455d Pass user count to the eloquent query 2023-05-23 11:53:09 -06:00
64256351d8 Used a singleton to filter API limit value
Signed-off-by: snipe <snipe@snipe.net>
2023-04-16 08:46:39 -07:00
fc7f1f907d Fixed variable name
Signed-off-by: snipe <snipe@snipe.net>
2023-04-15 17:37:25 -07:00
4cbb9c2409 Use abs() instead of max
Signed-off-by: snipe <snipe@snipe.net>
2023-04-15 17:28:25 -07:00