Commit graph

5773 commits

Author SHA1 Message Date
SachaG
e921c9762c Remove intl fields sub-schema optional:false 2018-06-28 22:17:58 +02:00
SachaG
dc3d8f8ec0 Refactor 2018-06-28 21:54:45 +02:00
SachaG
a13e61d8b0 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-06-28 21:35:55 +02:00
SachaG
2d2d1033b5 Enable required locale validation for individual locales; add support for intl: true on schema fields 2018-06-28 21:35:44 +02:00
SachaG
a01ca2ab6e Move FormIntl/FormNested switch from FromComponentInner to FormComponent 2018-06-28 18:36:57 +02:00
Sacha Greif
8b5ff7918d
Merge pull request #2009 from Apollinaire/apolloTracing
New default for Apollo tracing
2018-06-28 17:37:35 +02:00
Sacha Greif
f4668b0cd4
Merge pull request #2008 from Apollinaire/UsersListLimit
Remove hardcoded limit to users List resolver
2018-06-28 17:37:17 +02:00
ochicf
939f2d7ca5 Merge branch 'devel' into field-value-merge 2018-06-28 12:34:31 +02:00
ochicf
d3f24f43cd use shouldMergeValue and mergeValue & allow them to be injected as props 2018-06-28 12:32:32 +02:00
ochicf
84ea1bd84e add shouldMergeValue and mergeValue functions 2018-06-28 12:31:35 +02:00
ochicf
c821610d46 allow injection of emptyValue and defaultValue
both default to '' so they behave the same way as they did
2018-06-28 12:30:56 +02:00
ochicf
8025590020 allow injection of isEmptyValue as prop, default to FormUtils' one 2018-06-28 12:20:45 +02:00
ochicf
8031e9e17b Merge branch 'devel' into form-errors 2018-06-28 10:32:09 +02:00
ochicf
9c2500cde4 pass collection name as error property 2018-06-28 10:26:12 +02:00
ochicf
8f0af09e78 add es_ES errors translations 2018-06-28 09:30:52 +02:00
ochicf
4f76207378 use label instead of name 2018-06-28 09:30:41 +02:00
ochicf
9b7e8eac90 pass label to format message 2018-06-28 09:30:14 +02:00
SachaG
d0832c3c20 Update events tracking 2018-06-28 08:37:04 +02:00
ochicf
c8ae445720 pass getLabel as child context 2018-06-27 19:53:21 +02:00
ochicf
198d912be7 use FormError 2018-06-27 19:33:06 +02:00
ochicf
54cfd87923 add FormError component to apply DRY 2018-06-27 19:32:51 +02:00
Apollinaire
2458d82ef1 New default for Apollo tracing
Default behaviour for apollo tracing is now enabled on dev and disabled on prod. To enable on prod, or disable on dev, the private boolean setting `apolloTracing` is available
2018-06-27 15:11:19 +02:00
Apollinaire
a80c66e0ca Remove hardcoded limit to users List resolver
The limit is already set in `Users.getParameters`, where it's taken from the setting `maxDocumentsPerRequest`, and was overwritten to be maxed at 100.
2018-06-27 14:43:39 +02:00
SachaG
4f80444743 Better debug logging 2018-06-25 08:41:44 +02:00
SachaG
f9d759b2a0 Handle empty options better 2018-06-25 08:39:00 +02:00
SachaG
fae6511965 Fix #1998 part 2 2018-06-25 08:16:22 +02:00
SachaG
7bf8056111 Fix #1998 2018-06-24 09:05:54 +02:00
SachaG
cc00b6dae7 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-06-24 08:41:35 +02:00
Sacha Greif
fa034b39a8
Merge pull request #2007 from mattblackdev/devel
Fix async callbacks called with no arguments
2018-06-23 15:31:49 +09:00
Matt Black
d486b49ac3 Fix async callbacks called with no arguments 2018-06-22 23:41:20 -04:00
SachaG
6d0dd73b41 editableBy -> canUpdate 2018-06-22 20:58:02 +09:00
SachaG
6201b55837 insertableBy -> canCreate 2018-06-22 20:57:31 +09:00
SachaG
50fba6b0a3 viewableBy -> canRead 2018-06-22 20:55:22 +09:00
SachaG
725320fab1 Merge branch 'Apollinaire-fieldViewEdit' into devel 2018-06-22 20:46:49 +09:00
SachaG
6ee6dea156 Merge branch 'fieldViewEdit' of https://github.com/Apollinaire/Vulcan into Apollinaire-fieldViewEdit 2018-06-22 11:53:29 +09:00
Apollinaire
ac0a875c3a remove backwards comp. from function name change and add new names to...
all instances of functions Users.can... in the whole code
2018-06-21 14:27:20 +02:00
Apollinaire
8bfb9e8966 Handle openCRUD api and change function names 2018-06-21 11:02:18 +02:00
SachaG
973b2bfce3 Pass document to form.reset() to avoid resetting it to pre-submission values 2018-06-21 10:29:00 +09:00
SachaG
b4ac2d23af Revert formsy/formsy-react-component update 2018-06-21 10:28:34 +09:00
Sacha Greif
40b91adafe
Merge pull request #2005 from mattblackdev/devel
Allow passing multiple args to HOCs
2018-06-21 09:19:33 +09:00
Matt Black
8b8976db58 Allow passing multiple args to HOCs 2018-06-20 16:08:49 -04:00
Apollinaire
b610856a8e viewableBy, editableBy, insertableBy accept arrays of functions and...
strings
2018-06-20 17:13:50 +02:00
SachaG
a2e3ca01cc Convert Select option values to strings 2018-06-20 10:54:02 +09:00
SachaG
a7081f71c1 Show warning when collections have no GraphQL-enabled fields 2018-06-20 10:24:57 +09:00
SachaG
994c19a98d Make withMutation accept return fragmentName 2018-06-20 10:24:30 +09:00
SachaG
d8b09a396c Fix users mutations 2018-06-20 10:24:15 +09:00
SachaG
eea1a1dadb Update for new formsy-react & formsy-react-component 2018-06-20 10:23:54 +09:00
SachaG
193da85887 Wrap checkboxgroup (fix #2004) 2018-06-20 07:45:04 +09:00
SachaG
91246d083c Better backwards compatibility + fix callback names case 2018-06-19 11:00:20 +09:00
Sacha Greif
59ee2a6797
Merge pull request #2003 from mattblackdev/devel
[vulcan:ui-bootstrap] fix duplicate "noneOption" on rerendering the Select component
2018-06-19 08:04:04 +09:00