Commit Graph

1253 Commits

Author SHA1 Message Date
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
fd02e484da scaffolds file input 2020-06-24 11:19:30 -04:00
James
041cd4d469 improves getDataByPath, converts Form to use FormData instead of sending JSON 2020-06-24 10:43:33 -04:00
James
b54761df9d overwrites arrays instead of merging, initializes upload client fields 2020-06-24 10:30:08 -04:00
James
223f9a9fb2 adds file field type 2020-06-22 12:01:39 -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
0dfff0ee33 fixes relationship labels not populating properly when no useAsTitle 2020-06-19 17:01:02 -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
e06f90da2b fixes bug with repeater and flex content reinitializing too often 2020-06-19 16:31:23 -04:00
James
30e7fde537 tweaks to input styles 2020-06-19 13:59:33 -04:00
James
0552249917 implements uuid in client-side API key gen 2020-06-19 12:05:39 -04:00
James
bf23125477 merges rich text field 2020-06-19 11:53:16 -04:00
James
3f74bbe3cf catches a few bugs with flex and repeater 2020-06-19 11:45:38 -04:00
James Mikrut
a51072a9f5 Merge pull request #253 from trouble/simplify-repeater-flexible
Simplifies repeater and flexible content fields
2020-06-19 11:22:16 -04:00
James
a7aaf395d5 merges repeater-design 2020-06-19 11:20:49 -04:00
James
48ed4e984c flattens reducers of flexible and repeater into one 2020-06-19 10:15:34 -04:00
James
577f3b6164 simplifies useFieldType and implements a way to retrieve data by path in useForm 2020-06-19 09:54:55 -04:00
James
5d20700cf4 WIP - simplifies logic of repeater and flexible 2020-06-18 23:02:38 -04:00
James
eb15886298 simplifies withConditions 2020-06-18 21:12:27 -04:00
James
eeae61bfaf implements a cleaner method of retrieving sibling field data 2020-06-18 21:09:52 -04:00
James Mikrut
c58032ec8e Merge pull request #251 from trouble/field-policies
Field policies
2020-06-18 20:52:27 -04:00
James
4a2dc2c923 modifies checkRole to safely access user.roles 2020-06-18 20:51:57 -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
6903a415dc flattens create field recursion 2020-06-18 19:21:43 -04:00
Jarrod Flesch
cb8d6d82fb adds section title and pills to flexible, other misc refinements 2020-06-18 18:10:02 -04:00
Jarrod Flesch
98c1197b5c Merge branch 'master' of github.com:trouble/payload into repeater-design 2020-06-18 17:10:58 -04:00
James
437a6ff250 adds error for missing select options 2020-06-18 17:09:45 -04:00
Jarrod Flesch
095f0ababd enables edge handles vertical alignments 2020-06-18 14:57:49 -04:00
Jarrod Flesch
914fa61e62 removes unnecessary buttons styles previoulsy added 2020-06-18 10:36:42 -04:00
James
0f1af10769 safely checks for create policy in buildSchema 2020-06-18 10:04:04 -04:00
Jarrod Flesch
8febfd4ed0 adds refined repeater styles and popup on hover 2020-06-17 16:38:40 -04:00
James
8b8628711e restricts fields from being required if there is a policy on create 2020-06-17 15:50:55 -04:00
James
ab36ba8e75 introduces field-level policies on find operations 2020-06-17 15:49:01 -04:00
Jarrod Flesch
926d8504c6 Merge branch 'master' of github.com:trouble/payload into repeater-design 2020-06-17 14:26:56 -04:00
James
155bb87f7a adds PoC for how field-level policies API should work 2020-06-17 14:20:15 -04:00
James
34deec955b Merge branch 'master' of github.com:keen-studio/payload 2020-06-17 12:35:17 -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
Jarrod Flesch
2e7f1d7eaa easier to test with nested repeater config 2020-06-17 11:25:02 -04:00
Jarrod Flesch
f6dbfa0772 Merge branch 'master' of github.com:trouble/payload into repeater-design 2020-06-17 09:53:07 -04:00
Jarrod Flesch
5f71c74d3c major repeater style overhaul 2020-06-17 09:51:09 -04:00
James
5840479e2b fixes bugs with webpack prod config 2020-06-16 22:44:27 -04:00
James
0f2d421a87 implements connect-history-api-fallback and refines the way client files are served 2020-06-16 21:52:23 -04:00
James
ce81232bbf allows repeater and flex content to be properly duplicated 2020-06-16 18:06:21 -04:00
Jarrod Flesch
878dc1f5a7 Merge branch 'master' of github.com:trouble/payload into repeater-design 2020-06-16 17:46:37 -04:00
Jarrod Flesch
72d0ab924d configures new button functionality 2020-06-16 17:46:27 -04:00
James
64ca12b30c only performs backend validation if validation exists 2020-06-16 17:45:05 -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
df31f4f144 revises the way that recursive backend validation works 2020-06-16 15:35:28 -04:00