Commit graph

5847 commits

Author SHA1 Message Date
Eric Burel
fd26020074
Update npm apollo-client and react-apollo to v2
It seems to fix the undefined results issue in the `graphql` HOC
It also enables Apollo chrome development tool, which is necessary to debug local cache
2018-09-27 16:21:22 +02:00
Eric Burel
f88715384b
Merge pull request #2083 from lbke/lbke-apollo2
[WIP] Apollo 2: apollo-state-link and RR4
2018-09-27 11:12:35 +02:00
Eric Burel
a8e6b8b8ea cleanup test, import, modules, wrap registerWatechedMutation with isClient 2018-09-27 11:07:17 +02:00
Eric Burel
f7a2a9ef78 defer apollo2 client creation until app startup 2018-09-27 09:48:35 +02:00
Eric Burel
bbb9263c27 experiment with reloading the client when adding a mutation 2018-09-26 15:36:24 +02:00
Eric Burel
58afb6c547 Fixed routes with layout exact prop 2018-09-26 12:22:39 +02:00
Eric Burel
2bacae7a0e copy-pasted meteor/apollo, updated to RR4
meteor/apollo Atmosphere version does not seem up to date with the Github repo
2018-09-26 11:34:28 +02:00
Eric Burel
9366d41463 delete confusing file 2018-09-26 10:17:44 +02:00
Eric Burel
9cc23a1e4f moved apollo-client to client code 2018-09-26 10:17:03 +02:00
Eric Burel
a50fc3ddb3 fix export/import update.js 2018-09-26 10:01:55 +02:00
Eric Burel
e63137a943 split code and started working on apollo-state-link 2018-09-25 20:48:25 +02:00
SachaG
4c500e856e Disable routing package 2018-09-24 10:26:56 +09:00
SachaG
7b9da35b19 Finish work on post-mutation update functions 2018-09-24 09:08:11 +09:00
SachaG
bbf07273e4 Use WatchedMutations for post-mutation updates 2018-09-23 16:38:45 +09:00
SachaG
7adb8b3c7c Rename routing -> init 2018-09-23 11:04:29 +09:00
SachaG
6275108d41 Comment out/disable legacy code for now 2018-09-23 10:52:52 +09:00
SachaG
e166e39546 Working on Apollo2 + React Router v4 2018-09-23 10:52:40 +09: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
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
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
Sacha Greif
484105d4f3
Merge pull request #2068 from ErikDakoda/erikdakoda1
Minor bug fixes
2018-09-14 10:07:51 +09:00
Apollinaire
eb158dcb90 [BugFix] remove document from canCreateField
When you run Users.CanCreateField with a function in `canCreate` field prop, it's trying to call a `document` arg that is undefined, because obviously there is no initial document when you try to create a document. So now it's only calling canCreate(user) as defined in the docs. I should have spotted this in #2006, sorry!
2018-09-13 19:04:45 +02: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
PolGuixe
007ad2a6fd VulcanEmail.send is backwards compatible 2018-09-13 16:41:47 +02: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