Commit graph

232 commits

Author SHA1 Message Date
xavcz
113b68f5ed experiment batching, let's see if it has a performance impact 2017-02-22 15:54:03 +01:00
SachaG
ba32f4245b Few more framework-demo tweaks; throw error when missing components 2017-02-19 16:10:21 +01:00
SachaG
8b821725c8 Add layout and error components to core so we always have something to display even without themes; small clean-ups 2017-02-17 20:45:11 +09:00
xavcz
1e416fd9d2 fix possible errors in decoding errors (meta? 🤔); mailchimp api v2 returns an error.message "214" when a user is already subscribed, not an error.code 214 📥 2017-02-16 13:40:52 +01:00
xavcz
d195d366c8 Nova v1.1.0 🔭
* bump packages version
* update to Meteor 1.4.3! 🚀
2017-02-16 11:50:22 +01:00
xavcz
f6f057041b Telescope.statuses -> Posts.statuses; 2017-02-16 10:14:25 +01:00
xavcz
b67989fbc2 work on notifications
* Telescope.notifications.create -> import { createNotifications } from 'meteor/nova:notifications' ;
* leverage Meteor's weak dependencies on packages & move code related to emails / notifications from nova:posts et al. to nova:notifications
2017-02-16 10:04:00 +01:00
Comus Leong
bd85f09005 addMiddleware unshift option 2017-02-16 10:34:46 +08:00
Comus Leong
c0bbc8ded9 fix configureStore comment 2017-02-16 10:12:58 +08:00
Comus Leong
1e05b67b66 update configureStore 2017-02-16 10:11:22 +08:00
Comus Leong
40d3693977 enable CORS warning in inject-data again 2017-02-15 21:07:56 +08:00
Comus Leong
b8b0480cb0 better core/lib improvement and update 2017-02-12 22:00:13 +08:00
xavcz
e07c844710 provide better error messages for Embedly & Mailchimp 2017-02-11 12:27:32 +01:00
xavcz
c33ebd534a get collection name from typename on nova:subscribe, add missing import on previous commit 2017-02-10 09:55:06 +01:00
xavcz
6833b35f38 patch issue from Meteor.absoluteUrl() returning always localhost in development mode (see #1554) 2017-02-10 09:54:11 +01:00
xavcz
bf51a05d65 allow form.hidden to be a boolean or a function (which should return a boolean) 2017-02-08 10:48:17 +01:00
Comus Leong
3968e49d7c withRenderContext 2017-02-08 09:15:09 +08:00
Comus Leong
665547efce renderContext fix 2017-02-08 04:36:57 +08:00
Comus Leong
01b4a800a4 update std:accounts-ui to 1.2.18 and remove meteor_subscribe.js 2017-02-07 09:43:51 +08:00
Comus Leong
26a2419ae4 merge apollo.js together 2017-02-07 09:27:02 +08:00
Comus Leong
8a8596a75b move renderContext from core to lib, so that every components/containers includes core’s (such as withList, App) can use renderContext.get() to get store, apolloClient, loginToken, history, reducers, middlewares 2017-02-06 23:56:15 +08:00
Comus Leong
b789211627 rename some files in nova-lib, dash to underline 2017-02-06 22:28:39 +08:00
Comus Leong
2ab3fd3c66 change nova-lib folder structure 2017-02-06 21:47:27 +08:00
Comus Leong
9992f0063e new routing 2017-02-06 14:36:42 +08:00
SachaG
435cc3555d decorate categories with active and expanded properties; adapt Categories.getParents to work with store; add category parent resolver; improve mongo-redux; remove duplicate unflatten; add level property to items in unflatten 2017-02-06 10:50:48 +09:00
SachaG
02245f9e03 Add new Collection.findInStore and Collection.findOneInStore methods to query the store during SSR and use it in posts views 2017-02-04 11:46:40 +09:00
xavcz
eb2644ad8a Form: display nicer, multiple & internationalizable (encode -> decode) errors, ensure that state updates are queued; in general prefer Error to Meteor.Error, clean some dead code 2017-02-02 15:15:51 +01:00
SachaG
d87c13a9a5 finish new fragments API; add extendFragment 2017-02-02 13:24:29 +09:00
SachaG
ebb38cf643 Working on new fragments API 2017-02-02 11:56:52 +09:00
SachaG
591385b0f8 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2017-02-01 10:09:14 +09:00
xavcz
2c2a647e7a work on <head />: allow custom script tag, fix rss feed, expose 'excerpt' on post fragment 2017-01-31 18:57:45 +01:00
SachaG
e603721440 Add mongo-redux prototype integration 2017-01-31 17:54:56 +09:00
Comus Leong
8edbfdc755 clean up 2017-01-31 11:19:43 +08:00
Comus Leong
98ff9c2730 client side exportable redux store 2017-01-31 10:24:12 +08:00
Comus Leong
1991cd4f4b getMiddleware to getMiddlewares 2017-01-31 10:24:12 +08:00
SachaG
45b9de4789 Add new fragments API (registerFragment/getFragment); move fragments to own fragments.js file; registerComponent doesn’t return anything anymore; withList & withDocument accept either fragment or fragmentName 2017-01-30 19:46:48 +09:00
SachaG
ae92ac3d45 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2017-01-29 09:51:48 +09:00
SachaG
33446172a6 Pass Apollo client object to parameters callback to fix #1546 2017-01-29 09:51:38 +09:00
Comus Leong
1a7cc3c7db Actions/Reducers/Middleware convert to getActions()/getReducers()/getMiddleware() 2017-01-26 12:41:02 +08:00
xavcz
36ca34a267 fix upvote.async callback issue on collection.new mutation
* add collection as the last parameter of a collection.async cb,
* when inserting a new document, run upvote.async cb once the document has been inserted (collection.new.async)
* remove pre-meteor 1.3 '/server' folder, put everything in the root (initiated by grouping callbacks in the same file for less confusion)
2017-01-24 11:58:57 +01:00
SachaG
957fe56df9 clean up before merge back to master 2017-01-23 11:00:44 +09:00
SachaG
1b9f1b13ce Make custom fields extendable, not just replaceable 2017-01-21 16:56:54 +09:00
SachaG
565d02cd79 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2017-01-21 10:02:11 +09:00
SachaG
301d1017f9 Add underscore package; update Apollo-client package; add HoC aliases; disable categories polling; remove required schema properties; use strings for dates client-side 2017-01-21 10:02:03 +09:00
xavcz
c3f0245c49 simple-schema Object type are queried as JSON in graphql 2017-01-20 10:44:15 +01:00
xavcz
0d316ae89c make routes replaceable if a new route is added with the same path 2017-01-19 14:57:56 +01:00
SachaG
3861cb8b53 Fix component export 2017-01-19 11:19:36 +09:00
xavcz
79e4cf5266 make FormWrapper exportable again, routes can accept either component or componentName property 2017-01-18 15:11:31 +01:00
xavcz
c0fcc944d7 Nova's components & routes registered in a declarative way: no load order mess, better control of the flow, no changes for the end user 2017-01-18 12:51:10 +01:00
SachaG
db17e917f8 Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code 2017-01-18 10:18:33 +09:00