b0b1c96ab5
Merge pull request #12514 from marcusmoore/fixes/preserve-asset-name-during-api-checkout
...
Fix asset names being removed during API checkout requests
2023-02-14 12:22:03 -08:00
8e00191b69
Add comment
2023-02-14 12:19:16 -08:00
a94f19a68e
Use name if provided by asset checkout request
2023-02-14 12:08:20 -08:00
2349f54013
Use translation strings for importer exceptions
2023-02-13 13:30:36 -08:00
73f355f3a8
Return 422 instead of 500 when import is invalid
2023-02-08 12:39:42 -08:00
b3881a43a7
Fix return type
2023-02-08 12:34:25 -08:00
c2c666aef0
Formatting
2023-02-08 12:32:57 -08:00
5962f1b627
Catch json encoding exceptions and display them to the user
2023-02-08 12:21:51 -08:00
1a8fb5bcfe
Merge pull request #12423 from snipe/features/edit_fieldset_name
...
Fixed #12418 - added ability to edit custom field names via GUI
2023-02-01 13:39:39 -08:00
f7ae5db4f3
Merge branch 'develop' into features/fixed_12382_added_checked_out_count_to_accessories
2023-01-31 19:56:43 -08:00
cddae4869f
fixed the endpoint for user notification with all their assigned assets
2023-01-31 18:27:25 +01:00
22b0b9b090
Fixed gates on fieldsets
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-26 17:05:41 -08:00
d3bcc48ae5
[imports] fix "Backup before importing?" checkbox on import page
...
We were always taking backups before import, no matter the status of
this box.
Turns out we were testing for the presence of the property defined by
the checkbox, rather than the value of the property, and as such were
always doing a backup.
We're now checking the status, and it behaves as expected
2023-01-23 15:08:59 -08:00
60eab08735
Added ->with(‘users as users_count’) in Accessory query
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-21 14:41:07 -08:00
378dc968b7
Derp. Copypasta
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-18 15:44:28 -08:00
0c39c7a53d
Updated blades to add byod as a “status”
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-18 13:25:46 -08:00
ee4b8f4694
Added byod to API controller
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-18 13:03:31 -08:00
dbda288a44
Formatting changes only for readability
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-17 17:21:20 -08:00
eaf9332096
Added filterability to 2FA fields
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-17 17:21:03 -08:00
151719a91c
Added comments
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-10 16:24:46 -08:00
825df2cf75
Load up the item counts with the individual API methods for accurate numbers without n+1
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-10 16:17:03 -08:00
529b005d1e
We were previously returning a collection - this reverts the change in the last PR to keep that behavior consistent
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-09 21:05:51 -08:00
7846251d25
Re-added return for no results (derp)
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-09 20:43:57 -08:00
cc665d50ed
One more refactor, hopefully simplifying
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-09 20:40:12 -08:00
ae76d46f87
Small refactor to ALWAYS return deleted assets in a collection transformer
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-09 20:23:05 -08:00
bf849128fc
Replicate the response behavior in the bySerial endpoint
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-09 19:57:47 -08:00
44be8c8f60
Determine which transformer to use based on number of assets
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-09 19:54:21 -08:00
2f8a435e18
fixing curly quotes
2022-12-05 18:06:28 -05:00
55f5e7866d
edits for PR
2022-11-29 15:59:36 -05:00
39e06a8856
Update to PR#12119, adding inventory notification to messages and changing code to be dynamicaly translated
2022-11-28 14:16:22 -05:00
5df76155ce
Check for the format index in the $data array when creating a new custom field via API
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-16 15:53:16 +00:00
6400bdc266
Merge pull request #12120 from snipe/features/added_deleted_filter_to_search_by_tag
...
Added ability to include deleted items in tag search endpoint
2022-11-15 17:54:34 +00:00
ffd252a00c
Merge pull request #12119 from lukasfehling/feature/added-endpoint-for-user-notification
...
Added: API endpoint to trigger a user email notification with their assigned assets
2022-11-15 17:51:15 +00:00
7fcf6f2463
Removed deleted parameter
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-15 17:47:21 +00:00
2c5a0d370c
Clean up API byserial and bytag, allow deleted param
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-15 17:33:56 +00:00
bcbe517446
Added ability to include deleted items in tag search endpoint
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-15 17:18:09 +00:00
d9a9bd1c0d
Added a api endpoint for sending email notifications to users with their assigned assets
2022-11-15 18:17:51 +01:00
9a5d431962
Allow searching firectly for asset tag and serial
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-15 17:13:26 +00:00
2106b64da6
Fixed some layout issues
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-01 19:06:49 -07:00
12c7223bcd
Renamed column back to assets_count for legacy
...
Signed-off-by: snipe <snipe@snipe.net >
2022-10-26 09:39:03 -07:00
e670ffe349
Added Assets Assigned to tab
...
Signed-off-by: snipe <snipe@snipe.net >
2022-10-26 00:16:06 -07:00
8ff109e9da
Correct comparison logic
...
Comparison operator should be greater than or equal
2022-10-08 12:54:15 +07:00
14b7319b63
Added start/end to sortable columns
...
Signed-off-by: snipe <snipe@snipe.net >
2022-10-05 17:07:07 -07:00
56ba8a7e24
Added API select fields and filters
...
Signed-off-by: snipe <snipe@snipe.net >
2022-10-05 16:58:16 -07:00
0b2ce7be07
Fixed #11521 - switch to using status meta from status label name
...
Signed-off-by: snipe <snipe@snipe.net >
2022-09-29 03:48:58 -07:00
5feea17f8d
Revert "Prevent to delete a user if still has consumables associated to them"
2022-08-14 13:42:14 -07:00
db53a00d3f
Prevent to delete a user if still has consumables associated to them
2022-08-11 17:01:52 -05:00
acd666fdf5
Added notes to user consumables tab
...
Signed-off-by: snipe <snipe@snipe.net >
2022-08-10 15:34:07 -07:00
e3293151a2
Added note on checkout
...
Signed-off-by: snipe <snipe@snipe.net >
2022-08-10 15:04:59 -07:00
9acfceba29
Added relations to report search
...
Signed-off-by: snipe <snipe@snipe.net >
2022-08-02 23:50:10 -07:00