Commit graph

259 commits

Author SHA1 Message Date
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
Spencer Long
cdb1140f10
Merge branch 'develop' into bug/sc-24884 2024-05-23 13:53:00 -05: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
spencerrlongg
03f091a77f ammended note, got real rule in there 2024-04-25 17:17:42 -05: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
spencerrlongg
8696a423b0 another option 2024-04-23 17:38:40 -05:00
spencerrlongg
107f8db9bc another option 2024-04-23 17:35:33 -05:00
spencerrlongg
b11c900a4c fix bracket, + overwrite required rulesets 2024-04-23 16:29:07 -05:00
Spencer Long
53ccd196d7
Merge branch 'develop' into bug/sc-24884 2024-04-23 13:57:59 -05: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
spencerrlongg
99d7155729 translation strings 2024-04-07 19:50:53 -05:00
spencerrlongg
f30439a544 small refactor, pretty much good to go now though 2024-04-07 17:07:46 -05:00
spencerrlongg
997eddfed1 cleanup + notes for monday 2024-04-04 18:23:03 -05:00
spencerrlongg
52340aca78 just about wrapped up 2024-04-04 17:41:10 -05:00
spencerrlongg
e1fb446888 this is a pretty good start, need to know about other PR 2024-04-04 14:20:03 -05:00
spencerrlongg
1d4a7a7b02 added audit dates 2024-03-27 14:05:30 -05:00
Spencer Long
013463aafc
Merge branch 'develop' into bug/sc-24884 2024-03-27 12:45:45 -05: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
spencerrlongg
be282dd038 resolve a couple issues 2024-03-21 09:26:45 -05:00
spencerrlongg
d18aa1db98 some more cleanup + tests 2024-03-20 15:18:15 -05:00
spencerrlongg
fdf0be09db all tests passing 2024-03-20 13:43:01 -05:00
Spencer Long
b4b4927370
Merge branch 'develop' into bug/sc-24884 2024-03-20 12:36:39 -05: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
spencerrlongg
c0110e7f29 some more tests and refinement 2024-03-19 19:27:35 -05:00
spencerrlongg
f6ab0f8f46 lots of cleanup to do, but this DOES work 2024-03-13 15:57:10 -05:00
spencerrlongg
c8341d9dc4 aha, got it working. 2024-03-08 19:48:47 -06:00
spencerrlongg
b239b3a4db some good progress, lots of testing needs to be done on the new inclusion of SubstituteBindings 2024-03-08 18:24:41 -06:00
spencerrlongg
eac01868ca not all working, but pushing to work on something else 2024-03-05 11:02:55 -06:00
spencerrlongg
c025e25839 just the basics and notes, pushing to keep track 2024-02-26 14:32:50 -06: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