Commit graph

3859 commits

Author SHA1 Message Date
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
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
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
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
Nnenna John
b0f4ecdae7 Add Prettier and Husky 2018-11-25 16:11:50 -08:00
SachaG
46bdfe0f57 Add app.mounted callback to App.jsx; move error tracking init to server/client init.js file 2018-11-24 10:49:37 +09:00
SachaG
6f11c9cf89 v1.12.10 2018-11-24 09:57:55 +09:00
SachaG
8edd46a6b9 Fix form bug 2018-11-24 09:56:51 +09:00
SachaG
9e5528e6d5 Add sourceVersion to server; add withSiteData HoC 2018-11-24 09:56:41 +09:00
SachaG
895118e941 specify versions 2018-11-23 13:54:07 +09:00
SachaG
a3a14c8489 v1.12.9 2018-11-23 11:39:38 +09:00
SachaG
ea7cd23533 Field resolvers should check for access (fix #2124) 2018-11-23 09:26:56 +09:00
SachaG
4208af65f8 Merge branch 'errors' into devel 2018-11-23 09:20:14 +09:00
SachaG
d1e9f1e063 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-11-22 16:09:39 +09:00
SachaG
77332324f1 If "addFields" prop is specified, add its fields to default generated fragments; fix FormIntl key issue; add class to FormGroup 2018-11-22 16:09:31 +09:00
Eric Burel
d6582c2585
Merge pull request #2122 from lbke/isAdmin
Respect user.isAdmin on creation
2018-11-14 10:40:15 +01:00
eric-burel
0824b3bb49 rollback callbacks test 2018-11-05 14:03:22 +01:00