Commit graph

585 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
Yosef Or Boczko
0ca9771079 user-accounts: drop GtkStock
https://bugzilla.gnome.org/show_bug.cgi?id=704178
2013-07-19 16:02:31 +03:00
Jonh Wendell
f438da7c3b user-accounts: correctly selects the newly-created user
don't compare pointers, as they can be different, given they
can come from different sources. compare their UID's.

https://bugzilla.gnome.org/show_bug.cgi?id=704426
2013-07-18 13:35:52 -03:00
Yosef Or Boczko
55b212075f user-accounts: fix the look of the arrows in the history dialog
https://bugzilla.gnome.org/show_bug.cgi?id=704186
2013-07-17 19:28:16 +03:00
Philippe Coval
26c44b2221 user-accounts: do not display system accounts
This prevents the user panel from displaying system accounts
and allowing the user to remove them.

https://bugzilla.gnome.org/show_bug.cgi?id=701514
2013-07-15 11:37:37 +01:00
Chris Cummins
ab650efdd7 user-accounts: Use Enter key on password dialog
This allows the use of the enter key in the password setting dialog to
complete the action.

https://bugzilla.gnome.org/show_bug.cgi?id=703607
2013-07-11 10:52:35 +01:00
Joshua Lock
fa89c66aa6 user-accounts: fix counting of administrators in num_admin_accounts ()
Don't count inactive administrator accounts when trying to prevent the
user from disabling or deleting the only administrator account.

https://bugzilla.gnome.org/show_bug.cgi?id=690246
2013-06-19 13:03:16 +02:00
Rui Matos
efb2248946 user-accounts: Disconnect from ActUserManager signals on dispose
This causes crashes when e.g. changing the language in the region
panel after having opened the user panel first.

https://bugzilla.gnome.org/show_bug.cgi?id=702402
2013-06-17 16:33:35 +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
Ondrej Holy
86e45a5c74 user-accounts: Add user account dialog redesign
https://bugzilla.gnome.org/show_bug.cgi?id=689344
2013-06-05 16:43:12 +01: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
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
Joshua Lock
0adf7c2073 user-accounts: prevent the only Administrator from being demoted
If there is only one account of type Adminstrator and it is demoted to type
Standard the user can be left unable to unlock panels and perform other
Administrator tasks - prevent this by only allowing the Account Type to be
changed when the account is a standard user or, in the case that the account
is an Administrator, when there is one or more other Administrators.

https://bugzilla.gnome.org/show_bug.cgi?id=690246
2013-06-05 16:43:11 +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
Jean-Benoit MARTIN
1be1b5c1bf user-accounts: Remove autologin when an account is deleted
Check if autologin is enabled when an account is deleted and remove
autologin for that user.

https://bugzilla.gnome.org/show_bug.cgi?id=698663
2013-06-04 11:28:56 +01:00
Stef Walter
bd5ab94843 user-accounts: After the add account dialog is cancelled, discard results
When closing the dialog, we cancel the cancellable, but don't
wait for all the async calls to complete before closing the dialog
so discard results when they come in.

https://bugzilla.gnome.org/show_bug.cgi?id=700958
2013-06-04 11:28:50 +01:00
Stef Walter
05147e093a user-accounts: Hide 'Add Account' dialog when panel goes away
When the user panel goes away (usually due to another panel replacing
it) complete the add account dialog, if it's up.

https://bugzilla.gnome.org/show_bug.cgi?id=698263
2013-06-04 11:28:50 +01:00
Ondrej Holy
f4c6f6093e user-accounts: Don't show heading for other accounts if there are none
https://bugzilla.gnome.org/show_bug.cgi?id=661688
2013-06-04 11:28:31 +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
Stef Walter
5cf76cb0b6 user-accounts: Fix memory leak of realm proxy
https://bugzilla.gnome.org/show_bug.cgi?id=701060
2013-05-28 12:41:19 +02:00
Ondrej Holy
9d2441508d user-accounts: Fix empty login history window
https://bugzilla.gnome.org/show_bug.cgi?id=692253
2013-05-24 15:21:17 +02:00
Michael Wood
654f4bb2ec um-utils: Don't allow duplicates of the same suggestion
Fix the initial value for the suggested login name can be added twice if
there is only one word.

https://bugzilla.gnome.org/show_bug.cgi?id=698234
2013-05-20 10:13:22 +01:00
Chris Cummins
11382d241a user-accounts: Disallow whitespace-only names
This prevents users from creating an account with a full name consisting
solely of whitespace, e.g., space and tab characters. Having "invisible"
real names can cause confusion on the login screen.

https://bugzilla.gnome.org/show_bug.cgi?id=699940
2013-05-17 16:34:13 +02:00
Chris Cummins
6d11023f33 user-accounts: Validate real name on change
This prevents users from setting invalid real names for accounts by
editing the name from the user panel. This applies the same check as is
done when first adding the account.

https://bugzilla.gnome.org/show_bug.cgi?id=699940
2013-05-17 16:24:19 +02:00
Thomas Wood
17be761a41 user-accounts: ellipsize long user names in the password dialog
Ellipsize long user names in the password dialog by using the same
properties as the main panel.

