94 Commits

Author SHA1 Message Date
Elliot DeNolf
d10f3f140f add hook types 2020-11-23 10:23:04 -05:00
Elliot DeNolf
7670a23611 more types and intellisense comments 2020-11-22 18:29:27 -05:00
James
3e9ad427ec enables typescript intellisense in buildConfig 2020-11-21 13:53:54 -05:00
James
16d0289c36 progress to buildConfig, splitting out type organization 2020-11-21 12:22:38 -05:00
James
e00321a101 int tests pass 2020-11-21 10:02:46 -05:00
James
1eeee4854a converts auth and email 2020-11-20 14:53:45 -05:00
James
63e86c4147 further module conversion 2020-11-20 14:39:35 -05:00
James
dfc77f0a3f further module conversion 2020-11-20 14:34:32 -05:00
Elliot DeNolf
551c249e39 refactor: migrate to typescript 2020-11-20 13:39:18 -05:00
James
f0374d5772 adds an option to show hidden fields within local operations 2020-10-15 18:12:19 -04:00
James
fd9453889e sanitizes json before it comes out of global and collection find operations 2020-10-12 15:13:37 -04:00
James
681bba82a9 removes mongoose-hidden, updates globals accordingly 2020-10-12 12:41:31 -04:00
Elliot DeNolf
60a3e680dd move tests dir to root 2020-10-08 05:01:48 -04:00
Elliot DeNolf
c599522e44 isolate api tests inside tests/api 2020-10-08 04:50:33 -04:00
James
d589a90a42 allows for local payload initialization 2020-10-05 17:08:59 -04:00
James
7f47cdacbb enables lean mongoose queries for all find operations 2020-10-05 10:25:35 -04:00
James
628d68ed2d ensures tests work with new babel config 2020-09-21 21:58:16 -04:00
James
966dd7a40f allows for user override in local operations 2020-09-15 08:57:49 -04:00
James
b462fe5f77 stringifies globals before sending, fixes async bug 2020-09-14 21:21:13 -04:00
Elliot DeNolf
5345eb993a fix global update's execution of access 2020-09-14 17:34:56 -04:00
Elliot DeNolf
f2f8ffbbb2 implement global update 2020-09-13 08:40:28 -04:00
Elliot DeNolf
2b81e887ad implement global find 2020-09-11 11:33:26 -04:00
Elliot DeNolf
899a158843 fix parameter ordering for sanitizeFields calls 2020-09-10 21:17:46 -04:00
Elliot DeNolf
163daf5816 validate global relationships 2020-09-10 19:35:55 -04:00
James
9e82f9d02e fixes bugs with GraphQL when no locale is present 2020-08-29 12:07:06 -04:00
James
16b9aab785 modifies create and update hooks to 'change' instead 2020-07-29 19:19:15 -04:00
James
5771b3e561 updates resolvers to new architecture 2020-07-20 17:14:31 -04:00
James
85bcbfd918 removes autopopulate, adds manual population 2020-07-20 16:11:22 -04:00
James
0bfc10d55c passes depth to all afterRead performFieldOperations 2020-07-20 12:44:29 -04:00
James
7e024a61b9 revises conventions of all admin-related fields in config 2020-07-18 16:11:50 -04:00
James
b6a90587e6 exposes errors, fixes bug with globals and localization 2020-07-18 13:37:41 -04:00
James
d1820b0731 properly awaits hooks 2020-07-17 23:06:07 -04:00
James
98eec002c0 revises hook arrays to run synchronously where necessary 2020-07-17 23:00:18 -04:00
James
62bc76b074 modifies hooks to be arrays 2020-07-17 20:22:23 -04:00
Elliot DeNolf
53eaf1f93d test: add global tests 2020-07-12 07:37:21 -04:00
James
49b21a996f fixes bugs left over in globals 2020-07-10 02:57:47 -04:00
James
419a6c547c enables access to auth / setting cookie in graphql resolvers, secures relationships 2020-07-10 01:59:03 -04:00
James
26f4e7303e passes res to graphql context in order to login via gql 2020-07-09 21:58:11 -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
9b2935a88f simplifies misc. globals functionality 2020-07-06 23:25:45 -04:00
James
ae35bd7266 fixes broken global virtuals 2020-07-06 23:10:50 -04:00
James
b263e04408 WIP - styles Globals 2020-07-06 22:58:31 -04:00
James
f84b3409af removes lodash, better combines policy results with existing where queries 2020-06-30 13:33:14 -04:00
James
d4797ce3b3 modifies update operations to retrieve full document, merge with updates, and validate 2020-06-19 17:59:49 -04:00
James
e43b1b3194 adds field operations to outbound data from create / update operations 2020-06-18 20:45:12 -04:00
James
1d6a75e79e applies newly created field recursion pattern to all operations 2020-06-18 20:23:16 -04:00
James
ab36ba8e75 introduces field-level policies on find operations 2020-06-17 15:49:01 -04:00
James
4bea0c6738 sanitizes frontend config, ensures custom validations are used, revises the way server-side config is sanitized 2020-06-02 17:56:59 -04:00
James
061621ff7e ensures nested rows work within repeaters 2020-06-02 16:15:54 -04:00