Commit Graph

69 Commits

Author SHA1 Message Date
James
ba79fd42db fix: allows null in ImageSize width and height types 2021-12-28 11:56:10 -05:00
James
727fbeceb4 fix: #373 2021-11-29 08:33:20 -05:00
James
a0fb48c9a3 fix: #358 - reuploading with existing filenames 2021-11-25 10:34:03 -05:00
Tejas Ahluwalia
b2fe27dda5 Include 'WebP' as image type
This is called in the useThumbail hook. Adding webp support for thumbnails in the admin Thumbnail component.
2021-11-21 00:05:10 +05:30
James
cc4d1fd045 feat: adds dynamic url field to upload-enabled collections 2021-10-18 21:15:32 -04:00
James
8661115283 fix: allows image resizing if either width or height is larger 2021-09-22 16:38:30 -04:00
James
9661c6d40a feat: allow completely disabling local file storage 2021-08-06 12:18:20 -04:00
James
4a44d20d90 chore: merges 2021-08-06 11:14:02 -04:00
James
dea54a4ccc feat: allows upload resizing to maintain aspect ratio 2021-08-06 11:08:48 -04:00
James
9c8935fd51 feat: exposes auto-sized uploads on payload req 2021-08-06 10:40:40 -04:00
James
5a7e5b921d feat: revises naming conventions of config types 2021-07-27 20:13:25 -04:00
Elliot DeNolf
1c6f32f288 feat: restrict upload mime types in file picker 2021-05-11 22:21:03 -04:00
James
51b46d44b0 fix: allows absolute urls within adminThumbnail 2021-03-29 08:39:41 -04:00
James
5e1ddb552e feat: only runs adminThumbnail func if image type 2021-03-14 15:53:00 -04:00
James
b6a9fe4bcf feat: allows admin thumbnail to be set programmatically 2021-03-14 15:44:35 -04:00
Dan Ribbens
0feb7b7379 fix: file size in local operations 2021-02-09 15:12:29 -05:00
Dan Ribbens
9d51af3bf8 fix: windows compatible upload filename paths 2021-02-05 17:21:51 -05:00
James
1a590287ea feat: allows upload through Local API 2021-02-05 16:09:53 -05:00
Elliot DeNolf
4d6871abc8 fix: use FileSize and ImageSize types 2021-01-06 00:07:47 -05:00
James
282f575cab further types to Elements 2020-12-01 10:48:08 -05:00
James
98b62df792 further types 2020-11-30 14:16:55 -05:00
James
c3c3f3fc88 replaces sanitization 2020-11-29 20:08:06 -05:00
James
0fcd3d8f28 further types 2020-11-29 15:40:11 -05:00
Elliot DeNolf
eafc0876a1 type uploads and images 2020-11-23 13:55:39 -05:00
Elliot DeNolf
bc9adb9fe5 convert src/uploads 2020-11-20 15:10:11 -05:00
Elliot DeNolf
551c249e39 refactor: migrate to typescript 2020-11-20 13:39:18 -05:00
James
91016ec206 removes image-size in favor of probe-image-size to handle CMYK jpgs 2020-10-07 16:52:48 -04:00
James
939a2923d3 implements an easier pattern of pointing to files within config 2020-09-19 19:31:04 -04:00
James
75b900e20d responsive File 2020-06-24 20:37:28 -04:00
James
a27f804b9c adds width and height to uploads that match proper mime type, continues build to FileDetails 2020-06-24 18:55:03 -04:00
James
b54761df9d overwrites arrays instead of merging, initializes upload client fields 2020-06-24 10:30:08 -04:00
James
1ad36ecd92 refactors exists into fileExists, ensures reuploading files works properly 2020-05-06 17:08:18 -04:00
James
4929763ba9 enables deletion of files, adds additional meta data 2020-05-06 16:31:03 -04:00
James
60e9e148b0 working uploads 2020-05-06 13:36:54 -04:00
James
c5d96a1424 flattens upload routes into collections 2020-05-06 13:25:17 -04:00
James
bc8189b482 removes duplicative middleware, modifies uploads so that multiple upload collections can be present 2020-05-06 10:59:19 -04:00
Elliot DeNolf
099ff7f473 Refactor for incrementing filenames of any file type 2020-05-05 16:43:24 -04:00
Elliot DeNolf
5f7d4a2581 Handle image name on disk if already exists 2020-04-29 20:28:21 -04:00
Elliot DeNolf
dc08e36207 Sanitize upload filename 2020-04-29 20:28:21 -04:00
James
1fb3841ea1 begins preview / api key authentication 2020-04-20 18:36:40 -04:00
James
a938671ef4 ensures backend validation works recursively and formats pathnames according to nested fields 2020-04-19 14:33:44 -04:00
James
edf74f98a0 implements field-level hooks, progress to backend validation 2020-04-18 13:17:28 -04:00
James
d253679051 renames queries to operations, removes unnecessary globals middleware 2020-04-14 15:45:46 -04:00
James
eea3991912 applies collection hook pattern 2020-04-13 18:08:03 -04:00
James
ffb5f97756 removes withDefaultLocale as it was not necessary 2020-04-13 11:38:19 -04:00
James
94fd642e5c enables User and Upload graphql CRUD 2020-04-12 15:54:21 -04:00
James
5bd2fc1fd7 enables locale within graphql resolvers, removes unused files 2020-04-06 10:32:33 -04:00
James
8dd5e63a01 cleans naming conventions of modelById / findOne 2020-04-03 12:34:49 -04:00
James
03cb4b47d5 refactors first req handler and query to try / catch + async / await 2020-04-03 12:28:59 -04:00
James
9ce32fed08 revises folder structure in advance of refining request handlers / queries 2020-04-03 12:12:55 -04:00