Commit graph

34 commits

Author SHA1 Message Date
Ondrej Holy
8c43927d83 user-accounts: fix compilation warning and function name
https://bugzilla.gnome.org/show_bug.cgi?id=704741
2013-07-24 10:17:59 +02:00
Jean-Benoit MARTIN
27371a542a user-accounts: Set the password mode to regular immediately
https://bugzilla.gnome.org/show_bug.cgi?id=701701
2013-06-13 15:33:42 +02:00
Ondrej Holy
d134890b8b user-accounts: Password dialog redesign
https://bugzilla.gnome.org/show_bug.cgi?id=695450
2013-06-11 13:44:05 +01:00
Thomas Wood
3af1b72691 user-accounts: prevent the only admin from being deleted or disabled
https://bugzilla.gnome.org/show_bug.cgi?id=690246
2013-06-05 16:43:12 +01:00
Thomas Wood
b906d32e4c user-accounts: avoid problems with automatic login
Prevent an account from being set to automatically logged in if it is
disabled or requires the password to be changed at next login.

https://bugzilla.gnome.org/show_bug.cgi?id=701373
2013-06-05 16:43:11 +01:00
Chris Cummins
1a770694ed user-accounts: Don't let user disable own account
This removes the 'Disable this account' action for the currently logged
in user, as this can lead to them being 'locked out'.

https://bugzilla.gnome.org/show_bug.cgi?id=700715
2013-06-03 15:54:54 +01:00
Bastien Nocera
726332c14f user-accounts: Remove password hints feature from UI
As those are not currently used in GDM.

https://bugzilla.gnome.org/show_bug.cgi?id=643445
2013-02-21 15:12:24 +01:00
Bastien Nocera
75fdd13a74 user-accounts: Avoid a warning on startup
As a user was not set on the password dialog yet. Also make
sure that we do not try to update the password strength label
before anyone has entered anything in the dialogue itself.
2013-02-20 18:02:53 +01:00
Michael Catanzaro
973d1cac6b user-accounts: Don't reject passwords that pwquality says are ok
Fix for the OK button being insensitive for many "weak" passwords

Also fixes "not good enough" password being accepted

https://bugzilla.gnome.org/show_bug.cgi?id=691907
2013-02-14 10:10:27 +01:00
Cosimo Cecchi
eb573a72e5 user-accounts: use a GResource for GtkBuilder UI definition and icons
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:23 +01:00
Ryan Lortie
d46a23a5a2 user-accounts: port to libaccountsservice
This removes a bunch of duplicated code, and also drops
a direct dependency on libsystemd-login.

https://bugzilla.gnome.org/show_bug.cgi?id=671858
2013-01-03 11:39:58 -05:00
Ray Strode
db97299e74 user-panel: add UmPasswordDialogMode enum instead of using numeric literals
The um-password-dialog combobox has a column in its model associated
with what password action to apply. Possible actions are:

- Normal password
- Set password at next login
- No password needed
- Lock account
- Unlock account

These actions are currently represented in the code with harded coded
numeric values (0-4).

This commit cleans up the hard coding to use a symbolic enumeration
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=671858
2013-01-03 11:38:38 -05:00
Thomas Wood
2e2cfce6e0 user-accounts: remove unused variables from the password dialog
https://bugzilla.gnome.org/show_bug.cgi?id=688401
2012-11-19 13:30:49 +00:00
Thomas Wood
33e360d4a7 user-accounts: show the password by default once generated
Make sure the user can see the newly generated password without having to
activate the show password check box.

https://bugzilla.gnome.org/show_bug.cgi?id=688401
2012-11-19 13:30:49 +00:00
Ondrej Holy
bd26688df9 user-accounts: Logged in status identification
https://bugzilla.gnome.org/show_bug.cgi?id=681769
2012-10-09 10:52:40 +02:00
Matthias Clasen
a80b3d75c5 users: Don't ask for the old password when none is set
This prevents passwordless users (common on live cd setups) from
setting a password.

https://bugzilla.gnome.org/show_bug.cgi?id=684492
2012-09-24 15:51:21 -04:00
Matthias Clasen
a955ec4152 Switch files created by me to GPLv2+
This matches the rest of the control-center code base.
https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-06 19:07:09 -04:00
Zan Dobersek
570bafaf6b user-accounts: Fix match icon not updating in some cases
Check the new password matching after focusing out either entries.

