Commit Graph

41 Commits

Author SHA1 Message Date
James
7f47cdacbb enables lean mongoose queries for all find operations 2020-10-05 10:25:35 -04:00
James
0a5e8ab618 implements maxDepth 2020-10-04 15:30:38 -04:00
James
5694258b74 cleans performFieldOperations 2020-09-28 18:15:26 -04:00
James
a974c908b5 fixes bug in Upload cell, returns nullAsUndefineds to object-to-formdata 2020-09-28 18:15:08 -04:00
James
18e08ad5a7 revises RichText structure and functionality 2020-09-28 15:49:20 -04:00
James
8ad96452a0 additional field sanitization 2020-09-17 09:18:53 -04:00
James
fab4c0ed76 fixes accidentally running hooks for non-populated subdocs, waits for hooks before running population 2020-09-12 22:56:15 -04:00
James
01d49ccd36 removes console log 2020-09-12 17:48:46 -04:00
James
7ceadc15a3 just wasted about a half hour of time on this 2020-09-12 17:45:55 -04:00
James
95e38a568f adds Code field 2020-09-12 16:24:03 -04:00
James
01f170ba73 further revises initialState fixes to Array, Blocks 2020-08-29 16:24:27 -04:00
James
b197d780c1 passes id of document to access operations where required 2020-08-24 17:02:03 -04:00
James
b81c7917a9 fixes a bug with block fields not being iterated through in perforFieldOperations, fixes checkboxes being sent as strings 2020-08-20 16:30:01 -04:00
James
46309f33a2 properly sets default values if no value present on update or create 2020-08-13 09:18:02 -04:00
James
0630c006d5 overrides field level policies properly 2020-08-11 10:52:29 -04:00
James
3c522930ee fixes cases where hooks return undefined 2020-07-30 10:04:17 -04:00
James
90a09e268f passes operation through to field hooks 2020-07-30 07:26:48 -04:00
James
16b9aab785 modifies create and update hooks to 'change' instead 2020-07-29 19:19:15 -04:00
James
97c31faea1 waits for hooks to be resolved before validating 2020-07-29 09:34:00 -04:00
James
210295e704 implements a way to clear relationship field values 2020-07-28 20:32:24 -04:00
James
c1c7598da5 misc. bugfixes 2020-07-22 21:41:35 -04:00
James
265d2b7118 properly skips access control in field operations if overrideAccess is set to true 2020-07-22 08:51:02 -04:00
James
6737d089d1 ensures findByID returns 404 if no ID, passes more data to field hooks 2020-07-21 21:00:29 -04:00
James
9d784288d0 ensures all tests pass 2020-07-20 17:43:01 -04:00
James
5771b3e561 updates resolvers to new architecture 2020-07-20 17:14:31 -04:00
James
365803efe6 fixes bug where many relationTo relationships were populating incorrectly 2020-07-20 16:19:20 -04:00
James
85bcbfd918 removes autopopulate, adds manual population 2020-07-20 16:11:22 -04:00
James
6ac4a9d2f6 implements hooks on relationship and upload fields 2020-07-20 09:15:06 -04:00
James
4890e9dcf3 improves field validation 2020-07-19 13:53:54 -04:00
James
7e024a61b9 revises conventions of all admin-related fields in config 2020-07-18 16:11:50 -04:00
James
62bc76b074 modifies hooks to be arrays 2020-07-17 20:22:23 -04:00
James
56c508f157 implements a way to update arrays back to empty 2020-07-12 16:10:55 -04:00
James
419a6c547c enables access to auth / setting cookie in graphql resolvers, secures relationships 2020-07-10 01:59:03 -04:00
James
1882a6ac5d renames Flexible to Blocks, Repeater to Array 2020-07-08 11:15:49 -04:00
James
e818537fe9 renames policy to access 2020-07-08 11:00:50 -04:00
James
1502b2e2ce removes unnecessary try / catch from operations 2020-07-08 09:21:25 -04:00
James
a3b93ecfc5 fixes bug with field read policy 2020-07-03 10:37:05 -04:00
James
a34698371e implements a safer way to revert to original data if update policies fail 2020-07-02 00:46:03 -04:00
James
198e62cce0 adds WIP field sanitization comment 2020-06-28 11:28:42 -04:00
James
df930ae97e implements upload field type with ability to select existing upload 2020-06-27 16:35:21 -04:00
James
1d6a75e79e applies newly created field recursion pattern to all operations 2020-06-18 20:23:16 -04:00