3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-05 16:09:23 +00:00
Commit Graph

191 Commits

Author SHA1 Message Date
0e2526f627 Removed comment
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 19:32:49 +01:00
dd9e9c7a6d Fixed return types
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 18:49:49 +01:00
1ca9bb5aa8 Merge pull request #14698 from Scarzy/features/asset_file_upload_from_api
Added #9413: Asset file upload from API
2024-06-12 11:18:06 +01:00
7ac315e1eb Fixed tests
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 14:50:45 +01:00
5bd9ecb8df Created DeleteUser request
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 13:28:37 +01:00
8a2ea971e1 Add an API assets files controller
Based heavily on the Assets assets files controller.
Added errors related to to the files management.
Added the API endpoints for file upload and show, but only upload is
currently tested/works.
2024-05-29 22:01:48 +01:00
92ba889cae Updated/removed facades
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:53:51 +01:00
fb233c0aa4 Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
8d74a976a1 Merge branch 'develop' into chore/sc-25103/add-tests-around-asset-checkout 2024-05-22 16:09:27 -07:00
312ce51de6 Removed more debugging
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 15:25:57 +01:00
2a71877bec Add additional condition 2024-04-25 17:04:07 -07:00
30bd920497 Add conditional 2024-04-25 16:24:12 -07:00
1d5b48b88d Add comment and improve method 2024-04-25 16:22:15 -07:00
3a2eeaea7a WIP: Future-proof rules being converted to array syntax 2024-04-24 17:40:40 -07:00
12418ae91b WIP: allow EU style purchase cost via api 2024-04-24 17:18:29 -07:00
8dd71f99cc Added ico, image/x-icon,image/vnd.microsoft.icon to favicon validation
Signed-off-by: snipe <snipe@snipe.net>
2024-04-22 13:54:19 +01:00
6d572424ac Add validation around dates 2024-04-10 14:02:25 -07:00
57d1c036ec Improve method name 2024-03-25 13:53:30 -07:00
71722b753d Little bit of clean up 2024-03-25 13:49:03 -07:00
a2625c889a Improve comment 2024-03-25 13:48:32 -07:00
c98b9da612 Pass last_audit_date through for model level validation if not a date 2024-03-25 13:47:24 -07:00
5f4c964309 Account for last_audit_date not being provided 2024-03-25 12:45:11 -07:00
66ba96d531 Set last_audit_date to valid format in StoreAssetRequest 2024-03-25 12:38:12 -07:00
321414f6e3 Updated comment
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:38:48 +00:00
7787fe42c8 Added avif to helpers
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:30:28 +00:00
3b66912742 Fixed #14460 - added support for avif
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:25:02 +00:00
a6dfd67cd7 Clean up the file extension on image file uploads 2024-02-19 16:51:23 +00:00
9bb191f29f Fixes file upload XSS vulnerability [sc-24156] 2024-02-08 14:30:40 +00:00
3b948c7b7e Add orientate to image upload
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 14:29:43 +00:00
423b636db9 Guard against non-integers being passed for company_id 2024-01-09 10:57:43 -08:00
901b1b83d0 rm code, was probably fixed through rules at some point 2024-01-02 18:27:17 -06:00
b17078fffd a couple notes 2023-11-28 22:15:13 -06:00
c886fb555b checkout on store tests almost done 2023-11-28 22:11:20 -06:00
75ac7f80b9 some refactor + tests 2023-11-28 15:17:46 -06:00
d167ec6dc0 unique undeleted recreated with laravel rule 2023-11-01 13:36:35 -05:00
e05af5216e formatting 2023-11-01 12:14:46 -05:00
3f834cb88f authorization tested in request 2023-11-01 11:43:53 -05:00
53bd5626c9 this works, need to write up pr 2023-11-01 11:33:29 -05:00
b67b00dd82 this is a start, something up with asset_tag unique rule 2023-10-31 21:06:44 -05:00
47186b0abe [FIX] Custom report - date fields error
Custom report in v6.2.3 give Error if selected are fields:
Purchase Date, Checkout Date, Last Checkin Date, Expected Checkin Date
Reason is: date field format
2023-10-22 16:28:44 +02:00
f2fb5b43e3 Added custom report validator
Signed-off-by: snipe <snipe@snipe.net>
2023-10-18 14:12:52 +01:00
4caa501996 Relax property type check 2023-09-07 13:28:32 -07:00
899c2eb19b Implement test case 2023-09-07 12:34:50 -07:00
da4841987e Use translation string
Signed-off-by: snipe <snipe@snipe.net>
2023-05-03 10:55:30 -07:00
5759d2c948 Added a check to fail validation if the associated fieldsets are not value
Signed-off-by: snipe <snipe@snipe.net>
2023-04-25 21:30:47 -07:00
16dcc2d3ed Fixed #12641 - add JSON to mimes
Signed-off-by: snipe <snipe@snipe.net>
2023-03-24 06:57:43 -07:00
45b5a8b6ab Catch exception if the file can’t be handled via Intervention
Signed-off-by: snipe <snipe@snipe.net>
2023-03-07 15:56:36 -08:00
ff895739f4 Merge pull request #12446 from Godmartinz/livewire_slack_inputs
Adds Livewire slack inputs
2023-02-15 13:27:07 -08:00
cd5546e4a1 Fixed wonky switch statement indenting
Signed-off-by: snipe <snipe@snipe.net>
2023-02-06 12:44:17 -08:00
3a86547ef5 fixes messages for integration test, removes slack request file, rehouses ajax method 2023-02-01 16:51:05 -08:00