SachaG
422b413f98
Enable context.locale in emails
2018-05-10 18:34:59 +09:00
SachaG
b30b1ae6e6
reset store after locale change
2018-05-10 18:17:53 +09:00
SachaG
c6b1611e98
Add fallback to default locale for content
2018-05-10 18:00:37 +09:00
SachaG
a5a43d2f89
Get locale from user
2018-05-10 17:57:12 +09:00
SachaG
c78cf47e85
Merge branch 'devel' into i18n2
2018-05-10 17:49:46 +09:00
SachaG
9ab1c0f808
Remove bio, karma, and website user fields
2018-05-10 17:49:32 +09:00
SachaG
5c43de929c
Fix withEdit imports; fix dropdown bug
2018-05-10 17:48:22 +09:00
SachaG
af666027c3
Add locale field to user schema; change it when setLocale is called on client
2018-05-10 17:48:06 +09:00
SachaG
6979ac8bee
addLocale -> registerLocale
2018-05-10 17:17:44 +09:00
SachaG
47f21e4740
Eslint clean up
2018-05-10 09:39:35 +09:00
SachaG
e2cba32b15
Clean up
2018-05-10 09:38:25 +09:00
SachaG
00b2a159c1
Add Strings object to email data, add locale support to emails
2018-05-10 09:22:24 +09:00
SachaG
6a30f44adf
Merge branch 'devel' into i18n2
...
# Conflicts:
# packages/vulcan-forms/lib/components/FormComponent.jsx
2018-05-10 08:34:50 +09:00
ochicf
d3cd373606
merge value only when is array or object and is an accepted type
2018-05-09 15:59:59 +02:00
SachaG
603fafae37
Merge branch 'devel' into i18n2
2018-05-09 11:23:17 +09:00
SachaG
df66de5861
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-05-09 11:22:54 +09:00
SachaG
52256b2a60
Small fixes
2018-05-09 11:22:51 +09:00
SachaG
eca6cd14b3
Add locale to context for server queries too
2018-05-09 11:22:19 +09:00
SachaG
e8936b590b
Add migration script; fix input prop bug
2018-05-09 10:38:21 +09:00
SachaG
4950f10b20
Get locale from GraphQL header
2018-05-09 09:46:47 +09:00
Sacha Greif
cb0e8f5d5a
Merge pull request #1978 from Apollinaire/withAccess
...
check for redirect before trying to redirect
2018-05-09 07:59:33 +09:00
SachaG
cf31e8f918
Use function to get IntlString type
2018-05-08 12:29:51 +09:00
SachaG
5b5884d33c
Move intl logic to vulcan:lib (keep vulcan:i18n with same API as react-i18n); add isIntlField helper; add IntlString type
2018-05-08 12:23:42 +09:00
SachaG
ede0fb48e4
Intl field need a JSON input type
2018-05-08 11:55:45 +09:00
SachaG
9700c4bbaf
Not using IntlString scalar anymore
2018-05-08 11:06:31 +09:00
SachaG
2c03bd352a
Use two-field strategy for getting all locale strings
2018-05-08 11:05:24 +09:00
SachaG
2dadce31e7
Merge branch 'devel' into i18n2
2018-05-07 17:46:14 +09:00
SachaG
55800a9b30
Add support for intl fields to API and SmartForm
2018-05-07 17:41:22 +09:00
SachaG
1ab36a7e3c
Add support for custom directives
2018-05-07 17:40:21 +09:00
SachaG
e1eef813d4
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-05-07 11:41:06 +09:00
SachaG
3aa3a1679e
Fix form error issue
2018-05-07 11:40:54 +09:00
Apollinaire
5c15120113
check for redirect before trying to redirect
...
using `withAccess` without setting redirect used to crash the client because there was no test on `redirect`. Current behaviour is: if redirect is not a string then no redirection is done and the component simply is not displayed.
2018-05-05 16:12:40 +02:00
Sacha Greif
5d13fd1416
Merge pull request #1961 from Sebi55/patch-1
...
Add MongoDB aggregation to Collections
2018-05-05 18:57:34 +09:00
Sacha Greif
9118d8f8ad
Merge pull request #1975 from Apollinaire/devel
...
withList Loading prop adjustment
2018-05-04 16:14:53 +09:00
SachaG
18bde83fbc
v1.10.1
2018-05-04 12:04:10 +09:00
SachaG
19463ceec5
first steps on language switching support
2018-05-04 12:01:12 +09:00
SachaG
13609dd755
Various small improvements
2018-05-04 11:56:49 +09:00
SachaG
c811efaa47
Add support for nested dropdowns
2018-05-04 11:56:19 +09:00
Apollinaire
b6669a3f7e
withList Loading improved
...
Follows the recommanded loading from Apollo. See the Apollo docs about `[data.networkstatus](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-query-data-networkStatus )` and `[data.loading](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-query-data-loading )`
2018-05-03 10:27:23 +02:00
Sacha Greif
49d4dcf1df
Merge pull request #1969 from bernardodiasc/issue-1958
...
Include document prop in mutationErrorCallback method
2018-05-03 09:27:20 +09:00
Bernardo Dias
5b9bb61688
Update Flash component and withMessages container
2018-05-02 15:02:52 -03:00
Bernardo Dias
087e5db923
Revert catch callback of removeMutation
2018-05-02 13:39:52 -03:00
Bernardo Dias
37200ec9ae
Add document attributes to error catch of editMutation and removeMutation
2018-05-02 13:17:12 -03:00
Bernardo Dias
f099e6557d
Include document prop in mutationErrorCallback method
2018-05-02 13:17:12 -03:00
SachaG
dd0ff54f9a
Disable FormComponent shouldComponentUpdate callback for now
2018-05-02 18:14:15 +09:00
Sacha Greif
4537ea8017
Merge pull request #1972 from bernardodiasc/patch-1
...
Update FormSubmit.jsx
2018-05-02 11:27:00 +09:00
SachaG
942b9c955a
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-05-02 11:06:07 +09:00
SachaG
5e0a6fd28c
Do not use Proxy after all, because it makes even if (Components.Foo)
statements trigger error
2018-05-02 11:00:58 +09:00
Bernardo Dias
aeef482e81
Update FormSubmit.jsx
...
`void` operator expects one argument, otherwise it throws `Uncaught SyntaxError: Unexpected token )`
2018-05-01 16:02:31 -03:00
Ruslan Kabalin
e78f307576
ui-bootstrap: Fix attributes spreading at TooltipTrigger.
2018-05-01 01:53:06 +01:00