Commit graph

5940 commits

Author SHA1 Message Date
SachaG
0cae07f42a Call ErrorCatcher in App.jsx 2018-11-05 09:46:17 +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
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
Apollinaire
83a908e22a Fix datatable bug when sorting a column
see https://github.com/VulcanJS/Vulcan/issues/2090#issuecomment-433860782

Previously : when you clicked on a sortable column, the results of the fired query would be null, and the next polling would make it right. You had a long time with no results displayed.

Now : The query fired when you click to sort a column returns the right result, with the props updating correctly, so no need to wait for the polling to update the results.

See #2090 for an in-depth explanation
2018-10-29 18:52:47 +01:00
Eric Burel
4dda9919fe prettier commit :) 2018-10-29 18:36:18 +01:00
Eric Burel
c932c4b5c7 wrote test for single resolver + failing test 2018-10-29 18:36:02 +01:00
Eric Burel
6114ee9da6 add change callback to wrapper props 2018-10-29 08:50:51 +01:00
Eric Burel
5d0ff2d05f add a changeCallback to forms 2018-10-29 08:50:51 +01:00
Eric Burel
44bc79552a skipped some tests 2018-10-29 08:50:51 +01:00
Eric Burel
3cacbc8cb7 form components layout are now replaceable 2018-10-29 08:50:51 +01:00
Eric Burel
6ab0b49a46 Merge remote-tracking branch 'upstream/devel' into devel 2018-10-29 08:41:20 +01:00
Sacha Greif
9bac294a43
Merge pull request #2110 from Apollinaire/emailDefaults
set default email and siteName for Accounts related emails
2018-10-27 12:56:29 +09:00
Sacha Greif
7ac988a4df
Merge pull request #2106 from lbke/warn-no-searchable
Warn when no searchable field is set and terms.query is set
2018-10-27 12:56:04 +09:00
Sacha Greif
a086e10295
Merge pull request #2109 from lbke/devel
Pass context to the defaultView too
2018-10-27 12:54:04 +09:00
Apollinaire
1b61d80e02 set default email and siteName for Accounts related emails 2018-10-26 18:46:28 +02:00
Eric Burel
c217dfe993 Merge remote-tracking branch 'upstream/devel' into devel 2018-10-26 11:32:55 +02:00
Eric Burel
1dae8f8445
undo breaking change in i18n error properties 2018-10-25 15:55:47 +02:00
Eric Burel
406b17d6d5 pass context to the defaultView too 2018-10-25 15:01:31 +02:00
Eric Burel
c0c02b808c
Merge pull request #2057 from lbke/feature/arrays-form
Support arrays with primitives
2018-10-25 10:28:38 +02:00
Eric Burel
3c912215d3 fix FormNested proptypes 2018-10-25 10:26:54 +02:00
Eric Burel
154b511a5c fix intl message, add tests 2018-10-25 10:23:00 +02:00
Eric Burel
562400dc77 fixed field path and default setup 2018-10-24 16:52:34 +02:00
Eric Burel
5d71a2c59a pass down form components to NestedArray/NestedObject 2018-10-24 14:56:55 +02:00
Eric Burel
295a6482b1 started to write a test for array items 2018-10-23 17:32:05 +02:00
Eric Burel
d13d0a05b4 cleanup tests 2018-10-23 17:00:00 +02:00
Eric Burel
49ad11b861 update to 1.18 2018-10-23 16:59:59 +02:00
Eric Burel
04fb76ae16 allow override of Array and Object nested inputs
Input props was ignored for arrays and nested objectsw
2018-10-23 14:33:20 +02:00
Eric Burel
ae6b45f847 clean createField and allow to create field for the array subfield 2018-10-23 14:31:17 +02:00
Eric Burel
767f075e1e do not discard subfield definition in arrays 2018-10-23 14:29:46 +02:00
SachaG
75eb7f3c81 Change email.data() and email.subject() signatures to single object; also pass locale; add __ and ___ handlebar helpers 2018-10-20 16:41:02 +09:00
SachaG
14ff4ce21e Create new central getString method called from vulcan:i18n and other places 2018-10-20 15:55:38 +09:00
SachaG
adabf3882f Pass params to testVariables function; add debug output for email variables 2018-10-20 12:42:55 +09:00
Eric Burel
dd670f3c4e fix boilerplate version 2018-10-19 15:55:59 +02:00
Eric Burel
14535c1e61 add warning when no field is searchable and query is set 2018-10-19 15:53:33 +02:00
SachaG
cdb702cddd Pass query results to email's data() function as second argument (fix #2048) 2018-10-18 15:21:17 +09:00
SachaG
2ca34ba335 Various small fixes 2018-10-14 18:10:32 +09:00
SachaG
5f90af03ad Pass context to callback properties 2018-10-14 18:10:19 +09:00
SachaG
cd41fe1d98 Avoid doing values replacement when message is not defined 2018-10-14 18:10:01 +09:00
Sacha Greif
4fb1953765
Merge pull request #2099 from dimofte/devel
vulcan-form-tags: refactor and fix
2018-10-14 17:04:57 +09:00