Commit Graph

8315 Commits

Author SHA1 Message Date
James
b737d208de re-enables localization on page layout field 2019-12-26 12:10:07 -05:00
James
211805d83f ensures that non-localized flexible content is still supported 2019-12-26 12:09:51 -05:00
James
e56bb464a8 enables localized flexible content 2019-12-26 12:02:21 -05:00
Dan Ribbens
3edb21b703 troubleshooting eslint-babel issue 2019-12-26 10:09:06 -05:00
James
9fe7eade0d working flex content discriminators, missing blockType 2019-12-25 13:52:13 -05:00
Dan Ribbens
e7e7435656 Merge branch 'master' into unify-errors 2019-12-24 08:53:40 -05:00
James
a56031fcbf Merge branch 'master' of github.com:keen-studio/payload 2019-12-23 17:23:19 -05:00
James
598bfc036b adds sparse: true to localized / unique keys 2019-12-23 17:21:49 -05:00
James
e5a6c3a026 removes __v and _id from response 2019-12-23 17:13:36 -05:00
Dan Ribbens
ae9e2c3470 remove PayloadError and switched to APIError where it was used, set res status where possible and some fixed eslint issues 2019-12-23 16:54:27 -05:00
James
2342ecbe37 restores custom paginate and populate scripts 2019-12-23 16:52:27 -05:00
James
b9019677db lints buildQuery and paginate 2019-12-23 15:36:09 -05:00
James
8f0426fbc8 removes the need to pass full colletions to registerCollectionSchema 2019-12-23 12:55:28 -05:00
James
dcfa909a35 revises the way that the config sends back collections and globals 2019-12-21 20:00:31 -05:00
James
9e229c70c5 ensures localized references work properly 2019-12-21 19:30:30 -05:00
James
091c75882b enables retrieving all locales 2019-12-21 19:17:08 -05:00
James
f13caaad98 builds better models for testing 2019-12-21 18:33:45 -05:00
James
1390f09e39 Merge branch 'master' of github.com:keen-studio/payload 2019-12-21 17:53:53 -05:00
James
d9cb5abcce enables Globals 2019-12-21 17:50:35 -05:00
James
5d277beb3c instantiates globals 2019-12-21 16:06:49 -05:00
James Mikrut
bf4d1f5c85 Merge pull request #108 from trouble/flatten-schemas
flattens content blocks and collections, cleans index.js, implements …
2019-12-21 15:56:10 -05:00
James
8298fe8643 flattens content blocks and collections, cleans index.js, implements Airbnb ESLint 2019-12-21 15:54:30 -05:00
James
28c75eb321 enables array or embeeded refPath formatting 2019-12-20 18:12:57 -05:00
James
f63c80c51a adds globals back 2019-12-20 17:12:22 -05:00
James
10d89236e4 moves refPath localization formatting to localization plugin and ensures that it works for multiple locales 2019-12-20 17:11:10 -05:00
James
8757d6641e removes unused autopopulate arguments 2019-12-20 10:35:23 -05:00
James
6abc780f79 fixes autopopulation within localized virtuals 2019-12-20 10:32:54 -05:00
James
915ab9813d approach to formatting dynamic refPaths 2019-12-20 10:22:30 -05:00
James
a69d22c1d1 working localized flexible content, missing autopopulated flexible content 2019-12-17 21:33:46 -05:00
James
bd73c91f77 merges flexible-content status into master 2019-12-17 19:33:27 -05:00
James
b685bf5e41 adds config changes for handling plugins and paths 2019-12-17 17:21:29 -05:00
Dan Ribbens
9be21fac85 work in progress on flexible intl fields 2019-12-17 10:49:33 -05:00
James
3a6e34a516 merges webpack-dev-middleware 2019-11-22 10:51:00 -05:00
Dan Ribbens
4243ad0ad5 Merge pull request #105 from trouble/rename-media-to-uploads
dynamic schema file uploads
2019-11-20 09:49:42 -05:00
Dan Ribbens
e8d3eba9cb allow flexible fields to accept single and default to many 2019-10-31 10:45:01 -04:00
Dan Ribbens
ecca6e3e1f flexible field types working with prefixed paths and globals 2019-10-30 21:28:45 -04:00
Dan Ribbens
818fe1f083 enum for flexible fields 2019-10-29 10:54:52 -04:00
Dan Ribbens
4b3412fdfb remove unfinished test config changes 2019-10-29 10:18:06 -04:00
James
c2ce6a4f38 wires up refPath to support dynamic refs within flexible content 2019-10-28 21:46:10 -04:00
Dan Ribbens
897ef934f0 debugging issues with autoload for flexible schemas 2019-10-28 18:59:01 -04:00
Dan Ribbens
c10d6fd34f flexible schema nearly working with relation field 2019-10-28 11:23:52 -04:00
Dan Ribbens
5c1dbefdc4 refactor flexible schema and add test for registering mongoose schema and models 2019-10-25 15:03:47 -04:00
Dan Ribbens
a3089c3db7 clean up dependancies 2019-10-25 11:52:44 -04:00
Dan Ribbens
427cb32903 refactor mongoose schema code to be done outside index.js 2019-10-25 11:51:35 -04:00
Dan Ribbens
3bb37e3ac8 fix double negative condition 2019-10-23 14:00:06 -04:00
Dan Ribbens
bc70680adf nested flexible content blocks working, could use a refactor 2019-10-22 22:19:42 -04:00
Dan Ribbens
e10dda291f globals and flexible content blocks now support flexible contenet 2019-10-22 21:59:30 -04:00
Dan Ribbens
4b1e1682c8 localization plugin no longer mishandling schema type String as an array 2019-10-22 21:38:55 -04:00
Dan Ribbens
e2012b205c adds localization to flexible content blocks 2019-10-22 19:43:17 -04:00
Dan Ribbens
faace33d75 first pass at flexible content fields 2019-10-22 18:55:08 -04:00