50 Commits

Author SHA1 Message Date
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
James
49ebdaa1ec binds all API routes to api prefix route, refactors to support 2020-04-01 15:21:31 -04:00
Dan Ribbens
2baa94c277 fixes import for image resizer in the upload request handler 2020-01-22 22:29:16 -05:00
James
549d2911dd merges image resize bugfix 2020-01-21 12:49:11 -05:00
James
e6e0b7a524 removes import / export from src 2020-01-21 12:46:27 -05:00
Dan Ribbens
656d6c8475 clean up in resizer 2020-01-19 19:12:31 -05:00
Dan Ribbens
58fc4fac5c fixes issue with the image resizer 2020-01-19 17:52:37 -05:00
Dan Ribbens
c0930f28ed upload policies updated to new signature 2020-01-19 16:36:24 -05:00
James
219743228d collapses duplicative /upload and /uploads routes into one /uploads route 2019-12-31 18:28:50 -05:00
James
1b3af49509 fixes a few bugs within Upload 2019-12-31 18:25:11 -05:00
James
618d6dc19b singularizes Upload and User 2019-12-31 17:38:23 -05:00
James
9bef5f9f4f fixes a few small linting errors 2019-12-29 16:10:32 -05:00
Dan Ribbens
126e112ec0 revert changes meant to fix eslint errors that broke image file resizing 2019-12-27 17:17:25 -05:00
Dan Ribbens
e74e4f0ec7 app fileuploads now used in upload routes middleware 2019-12-27 17:01:12 -05:00
Dan Ribbens
7a3efa81f6 merges master 2019-12-26 14:14:35 -05:00
Dan Ribbens
2d9739a85c more consistency around returned objects within upload request handlers 2019-12-26 14:00:10 -05:00
Dan Ribbens
b93c1def83 eslint and code cleanup of uploads 2019-12-26 13:45:10 -05:00
James
9fe7eade0d working flex content discriminators, missing blockType 2019-12-25 13:52:13 -05:00
James
8298fe8643 flattens content blocks and collections, cleans index.js, implements Airbnb ESLint 2019-12-21 15:54:30 -05:00
Dan Ribbens
5b08c33a72 dynamic schema file uploads 2019-10-21 13:50:42 -04:00