Commit Graph

497 Commits

Author SHA1 Message Date
James
e904402eff Merge branch 'master' of github.com:keen-studio/payload 2020-07-03 13:08:21 -04:00
James
2bd5318eb3 converts cookies to httpOnly server side for security 2020-07-03 13:08:17 -04:00
Jarrod Flesch
971a905717 removes console logs and unused rich text toolbar 2020-07-02 17:17:52 -04:00
James
8fa45f5894 implements static policies 2020-07-02 16:29:18 -04:00
James
cd6793f641 WIP fixes to form state optimizations 2020-07-02 12:48:58 -04:00
James
a34698371e implements a safer way to revert to original data if update policies fail 2020-07-02 00:46:03 -04:00
James
d04babe933 merges repeater-design, implements field policy config in admin panel 2020-07-01 23:57:07 -04:00
James
977c4c13b0 passes permissions through to fields 2020-07-01 23:21:06 -04:00
James
fef816fac3 namespaces API keys, finds collection based on JWT collection payload 2020-07-01 18:32:39 -04:00
Jarrod Flesch
4e1749c56d slims up the position-panel margin, fixes Popup self-awareness issues 2020-07-01 17:56:42 -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
Jarrod Flesch
2f60a527da alters the way up/down arrows are hidden if not needed by supressing opacity instead of completely hiding them 2020-07-01 14:07:12 -04:00
Jarrod Flesch
c5c4fcd639 general cleanup, hides position up/down arrows if up/down is not theoretically possible ie first/last row 2020-07-01 13:57:45 -04:00
Jarrod Flesch
e9ff8cb1b0 removes forced alignment if unnecessary, better calculation to include content width 2020-06-30 13:55:34 -04:00
Jarrod Flesch
b5a41b6a2a popups are now self-aware horizontally and will override prop alignment if needed 2020-06-30 13:48:32 -04:00
James
f84b3409af removes lodash, better combines policy results with existing where queries 2020-06-30 13:33:14 -04:00
Jarrod Flesch
a02e0f33a8 style adjustments for draggableSection 2020-06-30 09:31:22 -04:00
Jarrod Flesch
d9ad2c05de adds visibility to desktop hover items, on mobile 2020-06-29 17:57:20 -04:00
Jarrod Flesch
482bceaf22 adds horizontal alignment to popup component, fixes sidebar mobile hard width 2020-06-29 17:53:45 -04:00
Jarrod Flesch
992c3edc69 removes old png image 2020-06-29 13:54:03 -04:00
Jarrod Flesch
a69be94422 tweaks styles for action/position draggable panels 2020-06-29 13:51:24 -04:00
James
f6cc4ec20d builds Add Upload modal 2020-06-29 12:48:28 -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
Jarrod Flesch
9fad400f75 fixes dragHandleProps naming convention, reenabling dragging 2020-06-26 16:37:41 -04:00
Jarrod Flesch
1c84e8a97f renames handles to panels for the draggableSection 2020-06-26 16:23:55 -04:00
Jarrod Flesch
2a005c3d9f tweaks block popup style 2020-06-26 16:18:30 -04:00
Jarrod Flesch
b2a09c8bd8 enables the search bar as sticky to the add-block popup 2020-06-26 16:06:48 -04:00
Jarrod Flesch
18d09174ea merges master 2020-06-26 15:20:29 -04:00
Jarrod Flesch
aa5da49514 adjusts component props, popup button composition and more 2020-06-26 15:19:54 -04:00
James
ddd37b7bb5 implements a way to replace files in UI 2020-06-26 12:48:31 -04:00
Jarrod Flesch
a4d0608f56 adds styles for block search popup 2020-06-26 09:38:29 -04:00
Jarrod Flesch
7265d63403 adjusts style for collapsible chevron color 2020-06-25 17:40:45 -04:00
Jarrod Flesch
7267937629 adds collapsable toggle 2020-06-25 16:15:09 -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