From a13fad749e8a75025bb13de87f0170e1ea9e462d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 8 Dec 2015 16:18:44 -0500 Subject: Change the board import layout from a popup to a full page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit also removes the “import a single Trello card” as we couldn’t figure out some reasonable use case. We also create a new publication on the server to provide the minimal user profile informations required to display an avatar. --- server/publications/users.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'server') diff --git a/server/publications/users.js b/server/publications/users.js index e69de29b..4321e32b 100644 --- a/server/publications/users.js +++ b/server/publications/users.js @@ -0,0 +1,11 @@ +Meteor.publish('user-miniprofile', function(userId) { + check(userId, String); + + return Users.find(userId, { + fields: { + 'username': 1, + 'profile.fullname': 1, + 'profile.avatarUrl': 1, + }, + }); +}); -- cgit v1.2.3-1-g7c22