Commit graph

5581 commits

Author SHA1 Message Date
SachaG
f1652ae025 arguments -> args 2018-06-06 09:07:13 +09:00
SachaG
c8b57ab60e Fix withMulti 2018-06-06 07:36:25 +09:00
SachaG
b92944b6cc Working on default mutations and mutators 2018-06-05 16:39:03 +09:00
SachaG
84d08e9bf9 Adapt withCreate, withUpdate, withUpsert, withDelete 2018-06-05 16:07:38 +09:00
SachaG
20db318c40 More work on withMulti and withSingle 2018-06-05 12:12:04 +09:00
SachaG
809bdd05de Adapting withMulti and withSingle 2018-06-05 11:51:25 +09:00
SachaG
dbabb98ed4 Fix spacing and case 2018-06-05 10:17:59 +09:00
SachaG
1d3921287c Refactored GraphQL schema generation code to use new GraphQL templates 2018-06-05 10:04:20 +09:00
SachaG
5dbda29b26 Add field template to GraphQL templates + other improvements 2018-06-05 09:12:07 +09:00
SachaG
35b13e89c2 Add comments to graphql templates 2018-06-04 17:59:18 +09:00
SachaG
fc346a68f2 list -> multi 2018-06-04 15:45:13 +09:00
SachaG
21eb6ec4ad List output type should include totalCount 2018-06-04 11:57:53 +09:00
SachaG
f3ba2cc59f Working on GraphQL template system for GraphQL schema generation 2018-06-04 11:22:49 +09:00
SachaG
96eab44309 Start CRUD renaming 2018-06-02 18:49:53 +09:00
SachaG
c70f32a52a Update packages 2018-06-02 08:36:30 +09:00
SachaG
d3b6591f63 v1.11.0 2018-06-02 08:35:42 +09:00
SachaG
91ade8cd15 Do not use defaultValues for edit forms 2018-06-02 08:33:50 +09:00
SachaG
1f389dbf0a Intl fields should not appear in forms 2018-05-29 18:02:15 +09:00
SachaG
37317fbd1a Make Upload component handle empty strings better 2018-05-28 09:10:36 +09:00
SachaG
8f873fc6ad Revert changes to schema_utils for now because they break FormIntl 2018-05-27 09:59:26 +09:00
SachaG
cbdafef7a2 Merge branch 'ErikDakoda-SubSchemaFields' into devel 2018-05-24 11:30:23 +09:00
Erik Schannen
373857131a SubSchema Fields
- Added support for fields that have their own subschema
- The code flattens the subschema fields, so the path for `address: { street }`` becomes `'address.street'`
- Several places needed to be changed to properly support paths, so `currentValues[path]` becomes `get(currentValues, path)`
- In Form.getData(), replaced underscore's `pick` with lodash's `pick` which properly supports paths and returns a new object
- Fixed a bug in collection.getParameters that made it impossible to specify a `limit` with addView or addDefaultView
2018-05-23 16:02:36 -04:00
SachaG
9865eb5f63 Use field.nestedInput instead of type="nested" 2018-05-23 22:04:32 +09:00
SachaG
2b05700e41 Pass "raw" component constructor down to FormComponentInner instead of passing function that instantiates it 2018-05-23 17:12:04 +09:00
SachaG
2edebcf551 Do not apply compact when object is not an array 2018-05-23 17:09:32 +09:00
SachaG
1951000118 Merge branch 'master' into devel
# Conflicts:
#	README.md
2018-05-23 15:12:33 +09:00
SachaG
a18882dd0b Update graphql-tools 2018-05-23 15:12:07 +09:00
Sacha Greif
f6c16118a0
Merge pull request #1989 from Apollinaire/SmartFormPageLeave
Popup warning on page closing for SmartForm unsaved changes
2018-05-22 18:10:38 +09:00
Apollinaire
f82efb1803 Popup warning on page closing for SmartForm unsaved changes 2018-05-22 09:51:36 +02:00
SachaG
1fd3db05ae Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-05-22 08:43:38 +09:00
SachaG
d378cd9654 Small migration improvements 2018-05-22 08:43:27 +09:00
SachaG
cb93292e08 Do not try to be smart about translations order after all 2018-05-21 10:33:36 +09:00
SachaG
b066ee5b60 Bug fixes 2018-05-21 10:02:43 +09:00
SachaG
2b0f8cdd88 Change data structure of translations in db to match MongoDB standards 2018-05-21 09:42:08 +09:00
Sacha Greif
ff7fd0edcd
Merge pull request #1984 from OrigenStudio/run-callbacks-await-between-hooks
Await between hooks in runCallbacks
2018-05-19 20:48:38 +09:00
ochicf
3d190b5394 revert last commits
For the moment only fix the await between callbacks issue (as discussed [here](https://github.com/VulcanJS/Vulcan/issues/1949)), so reverts the following commits:

1078943c1a
b2c8c52bc6
2534dde6d2
87e3721f34
83022a9e6d
22d7f80ab4
3f780f8511
822f73a0b6
2018-05-19 12:27:03 +02:00
SachaG
640a52d3c2 v1.10.1 2018-05-18 08:27:41 +09:00
SachaG
93bb3fd1ef Update cookies to use universal-cookie 2018-05-18 08:26:25 +09:00
SachaG
f298aca5ae Handle empty modifiers better 2018-05-17 09:53:16 +09:00
SachaG
fc67471a38 working on cookies+locale support 2018-05-16 11:43:19 +09:00
SachaG
1f9d3078a9 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-05-16 11:41:15 +09:00
SachaG
fc15a4df42 Small core/ui components improvements 2018-05-16 11:40:10 +09:00
Sacha Greif
157f5f5bc8
Merge pull request #1986 from Apollinaire/FRtranslation
update FR translation for SmartForm changes
2018-05-15 09:25:49 +09:00
SachaG
975155a843 Revert b6669a3 and add loadingInitial prop to be more explicit 2018-05-15 09:21:03 +09:00
ochicf
1078943c1a update callbacks' runs property accordingly to new hook definition 2018-05-14 20:46:58 +02:00
ochicf
b2c8c52bc6 await for stripe callbacks
they are called in an async context so we can give the consumers liberty to use async functions
2018-05-14 20:46:38 +02:00
ochicf
2534dde6d2 update callbacks' runs property accordingly to new hook definition 2018-05-14 20:45:56 +02:00
ochicf
4bbf5fc8c4 Merge remote-tracking branch 'upstream/devel' into run-callbacks-await-between-hooks 2018-05-14 20:34:40 +02:00
ochicf
87e3721f34 return results on runCallbacksAsync, update its documentation 2018-05-14 20:28:47 +02:00
ochicf
83022a9e6d update documentation 2018-05-14 20:26:40 +02:00