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
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
154b511a5c
fix intl message, add tests
2018-10-25 10:23:00 +02:00
SachaG
14ff4ce21e
Create new central getString method called from vulcan:i18n and other places
2018-10-20 15:55:38 +09:00
Eric Burel
14535c1e61
add warning when no field is searchable and query is set
2018-10-19 15:53:33 +02: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
8fc6268631
Keep track of locale method; set locale cookie for root path
2018-10-13 14:13:08 +09:00
SachaG
0b78ac68f8
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-10-10 17:35:03 +09:00
SachaG
335cda6cf0
Improve thrown errors
2018-10-10 17:35:01 +09:00
Sacha Greif
12784b487e
Merge pull request #2102 from Apollinaire/revertSlug
...
Revert changes made to getUnusedSlug in #2075
2018-10-10 17:34:33 +09:00
Apollinaire
de1c13b3d1
Revert changes made to getUnusedSlug in #2075
2018-10-09 15:09:30 +02:00
SachaG
893425dcdc
Do not try to specify locale on headers (let client/server figure it out from other headers)
2018-10-02 12:29:39 +09:00
SachaG
57225bee57
Pass locale to App.jsx during SSR process (as a cookie for now); keep original headers during SSR process; get locale from headers
2018-10-02 12:25:14 +09:00
SachaG
a4ec3fcf1f
Minor refactoring in App.jsx; apolloTracing setting -> apolloServer.tracing; improve i18n server-side locale setting logic to account for cookie and accepted language headers
2018-10-02 10:15:47 +09:00
Sacha Greif
c22fd7a067
Merge pull request #2075 from Apollinaire/devel
...
Users' slug is updated on displayname change
2018-09-30 13:37:57 +09:00
Apollinaire
b6cea13db2
Don't merge schema in Vulcan, only do it with SimpleSchema
2018-09-26 17:31:52 +02:00
Apollinaire
b0fbbfbe13
Use connectors and move getUnusedSlug to server code
2018-09-26 17:14:57 +02:00
Apollinaire
169e01cc4f
revert changes on Utils.getUnusedSlug and add check to users slug
2018-09-21 15:12:58 +02:00
Apollinaire
9bd1d36aa4
Users' slug is updated on displayname change
...
- The slug is updated when the displayname changes
- The `Utils.getUnusedSlug` helper function does not return empty slugs anymore (it's '0' if the `slug` argument is falsy)
2018-09-19 17:34:48 +02:00
SachaG
4fcd37cde7
Add warnings when no mutable fields have been defined
2018-09-18 08:32:32 +09:00
SachaG
f5e44dc68e
v1.12.8
2018-09-17 09:54:10 +09:00
SachaG
c095572bf1
v1.12.7
2018-09-16 15:39:23 +09:00
SachaG
dfa4c77314
ESLint fixes
2018-09-16 11:48:38 +09: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
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
SachaG
a18c4ebb6a
v1.12.6
2018-09-12 14:52:49 +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
8e325122c6
v1.12.4
2018-09-12 10:32:45 +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
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
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
ochicf
3ae4fda0c3
pass collection as property when running new API callbacks
2018-09-05 11:24:43 +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
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
SachaG
32fef20cd4
v1.12.1
2018-08-30 20:02:55 +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
ochicf
374dc2510d
defer creation of apolloClient until it is first used
2018-08-28 18:24:30 +02:00