Commit graph

316 commits

Author SHA1 Message Date
SachaG
a3a14c8489 v1.12.9 2018-11-23 11:39:38 +09:00
SachaG
4208af65f8 Merge branch 'errors' into devel 2018-11-23 09:20:14 +09:00
eric-burel
0824b3bb49 rollback callbacks test 2018-11-05 14:03:22 +01:00
SachaG
0cae07f42a Call ErrorCatcher in App.jsx 2018-11-05 09:46:17 +09:00
Sacha Greif
783f3ad0d5
Merge pull request #2116 from OrigenStudio/fix/mutation-button
Mutation button small fixes
2018-11-04 17:38:01 +09:00
SachaG
47bd12eb80 Make Flash component display HTML 2018-11-04 16:29:38 +09:00
SachaG
e4dd4ac603 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-11-04 12:59:40 +09:00
SachaG
fa2fe776de Revert some of the changes in #2112 (fix #2118) 2018-11-04 12:58:16 +09:00
ochicf
7573e17e18 delete props to avoid unknown props warning 2018-10-31 12:16:19 +01:00
ochicf
dbd41a39f0 update loading state on mutation error 2018-10-31 12:15:57 +01:00
Apollinaire Lecocq
f162054a0b
Merge pull request #2113 from Apollinaire/datatableSortFix
Fix datatable bug when sorting a column
2018-10-30 09:43:45 +01:00
Eric Burel
e981503a4b
Merge branch 'devel' into single-documentId 2018-10-30 09:06:14 +01:00
Eric Burel
284cdbae18 start splitting code, reuse options handler 2018-10-29 22:08:41 +01:00
Eric Burel
10603d000f new behaviour: single resolver returns null if documentId is not defined 2018-10-29 18:53:31 +01:00
Apollinaire
83a908e22a Fix datatable bug when sorting a column
see https://github.com/VulcanJS/Vulcan/issues/2090#issuecomment-433860782

Previously : when you clicked on a sortable column, the results of the fired query would be null, and the next polling would make it right. You had a long time with no results displayed.

Now : The query fired when you click to sort a column returns the right result, with the props updating correctly, so no need to wait for the polling to update the results.

See #2090 for an in-depth explanation
2018-10-29 18:52:47 +01:00
Eric Burel
4dda9919fe prettier commit :) 2018-10-29 18:36:18 +01:00
Eric Burel
c932c4b5c7 wrote test for single resolver + failing test 2018-10-29 18:36:02 +01:00
Eric Burel
d13d0a05b4 cleanup tests 2018-10-23 17:00:00 +02:00
SachaG
4ebe32eb1c Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-10-13 14:17:57 +09:00
SachaG
8fc6268631 Keep track of locale method; set locale cookie for root path 2018-10-13 14:13:08 +09:00
Bogdan Dimofte
881a6533f8 datatable: add i18n for the search field 2018-10-11 10:42:37 +03:00
SachaG
d5cad5288a Document is not defined in create mutation 2018-10-10 17:40:16 +09:00
SachaG
335cda6cf0 Improve thrown errors 2018-10-10 17:35:01 +09:00
Sacha Greif
d81385e7b7
Merge pull request #2093 from Apollinaire/devel
Restore Edge support
2018-10-03 07:53:19 +09:00
Apollinaire
735f49aa2b Remove default on arrow function core:App.jsx:getLocale 2018-10-02 17:49:26 +02: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
649f74e25b Used could be null 2018-09-18 09:52:50 +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
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
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
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
1404670631 withList -> withMulti 2018-09-12 14:51:44 +09:00
SachaG
0c99b9a7ac v1.12.5 2018-09-12 12:01:10 +09:00
SachaG
5fc0e30f40 Fix ESLint 2018-09-12 11:59:00 +09:00
SachaG
85c57c4beb Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-12 10:32:53 +09:00
SachaG
8e325122c6 v1.12.4 2018-09-12 10:32:45 +09:00
SachaG
bafe350407 withList -> withMulti; add fallback prop for Avatar component 2018-09-12 10:31:36 +09:00
Sacha Greif
27aaf06865
Merge pull request #2063 from lbke/bugfix/withAccess-guests
Allow "guests" in withAccess
2018-09-12 10:16:40 +09:00
Eric Burel
c4945ddc2f allow guests in withAccess 2018-09-11 18:08:29 +02:00
Erik Dakoda
b8ed1cdc06 - Fixed bug in single resolver 2018-09-10 06:48:14 -04: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
Eric Burel
7dcd8fc6ac cleanup quotes and added rule to eslint 2018-09-05 19:40:19 +02:00
Eric Burel
17f96712ff cleaned up the options management in hocs
Will fix issues when not specifying a fragmentName in withDelete
2018-09-05 16:53:51 +02:00
ochicf
f67e996168 fix: avoid adding multiple times the same document 2018-09-04 11:22:11 +02:00