Commit Graph

1277 Commits

Author SHA1 Message Date
James
fef816fac3 namespaces API keys, finds collection based on JWT collection payload 2020-07-01 18:32:39 -04:00
James
b1b6add2c0 builds alternative useFormFields hook to allow immediate access to all fields 2020-07-01 17:25:08 -04:00
James
da18128524 ensures new copy of initial form context is taken each time 2020-07-01 16:46:03 -04:00
James
1d767f2974 implements context ref in Form 2020-07-01 16:29:37 -04:00
James
d10f71b7cf improves Form performance by storing context value in state 2020-07-01 15:25:17 -04:00
James
e2166d4075 fixes bug with nested field policies 2020-06-30 16:25:30 -04:00
James
3883f20f11 adds field policies to /policies endpoint 2020-06-30 16:22:41 -04:00
James
4f39ae9e67 Merge branch 'master' of github.com:keen-studio/payload 2020-06-30 13:33:32 -04:00
James
f84b3409af removes lodash, better combines policy results with existing where queries 2020-06-30 13:33:14 -04:00
James Mikrut
934ad94f0b Merge pull request #263 from trouble/relationship-depth-test
add rest collection tests for relationships
2020-06-29 12:52:20 -04:00
James
f6cc4ec20d builds Add Upload modal 2020-06-29 12:48:28 -04:00
Dan Ribbens
dc52a1bb9c add rest collection tests for relationships 2020-06-29 12:36:33 -04:00
Dan Ribbens
062cc08b14 add cross-env to dev script 2020-06-29 09:50:11 -04:00
James Mikrut
e5db4543d7 Merge pull request #260 from trouble/upload-ui
Upload ui
2020-06-28 11:30:06 -04:00
James
198e62cce0 adds WIP field sanitization comment 2020-06-28 11:28:42 -04:00
James
df930ae97e implements upload field type with ability to select existing upload 2020-06-27 16:35:21 -04:00
James
e7eca5b30c scaffolds selection of existing within upload field modal 2020-06-27 14:51:46 -04:00
James
8d0122199b implements thumbnails in List view 2020-06-27 13:35:22 -04:00
James
7c55fb3f15 stubs out static media policy execution 2020-06-26 17:36:29 -04:00
James
ddd37b7bb5 implements a way to replace files in UI 2020-06-26 12:48:31 -04:00
James
3b6751bbc8 uses data returned by API on save 2020-06-24 20:57:08 -04:00
James
75b900e20d responsive File 2020-06-24 20:37:28 -04:00
James
d7cfdb0026 parses nested multipart/form-data requests 2020-06-24 20:03:50 -04:00
James
453d4a3a49 adds detail and structure to File, FileDetails components 2020-06-24 19:51:06 -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
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