Commit graph

246 commits

Author SHA1 Message Date
Á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
Ondrej Holy
324d1cef8a user-accounts: Add history dialog
https://bugzilla.gnome.org/show_bug.cgi?id=681772
2013-01-09 14:14:19 +01:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05: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
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Matthias Clasen
4bee148691 users: Handle real name being unset
When no real name is available, fall back to the user name.
https://bugzilla.gnome.org/show_bug.cgi?id=691173
2013-01-05 16:54:17 -05:00
Cosimo Cecchi
ce546523a5 user-accounts: don't install SVG icons
We only use the PNGs in the panel. Keep the SVGs under version control,
as they're used to generate the PNGs.

https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-04 20:34:38 +01:00
Cosimo Cecchi
3637447865 user-accounts: remove unused icons
These are not used anywhere, so don't install them and remove them from
version control.

https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-04 20:34:38 +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
Jasper St. Pierre
720c0d25cf user-accounts: Fix a few tiny error leaks
https://bugzilla.gnome.org/show_bug.cgi?id=690085
2012-12-12 12:49:48 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Jeremy Bicha
19fae9d966 user-accounts: Use the proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2012-12-03 09:12:26 -05:00
Ondrej Holy
691a258232 user-accounts: Add last login field
https://bugzilla.gnome.org/show_bug.cgi?id=681772
2012-12-03 14:55:23 +01:00
Matthias Clasen
b0aecdd987 users: Fix resetting the avatar
This probably broke when the D-Bus code was ported to GDBus, as
passing NULL for a string into a GVariant constructor doesn't work.
Thankfully, passing an empty string has just the same effect.
https://bugzilla.gnome.org/show_bug.cgi?id=673841
2012-11-25 22:51:33 -05:00
Bastien Nocera
9656b4136d user-accounts: Fix comment about SHA-256 usage
As per crypt(3), ID 6 is:
6   | SHA-512 (since glibc 2.7)

Spotted by Florian Mülnner.
2012-11-23 11:56:26 +01: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
Bastien Nocera
cb8c667962 user-accounts: Rename panel to Users
Online Accounts and User Accounts are very similar names.

https://bugzilla.gnome.org/show_bug.cgi?id=688003
2012-11-09 18:41:36 +01:00
Ondrej Holy
3ce73cb8b2 user-accounts: Use GtkGrid instead GtkTable
https://bugzilla.gnome.org/show_bug.cgi?id=681772
2012-10-22 14:29:11 +02:00
Ondrej Holy
9864297c71 user-accounts: fix wrong sensitivity of the autologin combo
https://bugzilla.gnome.org/show_bug.cgi?id=686383
2012-10-22 14:21:37 +02:00
Bastien Nocera
f6cc4a970a user-accounts: Require logind for session tracking
As is already used in gnome-settings-daemon.
2012-10-22 10:53:06 +02:00
Stef Walter
48ae461991 user-accounts: Don't have domains twice in the drop down
If we discover domains again, don't add them twice to the drop
down and confuse the user. This is especially important if we
receive two realms from realmd for the same domain for use with
different clients (ie: sssd/winbind). We only want to offer the
first choice

https://bugzilla.gnome.org/show_bug.cgi?id=686397
2012-10-19 10:46:53 +02:00
Stef Walter
11b5c87d26 user-accounts: Set timeouts on all realmd interface proxies
Without this, we can get timeout problems during joining a domain.

This is a regression from when we refactored UmRealmManager to
use GDBusObjectManagerClient. Make sure to call
g_dbus_proxy_set_default_timeout() on all realmd interface
proxies whenever they show up.

https://bugzilla.gnome.org/show_bug.cgi?id=686390
2012-10-19 10:26:01 +02:00
Stef Walter
074a495f97 user-accounts: Recognize that some kerberos domains cannot be joined
realmd supports discovering generic kerberos domains, which cannot
be joined. Add a usable error message in gnome-control-center in
this case.

https://bugzilla.gnome.org/show_bug.cgi?id=685618
2012-10-15 14:04:59 +02:00
Stef Walter
60e9ee0f07 user-accounts: Remove the realmd version check
The idea is that the realmd DBus API will remain stable
from now on, so remove the version check. It was broken anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=685616
2012-10-15 11:37:39 +02:00
Stef Walter
ee673b7389 user-accounts: Complete discover on failure
When realmd discovery doesn't return a domain, complete the discovery
appropriately. Previously we would never complete.

https://bugzilla.gnome.org/show_bug.cgi?id=685617
2012-10-09 10:36:55 -04: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
Stef Walter
d6f2d07ddb user-accounts: Remove the autologin checkmark
We want to use a checkmark to show the currently logged in status.

https://bugzilla.gnome.org/show_bug.cgi?id=681769
2012-10-09 10:51:19 +02:00
Cosimo Cecchi
7181ca7c95 user-panel: make the autologin cell renderer follow state
Since it renders a symbolic icon, let it follow the state, so
it takes the selected text color when the row is selected

https://bugzilla.gnome.org/show_bug.cgi?id=684828
2012-09-26 12:41:37 -04: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
Bastien Nocera
95fb453d87 user-accounts: Disable password changing for remote users
Works-around:
https://bugs.freedesktop.org/show_bug.cgi?id=55002
See also:
https://bugzilla.gnome.org/show_bug.cgi?id=681866#c11
2012-09-17 19:47:10 +02:00
Stef Walter
0721469d56 user-accounts: Default LocalAccount property to TRUE
When loading properties from the AccountsService we may encounter
an implementation that does not yet have the LocalAccount property,
so set the LocalAccount property to TRUE by default to make things
work correctly in the above case.

https://bugzilla.gnome.org/show_bug.cgi?id=684207
2012-09-17 19:24:34 +02:00
Stef Walter
31a293bc08 user-accounts: Fix memory leak of realm list
https://bugzilla.gnome.org/show_bug.cgi?id=684188
2012-09-17 14:28:07 +02:00
Stef Walter
65aaaf9d04 user-accounts: Add debug messages to user creation and realm procedures
https://bugzilla.gnome.org/show_bug.cgi?id=684185
2012-09-17 14:27:06 +02:00
Stef Walter
09e62d679c user-accounts: Relicense UmRealmManager to GPLv2+
And update the 'Written By' of UmRealmManager

https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-17 13:08:35 +01:00
Matthias Clasen
bfca71076d users: Fix a typo
One translatable string contained the typo 'enterpise logins',
where it should have said 'enterprise logins'. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=684122

This commit updates the msgid in all .po files, so translations
should not be negatively affected by this string change.
2012-09-16 16:15:22 -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
Bastien Nocera
af8a644075 user-accounts: Fix login keyring password not getting updated
By passing the environment down to passwed rather than an empty one.
This means that passwd's PAM modules will be able to access the session
D-Bus, for the gnome-keyring PAM module to change the keyring password
for example.

https://bugzilla.gnome.org/show_bug.cgi?id=616703
2012-08-22 16:31:59 +01:00