Commit graph

5821 commits

Author SHA1 Message Date
Eric Burel
9f600cd192
Add Meteor-now like production settings to .gitignore 2018-09-17 09:54:30 +02:00
SachaG
f5e44dc68e v1.12.8 2018-09-17 09:54:10 +09:00
SachaG
ab449136c1 Make canReadField work for guests too 2018-09-17 09:53:21 +09:00
SachaG
c095572bf1 v1.12.7 2018-09-16 15:39:23 +09:00
SachaG
b3653fb48e Fix Users.canReadField 2018-09-16 15:36:44 +09:00
SachaG
11c49f9185 Formatting clean up 2018-09-16 11:48:56 +09:00
SachaG
dfa4c77314 ESLint fixes 2018-09-16 11:48:38 +09:00
Sacha Greif
f41bf7444e
Merge pull request #2070 from meteorplus/patch-14
fix bug preflight from apollo
2018-09-16 11:42:00 +09:00
Sacha Greif
fdcdea9301
Merge pull request #2072 from OrigenStudio/fix/locale-change
Pass locale as key to IntlProvider to force a rerender on locale change
2018-09-16 11:40:57 +09:00
Sacha Greif
62370e385e
Merge pull request #2071 from mousetraps/itani/withListToWithMulti
cleanup: Fix naming after withList -> withMulti change
2018-09-16 10:34:33 +09:00
Sacha Greif
5ccb9ab92d
Merge pull request #2062 from OrigenStudio/feature/cc-bcc-replyTo-added-to-email-api
Added support for cc, bcc, and replyTo fields for email API
2018-09-16 10:11:18 +09:00
ochicf
41bcb84d0c pass locale as key to IntlProvider to force a rerender on locale change
See docs: https://github.com/yahoo/react-intl/wiki/Components#dynamic-language-selection
2018-09-15 22:15:31 +02:00
Sara Itani
565cda5979 cleanup: Fix naming after withList -> withMulti change 2018-09-14 22:17:08 -07:00
MeteorPlus
192ced4b91
fix bug preflight from apollo
resetStore: Store reset while query was in flight.


https://github.com/apollographql/apollo-client/issues/2919#issuecomment-378790109
2018-09-15 03:21:05 +01:00
PolGuixe
a696183dfc refactored again and eliminated utils helpers 2018-09-14 12:58:28 +02:00
SachaG
2d4889abcc Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
# Conflicts:
#	packages/vulcan-core/lib/modules/default_resolvers.js
2018-09-14 11:10:55 +09:00
Sacha Greif
4167a8a10b
Merge pull request #2069 from Apollinaire/devel
[BugFix] remove `document` from `canCreateField`
2018-09-14 10:08:16 +09:00
Sacha Greif
484105d4f3
Merge pull request #2068 from ErikDakoda/erikdakoda1
Minor bug fixes
2018-09-14 10:07:51 +09:00
Apollinaire
eb158dcb90 [BugFix] remove document from canCreateField
When you run Users.CanCreateField with a function in `canCreate` field prop, it's trying to call a `document` arg that is undefined, because obviously there is no initial document when you try to create a document. So now it's only calling canCreate(user) as defined in the docs. I should have spotted this in #2006, sorry!
2018-09-13 19:04:45 +02:00
Erik Dakoda
9be92d0903 - Fixed bug in single resolver (slug is undefined)
- Fixed bug in Utils.pluralize (pluralizing words ending in 's', for example address => addresses)
2018-09-13 10:46:10 -04:00
PolGuixe
007ad2a6fd VulcanEmail.send is backwards compatible 2018-09-13 16:41:47 +02:00
SachaG
a18c4ebb6a v1.12.6 2018-09-12 14:52:49 +09:00
SachaG
1404670631 withList -> withMulti 2018-09-12 14:51:44 +09:00
SachaG
0c99b9a7ac v1.12.5 2018-09-12 12:01:10 +09:00
SachaG
43515b39bb Fix replaceComponent 2018-09-12 11:59:58 +09:00
SachaG
5fc0e30f40 Fix ESLint 2018-09-12 11:59:00 +09:00
SachaG
85c57c4beb Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-12 10:32:53 +09:00
SachaG
8e325122c6 v1.12.4 2018-09-12 10:32:45 +09:00
SachaG
bafe350407 withList -> withMulti; add fallback prop for Avatar component 2018-09-12 10:31:36 +09:00
Sacha Greif
27aaf06865
Merge pull request #2063 from lbke/bugfix/withAccess-guests
Allow "guests" in withAccess
2018-09-12 10:16:40 +09:00
SachaG
493380889b Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-12 10:07:23 +09:00
SachaG
3c48f20273 Refactor registerComponent to fix #2061 (see also #2031) 2018-09-12 10:07:08 +09:00
Sacha Greif
2980f810f1
Merge pull request #2059 from ErikDakoda/erikdakoda1
Minor changes and bug fixes in withMulti, single resolver, schema generation
2018-09-12 08:56:33 +09:00
Sacha Greif
5faafa5b1f
Merge pull request #2056 from vincro/vincro-devel
vulcan-users - permissions - filter out array based fields
2018-09-12 08:51:33 +09:00
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
Sacha Greif
59d7fbdfae
Merge pull request #2050 from OrigenStudio/feature/collection-on-mutators-callbacks
Pass collection as property when running new API mutators' callbacks
2018-09-06 08:58:55 +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