Commit graph

3968 commits

Author SHA1 Message Date
Eric Burel
c4945ddc2f allow guests in withAccess 2018-09-11 18:08:29 +02:00
PolGuixe
3084916bdc added support for cc, bcc, and replyTo fields for email API 2018-09-11 11:14:54 +02:00
Erik Dakoda
b8ed1cdc06 - Fixed bug in single resolver 2018-09-10 06:48:14 -04:00
Erik Dakoda
d5b677e28d - Added collection.options.singleResolverName and .multiResolverName to stay DRY
- In withMulti, fixed how loadMoreInc passes variables to fetchMore
- Added the "allowNull" option to single resolver to return null instead of throwing a MissingDocumentError
- Added extended SimpleSchema options to support "unique" field property (field can be used as part of a selectorUnique when querying for data)
- When generating schema, populate fields.selector and fields.selectorUnique
2018-09-10 06:16:00 -04:00
Vincent Roman
8e859a38fa vulcan-users - permissions - filter out array based fields 2018-09-07 15:51:45 +01:00
Sacha Greif
f0fb423b3f
Merge pull request #2053 from lbke/feature-fix-hox-options-handling
Cleaned up the options management in hocs
2018-09-06 17:46:19 +09:00
SachaG
d0395661ed Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-06 16:31:13 +09:00
SachaG
69901e10eb Rename newDocument to data 2018-09-06 16:31:10 +09:00
Sacha Greif
0b67d1972a
Merge pull request #2052 from lbke/feature/edit-username
Allow to edit username, and override 3rd party name if it is set
2018-09-06 11:18:31 +09:00
Sacha Greif
2dfc7d14ee
Merge pull request #2051 from lbke/feature/submitCallback
Allow user to return nothing in submitCallback
2018-09-06 11:17:28 +09:00
Eric Burel
7dcd8fc6ac cleanup quotes and added rule to eslint 2018-09-05 19:40:19 +02:00
Eric Burel
37294c3ad2 allow to edit username, and 3rd party name if it is set 2018-09-05 17:09:23 +02:00
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
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
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
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
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