Validate the content of the verify password entry after
focusing out either the new password entry or the verify entry.

Previously the user could mistype his new password in the new
password entry, but when it was corrected, the verify entry
would still be indicating that the confirmation password did not
match when it did.

https://bugzilla.gnome.org/show_bug.cgi?id=668844
2012-08-23 11:08:38 +01:00
Cosimo Cecchi
dfe03a1173 user-accounts: port to GtkLevelBar
This also adds another out parameter to pw_strength(), which is a discrete
indication of the password strength (to be used with GtkLevelBar). The
advantage of having such a parameter back from pw_strength() is that we
can make sure the fill value and the hint string change at the same
time, for better consistency.

https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:25 +01:00
Matthias Clasen
f62d801656 users: Pass more information to password checker
Passing the username and the old password allows the password
quality check find more bad passwords. Also, add a way to provide
more information about why a password is not good enough.

https://bugzilla.gnome.org/show_bug.cgi?id=676396
2012-05-23 10:43:48 -04:00
Matthias Clasen
8947cf8468 users: Separate out password generation and strength calculation
This is in preparation of using a library for this purpose, and
is just generally cleaner.
2012-05-23 09:19:21 -04:00
Matthias Clasen
86bd905920 users: Make generated password visible
A generated password is useless if you can't read it.

https://bugzilla.gnome.org/show_bug.cgi?id=633601
2012-05-23 08:32:01 -04:00
Matthias Clasen
a7beb087db user-accounts: Simplify generated password handling
Move the 'generate password' icon into the entry to make
the focus chain more straightforward. Also switch from
generating a choice of 6 passwords in a menu, just put
put the next choice directly into the entry.
To keep the password generation keyboard accessible,
add a 'Generate password' context menu item.

https://bugzilla.gnome.org/show_bug.cgi?id=633601
https://bugzilla.gnome.org/show_bug.cgi?id=658522
2012-05-23 08:32:00 -04:00
Richard Hughes
ccf5d0028c user-accounts: Switch from UmStrengthBar to CcStrengthBar 2012-02-14 17:00:24 +00:00
Bastien Nocera
1ed6f51d8e user-accounts: Correct initial focus in password dialogue
The password dialogue needs to have the "Current password" field
focused by default if we're changing the password.

https://bugzilla.gnome.org/show_bug.cgi?id=658521
2011-09-09 09:57:35 +01:00
Jeremy Bicha
8afbc4ddc6 Fix help links for gnome-help 3.1*
gnome-help 3.1.1 and higher uses the help: protocol with a slash
instead of the ghelp: protocol with a question mark
2011-09-06 09:28:58 -04:00
Bastien Nocera
f8c3b0c59e user-accounts: Don't include link in translation
And use a link to local documentation, rather than an
external website in English.

Removed mentions of "in English" for the languages that mentioned it.

https://bugzilla.gnome.org/show_bug.cgi?id=643118
2011-04-15 02:40:20 +01:00
Matthias Clasen
4c2e26307f Drop some deprecated GTK+ api 2011-01-25 00:32:10 -05:00
Matthias Clasen
f503381455 Use cairo to draw an arrow
Misusing gtk_paint_expander() turned out to not be a good
idea, now that the theme has started to draw +/- for expanders
instead of arrows.
2011-01-24 23:42:27 -05:00
Bastien Nocera
21b79f3045 user-accounts: Fix uninstalled files location
Uninstalled .ui files aren't in ../data/ anymore, but in data/
2011-01-21 14:49:04 +00:00
Bastien Nocera
05dd38ce68 user-accounts: Remove all uses of exit()
We shouldn't use exit() in a panel plugin.
2011-01-21 13:59:30 +00:00
Bastien Nocera
96a726f20b user-accounts: Don't crash when apg is missing
https://bugzilla.gnome.org/show_bug.cgi?id=635808
2010-12-07 15:13:46 +00:00
Matthias Clasen
24b5fb73c1 Reinstate popup arrows 2010-11-15 14:59:31 -05:00
William Jon McCann
bf5cb44016 Add user-accounts dialog
Copied from the accounts-dialog git module.
2010-10-30 18:04:15 -04:00