Enable new user preference ui by default

This commit is contained in:
guerler
2016-11-22 20:27:00 -05:00
parent bb33e8959f
commit d4760ed210
5 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ var Collection = Backbone.Collection.extend({
url : 'user?cntrller=user',
target : 'galaxy_main',
onclick : function() {
if ( Galaxy.config.enable_new_user_preferences && Galaxy.app ) {
if ( Galaxy.app ) {
Galaxy.app.display( new UserPreferences.View() );
} else {
window.location = Galaxy.root + 'users';
-1
View File
@@ -221,7 +221,6 @@ class Configuration( object ):
self.communication_server_host = kwargs.get( 'communication_server_host', 'http://localhost' )
self.communication_server_port = int( kwargs.get( 'communication_server_port', '7070' ) )
self.persistent_communication_rooms = listify( kwargs.get( "persistent_communication_rooms", [] ), do_strip=True )
self.enable_new_user_preferences = string_as_bool( kwargs.get( 'enable_new_user_preferences', 'False' ) )
self.enable_openid = string_as_bool( kwargs.get( 'enable_openid', 'False' ) )
self.enable_quotas = string_as_bool( kwargs.get( 'enable_quotas', 'False' ) )
# External Service types used in sample tracking
-1
View File
@@ -55,7 +55,6 @@ class ConfigSerializer( base.ModelSerializer ):
'communication_server_host' : _defaults_to( None ),
'communication_server_port' : _defaults_to( None ),
'persistent_communication_rooms' : _defaults_to( None ),
'enable_new_user_preferences' : _defaults_to( False ),
'allow_user_creation' : _defaults_to( False ),
'use_remote_user' : _defaults_to( None ),
'enable_openid' : _defaults_to( False ),
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long