Commit graph

18 commits

Author SHA1 Message Date
Felipe Borges
d52ec68f8d system: Add "Users" panel
This moves the UserAccounts panel to a page in the System panel.

This simplifies a lot of the existing code in the UserAccounts panel.

I did minimal changes to the sub dialogs so that those can be touched
in following changes, making it easier to review this one alone.

The main panel widget is now CcUsersPage, and is an AdwNavigationView
widget that has a default "current_user_page" page. Each page is a
CcUserPage (careful with the one-character difference between these
two classes).

Each CcUserPage has an associated ActUser object.
2024-01-08 13:59:26 +01:00
Ondrej Holy
f27b99e338 user-accounts: Fix libpwquality error handling
Always use pwquality_strerror()	in case	of error in order to prevent
memory leaks and to improve error messages.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/171
2018-09-10 22:04:23 +00:00
Ondrej Holy
64007ce52d user-accounts: Do not crash because of libpwquality failures
Users panel crashes with g_error() if some of libpwquality calls fails,
e.g. when pwquality.conf is broken. The default values should be used
instead of crash. Let's use g_warning() instead of g_error() in that
case.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/171
2018-09-10 22:04:23 +00:00
Ondrej Holy
cd1f96f8ba user-accounts: Improve password hints
Don't say "Good password!" for all acceptable password (e.g. weak passwords).
Say explicitely that password needs to be longer for short passwords.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:39:42 +02:00
Ondrej Holy
e89d4f59c2 user-accounts: Add strength indicator level for weak passwords
Add first level for short, or weak passwords to be obvious that
the strength indicator signalize something.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:37:28 +02:00
Ondrej Holy
9e4123363e user-accounts: Remove unused password hints
Short password hints are not used for some time. Let's remove them.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:37:28 +02:00
Felipe Borges
6d24ed5ae9 user-accounts: update strings to new design
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:43:08 +02:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Ondrej Holy
aaf25450ee user-accounts: add positive confirmation to the password dialog
Add checkmarks, remove exclam icons, remove tooltips, change
password hints and decrese timeout (by design).

https://bugzilla.gnome.org/show_bug.cgi?id=702476
2013-08-16 21:56:28 +02:00
Ondrej Holy
00316c33f4 user-accounts: Change password hint to be more obvious
https://bugzilla.gnome.org/show_bug.cgi?id=702474
2013-07-30 16:00:13 +02:00
Ondrej Holy
596908c5d3 user-accounts: Enable checking for seqences in password
Bump libpwquality version to 1.2.2.

ttps://bugzilla.gnome.org/show_bug.cgi?id=702474
2013-07-30 14:52:57 +02:00
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
Ondrej Holy
58348f6fd2 user-accounts: User friendly password hints
https://bugzilla.gnome.org/show_bug.cgi?id=689344
2013-06-05 16:43:12 +01: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
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
810f29b6ce users: Use libpwquality for password handling
Using a library for password generation and quality checking
has the obvious benefit that we can have centralized policy
for password quality, and our homegrown code for this was not
a beauty in the first place.

This commit drops the use of /usr/bin/agp for generating
random passwords.

https://bugzilla.gnome.org/show_bug.cgi?id=676396
2012-05-23 10:43:17 -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