Author: jsuchome Date: Tue Apr 1 11:38:52 2008 New Revision: 45922 URL: http://svn.opensuse.org/viewcvs/yast?rev=45922&view=rev Log: - propose login only from the first chunk of full name (bnc#372202) - 2.16.22 Modified: trunk/users/VERSION trunk/users/package/yast2-users.changes trunk/users/src/dialogs.ycp trunk/users/src/inst_user_first.ycp Modified: trunk/users/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/VERSION?rev=45922&r1=45921&r2=45922&view=diff ============================================================================== --- trunk/users/VERSION (original) +++ trunk/users/VERSION Tue Apr 1 11:38:52 2008 @@ -1 +1 @@ -2.16.21 +2.16.22 Modified: trunk/users/package/yast2-users.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/package/yast2-users.changes?rev=45922&r1=45921&r2=45922&view=diff ============================================================================== --- trunk/users/package/yast2-users.changes (original) +++ trunk/users/package/yast2-users.changes Tue Apr 1 11:38:52 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Apr 1 11:34:17 CEST 2008 - jsuchome@suse.cz + +- propose login only from the first chunk of full name (bnc#372202) +- 2.16.22 + +------------------------------------------------------------------- Mon Mar 31 15:48:58 CEST 2008 - jsuchome@suse.cz - use the real password in the Password fields (bnc#374787) Modified: trunk/users/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/dialogs.ycp?rev=45922&r1=45921&r2=45922&view=diff ============================================================================== --- trunk/users/src/dialogs.ycp (original) +++ trunk/users/src/dialogs.ycp Tue Apr 1 11:38:52 2008 @@ -922,6 +922,7 @@ if (!login_modified) { string full = (string)UI::QueryWidget (`id (ret), `Value); + full = splitstring (full, " ")[0]:""; UI::ChangeWidget (`id (`username), `Value, tolower ( filterchars (full, UsersSimple::ValidLognameChars ())) ); @@ -1521,8 +1522,6 @@ } if (what == "add_user") { - if (user_type == "system") - UI::ChangeWidget(`id(`propose), `Enabled, false); if (user_type == "ldap") UI::SetFocus(`id(`givenname)); else Modified: trunk/users/src/inst_user_first.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/inst_user_first.ycp?rev=45922&r1=45921&r2=45922&view=diff ============================================================================== --- trunk/users/src/inst_user_first.ycp (original) +++ trunk/users/src/inst_user_first.ycp Tue Apr 1 11:38:52 2008 @@ -451,6 +451,7 @@ if (!login_modified) { string full = (string)UI::QueryWidget (`id (`cn), `Value); + full = splitstring (full, " ")[0]:""; UI::ChangeWidget (`id (`username), `Value, tolower ( filterchars (full, UsersSimple::ValidLognameChars ())) ); @@ -575,7 +576,6 @@ if (contains ([`back, `abort, `cancel, `next], ret)) break; } -y2internal ("password is %1", password); if (ret == `next) { UsersSimple::SetAfterAuth (auth_method); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org