Commit Graph

1206 Commits

Author SHA1 Message Date
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
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
James
ab36ba8e75 introduces field-level policies on find operations 2020-06-17 15:49:01 -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
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
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
James
d3b36e00df Merge branch 'master' of github.com:keen-studio/payload 2020-06-16 08:28:26 -04:00
James
1167560df6 adds localized repeater for testing 2020-06-16 08:28:08 -04:00
James Mikrut
b2384edd93 Merge pull request #239 from trouble/admin-auth
Admin auth
2020-06-15 19:49:42 -04:00
James
f2f8a57f35 fixes breaking tests due to changing shape of outgoing register response 2020-06-15 19:48:35 -04:00
James
df50deefb6 builds Account view 2020-06-15 19:46:37 -04:00
James
5a9a046186 reintroduces api key copy function 2020-06-15 19:13:40 -04:00
James
697acbe6ba generates secure API key within admin UI 2020-06-15 19:09:48 -04:00
James
045dc69bb7 implements read-only API Key 2020-06-15 18:34:40 -04:00
James
9145af5a40 blurs modal backgrounds, enables opt-in form debouncing 2020-06-15 18:18:10 -04:00
James
579c12d1d2 styles checkboxes 2020-06-15 18:04:25 -04:00
James
99f04729ba begins refactor of Checkbox field type 2020-06-15 17:40:04 -04:00
James
575ac55c4e adds user ID to JWT 2020-06-15 17:38:00 -04:00
James
f9d93cdb1e introduces auth field component(s) to collections 2020-06-15 16:15:36 -04:00
James
15c4bb7e40 fixes issues with radio group 2020-06-15 14:57:47 -04:00
James
c4d27fff53 removes autocomplete fix, fixes date formatting in Default Edit view 2020-06-15 14:52:18 -04:00
James
2233a61e81 fixes bug with permissions being loaded before user is logged in 2020-06-15 14:31:23 -04:00
James
8016436433 adds env to debug scripts 2020-06-12 17:43:56 -04:00
James
4bdfe4d587 implements prod webpack config override 2020-06-12 16:47:21 -04:00
James
c10c91dd37 removes unused config prop in payload instantiation 2020-06-12 16:41:57 -04:00
James
17744098a6 enables a more robust way to search for the config path 2020-06-12 16:39:23 -04:00
James
93164e4ea0 enables config paths to use cwd to be located 2020-06-12 16:26:34 -04:00
James
15628ebe88 enables production admin static routes 2020-06-12 16:21:30 -04:00
James
4e63863338 replaces moment with date-fns 2020-06-12 15:57:29 -04:00
James
aa13bd9084 uses config path approach similar to NextJS 2020-06-12 14:30:15 -04:00
James
578f61ebb5 renames radioGroup to radio 2020-06-12 09:32:58 -04:00
Jarrod Flesch
ca76b02473 standardizes the example labels 2020-06-11 09:57:09 -04:00
Jarrod Flesch
81c7bde0ed adds radio group field type - #224 2020-06-11 09:28:32 -04:00
James
e2ea55d0e1 fixes bug with registration policies 2020-06-10 09:23:12 -04:00
James
c2d0548be1 fixes jims negligence 2020-06-09 17:14:10 -04:00