Upgrade dependencies

This includes a security fix in mquandalle:bower, and a new package
for useraccounts iron-router templates which forced us to move some
configuration function calls.
This commit is contained in:
Maxime Quandalle 2015-08-21 21:20:23 +02:00
parent ae4288d507
commit 4fc72d64b4
5 changed files with 43 additions and 38 deletions

View file

@ -14,6 +14,7 @@ kenton:accounts-sandstorm
service-configuration service-configuration
useraccounts:core useraccounts:core
useraccounts:unstyled useraccounts:unstyled
useraccounts:iron-routing
# Compilers # Compilers
mquandalle:jade mquandalle:jade

View file

@ -36,7 +36,7 @@ deps@1.0.7
ejson@1.0.6 ejson@1.0.6
email@1.0.6 email@1.0.6
fastclick@1.0.3 fastclick@1.0.3
fortawesome:fontawesome@4.3.0 fortawesome:fontawesome@4.4.0
geojson-utils@1.0.3 geojson-utils@1.0.3
html-tools@1.0.4 html-tools@1.0.4
htmljs@1.0.4 htmljs@1.0.4
@ -53,17 +53,20 @@ iron:router@1.0.9
iron:url@1.0.9 iron:url@1.0.9
jquery@1.11.3_2 jquery@1.11.3_2
json@1.0.3 json@1.0.3
kenton:accounts-sandstorm@0.1.3 kenton:accounts-sandstorm@0.1.4
launch-screen@1.0.2 launch-screen@1.0.2
less@1.0.14 less@1.0.14
livedata@1.0.13 livedata@1.0.13
localstorage@1.0.3 localstorage@1.0.3
logging@1.0.7 logging@1.0.7
matb33:collection-hooks@0.7.13 matb33:collection-hooks@0.7.14
matteodem:easy-search@1.5.6 matteodem:easy-search@1.6.2
meteor@1.1.6 meteor@1.1.6
meteor-platform@1.2.2 meteor-platform@1.2.2
meteorhacks:subs-manager@1.4.0 meteorhacks:aggregate@1.2.1
meteorhacks:collection-utils@1.2.0
meteorhacks:subs-manager@1.5.2
meteorspark:util@0.2.0
minifiers@1.1.5 minifiers@1.1.5
minimongo@1.0.8 minimongo@1.0.8
mobile-status-bar@1.0.3 mobile-status-bar@1.0.3
@ -71,7 +74,7 @@ mongo@1.1.0
mongo-livedata@1.0.8 mongo-livedata@1.0.8
mousetrap:mousetrap@1.4.6_1 mousetrap:mousetrap@1.4.6_1
mquandalle:autofocus@1.0.0 mquandalle:autofocus@1.0.0
mquandalle:bower@1.4.1 mquandalle:bower@1.4.1_3
mquandalle:jade@0.4.3 mquandalle:jade@0.4.3
mquandalle:jade-compiler@0.4.3 mquandalle:jade-compiler@0.4.3
mquandalle:jquery-textcomplete@0.3.9_1 mquandalle:jquery-textcomplete@0.3.9_1
@ -84,16 +87,16 @@ ongoworks:speakingurl@1.1.0
ordered-dict@1.0.3 ordered-dict@1.0.3
peerlibrary:assert@0.2.5 peerlibrary:assert@0.2.5
peerlibrary:base-component@0.10.0 peerlibrary:base-component@0.10.0
peerlibrary:blaze-components@0.12.0 peerlibrary:blaze-components@0.13.0
perak:markdown@1.0.5 perak:markdown@1.0.5
raix:eventemitter@0.1.2 raix:eventemitter@0.1.3
raix:handlebar-helpers@0.2.4 raix:handlebar-helpers@0.2.4
random@1.0.3 random@1.0.3
reactive-dict@1.1.0 reactive-dict@1.1.0
reactive-var@1.0.5 reactive-var@1.0.5
reload@1.1.3 reload@1.1.3
retry@1.0.3 retry@1.0.3
reywood:publish-composite@1.3.6 reywood:publish-composite@1.4.2
routepolicy@1.0.5 routepolicy@1.0.5
seriousm:emoji-continued@1.4.0 seriousm:emoji-continued@1.4.0
service-configuration@1.0.4 service-configuration@1.0.4
@ -103,14 +106,15 @@ softwarerero:accounts-t9n@1.0.9
spacebars@1.0.6 spacebars@1.0.6
spacebars-compiler@1.0.6 spacebars-compiler@1.0.6
srp@1.0.3 srp@1.0.3
tap:i18n@1.4.1 tap:i18n@1.5.1
templating@1.1.1 templating@1.1.1
tmeasday:presence@1.0.6 tmeasday:presence@1.0.6
tracker@1.0.7 tracker@1.0.7
ui@1.0.6 ui@1.0.6
underscore@1.0.3 underscore@1.0.3
url@1.0.4 url@1.0.4
useraccounts:core@1.11.0 useraccounts:core@1.12.2
useraccounts:unstyled@1.11.0 useraccounts:iron-routing@1.12.2
useraccounts:unstyled@1.12.2
webapp@1.2.0 webapp@1.2.0
webapp-hashing@1.0.3 webapp-hashing@1.0.3

View file

@ -1,10 +1,3 @@
_.each(['signIn', 'signUp', 'resetPwd', 'forgotPwd', 'enrollAccount'],
function(routeName) {
AccountsTemplates.configureRoute(routeName, {
layoutTemplate: 'userFormsLayout'
});
});
Router.route('/profile/:username', { Router.route('/profile/:username', {
name: 'Profile', name: 'Profile',
template: 'profile', template: 'profile',

View file

@ -33,25 +33,6 @@ Template.editProfilePopup.events({
} }
}); });
// We display the form to change the password in a popup window that already
// have a title, so we unset the title automatically displayed by useraccounts.
AccountsTemplates.configure({
texts: {
title: {
changePwd: ''
}
}
});
AccountsTemplates.configureRoute('changePwd', {
redirect: function() {
// XXX We should emit a notification once we have a notification system.
// Currently the user has no indication that his modification has been
// applied.
Popup.back();
}
});
// XXX For some reason the useraccounts autofocus isnt working in this case. // XXX For some reason the useraccounts autofocus isnt working in this case.
// See https://github.com/meteor-useraccounts/core/issues/384 // See https://github.com/meteor-useraccounts/core/issues/384
Template.changePasswordPopup.onRendered(function() { Template.changePasswordPopup.onRendered(function() {

View file

@ -17,3 +17,29 @@ AccountsTemplates.configure({
Router.go('Home'); Router.go('Home');
} }
}); });
_.each(['signIn', 'signUp', 'resetPwd', 'forgotPwd', 'enrollAccount'],
function(routeName) {
AccountsTemplates.configureRoute(routeName, {
layoutTemplate: 'userFormsLayout'
});
});
// We display the form to change the password in a popup window that already
// have a title, so we unset the title automatically displayed by useraccounts.
AccountsTemplates.configure({
texts: {
title: {
changePwd: ''
}
}
});
AccountsTemplates.configureRoute('changePwd', {
redirect: function() {
// XXX We should emit a notification once we have a notification system.
// Currently the user has no indication that his modification has been
// applied.
Popup.back();
}
});