Commit graph

63 commits

Author SHA1 Message Date
Ondrej Holy
3e6b741ad2 user-accounts: check for NULL on um_realm_object_get_common
um_realm_object_get_common can return NULL, which shouldn't be passed
into subsequent functions to avoid crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=705351
2015-02-25 15:50:17 +01:00
Ondrej Holy
f0e8f9d161 user-accounts: fix crash when network changes
Add user dialog crashes if it has been closed and network configuration
changes, because the dialog is already disposed, but on_network_changes
callback is executed. To fix this crash network monitor signal handler
has to be disconnected on dispose.

https://bugzilla.gnome.org/show_bug.cgi?id=742439
2015-01-06 12:20:55 +01:00
Ondrej Holy
3695f858dd user-accounts: use GtkStack instead of GtkNotebook in Add user dialog
https://bugzilla.gnome.org/show_bug.cgi?id=734422
2014-08-15 17:21:40 +02:00
Ondrej Holy
0f3575b317 user-accounts: avoid removing non-existent GSources
Source id have to be zeroed correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=734548
2014-08-14 13:51:56 +02:00
Ondrej Holy
e4efd5eafd user-accounts: prefill domain entry
If we already have any configured realm, prefill one.

https://bugzilla.gnome.org/show_bug.cgi?id=711675
2014-08-09 14:33:16 +02:00
Ondrej Holy
608fa9609c user-accounts: fix enterprise toggle
Enterprise toggle isn't shown due to header bar buttons. Don't add
the toggle in to the dialog action area to fix the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=734422
2014-08-09 14:33:12 +02:00
Ondrej Holy
08a00388be user-accounts: fix warning caused by invalid signal 2014-08-07 11:55:43 +02:00
Yosef Or Boczko
5a8a96dcbb user-accounts: Use header bar in the account dialog
https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:18 +03:00
Ondrej Holy
a53905f030 user-accounts: don't append period at the end of sentence
The period is appended at the end of sentences after there are
translated. However some languages might not use periods at the
end of sentences. This patch changes the texts directly.
2014-04-25 13:05:56 +02:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Rui Matos
3b485b6df2 user-accounts: Don't leak a dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:03 +02:00
Ondrej Holy
60e1999618 user-accounts: add password generation to the add user dialog
https://bugzilla.gnome.org/show_bug.cgi?id=706067
2013-08-16 23:08:44 +02:00
Ondrej Holy
12da80928e user-accounts: let realmd prefil the DHCP domain if it's joinable
https://bugzilla.gnome.org/show_bug.cgi?id=704407
2013-08-16 22:47:18 +02:00
Ondrej Holy
cb056263fd user-accounts: Hint improvements when adding enterprise accounts
Add domain hint and change error messages.

https://bugzilla.gnome.org/show_bug.cgi?id=704407
2013-08-16 22:24:19 +02:00
Ondrej Holy
a4bac32271 user-accounts: move strength meter below in the add user dialog
Remove strength hint, add verify hint, change labels and replace domain spinner
by dialog spinner.

https://bugzilla.gnome.org/show_bug.cgi?id=704407
2013-08-16 22:24:05 +02:00
Stef Walter
7ae6814784 user-accounts: Validate dialog immediately when enter is pressed
This allows users to touch type passwords, press <ENTER> without
waiting for the pasword timeout to clear.

https://bugzilla.gnome.org/show_bug.cgi?id=702476
2013-08-16 21:56:29 +02:00
Stef Walter
7b3746af23 user-accounts: Don't disable the verify password entry
This completely breaks pressing <TAB> to get to the next
control in the dialog, especially when immediately typing
a password.

https://bugzilla.gnome.org/show_bug.cgi?id=702476
2013-08-16 21:56:29 +02:00
Ondrej Holy
af691e6122 user-accounts: add positive confirmation to the add user dialog
Add checkmarks, remove exclam icons and decrese timeout (by design).

https://bugzilla.gnome.org/show_bug.cgi?id=702476
2013-08-16 21:56:29 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stef Walter
3aab3eb358 user-accounts: Update for realmd DBus interface changes
* DBus interface was reviewed and there were several things added
   to make it more generic and useful for other realm types.
 * Use ObjectManager to track objects in realmd. This facilitates
   using realmd with the way it now uses multiple interfaces
   on objects.

https://bugzilla.gnome.org/show_bug.cgi?id=682185
2012-08-20 12:11:22 +02:00
Stef Walter
4e67ecc456 user-accounts: Cleanup GVariant usage
* Don't call g_variant_ref_sink() unnecessarily.
 * Don't call g_variant_new_variant() unnecessarily.

https://bugzilla.gnome.org/show_bug.cgi?id=680892
2012-08-08 14:24:19 +02:00
Matthias Clasen
9db6b3c5f5 Trivial: fix a typo 2012-08-07 09:58:29 -04:00
Stef Walter
1f4aeb1d05 user-panel: Update to new DBus interface for realmd 0.6
* In particular support of different credential methods and better
   hints for different owners of those credentials, so we can prompt
   more cleanly.
 * Less abstraction in the realmd interfaces

https://bugzilla.gnome.org/show_bug.cgi?id=680892
2012-08-06 19:13:34 +02:00
Stef Walter
fb6833e57a user-panel: Strip remote dbus error before showing error
* GDBus transfers dbus error codes in the error->message so strip that
   out before display

https://bugzilla.gnome.org/show_bug.cgi?id=680889
2012-08-02 10:06:19 +02:00
Rico Tzschichholz
f2df6d7fbb user-accounts: Fix build with -Werror=format-security 2012-07-03 13:54:38 +02:00
Stef Walter
973adfa43b user-accounts: Update the realmd dbus interface to latest
The changes in the realmd dbus interface are futureproofing to
support cancellation.

In addition during this time of interface flux, check the
daemon version number to make sure we can talk to it.

https://bugzilla.gnome.org/show_bug.cgi?id=678105
2012-06-22 16:29:51 +02:00
Stef Walter
2589fcfb19 user-accounts: Properly fill the join prompt dialog
When prompting users for administrative domain credentials,
correctly fill the dialog the first time the prompt is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=677954
2012-06-13 13:06:55 +02:00
Stef Walter
4bb0739670 user-accounts: Implement enterprise logins in add dialog
* Use realmd for domain joining and lookup, runtime dependency
 * Validate join domain correctly
 * Add UmRealmManager for handling some stuff above the autogenerated
   realmd dbus code
 * Show a dialog if the user's credentials cannot be used to join
   the domain. Prompt for admin creds.
 * Register the user's login with the AccountsService
 * This depends on the CacheUser() method of AccountsService

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:31:48 +02:00
Stef Walter
228347e713 user-accounts: Add way to change modes
Add the buttons to switch between the local account and
enterprise modes.

The enterprise area just has a place holder widget for now.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:27:21 +02:00
Stef Walter
3a7ee1bff9 user-accounts: Cleaner validation and validate on open
Clean up the validation so we can plug in the enterprise
login stuff.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
67066255ba user-accounts: Separate local account stuff in accounts dialog
Separate the local account stuff a bit so when the enterprise
stuff comes in it's still readable.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
2e0623e7d5 user-accounts: Title of accounts dialog becomes "Add Account"
This title makes sense for both remote and local users. In the
case of remote users we're not creating accounts, we're just
adding them to the system.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
2a545187da user-accounts: Show a spinner during account dialog actions
During actions which can run a long time show a spinner
indicating that something is going on.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00