Commit graph

547 commits

Author SHA1 Message Date
Ondrej Holy
7f3f853fb3 user-accounts: username generation fix
https://bugzilla.gnome.org/show_bug.cgi?id=703748
2013-08-15 09:16:39 +02:00
Ondrej Holy
f05d244155 user-accounts: remove spinner from the password dialog
https://bugzilla.gnome.org/show_bug.cgi?id=702480
2013-08-14 22:30:37 +02:00
Ondrej Holy
39e6b6d044 user-accounts: Info message when we are offline
https://bugzilla.gnome.org/show_bug.cgi?id=702477
2013-08-14 22:29:53 +02:00
Ondrej Holy
dca2746038 user-accounts: Add an explanation of what enterprise login
https://bugzilla.gnome.org/show_bug.cgi?id=702478
2013-08-14 22:29:11 +02:00
Stef Walter
66893e9f40 user-accounts: Remove some unused code in UmAccountDialog
We don't use UmAccountDialog.mode_areas

https://bugzilla.gnome.org/show_bug.cgi?id=705990
2013-08-14 16:02:21 +02:00
Jiro Matsuzawa
aa3af40114 user-accounts: Mark some strings as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=695230
2013-08-13 21:15:26 +09:00
Ondrej Holy
0510baa660 user-accounts: Remove a domain validation error icon
https://bugzilla.gnome.org/show_bug.cgi?id=702479
2013-08-07 18:37:38 +02:00
Ondrej Holy
067d064105 user-accounts: Add padding between current and new password fields
https://bugzilla.gnome.org/show_bug.cgi?id=702481
2013-08-05 21:08:01 +02:00
Jonh Wendell
f1d59d06df user-accounts: make sure to check for permissions everywhere
every time we call show_user() we should also verify the permissions.
this fixes the issue where sometimes we may have some controls
enabled on startup, even on 'locked' state.

https://bugzilla.gnome.org/show_bug.cgi?id=705322
2013-08-02 13:31:51 -03: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
Jonh Wendell
7e62ec47ce user-accounts: really selects the newly-created user
complement to f438da7c3b

make sure to only return the newly created User object when
it is fully loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=704426
2013-07-30 09:47:23 -03: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
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