Commit Graph

768 Commits

Author SHA1 Message Date
James
057bb631c8 progress to Relationship 2020-04-06 22:46:02 -04:00
James
39a0f9c659 re-enables all locales 2020-04-06 16:07:47 -04:00
James
641d90ae1c reduces complexity of localization plugin 2020-04-06 16:01:51 -04:00
James
282cf38dd5 sanitizes fallback locale and ensures localization works within graphql 2020-04-06 12:30:36 -04:00
James
5bd2fc1fd7 enables locale within graphql resolvers, removes unused files 2020-04-06 10:32:33 -04:00
James
2297fd23fd converts graphql to class 2020-04-06 09:35:50 -04:00
James
7fc9a8ff13 adds addBlockType function to graphql 2020-04-06 09:02:29 -04:00
James
c6d649310f ensures flexible content block types are global 2020-04-05 22:59:04 -04:00
James
855ae9dea7 extracts resolvers to be able to reuse them 2020-04-05 21:04:47 -04:00
James
f19809bd04 revises misc bugs with mongoose query handlers 2020-04-05 17:43:43 -04:00
James
39537da71b properly handles not found by id 2020-04-05 17:30:46 -04:00
James
2d02691a79 modularizes find request handler / query / resolver, enables find in graphql 2020-04-05 17:24:05 -04:00
James
85bfc677bf enables graphql retrieval of collection by ID 2020-04-05 16:45:28 -04:00
James
40770a4d13 builds and / or relations 2020-04-05 15:59:09 -04:00
James
67e2b16660 utilizes paginate async/await and ensures related collections are still able to be queried 2020-04-05 15:13:37 -04:00
James
77b14eb1b9 refines buildQuery structure 2020-04-05 14:47:59 -04:00
James
a597ff9ca9 fixes bugs caused by accidentally adding unsafe query params to mongoose query 2020-04-05 14:00:58 -04:00
James
2c2e594fc3 WIP revises buildQuery to support required graphql where input 2020-04-05 13:23:58 -04:00
James
84b8618287 revises where graphql query arg 2020-04-04 21:00:31 -04:00
James
1bbb98a267 builds locale-friendly graphql schema types 2020-04-04 20:44:06 -04:00
James
dc26fb1d20 builds where input query type 2020-04-04 16:09:12 -04:00
James
c47cef4ac3 WIP query input types 2020-04-03 20:11:52 -04:00
James
7342861fcb lints buildQuery and removes unused functionality, moves loadPolicy to express middleware 2020-04-03 18:50:46 -04:00
James
871b05c5e6 moves passport authenticate middleware and ensures user is accessible in GraphQL queries 2020-04-03 18:28:23 -04:00
James
4a04fc3655 adds graphql-playground instead of graphiql 2020-04-03 18:13:41 -04:00
James
4bdd7e16eb replaces all forward slashes that may be used in graphql type names 2020-04-03 16:35:34 -04:00
James
bd945bf9a4 builds collection query schema 2020-04-03 16:34:03 -04:00
James
c835269ef2 WIP graphql schema definitions 2020-04-03 15:11:09 -04:00
James
36d7d87067 WIP builds graphql fieldToSchema 2020-04-03 14:45:09 -04:00
James
e05dba1d2f fixes additional paths that vscode did not auto update 2020-04-03 12:54:37 -04:00
James
54d714bc66 moves express responses to express folder 2020-04-03 12:51:52 -04:00
James
41d77fbdc6 adds commenting for validation and hooks into properly setup queries 2020-04-03 12:45:42 -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
d4f9793777 implements pattern for graphql 2020-04-02 21:48:38 -04:00
James
1a3f36f258 uses withCondition HOC in all field types 2020-04-02 16:10:57 -04:00
James
87b5952e6a enables conditional field logic 2020-04-02 15:59:27 -04:00
James
0429fb939e fixes bug with localization sending back improper value if no default locale or fallback 2020-04-01 18:42:52 -04:00
James
77d4b2f924 fixes bug with how globals were registered 2020-04-01 16:06:20 -04:00
James
17b40c329f modifies RenderFields and customComponents to support more than one custom component per field 2020-04-01 16:00:47 -04:00
James
5857a8eb5a linting 2020-04-01 15:39:49 -04:00
James
c5f7a023c8 revises frontend to use api prefix when fetching data 2020-04-01 15:32:40 -04:00
James
49ebdaa1ec binds all API routes to api prefix route, refactors to support 2020-04-01 15:21:31 -04:00
James
0da9b02e94 throttles refresh in User, adds throttled refresh to form on field state change 2020-04-01 12:55:00 -04:00
James
e6cf9cff7d jim's negligence 2020-03-31 20:22:39 -04:00
James
bc72d2cbf6 uses remaining token time to calculate when to show stay logged in modal 2020-03-31 20:18:57 -04:00
James
c120d66bab improves stay logged in modal 2020-03-31 20:04:02 -04:00
James
c852c80c52 builds unstyled modal to refresh token or log out 2020-03-31 19:57:27 -04:00
James
c69b7c24b6 adjusts refresh route to use header instead of json body, removes jwt-decode dependency in favor of using jsonwebtoken 2020-03-31 18:53:24 -04:00