diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-12-08 16:18:44 -0500 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2016-01-31 20:03:12 +0100 |
commit | a13fad749e8a75025bb13de87f0170e1ea9e462d (patch) | |
tree | 81ef2f15cb540dfdd7efb81571e213d995f7b666 /server/publications | |
parent | 67e7b6a139280cab1e1bccb94c684c56eb69985c (diff) | |
download | wekan-a13fad749e8a75025bb13de87f0170e1ea9e462d.tar.gz wekan-a13fad749e8a75025bb13de87f0170e1ea9e462d.tar.bz2 wekan-a13fad749e8a75025bb13de87f0170e1ea9e462d.zip |
Change the board import layout from a popup to a full page
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.
Diffstat (limited to 'server/publications')
-rw-r--r-- | server/publications/users.js | 11 |
1 files changed, 11 insertions, 0 deletions
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, + }, + }); +}); |