Commit Graph

35 Commits

Author SHA1 Message Date
James
e7e2a2d260 fixes bug with executeFieldHooks 2020-06-05 13:05:07 -04:00
James
4561f98462 enables fields to validate without sending their value to form data afterward 2020-06-05 12:32:33 -04:00
James
dc2943c5eb only validates fields if they are not localized on backend 2020-06-04 19:54:32 -04:00
James
0393eb2570 ensures nested field server validation works as intended 2020-06-04 17:28:26 -04:00
James
e36e1055dd implements server-side errors on frontend 2020-06-04 14:33:44 -04:00
James
beaf99c690 adds default validations to built-in field types 2020-06-03 08:17:01 -04:00
James
66f55a593f implements fixes for backend validation on create 2020-06-02 20:14:03 -04:00
James
6e93782d90 refines frontend validations to use the same field validations as the backend 2020-06-02 19:12:25 -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
2064bdbfb3 abstracts sensitive data from public data within config and re-introduces functional conditions 2020-05-29 13:28:34 -04:00
James
4e2c090001 adjusts withConditions due to not supporting functions passed from config to client side code 2020-05-20 22:28:41 -04:00
James
7e42a2ae09 fixes issues with hidden fields on frontend and on schema creation 2020-05-20 18:20:01 -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
8208adab71 removes upload graphql 2020-05-06 11:11:35 -04:00
Dan Ribbens
80a5852487 schema map set hide true based on field hidden 2020-04-30 16:55:34 -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
Dan Ribbens
439020bba2 field level hooks working on create operation 2020-04-30 15:16:23 -04:00
Dan Ribbens
4cab47eaf6 merge master 2020-04-30 13:20:04 -04:00
Dan Ribbens
35085037af WIP updating hook calls 2020-04-30 13:19:03 -04:00
James
cebf2db119 safely copies document(s) in executeFieldHooks 2020-04-23 17:10:15 -04:00
Dan Ribbens
0acebb8b95 merge master 2020-04-22 15:12:33 -04:00
Dan Ribbens
8125a3c0b7 password resets working 2020-04-21 17:23:38 -04:00
James
c3d04dc5ca revises field-level hooks to run in parallel 2020-04-20 19:29:24 -04:00
James
334bb21c41 writes validations so that they can take advantage of async await 2020-04-20 19:08:57 -04:00
James
6f66a8d216 fixes bugs with nullish field still attempting to be validated 2020-04-20 18:56:11 -04:00
James
2a6c5de718 builds a better pattern of recursive field validation 2020-04-19 15:16:12 -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
6e39f39c6f adds validations to backend 2020-04-19 14:18:34 -04:00
James
c9ea0f1f17 fixes field-level hooks not handling array data properly 2020-04-19 13:08:53 -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
edf74f98a0 implements field-level hooks, progress to backend validation 2020-04-18 13:17:28 -04:00
James
6165b3e35c reduces complexity in operations due to sanitization in configs 2020-04-18 12:36:11 -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