3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 19:05:24 +00:00
Commit Graph

225 Commits

Author SHA1 Message Date
ecc0e76e7b Fixed route parameters for helper
Signed-off-by: snipe <snipe@snipe.net>
2025-02-19 05:03:39 +00:00
4e0bcac1a1 Furhter validation for scoped locations
There is a new validator introduced that checks on object update (assets, users, etc.) if the company matches the locations company.
In case of the creation of a new location it must be checked that the parent matches the own company.
On updating a location a check for every related object must be made to see if the company matches the location.

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
2025-01-24 11:12:11 +01:00
6921df9334 Check for inconsistencies before activating scoped locations
Before activating scoped location all locations and their related objects will be checked.
If there are locations with different companies than the related objects error out.

Because this operation is quite slow, bail out on the first inconsistent entry.
There is a new artisan command introduced that checks every location.

Depending on the size of the database, this will take very long.

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
2025-01-23 15:26:04 +01:00
2143952a1e removed unused models, castged unreassignable_seat, clean up in general 2025-01-21 11:43:47 -08:00
d217c2e295 last rename 2025-01-16 12:24:32 -08:00
52bf0faaa5 renamed unassignable to reassignable_seat 2025-01-16 12:19:59 -08:00
f050864fb4 renamed dead to unassigned, replaced 0 and 1 with true and flase 2025-01-16 12:12:14 -08:00
f47a2b10c0 updated column name, updated Api license checkin and out 2025-01-16 11:53:15 -08:00
7a23372489 adds migration for column unavailable, changes logic to utlize value 2025-01-15 15:36:12 -08:00
5e1562ae4c adds count on tabs and reports and index 2025-01-13 14:31:54 -08:00
73772a0138 change button text 2024-10-30 11:12:31 -07:00
b26cae372c merged in develop 2024-10-30 10:40:23 -07:00
9a0eee8f03 revert testing variables 2024-10-28 15:03:43 -07:00
6128765d1f change wording on notification button 2024-10-28 15:03:03 -07:00
c24f79c025 update method comment 2024-10-28 14:58:43 -07:00
e7c4343c90 readd checkin accessory format 2024-10-28 14:56:48 -07:00
c0620c27ff adds back laravels channel formats 2024-10-28 14:30:34 -07:00
ed81973fe6 adds notifications for deprecation 2024-10-28 13:57:42 -07:00
c56affd663 Added SVG icon
Signed-off-by: snipe <snipe@snipe.net>
2024-10-17 00:07:37 +01: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
c6e709cd36 Added parameters
Signed-off-by: snipe <snipe@snipe.net>
2024-07-26 12:45:06 +01:00
759ab78f80 Added more redirects
Signed-off-by: snipe <snipe@snipe.net>
2024-07-26 11:27:36 +01:00
068535a80c Removed logging
Signed-off-by: snipe <snipe@snipe.net>
2024-07-25 22:08:46 +01:00
018b5684fc Refactor helper method for redirection
Signed-off-by: snipe <snipe@snipe.net>
2024-07-25 22:02:03 +01:00
73a80a5fbc Use blade component for redirect option
Signed-off-by: snipe <snipe@snipe.net>
2024-07-25 21:35:13 +01:00
ab1e097b7c Early return for requiredness
Signed-off-by: snipe <snipe@snipe.net>
2024-07-24 10:41:14 +01:00
b61ab423ca ok NOW it should be fine 2024-07-23 17:35:48 -05:00
090a595c99 conflict 2024-07-23 17:34:17 -05:00
bc417308c7 Merge branch 'develop' into bug/check_requiredness 2024-07-23 17:32:43 -05:00
e77e16b9aa this works 2024-07-23 17:22:20 -05:00
0ae297634e ugh 2024-07-23 16:59:58 -05:00
0f2f559d7a test works, helper still needs work. pushing to check something 2024-07-23 16:46:29 -05:00
1f4118a146 Fixed rule
Signed-off-by: snipe <snipe@snipe.net>
2024-07-23 22:15:37 +01:00
ba6d8ae8c7 Switch to nb-NO from no-NO
Signed-off-by: snipe <snipe@snipe.net>
2024-07-23 17:15:44 +01:00
4a9bd95ed3 Added language support for select2
Signed-off-by: snipe <snipe@snipe.net>
2024-07-16 18:40:10 +01:00
5a5d171ba2 Put session facade back - derp
Signed-off-by: snipe <snipe@snipe.net>
2024-05-30 14:15:08 +01:00
f6fe6e70b9 Merge branch 'develop' into redirect_back_to_asset 2024-05-30 13:38:11 +01:00
fb233c0aa4 Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
3df2a4a70b Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 15:16:44 +01:00
6b41970e97 Check that selected is an array
Signed-off-by: snipe <snipe@snipe.net>
2024-05-28 15:15:31 +01:00
f2693ee957 conditionally fixed redirect select option 2024-05-21 14:08:35 -07:00
69c2cf2c4f fixed assetcheckin test, created redirect option test 2024-05-21 13:13:25 -07:00
fb9a5f928f removed license changes 2024-05-15 16:39:26 -07:00
786799225c remove dd 2024-05-15 10:37:07 -07:00
dc418a7033 need to make variables names uniform 2024-05-14 14:09:54 -07:00
15cc4345ab adds dynamic redirects to Assets 2024-05-14 13:25:52 -07:00
c94a7613ca dropdown redirect options, helper function and session variable added 2024-05-02 12:16:20 -07:00
7787fe42c8 Added avif to helpers
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:30:28 +00:00
dff7c43aed Added minimum account check for licenses
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:05:02 +00:00
8bc5f08da5 Fixed a few more small localization issues
Signed-off-by: snipe <snipe@snipe.net>
2023-12-24 20:14:49 +00:00