Commit Graph

454 Commits

Author SHA1 Message Date
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
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
Dan Ribbens
1d8df3355b adds hasMany attribute to config schema map to handle array of referenced relationship 2019-10-22 10:57:27 -04:00
Dan Ribbens
de1bbda00a add some more basic field types 2019-10-21 16:40:04 -04:00
Dan Ribbens
5b08c33a72 dynamic schema file uploads 2019-10-21 13:50:42 -04:00
James
8bcf92a2ed retrieves config from newly created route 2019-10-18 17:26:46 -04:00
James
57d42a7596 finishes webpack dev config 2019-10-18 16:54:00 -04:00
James
e1abff2486 updates lots of client side resource URLs, implements webpack-dev-middleware halfway 2019-10-18 12:36:51 -04:00
James
c58f103b76 implements webpack-dev-middleware 2019-10-17 21:04:24 -04:00
Elliot DeNolf
e216e11076 First user (#104)
First user
2019-10-17 17:14:09 -04:00
Elliot DeNolf
4825d36504 feat(config-route): add config route 2019-10-17 17:13:36 -04:00
Elliot DeNolf
136a6748a0 feature(first-register): add first-register routes and pull out auth.routes.js 2019-10-17 16:43:48 -04:00
Dan Ribbens
db65a1b213 Merge pull request #103 from keen-studio/globals-separate-routes
globals with paths for subdocs supported
2019-10-17 14:48:58 -04:00