Commit graph

5824 commits

Author SHA1 Message Date
Eric Burel
755d5f6ad0 allow user to return nothing in submitCallback
Useful when the callback is meant for side effect and not for modifying the data
2018-09-05 17:08:29 +02:00
Eric Burel
17f96712ff cleaned up the options management in hocs
Will fix issues when not specifying a fragmentName in withDelete
2018-09-05 16:53:51 +02:00
ochicf
3ae4fda0c3 pass collection as property when running new API callbacks 2018-09-05 11:24:43 +02:00
Sacha Greif
5427e994b0
Merge pull request #2047 from OrigenStudio/fix/email-test-templates-multiQueries
fixed issue that hardcoded email test queries to work only with single queries
2018-09-05 13:20:18 +09:00
SachaG
ebbf9fa1d6 Add defaultValues to initialDocument 2018-09-05 10:44:56 +09:00
SachaG
5146032e1d Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-05 08:27:05 +09:00
Sacha Greif
9b493e9545
Merge pull request #2049 from OrigenStudio/fix/withMulti-create-reducer
Add only document once on withMulti query reducer
2018-09-05 08:26:56 +09:00
SachaG
86ae9d6959 Better use mutations 2018-09-04 21:47:16 +09:00
SachaG
092cec26f4 Pass currentValues, errors, and deletedValues to FormSubmit component in case it needs them 2018-09-04 21:47:05 +09:00
ochicf
f67e996168 fix: avoid adding multiple times the same document 2018-09-04 11:22:11 +02:00
SachaG
7efcb54d16 Field permission check should always succeed when field is mutable by guests 2018-09-04 09:27:55 +09:00
Sacha Greif
678a048732
Merge pull request #2046 from Apollinaire/headerContext
Pass request headers through context
2018-09-04 09:27:06 +09:00
PolGuixe
ec5e16fe34 fixed issue that hardcoded queries to work with single queries
I am using the VulcanEmail.build method to avoid repeating code
2018-09-03 21:05:38 +02:00
Apollinaire
168101b4fb Pass request headers through context 2018-09-03 17:16:28 +02:00
SachaG
0be73085c3 Fields with "$" should never be included in generated fragments (fix #2044) 2018-09-01 07:41:55 +09:00
SachaG
2482bae51b v1.12.3 2018-08-31 22:51:49 +09:00
SachaG
bc497c31e3 New users are considered part of the members group during creation 2018-08-31 22:51:11 +09:00
SachaG
47c634f555 Merge branch 'master' of https://github.com/VulcanJS/Vulcan 2018-08-31 07:34:07 +09:00
Sacha Greif
7c2cc30f2d
Merge pull request #2043 from jimrandomh/dontSkipEmailVerification
When changing email address on an account, mark the new address as unverified
2018-08-31 07:33:07 +09:00
SachaG
6e9d7e9412 v1.12.2 2018-08-31 07:07:27 +09:00
SachaG
b1452551ea Missing component.hocs should not throw exception 2018-08-31 07:06:50 +09:00
James Babcock
7b450d3a9b When changing email address on an account, mark the new address as unverified 2018-08-30 16:03:19 -04:00
SachaG
32fef20cd4 v1.12.1 2018-08-30 20:02:55 +09:00
SachaG
3ca76c198c Preserve withSingle backwards-compatibility 2018-08-30 20:02:09 +09:00
SachaG
0f4f77a058 v1.12.0 2018-08-30 07:51:28 +09:00
SachaG
67dfaffc2b Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-08-30 07:50:27 +09:00
SachaG
0f6b06023b Fix missing typeName/collectionName issue 2018-08-29 21:47:23 +09:00
SachaG
a388e1663f Renaming 2018-08-29 20:36:36 +09:00
SachaG
5d1a7d2c37 Replace documentId/slug with selector in single resolver 2018-08-29 20:36:30 +09:00
Sacha Greif
cdb0d7da18
Merge pull request #2040 from jimrandomh/upstreamEmailVerification
Add support for email address verification.
2018-08-29 10:52:08 +09:00
Sacha Greif
747a3f6948
Merge pull request #2041 from OrigenStudio/feature/deferred-apollo-client-init
defer creation of apolloClient until it is first used
2018-08-29 10:51:15 +09:00
ochicf
374dc2510d defer creation of apolloClient until it is first used 2018-08-28 18:24:30 +02:00
James Babcock
a9422307e1 Add support for email address verification. 2018-08-27 15:47:16 -04:00
SachaG
485f7bad37 Await for validation callbacks too; modify data in update mutator validation callback 2018-08-21 19:22:38 +09:00
SachaG
8705ff6b7b Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-08-21 18:44:32 +09:00
SachaG
a3de5a3ccc Small fix in intl script 2018-08-21 17:48:06 +09:00
SachaG
e565b84dce Differentiate between _intl and intl = true fields 2018-08-21 17:47:57 +09:00
Sacha Greif
b67c928a3e
Merge pull request #2035 from Apollinaire/opencrudFixes
Users totalCount and removed one console.log
2018-08-21 17:41:39 +09:00
Apollinaire
944b57df76 remove console.log 2018-08-20 12:39:26 +02:00
Apollinaire
56422c5e9a Add totalCount to User multi resolver 2018-08-20 12:34:09 +02:00
SachaG
c2546f07c6 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-08-20 15:21:07 +09:00
SachaG
fa6709109e Simplify/fix permissions code 2018-08-20 15:21:02 +09:00
SachaG
7e67a441cd Backwards compatibility with documentId 2018-08-20 15:20:51 +09:00
Sacha Greif
8c60de4b78
Merge pull request #2034 from Apollinaire/opencrudFixes
OpenCRUD fixes
2018-08-18 15:17:26 +09:00
Sacha Greif
60c3f0d628 Remove console.logs 2018-08-18 10:07:28 +09:00
Apollinaire
80d390ec8a add user.create.before hook to classic signup workflow 2018-08-17 19:28:57 +02:00
Apollinaire
8b3f80dfc2 use single argument and fix hook names for onCreateUserCallback 2018-08-17 16:29:45 +02:00
Apollinaire
4c4f11b1a0 re-establish vulcan's custom enroll and reset urls
since f3c1f7bf31 the urls sent in the resetPassword and enrollment emails were the Meteor default one, `/#/reset-password`
2018-08-17 16:28:41 +02:00
Sacha Greif
26f28a98ce Rework required field validation to make it work for intl fields when creating new documents
1. make intl fields use [IntlValue] and [IntlValueInput] types
2. add isIntlData marker to fields storing intl data
3. only validate intl fields that are marked as required
4. remove all instance of `__typename` from documents in edit forms
2018-08-17 19:02:44 +09:00
Sacha Greif
0b961aca2b Add Date2 form component (useful for date of birth for example) 2018-08-17 13:49:15 +09:00