Commit Graph

133 Commits

Author SHA1 Message Date
Elliot DeNolf
c9e37bcef5 Better formatting for logger output 2020-07-24 09:37:49 -04:00
Elliot DeNolf
deaf5cde5f Initial logger implementation with pino 2020-07-23 21:57:11 -04:00
James
7e024a61b9 revises conventions of all admin-related fields in config 2020-07-18 16:11:50 -04:00
James
0539ffca94 squashes mongodb deprecation warning 2020-07-13 12:27:41 -04:00
James
f3fee34d16 better error handling for MongoDB 2020-07-12 18:15:31 -04:00
James
419a6c547c enables access to auth / setting cookie in graphql resolvers, secures relationships 2020-07-10 01:59:03 -04:00
James
356113fbba adds admin: { } options to fields, allows for field disabling 2020-07-09 14:30:29 -04:00
James
1882a6ac5d renames Flexible to Blocks, Repeater to Array 2020-07-08 11:15:49 -04:00
James
e818537fe9 renames policy to access 2020-07-08 11:00:50 -04:00
James
e7eca5b30c scaffolds selection of existing within upload field modal 2020-06-27 14:51:46 -04:00
James
d57aa77843 fixes bug with buildQuery when searching by improper IDs, enables searching in relationship inputs 2020-06-19 16:59:16 -04:00
James
bf23125477 merges rich text field 2020-06-19 11:53:16 -04:00
James
437a6ff250 adds error for missing select options 2020-06-18 17:09:45 -04:00
James
0f1af10769 safely checks for create policy in buildSchema 2020-06-18 10:04:04 -04:00
James
8b8628711e restricts fields from being required if there is a policy on create 2020-06-17 15:50:55 -04:00
Jarrod Flesch
b7b4af86bd merges master 2020-06-15 13:41:35 -04:00
James
578f61ebb5 renames radioGroup to radio 2020-06-12 09:32:58 -04:00
Jarrod Flesch
81c7bde0ed adds radio group field type - #224 2020-06-11 09:28:32 -04:00
Jarrod Flesch
3a92da54dd Merge branch 'master' of github.com:trouble/payload into slate-js 2020-06-09 11:42:58 -04:00
James
e7ca5d7332 fixes bug in hasMany relationship type 2020-06-09 11:06:44 -04:00
Jarrod Flesch
7bf171e877 scaffolds out the richText backend schema 2020-06-03 10:15:51 -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
9cf32a34dc enables recursive and / or in build query 2020-05-28 12:50:02 -04:00
James
9cc8dc3797 enables searching on List view 2020-05-20 12:23:57 -04:00
Elliot DeNolf
b48ed17f3e Add collection query test, fix bugs 2020-05-13 16:04:16 -04:00
James
edf74f98a0 implements field-level hooks, progress to backend validation 2020-04-18 13:17:28 -04:00
James
ee7788be6b adds pattern for sanitizing field configs which adds validations all in one place 2020-04-18 12:13:56 -04:00
James
5699bb6ecd the case of the missing file 2020-04-16 13:32:47 -04:00
James
1e0a6dfc29 simplifies tests, removes /killkillkill, enables start / stop demo server 2020-04-15 19:17:57 -04:00
Elliot DeNolf
5de93823a6 Use mongodb-memory-server for tests 2020-04-13 23:07:52 -04:00
James
4fb61dc34c scaffolds mutation input types 2020-04-10 20:21:47 -04:00
James
a62e40066b enables querying on repeaters 2020-04-10 15:55:47 -04:00
James
5eda424959 enables querying on nested fields within repeaters, flex content and groups 2020-04-10 14:38:02 -04:00
James
cf7ddacebf uses find instead of findByID in GraphQL relationships to enable further filtering 2020-04-09 12:47:16 -04:00
James
f19809bd04 revises misc bugs with mongoose query handlers 2020-04-05 17:43:43 -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
7342861fcb lints buildQuery and removes unused functionality, moves loadPolicy to express middleware 2020-04-03 18:50:46 -04:00
James
c835269ef2 WIP graphql schema definitions 2020-04-03 15:11:09 -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
James
035391b0bf prevents mongoose schema path from being required and localized at same time 2020-03-28 21:14:08 -04:00
James
a96206b9fe revises Globals to use discriminators rather than storing all globals in one document in the database 2020-03-28 20:40:34 -04:00
James
ae6a9de944 fixes bug with flexible content schema initialization, adjusts shadows 2020-03-28 13:28:57 -04:00