Commit Graph

126 Commits

Author SHA1 Message Date
James
ae611c1dcf ensures login sets JWT with properly formatted user 2020-07-22 09:10:37 -04:00
James
ec181f0e74 utilizes find operation in jwt and api key strategies 2020-07-22 08:39:14 -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
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
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
James
a000131419 allows for multiple httpOnly cookie domains 2020-07-15 19:54:57 -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
8bd1777bf4 finishes baseField merge 2020-07-09 15:04:02 -04:00
James
356113fbba adds admin: { } options to fields, allows for field disabling 2020-07-09 14:30:29 -04:00
James
5870e7cde9 WIP - merges base fields with user fields 2020-07-09 14:17:24 -04:00
James
f3dfaae261 streamlines the /me endpoint to ensure consistency 2020-07-09 12:37:33 -04:00
James
d5e2d42c34 revises /me and logs out if inactive 2020-07-08 12:19:18 -04:00
James
a0b975ae73 redirects after registration of first user in admin panel 2020-07-08 11:48:02 -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
1f832a373a modifies all auth request handlers to rely on express error handling, updates /me req handler to operation format 2020-07-07 14:44:37 -04:00
James
83567c68db implements a way to secure token cookies via auth configs 2020-07-06 17:00:33 -04:00
James
45e6a38685 removes cookieParser and universal-cookie, adds external test router to demo server 2020-07-06 12:34:07 -04:00
James
df4b5cced7 removes duplicative JWT strategies, flattens cookie jwt retrieval into JWT strategy itself, removes sessions 2020-07-06 09:35:23 -04:00
James
a4ef486e1a enables refresh route to safely update httpOnly cookie 2020-07-03 13:15:56 -04:00
James
2bd5318eb3 converts cookies to httpOnly server side for security 2020-07-03 13:08:17 -04:00
James
8fa45f5894 implements static policies 2020-07-02 16:29:18 -04:00
James
d04babe933 merges repeater-design, implements field policy config in admin panel 2020-07-01 23:57:07 -04:00
James
977c4c13b0 passes permissions through to fields 2020-07-01 23:21:06 -04:00
James
efc4230c63 fixes broken tests 2020-07-01 18:35:38 -04:00
James
fef816fac3 namespaces API keys, finds collection based on JWT collection payload 2020-07-01 18:32:39 -04:00
James
d10f71b7cf improves Form performance by storing context value in state 2020-07-01 15:25:17 -04:00
James
e2166d4075 fixes bug with nested field policies 2020-06-30 16:25:30 -04:00
James
3883f20f11 adds field policies to /policies endpoint 2020-06-30 16:22:41 -04:00
James
7c55fb3f15 stubs out static media policy execution 2020-06-26 17:36:29 -04:00
James
b54761df9d overwrites arrays instead of merging, initializes upload client fields 2020-06-24 10:30:08 -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
bf23125477 merges rich text field 2020-06-19 11:53:16 -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
731c640e32 flattens validations on backend, ensures validations still run even if field is not required 2020-06-16 17:42:00 -04:00
James
f2f8a57f35 fixes breaking tests due to changing shape of outgoing register response 2020-06-15 19:48:35 -04:00
James
df50deefb6 builds Account view 2020-06-15 19:46:37 -04:00
James
697acbe6ba generates secure API key within admin UI 2020-06-15 19:09:48 -04:00
James
99f04729ba begins refactor of Checkbox field type 2020-06-15 17:40:04 -04:00
James
575ac55c4e adds user ID to JWT 2020-06-15 17:38:00 -04:00
James
aa13bd9084 uses config path approach similar to NextJS 2020-06-12 14:30:15 -04:00
James
e2ea55d0e1 fixes bug with registration policies 2020-06-10 09:23:12 -04:00