Commit Graph

80 Commits

Author SHA1 Message Date
James
c9fda13e61 chore: passing global graphql tests 2022-02-13 19:05:21 -05:00
James
6dffeeb06f feat: initial drafts and versions merge 2022-02-06 12:13:52 -05:00
James
dbb3c50222 feat: adds a way to customize express.static options 2022-01-31 10:27:26 -05:00
James
d70d33fb27 chore: merge master 2021-12-29 16:45:52 -05:00
James
b5fd917dda chore: de-duplicates upload logic 2021-12-28 20:47:58 -05:00
James
fdc6aeb47a Merge branch 'master' into feat/revisions 2021-12-28 12:40:09 -05:00
James
ba79fd42db fix: allows null in ImageSize width and height types 2021-12-28 11:56:10 -05:00
James
b31f43f838 chore: merge 2021-12-01 05:18:34 -05:00
James
727fbeceb4 fix: #373 2021-11-29 08:33:20 -05:00
James
8ef1cc5373 chore: merge master 2021-11-26 18:00:59 -05:00
James
a0fb48c9a3 fix: #358 - reuploading with existing filenames 2021-11-25 10:34:03 -05:00
James
07c8ac08e2 feat: indexes filenames 2021-11-24 11:35:07 -05:00
James
27fabf79bd Merge branch 'master' of github.com:payloadcms/payload into feat/revisions 2021-11-23 14:32:26 -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
6ed11a5563 feat: adds base revision fields 2021-10-22 10:57:56 -04:00
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