Commit graph

6120 commits

Author SHA1 Message Date
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
eric-burel
a3b47c1301 created a withComponents HOC to load Components 2018-11-29 14:24:18 +01:00
eric-burel
ba19650098 enforce semicolons consistency 2018-11-29 14:24:18 +01:00
eric-burel
38ce8ef886 expose mergeWithComponents 2018-11-29 14:24:18 +01:00
eric-burel
c8299cffed refactored test initialization with a new package 2018-11-29 14:24:17 +01:00
eric-burel
6d97bfc52b add basic test for datatable 2018-11-29 14:24:15 +01:00
SachaG
bf440f8511 Add document prop to create.async callbacks 2018-11-27 09:40:13 +09:00
SachaG
466cb7d0a6 Make sourceVersion a function 2018-11-27 09:39:51 +09:00
eric-burel
80c511e348 add prefilledProps given the current implementation 2018-11-26 15:06:57 +01:00
eric-burel
047181992e props update trigger a reset only in relevant cases 2018-11-26 15:03:56 +01:00