Commit Graph

70 Commits

Author SHA1 Message Date
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
James
f8369ffb10 introduces Row, modifies buildSchema to support fields that need to modify top-level schemas 2020-06-02 13:57:55 -04:00
James
7d2b54e4a0 fixes miscellaneous bugs while initializing with no localization, globals, custom css 2020-06-01 14:16:12 -04:00
James
098b5be274 flattens user into collections 2020-05-18 16:39:40 -04:00
James
c5d96a1424 flattens upload routes into collections 2020-05-06 13:25:17 -04:00
James
7d29a28b5e Merge branch 'master' of github.com:keen-studio/payload into sanitize-filenames 2020-05-06 11:55:12 -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
Dan Ribbens
0e089bb881 rename calls for globals upsert to update for consistency of hooks naming 2020-04-30 15:58:53 -04:00
James
f1e6e2fb0b fixes bug with using old api identifier 2020-04-21 14:04:49 -04:00
James
91be273d64 builds simpler pattern to identify which api is being used via express middleware 2020-04-21 13:59:01 -04:00
James
5260276b83 passes full req to all operations 2020-04-21 13:31:13 -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
45d8745f74 passes entire operation through to policy instead of just user 2020-04-19 13:16:26 -04:00
James
9d7193af86 formats select so that it can use string values without distinct labels 2020-04-18 17:59:19 -04:00
James
6165b3e35c reduces complexity in operations due to sanitization in configs 2020-04-18 12:36:11 -04:00
James
009b5171ed renames auth to users to follow convention 2020-04-15 13:31:03 -04:00
James
dc82ee9c24 finalizes implementation of globals in graphql 2020-04-14 17:44:08 -04:00
James
3fcfad69de revises structure of global upsert request handler / operation 2020-04-14 16:54:54 -04:00
James
6fb24a083d revises formatErrorResponse, extracts findOne operation from global findOne 2020-04-14 16:41:27 -04:00
James
d253679051 renames queries to operations, removes unnecessary globals middleware 2020-04-14 15:45:46 -04:00
James
14ed3f9724 revises global request handlers to be async / await in preparation for graphql implementation 2020-04-13 21:05:23 -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
5bd2fc1fd7 enables locale within graphql resolvers, removes unused files 2020-04-06 10:32:33 -04:00
James
7342861fcb lints buildQuery and removes unused functionality, moves loadPolicy to express middleware 2020-04-03 18:50:46 -04:00