Apollinaire
1e7ae073a9
Merge branch 'master' into devel
2018-12-19 16:10:54 +01:00
SachaG
ab13f16a26
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-12-16 22:52:11 +09:00
Sacha Greif
d51ae7591b
Merge pull request #2065 from OrigenStudio/feature/router-hook-props
...
Add async hook to RouterHook and provide props as argument
2018-12-16 22:52:00 +09:00
Eric Burel
c55aa27983
Merge pull request #2126 from lbke/cleanup-components
...
Cleanup Datatable / withComponents pattern
2018-12-15 17:31:33 +01:00
SachaG
5e06e47d6b
Make callback hook names case-insensitive; port forms callbacks to new single argument syntax
2018-12-15 18:25:15 +09:00
SachaG
a523125da8
Use lowercase typeName for callbacks
2018-12-15 16:30:38 +09:00
SachaG
8fe3b7abfd
Fix issue with addIntlFields callback
2018-12-15 16:27:06 +09:00
SachaG
703ea28d8c
Merge branch 'master' into devel
2018-12-15 15:28:02 +09:00
SachaG
b05b35ed57
v1.12.11
2018-12-15 15:10:18 +09:00
ochicf
bb46f04541
keep using Meteor.defer on the server
2018-12-12 17:17:01 +01:00
SachaG
c7423bc74e
fix linting; "document" prop of update async callbacks should be new, updated document
2018-12-12 17:35:25 +09:00
Sacha Greif
821d37d48e
Merge pull request #2147 from mousetraps/itani/body-parser-json-options
...
Allow user to customize apollo json parser options
2018-12-12 15:42:04 +09:00
neobii
baea826800
added collection creation hook
2018-12-11 03:25:17 -06:00
Sara Itani
c79b991176
Allow user to customize apollo json parser options
...
In particular, the functionality is currently scoped to the maximum request body size (`limit`), which helps avoid errors like `PayloadTooLargeError: request entity too large`
Keys defined here:
https://www.npmjs.com/package/body-parser#bodyparserjsonoptions
2018-12-10 11:11:04 -08:00
SachaG
50315bcf73
Fix linting
2018-12-02 10:28:04 +09:00
SachaG
8330accba7
centralize error throwing in new throwError function
2018-12-02 10:01:48 +09:00
SachaG
6d088ba5d6
Remove unnecessary "forceLocale" argument
2018-11-30 17:26:32 +09:00
SachaG
5e7fab49a1
Change how validation callbacks work: iterator is now validationErrors object instead of data/document
2018-11-30 16:28:42 +09:00
SachaG
48092c171e
Add correct id code to intl field missing validation errors
2018-11-30 15:59:07 +09:00
eric-burel
38ce8ef886
expose mergeWithComponents
2018-11-29 14:24:18 +01:00
SachaG
bf440f8511
Add document prop to create.async callbacks
2018-11-27 09:40:13 +09:00
SachaG
466cb7d0a6
Make sourceVersion a function
2018-11-27 09:39:51 +09:00
SachaG
6f11c9cf89
v1.12.10
2018-11-24 09:57:55 +09:00
SachaG
9e5528e6d5
Add sourceVersion to server; add withSiteData HoC
2018-11-24 09:56:41 +09:00
SachaG
a3a14c8489
v1.12.9
2018-11-23 11:39:38 +09:00
SachaG
ea7cd23533
Field resolvers should check for access ( fix #2124 )
2018-11-23 09:26:56 +09:00
Eric Burel
284cdbae18
start splitting code, reuse options handler
2018-10-29 22:08:41 +01:00
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