Commit Graph

48 Commits

Author SHA1 Message Date
James
9c8145238c adds pattern for local CRUD 2020-07-27 17:04:54 -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
e818537fe9 renames policy to access 2020-07-08 11:00:50 -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
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
7c55fb3f15 stubs out static media policy execution 2020-06-26 17:36:29 -04:00
James
d7cfdb0026 parses nested multipart/form-data requests 2020-06-24 20:03:50 -04:00
James
a27f804b9c adds width and height to uploads that match proper mime type, continues build to FileDetails 2020-06-24 18:55:03 -04:00
James
b5f8178de2 working File upload field type 2020-06-24 14:51:37 -04:00
James
ab36ba8e75 introduces field-level policies on find operations 2020-06-17 15:49:01 -04:00
James
16c109d9f5 bumps out all admin init to separate file, redirects a/admin to /admin/ 2020-06-17 12:35:06 -04:00
James
15628ebe88 enables production admin static routes 2020-06-12 16:21:30 -04:00
James
fee6170748 enables optional api key auth 2020-06-09 13:42:20 -04:00
James
7d2b54e4a0 fixes miscellaneous bugs while initializing with no localization, globals, custom css 2020-06-01 14:16:12 -04:00
James Mikrut
78abe59501 Merge pull request #195 from trouble/feature/#128-standardize-error-handler
Feature/#128 standardize error handler
2020-05-28 12:57:05 -04:00
James
9cf32a34dc enables recursive and / or in build query 2020-05-28 12:50:02 -04:00
Dan Ribbens
8e2b0d2828 merge master 2020-05-19 21:44:52 -04:00
James
de6aee192e GraphQL bugfixes and simplifications 2020-05-19 08:47:50 -04:00
James
698a66f583 enables cookie prefix 2020-05-18 21:28:22 -04:00
James
5898398fb1 rearchitects demo to provide distinct testable, demoable collections and globals 2020-05-18 19:06:35 -04:00
Dan Ribbens
49d58662a1 wip on graphql after error hook 2020-05-16 08:26:07 -04:00
Dan Ribbens
d998ea35fe add test coverage for error handler hooks 2020-05-10 21:05:48 -04:00
Dan Ribbens
b1d6bd9e0c moves error handling to express middleware, changes pattern to hook 2020-05-08 17:42:51 -04:00
James
5e6f2d8828 enables static routes 2020-05-06 16:43:20 -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
James
91be273d64 builds simpler pattern to identify which api is being used via express middleware 2020-04-21 13:59:01 -04:00
James
bc449761a2 adds api key functionality to user and fixes misc client-side field bugs 2020-04-20 20:58:01 -04:00
James
1fb3841ea1 begins preview / api key authentication 2020-04-20 18:36:40 -04:00
James
6e39f39c6f adds validations to backend 2020-04-19 14:18:34 -04:00
James
5699bb6ecd the case of the missing file 2020-04-16 13:32:47 -04:00
James
9271b97cf1 bumps graphql auth header from cookie into its own file 2020-04-16 13:25:52 -04:00
James
7065ef1e8c Merge branch 'master' into enable-auth-graphql 2020-04-15 19:38:45 -04:00
James
1e0a6dfc29 simplifies tests, removes /killkillkill, enables start / stop demo server 2020-04-15 19:17:57 -04:00
James
eb8734ac5c splits out auth request handlers in preparation for implementation in graphql 2020-04-15 13:24:10 -04:00
Elliot DeNolf
e797ccb094 Merge pull request #170 from trouble/gh-actions
GitHub Actions
2020-04-15 01:00:25 -04:00
James
6fb24a083d revises formatErrorResponse, extracts findOne operation from global findOne 2020-04-14 16:41:27 -04:00
Elliot DeNolf
eb023c2079 Move tests to GitHub Actions 2020-04-13 23:59:32 -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
d6f8565636 enables create mutation 2020-04-11 11:17:45 -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
54d714bc66 moves express responses to express folder 2020-04-03 12:51:52 -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
49ebdaa1ec binds all API routes to api prefix route, refactors to support 2020-04-01 15:21:31 -04:00