snipe
0d6fd2643d
More tweaks to the form request
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-05 05:59:39 +01:00
snipe
75da626c85
Check for category ID
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-05 03:21:24 +01:00
snipe
a1eafc108d
Moar typehinting
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 22:37:58 +01:00
snipe
d834ef5104
Updated string
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 21:52:37 +01:00
snipe
c570759370
Fixed tests
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 21:14:58 +01:00
snipe
cc6f1cd585
Added asset model request :(
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 20:50:11 +01:00
snipe
ae9085b11f
Modernize use statements, switch to auth()
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 20:49:22 +01:00
snipe
1ca3dc26eb
Removed extra debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 16:36:48 +01:00
snipe
196db9718e
Use class name instead
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 19:55:58 +01:00
snipe
e60dbc883c
Removed test code
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 19:42:34 +01:00
snipe
bbbfa91db9
Fixed wonky rule
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 19:40:26 +01:00
snipe
0e2526f627
Removed comment
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 19:32:49 +01:00
snipe
dd9e9c7a6d
Fixed return types
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-22 18:49:49 +01:00
snipe
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
snipe
7ac315e1eb
Fixed tests
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 14:50:45 +01:00
snipe
5bd9ecb8df
Created DeleteUser request
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-05 13:28:37 +01:00
Scarzy
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
snipe
92ba889cae
Updated/removed facades
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:53:51 +01:00
snipe
fb233c0aa4
Cleaned up facade names and references
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
Marcus Moore
8d74a976a1
Merge branch 'develop' into chore/sc-25103/add-tests-around-asset-checkout
2024-05-22 16:09:27 -07:00
snipe
312ce51de6
Removed more debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-05-16 15:25:57 +01:00
Marcus Moore
2a71877bec
Add additional condition
2024-04-25 17:04:07 -07:00
Marcus Moore
30bd920497
Add conditional
2024-04-25 16:24:12 -07:00
Marcus Moore
1d5b48b88d
Add comment and improve method
2024-04-25 16:22:15 -07:00
Marcus Moore
3a2eeaea7a
WIP: Future-proof rules being converted to array syntax
2024-04-24 17:40:40 -07:00
Marcus Moore
12418ae91b
WIP: allow EU style purchase cost via api
2024-04-24 17:18:29 -07:00
snipe
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
Marcus Moore
6d572424ac
Add validation around dates
2024-04-10 14:02:25 -07:00
Marcus Moore
57d1c036ec
Improve method name
2024-03-25 13:53:30 -07:00
Marcus Moore
71722b753d
Little bit of clean up
2024-03-25 13:49:03 -07:00
Marcus Moore
a2625c889a
Improve comment
2024-03-25 13:48:32 -07:00
Marcus Moore
c98b9da612
Pass last_audit_date through for model level validation if not a date
2024-03-25 13:47:24 -07:00
Marcus Moore
5f4c964309
Account for last_audit_date
not being provided
2024-03-25 12:45:11 -07:00
Marcus Moore
66ba96d531
Set last_audit_date to valid format in StoreAssetRequest
2024-03-25 12:38:12 -07:00
snipe
321414f6e3
Updated comment
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:38:48 +00:00
snipe
7787fe42c8
Added avif to helpers
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:30:28 +00:00
snipe
3b66912742
Fixed #14460 - added support for avif
...
Signed-off-by: snipe <snipe@snipe.net>
2024-03-20 12:25:02 +00:00
Brady Wetherington
a6dfd67cd7
Clean up the file extension on image file uploads
2024-02-19 16:51:23 +00:00
Brady Wetherington
9bb191f29f
Fixes file upload XSS vulnerability [sc-24156]
2024-02-08 14:30:40 +00:00
snipe
3b948c7b7e
Add orientate to image upload
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-05 14:29:43 +00:00
Marcus Moore
423b636db9
Guard against non-integers being passed for company_id
2024-01-09 10:57:43 -08:00
spencerrlongg
901b1b83d0
rm code, was probably fixed through rules at some point
2024-01-02 18:27:17 -06:00
spencerrlongg
b17078fffd
a couple notes
2023-11-28 22:15:13 -06:00
spencerrlongg
c886fb555b
checkout on store tests almost done
2023-11-28 22:11:20 -06:00
spencerrlongg
75ac7f80b9
some refactor + tests
2023-11-28 15:17:46 -06:00
spencerrlongg
d167ec6dc0
unique undeleted recreated with laravel rule
2023-11-01 13:36:35 -05:00
spencerrlongg
e05af5216e
formatting
2023-11-01 12:14:46 -05:00
spencerrlongg
3f834cb88f
authorization tested in request
2023-11-01 11:43:53 -05:00
spencerrlongg
53bd5626c9
this works, need to write up pr
2023-11-01 11:33:29 -05:00
spencerrlongg
b67b00dd82
this is a start, something up with asset_tag unique rule
2023-10-31 21:06:44 -05:00