Commit graph

5854 commits

Author SHA1 Message Date
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
SachaG
561a6e2c63 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-10-02 09:28:53 +09:00
Sacha Greif
381309887d
Merge pull request #2092 from dimofte/fix/form-schema
SmartForm: use prop `schema`, if given
2018-10-01 17:19:20 +09:00
Bogdan Dimofte
3ea00f6ded SmartForm: use prop schema, if given 2018-10-01 11:03:10 +03:00
Sacha Greif
2ce8297c3b
Merge pull request #2091 from Apollinaire/debugIntl
Add /i18n debug page
2018-10-01 09:23:50 +09:00
Apollinaire
042dee1e12 Add debug dashboard 2018-09-30 23:16:13 +02: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
SachaG
7847798e09 Better error when template doesn't exist 2018-09-29 17:12:58 +09:00
Sacha Greif
336a5442e7
Merge pull request #2082 from ErikDakoda/SubmitButtonLabels
SubmitButtonLabels
2018-09-29 08:43:49 +09:00
Apollinaire
af5693077e Add /i18n debug page 2018-09-28 18:33:53 +02:00
Sacha Greif
30ed4cc648
Merge pull request #2086 from Apollinaire/SchemaMerging
Don't merge schema in Vulcan, only do it with SimpleSchema
2018-09-28 21:52:21 +09:00
Sacha Greif
4c4510d260
Merge pull request #2088 from mousetraps/itani/email-subject
Email subjects shouldn't be coupled with sitename
2018-09-28 19:09:12 +09:00
Sara Itani
6a54521dc6 Email subjects shouldn't be coupled with sitename 2018-09-27 03:24:11 -07:00
Sacha Greif
68a956a639
Merge pull request #2087 from mousetraps/itani/email-headers
Support email headers property and simplify logic
2018-09-27 08:26:06 +09:00
Sara Itani
aeeb87ddc0 simplify email logic 2018-09-26 12:41:02 -07:00
Sara Itani
cf260fdc5c Support email headers property 2018-09-26 12:24:48 -07: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
Erik Dakoda
73086be5ca SubmitButtonLabels
- `submitLabel`, `cancelLabel`, and `revertLabel` now take a node (which is backwards compatible with string) so that you can include a FormattedMessage, an icon, etc.
2018-09-25 09:42:56 -04:00
SachaG
5b09d98918 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-23 08:15:34 +09:00
Sacha Greif
73d7172896
Merge pull request #2077 from ErikDakoda/GetLabelIntlFallback
SmartForm.getLabel() intl string fallback
2018-09-22 22:54:27 +09:00
Apollinaire
169e01cc4f revert changes on Utils.getUnusedSlug and add check to users slug 2018-09-21 15:12:58 +02:00
Apollinaire
844d457cac remove Users slug onUpdate
I left the updates related to the openCrud API:
`onInsert` -> `onCreate`
And also left the update on `Utils.GetUnusedSlug`
2018-09-21 13:14:16 +02:00
Erik Dakoda
5ca08daa8e SmartForm.getLabel() now falls back to a "global" namespace when a collection-specific intl string is not found; then it falls back to using no namespace 2018-09-19 21:12:27 -04:00
Sacha Greif
f54e777618
Merge pull request #2076 from ErikDakoda/RemoveBootstrap
Remove bootstrap from vulcan-forms
2018-09-20 08:47:25 +09:00
Erik Dakoda
7e66908d21 Refactoring to remove react-bootstrap and to customize FormNestedArray for material-ui 2018-09-19 13:16:48 -04: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
bfd336871e Fix "Variable "$data" of required type "CreateAnalyticsEventDataInput!" was not provided." error 2018-09-18 09:53:37 +09:00
SachaG
649f74e25b Used could be null 2018-09-18 09:52:50 +09:00
SachaG
c4cec6a012 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-18 08:33:24 +09:00
SachaG
4fcd37cde7 Add warnings when no mutable fields have been defined 2018-09-18 08:32:32 +09:00
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