Commit graph

6106 commits

Author SHA1 Message Date
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
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
eric-burel
463b954be2 added test for prop state change 2018-11-26 14:52:35 +01:00
eric-burel
f30efa5299 upgrade enzyme adapter to react 16.3 2018-11-26 14:51:25 +01:00
eric-burel
fde4d90924 add bootstrap-ui to allow form mounting 2018-11-26 11:06:01 +01: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
b454086591 Update package.json 2018-11-24 09:57:01 +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
b75ff3e8d1 Add stale.yml 2018-11-23 16:24: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