LT-61: Record actions that create, modify, delete, associate timepoints, remove associations and login

- Show Last Login Date popup after login successful
(WIP)
This commit is contained in:
Aysel Afsar committed 2016-04-05 12:16:50 -04:00
1 parent e277c4b484
commit 83e067b701
12 files changed
+187 -52

No files matched your search

+2
View File
@@ -52,3 +52,5 @@ aldeed:template-extension@4.0.0
zuuk:stale-session
gilbertwat:bootstrap3-daterangepicker
email
peppelg:bootstrap-3-modal
simple:reactive-method
+2
View File
@@ -83,6 +83,7 @@ npm-bcrypt@0.7.8_2
npm-mongo@1.4.39_1
observe-sequence@1.0.7
ordered-dict@1.0.4
peppelg:bootstrap-3-modal@1.0.4
practicalmeteor:chai@2.1.0_1
practicalmeteor:loglevel@1.2.0_2
promise@0.5.1
@@ -98,6 +99,7 @@ service-configuration@1.0.5
session@1.1.1
sha@1.0.4
silentcicero:jszip@0.0.4
simple:reactive-method@1.0.2
spacebars@1.0.7
spacebars-compiler@1.0.7
srp@1.0.4
+2 -1
View File
@@ -26,7 +26,8 @@ var data = {
'associationModal',
'optionsModal',
'serverInformationModal',
'confirmRemoveTimepointAssociation'
'confirmRemoveTimepointAssociation',
'lastLoginModal'
]
};
+1 -5
View File
@@ -40,12 +40,8 @@ Meteor.startup(function() {
// Bind events if window is closed
$(window).bind('beforeunload', function (e) {
closingWindow();
// have to return null, unless you want a chrome popup alert
//return 'If you leave this page then any unsaved changes will be lost.';
// return 'If you leave this page then any unsaved changes will be lost.';
});
});
closingWindow = function(){
Meteor.call('removeUserFromReviewers', Meteor.userId());
};