mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 23:49:37 +08:00
Enable new user preference ui by default
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user