Commit graph

6129 commits

Author SHA1 Message Date
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
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
e590e0998d
Merge pull request #2123 from lbke/test-resolvers
rollback callbacks test
2018-11-05 14:05:01 +01:00
eric-burel
0824b3bb49 rollback callbacks test 2018-11-05 14:03:22 +01:00
eric-burel
d99eb1b7ae fix handleOptions test 2018-11-05 13:53:05 +01:00
eric-burel
e68b21ccba now respect user isAdmin 2018-11-05 13:52:46 +01:00
eric-burel
c83c27a320 export callbacks, wrote failing test 2018-11-05 13:50:07 +01:00
eric-burel
db3f6f95f3 added tests for users callbacks 2018-11-05 13:39:30 +01:00
SachaG
0cae07f42a Call ErrorCatcher in App.jsx 2018-11-05 09:46:17 +09:00
Sacha Greif
783f3ad0d5
Merge pull request #2116 from OrigenStudio/fix/mutation-button
Mutation button small fixes
2018-11-04 17:38:01 +09:00
SachaG
67b5d23530 Get environment from settings.json 2018-11-04 17:29:04 +09:00
SachaG
5f84fb3141 vulcan:errors-sentry 2018-11-04 16:34:19 +09:00
SachaG
983c9ed08a vulcan-errors package 2018-11-04 16:32:34 +09:00
SachaG
47bd12eb80 Make Flash component display HTML 2018-11-04 16:29:38 +09:00
SachaG
e4dd4ac603 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-11-04 12:59:40 +09:00
SachaG
fa2fe776de Revert some of the changes in #2112 (fix #2118) 2018-11-04 12:58:16 +09:00
ochicf
7573e17e18 delete props to avoid unknown props warning 2018-10-31 12:16:19 +01:00
ochicf
dbd41a39f0 update loading state on mutation error 2018-10-31 12:15:57 +01:00
Apollinaire Lecocq
f162054a0b
Merge pull request #2113 from Apollinaire/datatableSortFix
Fix datatable bug when sorting a column
2018-10-30 09:43:45 +01:00
Eric Burel
4a2cc23c46
Merge pull request #2112 from lbke/single-documentId
single resolve documentId undefined -> now returns null
2018-10-30 09:06:30 +01:00
Eric Burel
e981503a4b
Merge branch 'devel' into single-documentId 2018-10-30 09:06:14 +01:00
Eric Burel
1b4f5d51d8
Merge pull request #2108 from lbke/cleanup-forms
Cleanup forms, add `changeCallback`
2018-10-30 09:05:05 +01:00
Eric Burel
08b9cf5c5e updated tests, reuse utils for Form and FormWrapper 2018-10-29 22:34:29 +01:00
Eric Burel
284cdbae18 start splitting code, reuse options handler 2018-10-29 22:08:41 +01:00
Eric Burel
10603d000f new behaviour: single resolver returns null if documentId is not defined 2018-10-29 18:53:31 +01:00