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
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
Apollinaire
b0fbbfbe13
Use connectors and move getUnusedSlug to server code
2018-09-26 17:14:57 +02:00
SachaG
5fc0e30f40
Fix ESLint
2018-09-12 11:59:00 +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
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
485f7bad37
Await for validation callbacks too; modify data in update mutator validation callback
2018-08-21 19:22:38 +09:00
SachaG
a3de5a3ccc
Small fix in intl script
2018-08-21 17:48:06 +09:00
SachaG
c2546f07c6
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-08-20 15:21:07 +09:00
SachaG
7e67a441cd
Backwards compatibility with documentId
2018-08-20 15:20:51 +09:00
Apollinaire
3492ac40e4
add toLowerCase to mutator collection.create.before
...
The norm is lower case on hooks, without this it was for example: `Movies.create.before` when all the others were `movies.create.validate/after/async`
2018-08-16 18:00:58 +02:00
SachaG
9d53c33727
Fix queryOne query variables
2018-08-10 13:08:49 +09:00
SachaG
497987d91e
Export account helpers
2018-08-10 13:08:12 +09:00
SachaG
910c932f61
Get rid of single argument level of indirection in mutations; add additional checks to avoid empty selectors
2018-08-07 16:20:24 +09:00
SachaG
39ae84b81a
New callback hooks: *.create.before, *.create.async, etc. act like previous mutation callbacks but run for all collections; foo.collection runs when collection is created.
2018-07-22 09:26:41 +02:00
SachaG
8a446680cf
Minor fixes to form, mutators; query, and payments
2018-07-07 18:49:04 +02:00
SachaG
bb80001056
Fix eslint issues
2018-06-30 11:34:17 +02:00
Apollinaire
2458d82ef1
New default for Apollo tracing
...
Default behaviour for apollo tracing is now enabled on dev and disabled on prod. To enable on prod, or disable on dev, the private boolean setting `apolloTracing` is available
2018-06-27 15:11:19 +02:00
SachaG
4f80444743
Better debug logging
2018-06-25 08:41:44 +02:00
SachaG
91246d083c
Better backwards compatibility + fix callback names case
2018-06-19 11:00:20 +09:00
SachaG
8ec093aac5
Better backwards compatibility; improve mutator debug
2018-06-18 10:05:54 +09:00
SachaG
213ec0f385
Fix a few issues with data/modifier
2018-06-17 16:23:22 +09:00
SachaG
1d5d5b8ebc
Small bugfixes, make selectors work with both _id and documentId
2018-06-17 12:30:37 +09:00
SachaG
629e4c2c58
Minor clean-ups
2018-06-17 08:00:19 +09:00
SachaG
51acfa7ffc
Migrate new callbacks to new single argument API
2018-06-15 10:18:20 +09:00
SachaG
f66d31fa03
Adapt mutator and field callbacks for new naming and new arguments
2018-06-14 15:51:04 +09:00
SachaG
d4193fd7e5
Merge branch 'devel' into opencrud
...
# Conflicts:
# packages/vulcan-lib/lib/modules/collections.js
2018-06-14 09:55:52 +09:00
Sacha Greif
05a0e78904
Merge pull request #1995 from Apollinaire/runqueryRename
...
runQuery->runGraphQL
2018-06-13 08:38:33 +09:00
SachaG
f3c1f7bf31
isolate accounts-base dependency
2018-06-10 11:39:18 +09:00
SachaG
aed693238d
Meteor 1.7
2018-06-10 10:39:06 +09:00
SachaG
60f47a5189
Various small fixes (thanks @justinr1234)
2018-06-08 13:31:15 +09:00
Apollinaire
0bf44e8b45
runQuery->runGraphQL
2018-06-06 12:46:14 +02:00
SachaG
c8b57ab60e
Fix withMulti
2018-06-06 07:36:25 +09:00
SachaG
b92944b6cc
Working on default mutations and mutators
2018-06-05 16:39:03 +09:00
SachaG
35b13e89c2
Add comments to graphql templates
2018-06-04 17:59:18 +09:00
SachaG
96eab44309
Start CRUD renaming
2018-06-02 18:49:53 +09:00
SachaG
d378cd9654
Small migration improvements
2018-05-22 08:43:27 +09:00
SachaG
b066ee5b60
Bug fixes
2018-05-21 10:02:43 +09:00
SachaG
2b0f8cdd88
Change data structure of translations in db to match MongoDB standards
2018-05-21 09:42:08 +09:00
SachaG
f298aca5ae
Handle empty modifiers better
2018-05-17 09:53:16 +09:00
SachaG
fc67471a38
working on cookies+locale support
2018-05-16 11:43:19 +09:00
SachaG
55d34bd328
Working on locale cookie support for SSR
2018-05-14 17:28:04 +09:00
SachaG
422b413f98
Enable context.locale in emails
2018-05-10 18:34:59 +09:00