aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-session.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug 703181 - Asked for password which is never usedDavid Woodhouse2013-06-281-9/+27
| | | | | | | When the SASL mechanism reports that it can try an "empty password", give it the opportunity to do so before we demand that the user provide one. (Patch mostly by mbarnes; thanks)
* EMailSession: Remove get_filter_driver() implementation.Matthew Barnes2013-02-271-61/+0
| | | | | This gets overshadowed by EMailUISession's implementation, which also sets up the filter log file plus much more.
* Move CamelSession.lookup_addressbook() handler to EMailUISession.Matthew Barnes2013-02-271-23/+0
| | | | | Have the new handler call e_mail_ui_session_check_known_address_sync() instead of em_utils_in_addressbook().
* EMailSession: Use camel_session_ref_main_context().Matthew Barnes2013-02-221-1/+3
|
* Incorporate ESourceUOA.Matthew Barnes2013-02-011-8/+51
| | | | | Where we make exceptions for GNOME Online Accounts, so too shall we for Ubuntu Online Accounts.
* Adapt to CamelSession API changes.Matthew Barnes2013-01-131-12/+9
|
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-9/+10
|
* Move CamelSaslXOAuth2 to libemail-engine.Matthew Barnes2012-12-311-0/+6
| | | | | | | | | | | This now uses e_source_get_oauth2_access_token_sync() instead of talking directly to GNOME Online Accounts and therefore no longer has to live in the "online-accounts" module. The "online-accounts" module will be removed in Evolution 3.9.1, when we can require GNOME Online Accounts 3.8. Evolution 3.8 will still support older versions of GNOME Online Accounts, which use OAuth 1.0a tokens for Google authentication.
* e-passwords: Remove unused function parameters.Matthew Barnes2012-12-171-4/+4
|
* Implement and use CamelSession::trust_prompt()Milan Crha2012-12-141-26/+104
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Replace deprecated GLib symbols (as of GLib 2.34.x)Milan Crha2012-11-061-8/+8
|
* mail_session_refresh_cb(): Skip disabled sources.Matthew Barnes2012-11-011-2/+10
|
* Remove e_mail_junk_filter_available().Matthew Barnes2012-10-011-24/+3
| | | | | | | | Because we now check for junk filtering software in configure, junk filtering modules can now safely assume the required junk filtering software is installed. No more having the module installed but not the required software. If this invariant is broken, an error will be shown for each new message received.
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-2/+2
|
* Adapt to CamelService API changes.Matthew Barnes2012-08-131-3/+7
| | | | | | camel_service_get_settings() is now camel_service_ref_settings() and it returns a new CamelSettings reference which the caller must release with g_object_unref().
* Adapt to CamelSession API changes.Matthew Barnes2012-08-121-30/+54
| | | | | | | | | | | | These functions now return new references: camel_session_add_service() camel_session_list_services() These functions have been renamed and also return new references: camel_session_get_service() -> camel_session_ref_service() camel_session_get_service_by_url() -> camel_session_ref_service_by_url()
* Adapt to CamelSession forward_to() changes.Matthew Barnes2012-08-121-164/+188
|
* EMailSession: Minor code rearrangement.Matthew Barnes2012-08-091-23/+23
|
* Rework handling of GOA mail.Matthew Barnes2012-07-161-0/+84
| | | | | | | | | | | | | | | | | | | | Disabling the mail part of an online account through the Control Center panel will now remove the CamelService from the EMailSession in addition to disabling the account/identity/transport ESources, causing it to be delisted from the account list in Preferences. Furthermore, hide the Enabled check box for accounts linked to GOA in Preferences. The collection ESource for these accounts can no longer be disabled through Evolution; all such account manipulation must be done through the Control Center panel. Lastly, display an icon next to accounts linked to GOA in Preferences. * Might be nice to show the actual provider icon instead of the generic Online Accounts icon from the Control Center, but need to think about how best to do that. Don't want a GOA dependency in core Evolution. Maybe ESourceCollection should grow a GIcon property for the online- accounts module in the registry service to set?
* mail_session_add_service(): Make display-name binding one-way.Matthew Barnes2012-07-161-1/+0
| | | | | | | | | | | | | | | | We're leaking CamelService references when we remove a CamelService from a CamelSession. I don't yet know where or how. If we remove a CamelService without finalizing the corresponding ESource, and then add a new CamelService with the same UID, the ESource will have a bidirectional "display-name" binding to multiple CamelService instances. This creates an endless cascade of "notify" signals as soon as any of the bound "display-name" properties change. Until I can fix the leaking CamelService references, make the binding one-way: ESource -> CamelService. This means the ESource's display name is authoritative, and camel_service_set_display_name() MUST NOT be called explicitly or else it will become out-of-sync with the ESource.
* mail_session_add_from_source(): Warn if backend name is unset.Matthew Barnes2012-07-151-4/+1
| | | | Even send-only accounts should have a backend name of "none".
* Bug #548778 - Use original location when replying in Search FolderMilan Crha2012-07-111-1/+1
|
* Bug #677604 - Critical warnings on evolution startMilan Crha2012-07-031-1/+4
|
* Make em_utils_in_addressbook() cancellableDan Vrátil2012-06-141-1/+1
|
* EMailSession: Use e_source_camel_generate_subtype().Matthew Barnes2012-06-061-1/+1
| | | | | | | | | Use e_source_camel_generate_subtype() to register an ESourceCamelNone class based on the newly-registered "none" CamelProvider. e_source_camel_register_types() won't pick up the new provider if it was already called prior to the provider being registered. That might be a bug... I'm not sure yet. The Camel/ESource integration is kinda messy.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-12/+2
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-031-377/+678
|
* Adapt to CamelService API changes.Matthew Barnes2012-05-201-3/+3
| | | | | | em_utils_connect_service_sync() and em_utils_disconnect_service_sync() are no longer needed. CamelService itself now effectively does what these functions were doing.
* Use g_simple_async_result_set_check_cancellable().Matthew Barnes2012-05-131-0/+6
| | | | Always call it immediately after g_simple_async_result_new().
* Bug #672916 - Spam is not detected automaticallyMilan Crha2012-04-021-16/+12
|
* Whitespace cleanups.Matthew Barnes2012-03-031-4/+4
|
* Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works andSrinivasa Ragavan2012-03-031-2/+88
| | | | | the daemon can now start the vfolder storage without bothering much with the UI.
* Bug 668479: Missing transport-only accounts in PreferencesMatthew Barnes2012-01-251-31/+29
| | | | | | | | | | | Evolution kinda sorta supports multiple identities by allowing users to set up so-called "transport-only" accounts by choosing "None" for the account type. Add a CamelStore subclass for those types of accounts so they get added to EMailAccountStore. It's just a stupid hack to keep another stupid hack working, but this should sustain us until we can support multiple identities FOR REAL.
* Coding style and whitespace cleanup.Matthew Barnes2012-01-191-3/+1
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-0/+1969
These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.