Commit graph

6379 commits

Author SHA1 Message Date
SachaG
290c9ae4f5 Pass down Components prop 2018-12-17 17:04:30 +09:00
SachaG
ab13f16a26 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-12-16 22:52:11 +09:00
Sacha Greif
d51ae7591b
Merge pull request #2065 from OrigenStudio/feature/router-hook-props
Add async hook to RouterHook and provide props as argument
2018-12-16 22:52:00 +09:00
Eric Burel
5818df05a1
Merge branch 'devel' into feature/smart-form-reset 2018-12-15 17:33:19 +01:00
Eric Burel
c55aa27983
Merge pull request #2126 from lbke/cleanup-components
Cleanup Datatable / withComponents pattern
2018-12-15 17:31:33 +01:00
Eric Burel
93566aba1c
Merge branch 'devel' into feature/smart-form-reset 2018-12-15 17:16:24 +01:00
SachaG
5e06e47d6b Make callback hook names case-insensitive; port forms callbacks to new single argument syntax 2018-12-15 18:25:15 +09:00
Sacha Greif
1cbb2976f0
Merge pull request #2130 from slimui/nnenna
Add Prettier and Husky
2018-12-15 17:57:59 +09:00
Sacha Greif
2931d706c6
Merge pull request #2152 from mousetraps/itani/support-form-id-attribute
Support form id attribute in SmartForm
2018-12-15 16:41:09 +09:00
SachaG
a523125da8 Use lowercase typeName for callbacks 2018-12-15 16:30:38 +09:00
SachaG
8fe3b7abfd Fix issue with addIntlFields callback 2018-12-15 16:27:06 +09:00
SachaG
703ea28d8c Merge branch 'master' into devel 2018-12-15 15:28:02 +09:00
SachaG
b05b35ed57 v1.12.11 2018-12-15 15:10:18 +09:00
Sara Itani
33ab51972e Support form id attribute 2018-12-13 12:45:20 -08:00
ochicf
bb46f04541 keep using Meteor.defer on the server 2018-12-12 17:17:01 +01:00
SachaG
c7423bc74e fix linting; "document" prop of update async callbacks should be new, updated document 2018-12-12 17:35:25 +09:00
Sacha Greif
02978bf637
Merge pull request #2141 from Neobii/countRestraint
add minCount and maxCount to SmartForm nested arrays
2018-12-12 15:44:18 +09:00
Sacha Greif
821d37d48e
Merge pull request #2147 from mousetraps/itani/body-parser-json-options
Allow user to customize apollo json parser options
2018-12-12 15:42:04 +09:00
Sacha Greif
26746b246b
Merge pull request #2148 from Neobii/newCollectionCreationHooks
added collection creation hook
2018-12-12 15:40:39 +09:00
neobii
baea826800 added collection creation hook 2018-12-11 03:25:17 -06:00
Sara Itani
c79b991176 Allow user to customize apollo json parser options
In particular, the functionality is currently scoped to the maximum request body size (`limit`), which helps avoid errors like `PayloadTooLargeError: request entity too large`

Keys defined here:
https://www.npmjs.com/package/body-parser#bodyparserjsonoptions
2018-12-10 11:11:04 -08:00
Sacha Greif
ea07e97621
Merge pull request #2137 from Neobii/withSingleRefetch
add refetch to props on withSingle
2018-12-10 16:01:32 +09:00
Sacha Greif
bb56715a16
Merge pull request #2136 from Neobii/errorFields
add english field errors
2018-12-10 16:00:57 +09:00
SachaG
e350c5d281 Avoid siteData errors 2018-12-10 15:49:25 +09:00
neobii
aabd1baf93 more elegant code 2018-12-07 05:49:21 -06:00
neobii
3edbd2c97a fixed bug if maxCount was not speficied 2018-12-07 05:34:40 -06:00
neobii
798c93c142 populate initial values if minCount is supplied 2018-12-07 04:45:17 -06:00
neobii
9f7a43c823 added minCount and maxCount to show SmartForm array fields 2018-12-07 02:53:37 -06:00
neobii
e6137df423 corrected quotes 2018-12-05 08:49:36 -06:00
neobii
e5885cabd7 added english field errors 2018-12-05 08:44:59 -06:00
neobii
82d320cea7 added refetch to props on withSingle 2018-12-05 06:14:17 -06:00
SachaG
626ab25fce Fix token Stripe error 2018-12-04 15:57:34 +09:00
SachaG
5d12dbef47 Add onClick props to ModalTrigger and Checkout button (useful for analytics tracking) 2018-12-04 15:57:19 +09:00
SachaG
8e878258b8 Hide profile field 2018-12-02 22:34:03 +09:00
SachaG
dea838ecce Add google analytics event tracking 2018-12-02 22:33:57 +09:00
SachaG
a58c1ad22b Pass form instance to callbacks 2018-12-02 22:33:45 +09:00
SachaG
3d920138b2 Pass document to callback 2018-12-02 10:53:24 +09:00
SachaG
50315bcf73 Fix linting 2018-12-02 10:28:04 +09:00
SachaG
8330accba7 centralize error throwing in new throwError function 2018-12-02 10:01:48 +09:00
SachaG
6d088ba5d6 Remove unnecessary "forceLocale" argument 2018-11-30 17:26:32 +09:00
SachaG
5e7fab49a1 Change how validation callbacks work: iterator is now validationErrors object instead of data/document 2018-11-30 16:28:42 +09:00
SachaG
84ea6d8789 Make static text work for empty values and numbers 2018-11-30 15:59:27 +09:00
SachaG
48092c171e Add correct id code to intl field missing validation errors 2018-11-30 15:59:07 +09:00
Eric Burel
1b02f400db
Merge pull request #2128 from lbke/apollo2-ssr
Apollo 2 SSR
2018-11-29 17:17:35 +01:00
eric-burel
2dc35df5b0 allows auth with cookie 2018-11-29 17:04:02 +01:00
eric-burel
f8f08fb7fd can render the datatable 2018-11-29 14:56:24 +01:00
eric-burel
d65c83bde9 added test for container withComponents 2018-11-29 14:24:20 +01:00
eric-burel
4e33ac4a24 use withComponents 2018-11-29 14:24:20 +01:00
eric-burel
7162870564 split Datatable into purely visual components 2018-11-29 14:24:19 +01:00
eric-burel
0046649b98 temporarily remove depreaction message 2018-11-29 14:24:19 +01:00