No description
Find a file
Michael James Gratton 2a7fca9397 Clean up default filename when saving attachments.
This ensures both inline images are saved using the specified content
filename, if any, and that an extension is attempted to be guessed when
no filename is specified.

Fixes Bug 713999, Bug 712923, Bug 778026.

* src/client/application/geary-controller.vala: Major rework of how
  attachments are saved. Rework how save dialogs are constructed,
  combining common code paths into one constrcutor method. Split up code
  for saving one attachment vs many into two different methods. Ensure
  all code baths ultimately use the same method to do the actual
  saving. Lookup a attachment when saving an inline image and use that
  by default. Get filenames from new Attachment::get_useful_filename
  method that guesses if needed.

* src/client/conversation-viewer/conversation-message.vala
  (ConversationMessage::save_image): Fix name of first param to reflect
  what it actually is.

* src/engine/api/geary-attachment.vala (Attachment): Add
  ::get_safe_filename method that checks the type of both the
  attachment's content and its file name, if any. Will construct an
  appropriate file name if non is given. Add unit tests.

* src/engine/api/geary-email.vala (Email): Add new
  ::get_attachment_by_content_id to lookup attachments by MIME
  content-id. Rename old ::get_attachment method to disambiguate.
2017-02-16 08:44:27 +11:00
bindings Reenable basic deceptive link highlighting. 2017-02-01 00:41:44 +11:00
cmake Report the branch & state rather than last tag in dev version string. 2017-02-07 21:52:48 +11:00
debian Fix failing dev-daily PPA build. 2017-02-09 09:09:26 +11:00
desktop Re-enable spell checking in composer. 2017-02-01 00:41:44 +11:00
help Update Brazilian Portuguese translation 2017-02-06 10:23:53 +00:00
icons Update symbolic icon for 0.12. 2017-02-07 10:55:32 +11:00
po Update Slovak translation 2017-02-12 14:07:55 +00:00
sql Rebuild MessageSearchTable. Database version 25. Bug 772522. 2016-10-22 07:34:30 +11:00
src Clean up default filename when saving attachments. 2017-02-16 08:44:27 +11:00
test Clean up default filename when saving attachments. 2017-02-16 08:44:27 +11:00
ui Tidy up ConversationWebView's CSS a bit. 2017-02-08 00:31:25 +11:00
.gitattributes Fix git archive to not include debian directory 2013-10-03 16:22:04 -07:00
.gitignore Add some git and deb build artefacts to .gitignore 2016-05-13 11:52:24 +10:00
AUTHORS Moving Robert Schroll to AUTHORS file and About box 2013-03-18 18:43:01 -07:00
cmake_uninstall.cmake.in Closes #4982 Closes #4964 Switched to CMake, added an installer/uninstaller 2012-04-23 18:54:26 -07:00
CMakeLists.txt Make build and debian version reflect 0.12 on master. 2017-02-07 21:54:39 +11:00
configure Fix configure whitespace, document VALADOC environment variable. 2017-02-02 15:41:45 +11:00
configure.in Restore configure.in to fix building with Valencia. 2012-07-20 11:41:08 -07:00
COPYING Added COPYING, AUTHORS, and MAINTAINERS files: #3697. 2011-06-06 15:23:04 -07:00
COPYING.icons Remove now-unused mail-spam-symbolic icon. Bug 737862. 2016-07-14 13:06:52 +10:00
COPYING.snowball Basic search table implementation; fix #6766 2013-05-17 15:32:52 -07:00
geary.doap Update desktop resources to be spec compliant & consistent with the wiki. 2016-09-05 12:14:29 +10:00
INSTALL Remove libunique from INSALL command lines, seperate out Unity packages. 2017-02-05 15:28:02 +11:00
Makefile.in Stop cmake warning that we are using an internal target name. 2016-12-26 10:31:02 +10:30
NEWS Fix incorrect date in NEWS 2016-05-17 12:33:01 +10:00
README Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
THANKS Update symbolic icon for 0.12. 2017-02-07 10:55:32 +11:00

    Geary Email Client
    ------------------

  * Introduction

    Geary is an IMAP email client built for the GNOME desktop environment.  It
    allows you to read and send email with a simple, modern interface.

    Visit https://wiki.gnome.org/Apps/Geary to read about the current state of
    Geary's development and to make sure you're running the latest version.


  * Installation & Licensing

    Please consult the INSTALL and COPYING files for more information.


  * Quick Start

    The first time Geary is launched, it will prompt for your account
    information.  Note that your email password is stored securely in the
    Gnome Keyring.

    Geary will then begin downloading messages in your inbox and other
    folders.

  * Contacting Geary Developers

    Geary wiki:                 https://wiki.gnome.org/Apps/Geary

    We also encourage you to join the Geary mailing list.  See
    https://mail.gnome.org/mailman/listinfo/geary-list for details.



    Copyright 2016 Software Freedom Conservancy Inc.