https://bugzilla.gnome.org/show_bug.cgi?id=698965
2013-05-10 12:00:37 +01:00
Stef Walter
c5b24e57f2 user-accounts: When enterprise account disabled, join as admin
When an enterprise login user account is disabled, or needs to have
its password change, just prompt for the administrator to do the join
to the domain. This is exactly the same fall through as if the user
does not have permission to join a machine to a domain.

https://bugzilla.gnome.org/show_bug.cgi?id=699293
2013-05-06 14:31:49 +02:00
Ondrej Holy
b4b0ae8d89 user-accounts: Ellipsize long names
https://bugzilla.gnome.org/show_bug.cgi?id=693326
2013-04-26 17:28:36 +02:00
Stef Walter
5dfffc1593 user-accounts: Handle "incorrect password" krb5 code
Oddly enough this is the standard krb5 error code for an
incorrect password. Which error code is returned depends
on how the protocol is being used. FreeIPA returns this one.

https://bugzilla.gnome.org/show_bug.cgi?id=698266
2013-04-24 08:59:50 +02:00
Stef Walter
a3d7891670 user-accounts: Make Enter work in the 'Add Account' dialogue
Fix various controls where pressing enter did nothing.

https://bugzilla.gnome.org/show_bug.cgi?id=698262
2013-04-24 08:59:50 +02:00
Stef Walter
e84bb4983c user-accounts: Reacquire permissions before adding account
If necessary, reacquire permissions before starting to add an
account.

https://bugzilla.gnome.org/show_bug.cgi?id=698276
2013-04-24 08:59:50 +02:00
Bastien Nocera
3ef22f4394 user-accounts: Fix fingerprint dialogue causing a crash
Loading the GtkBuilder file used the wrong GResource path.

https://bugzilla.gnome.org/show_bug.cgi?id=698198
2013-04-23 16:00:26 +02:00
Lionel Landwerlin
07bdf84dab user-accounts: fix wrong user data pointer usage
https://bugzilla.gnome.org/show_bug.cgi?id=698279
2013-04-22 16:41:32 +01:00
Stef Walter
264c2fc693 user-accounts: Fix assertion from freeing NULL array
https://bugzilla.gnome.org/show_bug.cgi?id=698177
2013-04-17 10:02:42 +02:00
Kalev Lember
8b1c83e1f9 user-accounts: Add missing semicolons to desktop files
https://bugzilla.gnome.org/show_bug.cgi?id=696806
2013-04-16 11:15:14 +02:00
Stef Walter
909d88d080 user-accounts: Tell realmd not to setup system management
The Enterprise Login feature is meant to setup a individiual
domain accounts for use with GNOME, and not manage the system.
realmd now configures more than just logins, so tell realmd
to hold back and not configure a system managed by the domain.

https://bugzilla.gnome.org/show_bug.cgi?id=697910
2013-04-15 16:02:46 +02:00
Ondrej Holy
254116f0c5 user-accounts: Don't unref users
libaccountsservice doesn't ref them before giving them to us,
so we shouldn't unref them when we're done with them.

https://bugzilla.gnome.org/show_bug.cgi?id=691891
2013-03-14 17:57:27 -04:00
Bastien Nocera
ae108c45f3 user-accounts: Stop crash when changing the password
Pass the correct user data to the passwd_change_password() callback,
so we don't try to manipulate NULL pointers in place of the password
dialogue.

https://bugzilla.redhat.com/show_bug.cgi?id=874725
2013-03-13 09:25:31 +01:00
Jiro Matsuzawa
7f1809e8c9 user-accounts: Make login history dialog title translatable
https://bugzilla.gnome.org/show_bug.cgi?id=695202
2013-03-05 13:37:02 +01:00
Ángel Guzmán Maeso
68dd98ba60 user-accounts: Fix deprecated function in um-utils.c
From gtk_icon_info_free() to g_object_unref()

https://bugzilla.gnome.org/show_bug.cgi?id=694362
2013-02-21 17:08:25 +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
fd04dbef8c user-accounts: GtkBuilder files now require GTK+ 3.8 2013-02-20 18:02:57 +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
Bastien Nocera
fa022622d2 user-accounts: Fix possible free of unowned string
And the subsequent crasher.
2013-02-20 18:02:48 +01:00
Matthias Clasen
8cc06f8413 users: Deal with preloaded users
Now that another panel is using ActUserManager, the one the
user panel is using may already be loaded when it starts up.
It was not dealing with that gracefully.
2013-02-19 12:25:52 +01:00
Matthias Clasen
d37b5fc4c1 user: Adapt to new language chooser 2013-02-19 12:25:52 +01:00
Matthias Clasen
1ecd607bcb Move cc_add_user_language
Move it to cc-common-language.c and rename it
to cc_common_language_add_user_languages
2013-02-19 12:25:51 +01:00
Allan Day
383e89a4dc user-accounts: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +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
Matthias Clasen
d5bcf412d0 users: Add accessible labels in history dialog
The previous/next week buttons were being read by orca
as just 'pushbutton', which is not very useful.

https://bugzilla.gnome.org/show_bug.cgi?id=693542
2013-02-12 10:07:02 -05:00