{"push_id":537466110,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"be6b0ebd7c25a11cc120aff92ff80505093c02e1","before":"9decdbbc9d238b4b6931a7aa5346c097fc928ba2","commits":[{"sha":"be6b0ebd7c25a11cc120aff92ff80505093c02e1","author":{"email":"6c7dcc15cdec985e0c35ae6827c28422df7d6c03@gmail.com","name":"TaeHoon Yoon"},"message":"Completed friend request add/display functions + minor fix\n\n-Minor fix: added clearSearch() to the route to homepage. This resets the search field when the user logs off\n-Added function loadFriendRequest which gets ran before the page loads and makes subscriptions to the users on the friend request.\n-Added templates for display the friend requests. It displays: 1. email 2. statusAt\n-Created a publication 'requests' that has _id as parameter and returns that _id's Iser document (email and status properties only)\n-When displaying the email and statusAt properties in requester_info.js's helper, I wrapped it in and if conditional that checks if the information was correctly loaded from miniMongo beforedefining the properties because there was slight delay in which the info wasn't loaded and it was trying to define email and statusAt of undefined.\n-Added functionality to add the searched user. Add will add the user to current user's friends list with validated=>false and add the current user to that user's friendRequest array.","distinct":true,"url":"https://api.github.com/repos/xoddong/is/commits/be6b0ebd7c25a11cc120aff92ff80505093c02e1"}]}