aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-settings.c
Commit message (Collapse)AuthorAgeFilesLines
* account-settings: early return if SASL earlierGuillaume Desmottes2013-01-081-6/+6
| | | | | | | | | | We should update the URI schemes and service even if the account uses SASL, so it has to be done *before* the early return. I did not hit this bug before as the only CM on which we use URI schemes (rakia) was not implementing SASL channel when I implemented this feature. https://bugzilla.gnome.org/show_bug.cgi?id=691195
* include telepathy-glib.hGuillaume Desmottes2012-09-171-5/+0
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* account-settings: always save the password into the password storageGuillaume Desmottes2012-09-071-7/+2
| | | | This ensures that the password is stored with the proper 'remember' value.
* Remember password at least until session restartXavier Claessens2012-08-271-2/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680776
* add empathy_account_settings_set_storage_provider()Guillaume Desmottes2012-07-191-0/+18
|
* remove MC password migration codeGuillaume Desmottes2012-07-171-76/+0
| | | | | | | | | We are shipping this since a bunch of releases so all passwords should be migrated since a while. Furthemore, it may cause issues when the password has been updated in Empathy but not MC. https://bugzilla.gnome.org/show_bug.cgi?id=677180
* Use new tp_account_* gettersGuillaume Desmottes2012-07-161-2/+2
|
* empathy_account_settings_migrate_password_cb: use the vardict APIGuillaume Desmottes2012-06-071-6/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677545
* account-settings: always use GVariant to store parametersGuillaume Desmottes2012-06-071-148/+151
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677545
* remove empathy_account_settings_set_* functionsGuillaume Desmottes2012-06-071-97/+7
| | | | | | | | They don't buy us much so let's just pass the GVariant directly. Fix some string leaks in empathy-account-widget-irc.c as well. https://bugzilla.gnome.org/show_bug.cgi?id=677545
* accounts-settings: store parameters as GVariantGuillaume Desmottes2012-06-071-26/+68
| | | | | | | This patch introduces a GValue leak. I'm going to fix it when switching the rest of this code to GVariant but I prefer to keep patches smaller. https://bugzilla.gnome.org/show_bug.cgi?id=677545
* make empathy_account_settings_get() staticGuillaume Desmottes2012-06-071-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677545
* account-settings: use TpConnectionManager accessorsGuillaume Desmottes2012-06-071-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677545
* use TpAccountRequestGuillaume Desmottes2012-06-061-63/+28
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676634
* account-settings: use TpProtocol's API to get TpConnectionManagerParamGuillaume Desmottes2012-06-061-30/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677465
* empathy_account_settings_check_readyness: use the existing TpProtocol to ↵Guillaume Desmottes2012-06-061-25/+21
| | | | | | | | list params No need to request another one. https://bugzilla.gnome.org/show_bug.cgi?id=677465
* empathy_account_settings_get_tp_protocol: return a TpProtocolGuillaume Desmottes2012-06-061-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677465
* add missing config.hGuillaume Desmottes2012-02-071-0/+1
| | | | Need to disable GLib deprecation warnings.
* account-settings: allow to change the serviceGuillaume Desmottes2012-01-131-0/+44
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=667791
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-3/+3
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-1/+1
| | | | No more ugly marshallers \o/
* Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-191-2/+2
|
* export empathy_account_has_uri_scheme_tel()Guillaume Desmottes2011-08-291-22/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* account-settings: add API to set 'tel' in the URISchemes property of the accountGuillaume Desmottes2011-08-241-0/+65
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657220
* add empathy_account_settings_param_is_supported()Guillaume Desmottes2011-05-231-0/+9
|
* Revert "-Fix use of include <config.h> to make sure translations work"Guillaume Desmottes2011-04-041-3/+0
| | | | | | This reverts commit f0f99ffaa08240fbb72d7eed198368fd22fe4c47. Sorry, I didn't mean to push that...
* -Fix use of include <config.h> to make sure translations workKjartan Maraas2011-04-041-0/+3
|
* Only add the 'extra-certificate-identities' parameter if gabble supports it.Stef Walter2011-03-221-0/+7
|
* save the password before trying to connect the new account (#643690)Guillaume Desmottes2011-03-171-0/+16
|
* Prevent segv attempting to free uninitialised value.Danielle Madeley2011-02-211-1/+1
|
* empathy_account_settings_check_readyness: don't leak a ref on managerGuillaume Desmottes2011-02-171-1/+1
|
* only try reconnecting accounts if needed (#642358)Guillaume Desmottes2011-02-161-1/+15
|
* account-settings: cope with g_regex_new returning NULLGuillaume Desmottes2011-02-101-1/+9
|
* keyring: rename current functions to be more specifically about account ↵Jonny Lamb2011-01-281-8/+8
| | | | | | passwords Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* rename EmpathyIdle to EmpathyPresenceManager (#640532)Guillaume Desmottes2011-01-251-5/+6
| | | | It's doing more than idle management now.
* account-settings: only remove the MC password param if set in the keyring OKJonny Lamb2010-12-221-12/+30
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: use tp_account_get_path_suffixJonny Lamb2010-12-221-5/+3
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: add a comment saying what to remove when purging migration ↵Jonny Lamb2010-12-221-1/+2
| | | | | | code Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: move the migration code to another functionJonny Lamb2010-12-221-45/+54
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: migrate passwords from MC to gk ourselvesJonny Lamb2010-12-221-0/+47
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: use tp_clear_object in disposeJonny Lamb2010-12-151-19/+5
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: add _supports_sasl functionJonny Lamb2010-12-101-0/+8
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: don't block notify::ready on getting a passwordJonny Lamb2010-12-101-6/+19
| | | | | | | | The account widget acts a little more synchronously, so we can't wait for the keyring to give us the password. We can signal later about it though. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: don't call TpAccount functions if we've not created it yetJonny Lamb2010-12-081-3/+9
| | | | | | We're creating the account so the account isn't around yet. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: add support for saving the password in the keyring ourselvesJonny Lamb2010-12-081-3/+161
| | | | | | Only do this if the CM supports popping up SASL-enabled auth channels. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: store the TpProtocol object and notify::ready when it's ↵Jonny Lamb2010-12-081-3/+47
| | | | | | prepared Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Merge branch 'external-accounts'Danielle Madeley2010-10-181-2/+7
|\
| * Access Account.I.Storage properties via TpAccountDanielle Madeley2010-10-081-2/+7
| |
| * Revert changes to empathy-account-settingsDanielle Madeley2010-10-081-92/+0
| |
| * Support Account.Interface.StorageDanielle Madeley2010-10-081-0/+92
| | | | | | | | Also support org.moblin.libsocialweb for Meego
* | Check format of some user names (#629261)Vitaly Minko2010-10-141-22/+84
|/
* empathy_account_settings_set_*: check argumentsGuillaume Desmottes2010-10-011-0/+20
|
* Allow to set the Service of newly created account (#629734)Guillaume Desmottes2010-09-291-0/+32
|
* empathy_account_settings_set_strv: we have to copy the key (#630168)Guillaume Desmottes2010-09-201-1/+1
|
* Add support for 'as' in account settingsNicolas Dufresne2010-09-091-0/+26
|
* libempathy/empathy-account-settings.c: use tp_g_signal_connect_object ↵Guillaume Desmottes2010-04-091-2/+2
| | | | instead of empathy_signal_connect_weak
* empathy_account_settings_set_display_name_async: don't do anything if not neededGuillaume Desmottes2010-03-031-0/+7
|
* empathy_account_settings_has_account: cope with priv->account being NULLGuillaume Desmottes2010-02-241-0/+3
| | | | | priv->account is not garantee to be set so empathy_account_settings_has_account shouldn't assume it is (#610942).
* Separate the accounts dialog into its own program which works with the Gnome ↵Travis Reitter2010-02-121-1/+6
| | | | | | | | preferences and control center. Where available, this also supports embedding the preferences dialog in the "extensible-shell" control center (currently in development, but likely to be mainlined soon).
* account-settings: use empathy_signal_connect_weak to connect the ready ↵Guillaume Desmottes2009-12-261-2/+2
| | | | | | | signal on managers If for some reason this signal is fired after the settings has been destroyed, we shouldn't crash.
* add empathy_account_settings_get_tp_protocolGuillaume Desmottes2009-12-221-0/+8
|
* all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-4/+14
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-settings: port to new tp-glib account APIJonny Lamb2009-10-241-73/+73
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-account-settings.c: fix uint comparaisonGuillaume Desmottes2009-10-221-4/+4
|
* empathy-account-settings: fix CLAMP usageGuillaume Desmottes2009-10-221-7/+9
| | | | | CLAMP syntax is (x, low, high), not (low, x, high). Also add some cast to fix compiler warnings.
* empathy_account_settings_get_tp_params: don't raise an error if tp_protocol ↵Guillaume Desmottes2009-10-191-1/+9
| | | | is NULL
* empathy-account-settings: don't cache the TpConnectionManagerProtocolGuillaume Desmottes2009-10-191-6/+12
| | | | | | The result of tp_connection_manager_get_protocol isn't garanteed to be valid after the main loop re-entered. We can't cache it in the account settings and so have to request it each time we need it.
* Plug some leaksCosimo Cecchi2009-09-141-0/+3
|
* empathy_account_settings_get_uint32: check if empathy_account_settings_get ↵Guillaume Desmottes2009-09-091-0/+2
| | | | returned NULL (#594653)
* Fix a long lineCosimo Cecchi2009-08-311-1/+2
|
* Use empathy_protocol_icon_name()Cosimo Cecchi2009-08-311-1/+1
|
* Always set the icon name on account creation.Cosimo Cecchi2009-08-311-5/+2
|
* Implement setting icon name to the account and to the settings.Cosimo Cecchi2009-08-311-2/+79
|
* Don't override the display_name when creating the accountSjoerd Simons2009-08-241-6/+0
|
* Fix some leaks in _settings_discardSjoerd Simons2009-08-231-13/+13
| | | | | Prevent leaking the unset parameter names when unsetting the array. Also use it as a general utility function in other parts of the code
* If the parameter wasn't known return NULL for the dbus signatureSjoerd Simons2009-08-231-0/+3
|
* First part of an overhaul of the accounts dialogJonathan Tellier2009-08-221-10/+39
|
* Fix long lineCosimo Cecchi2009-08-221-1/+2
|
* Remove the parameters from the unset pool when we set them againCosimo Cecchi2009-08-221-1/+35
|
* Let the cached parameters asv own the key stringsSjoerd Simons2009-08-211-7/+9
|
* Use g_strdup instead of casting a const gchar* to a gchar*.Xavier Claessens2009-08-211-1/+1
|
* Set the RequestedPresence when creating a new commandSjoerd Simons2009-08-211-1/+36
| | | | | | When we create a new account set the initial value of RequestedPresence to the global requested presence, but don't enable it by default. This will cause its requested presence to always be in sync with the rest of empathy.
* Cache the icon inside EmpathyAccountSettingsSjoerd Simons2009-08-191-7/+9
| | | | | | At some point we should set the Icon property in the account manager, for now just cache it in the settings so we can pass it by reference instead of needing to dup it as that's the API we want to have in the future
* Get the DisplayName when the account is readySjoerd Simons2009-08-181-5/+8
|
* Rename empathy_settings_get_dbus_signature to ↵Sjoerd Simons2009-08-181-1/+1
| | | | empathy_account_settings_get_dbus_signature
* Removed dead codeSjoerd Simons2009-08-171-10/+0
|
* Merge branch 'sjoerd-mc5' into mc5Cosimo Cecchi2009-08-011-15/+18
|\ | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c libempathy-gtk/empathy-protocol-chooser.c
| * Fix some coding style issuesSjoerd Simons2009-07-311-15/+18
| |
* | Make protocol icons work also with account == NULLCosimo Cecchi2009-07-311-2/+5
| |
* | Ignore default value for required paramsCosimo Cecchi2009-07-301-4/+0
| | | | | | | | | | | | | | | | Parameters should never have both the default and the required flags set, as required means the user has to fill in a value. When this happens anyway, the default dlag should be ignored, so we can avoid looking up the default value when checking for an account settings' validity.
* | Rename empathy_account_settings_owns_account()Cosimo Cecchi2009-07-301-1/+1
| | | | | | | | Call it empathy_account_settings_has_account() instead
* | Add empathy_account_settings_is_valid ()Cosimo Cecchi2009-07-301-0/+60
| |
* | Add empathy_account_settings_owns_account()Cosimo Cecchi2009-07-301-0/+14
| |
* | Implement _set_display_nameCosimo Cecchi2009-07-301-0/+46
|/
* Add an abstraction to buffer up changes to an accountSjoerd Simons2009-07-221-0/+964