Commit graph

205 commits

Author SHA1 Message Date
Michael James Gratton
8f00a51b13 Replace Yorba links with GNOME links, remove donate menu, update dpkg blurb.
Thanks for all the fish, Yorba.

Bug 765656.
2016-05-05 07:49:27 -04:00
Michael James Gratton
119f939ec8 Enable use of GtkTemplate attributes in vala source files.
* src/CMakeLists.txt: Bump target GLib to min required for
  GtkTemplate. Pass resources XML file to valac.

* ui/CMakeLists.txt: Copy both the generated resources XML file and the
  resources themselves to the CMake binary directory, since valac expects
  the UI files to be in the same directory as the resource XML.

* debian/control: Chase GLib version bump.
2016-04-09 17:30:29 -04:00
Michael James Gratton
2a6120ba49 Generate GResource source code, add it to the build. 2016-04-09 17:30:29 -04:00
Michael James Gratton
298fa60d1f Remove unused message.glade UI file and references to it. 2016-04-09 17:30:29 -04:00
Robert Schroll
bbfa2c6308 Remove references to toolbar_menu.ui
https://bugzilla.gnome.org/show_bug.cgi?id=746504
2015-03-20 19:21:24 -04:00
Robert Schroll
98be06db89 Avoid critical errors when creating multiple application menus
First, create a composer action corresponding to the app menu, instead
of reusing the one from the controller.  Second, create the menu from a
MenuModel, instead of from a UIManager, so we can have many of them.

https://bugzilla.gnome.org/show_bug.cgi?id=746504
2015-03-20 18:50:31 -04:00
Jim Nelson
57dec8cdba Disambiguate composer strings with gettext context: Bug #746076 2015-03-12 11:54:42 -07:00
Robert Schroll
36f316868a Provide custom close-and-save and close-and-discard buttons for composer
This ensures that we only have a single close button for the main window
at any time, and it always closes the whole application.  The composer
gets a default close button only when detached.
2015-03-11 18:15:30 -04:00
Yosef Or Boczko
244c197c15 Mark another string as translatable 2015-03-11 02:35:07 +02:00
Robert Schroll
4139076509 Allow changing orientation of left paned
The orientation is set in the preferences dialog.  There are new
configuration keys to track the pane positions, and a bit of code that
will set them the first time based on the current settings.

https://bugzilla.gnome.org/show_bug.cgi?id=714793
2015-03-10 19:08:59 -04:00
Charles Lindsay
12704542b3 Support multiple ("alternate") email addresses per acct: Bug #714922
If the server supports sending and receiving messages from additional
email addresses, those addresses can now be added to Geary.  It will
allow the user to send new messages and replies from those additional
addresses and recognizes them as "Me" in the conversation list.
2015-03-04 17:26:44 -08:00
Robert Schroll
0400e431a0 Use symbolic close button on find bar
https://bugzilla.gnome.org/show_bug.cgi?id=744924
2015-02-24 21:19:43 -05:00
Jim Nelson
acd3f092a7 Better Preferences text for running in background: Bug #742244 2015-02-13 17:27:02 -08:00
Robert Schroll
c87bbea3ab Allow HTML signatures
We search for HTML-like tags in signatures, and don't do much as much
escaping if we find one.  For .signature files detected to be HTML, we
insert them without any change.  User-entered signatures get their
whitespace protected, even when HTML is detected. The existing code for
preserving whitespace doesn't work when there's already HTML code in the
text (it converts "<a b>" to "<a&nbsp;b>"), so instead we preserve the
whitespace with CSS.

A preview of the signature is added to the the UI.  There's a TextView
and a WebView in a Stack, and we swap between them with a StackSwitcher.
Some of the packing details are changed so that these views are the
thing that expands when the dialog size changes.

https://bugzilla.gnome.org/show_bug.cgi?id=738895
2015-01-29 17:27:26 -05:00
Robert Schroll
45a67f5740 Add accelerators to composer toolbar
https://bugzilla.gnome.org/show_bug.cgi?id=741731
2015-01-26 21:36:58 -05:00
Jim Nelson
260436e92c Empty Trash and Empty Spam: Bug #714809, Bug #725260
Trash and Spam folders may now be emptied by Geary.  A user warning is
presented, as the operation cannot be undone and deletes mail on the
server, not just locally.
2015-01-13 13:48:16 -08:00
Michael Catanzaro
920b6720c0 App menu: remove separator between About and Quit
The HIG state that there should be no separator here.
2014-12-28 10:49:47 -06:00
Robert Schroll
80ed83ab74 Remove Ctrl-R shortcut for color in composer
https://bugzilla.gnome.org/show_bug.cgi?id=741628
2014-12-19 00:41:00 -05:00
Robert Schroll
77372bb254 Add Ctrl-D shortcut to detach composer
https://bugzilla.gnome.org/show_bug.cgi?id=741574
2014-12-19 00:40:47 -05:00
Jim Nelson
23511dc36c Periodic database & attachments garbage collection: Bug #714134
See the ticket (comment #2) for more information on the thinking and
strategy here, but in a nutshell this will remove from the Geary
database all emails no longer accessible via any folder and not seen
on the server in over 30 days.  It also deletes those messages
attachment(s) and removes any empty directories in the attachment/
directory to prevent clutter.  If enough messages are garbage
collected, Geary will vacuum the database at startup, which will
lower its disk footprint and reduce fragmentation, potentially
increasing performance.
2014-12-18 17:00:47 -08:00
Georges Basile Stavracas Neto
b7f989685b Use GtkHeaderBar for Accounts & Prefs dialogs: Bug #741240 2014-12-08 15:18:34 -08:00
mar-v-in
108d0abe4c Specify "Reply-To:" in composer fields: Bug #714588
This also closes bug #713808, as lesser-used fields (Reply-To, Bcc)
are hidden unless the user expands the composer to show them.  Right
now that is an option in the composer's toolbar menu; that may change
in the future if we can find the right place to put the widgetry.
2014-11-04 14:44:05 -08:00
Jim Nelson
ad546ccd8e Password dialog improvements
In addition to changes in prior three commits, this updates the
password prompt UI to closer match the new GNOME HIG.  It uses
dim-label labels and suggested-action for the OK button, whose text
is changed to "Authenticate".  It also cleans up the inter-widget
spacing, which was a bit excessive.
2014-10-28 17:01:52 -07:00
Jim Nelson
809128692c Present user with dialog when TLS cert warnings detected: Bug #713247
When a TLS certificate warning is detected, the user will now be
presented with a warning dialog presenting them with three options:
Trust This Server, Always Trust This Server, and Don't Trust This
Server (the default).  The user must select one of the first two
buttons for Geary to continue connecting to the server, otherwise it
will close the Account object for the duration of the application
session.

This patch introduces a dependency on gcr-3, which is used to pin TLS
certificates (i.e. persist the user's choice of ignoring the TLS
warnings).
2014-08-28 17:27:50 -07:00
Jim Nelson
0cd85446fa Use "dim-label" style and remove colons in composer
Use new GNOME style guidelines in composer widget.
2014-08-04 13:46:18 -07:00
Robert Schroll
bc29652175 New detach icon for inline composer
https://bugzilla.gnome.org/show_bug.cgi?id=733370
2014-07-19 17:17:23 -04:00
Robert Schroll
221d8f7400 Use HeaderBars for composers
Move the buttons from the bottom of the composer into the header.  The
draft save text is moved into the composer toolbar, for lack of a better
location.  When it's inline, we insert our own close button, so we can
control what it does.  When it's detached (and not using Unity), we
enable to default close button.

https://bugzilla.gnome.org/show_bug.cgi?id=731537
2014-07-18 12:05:24 -04:00
Mohamed Ibrahim
6783c2ce63 Start notifying of new mail at session startup: Bug #714644
Geary can now be configured to notify of new mail at startup.  When
the user logs in, Geary will autostart with a hidden window and
notify of new mail as usual.  When Geary is formally executed by
the user the Geary window simply appears.

In this mode, if the user closes the window Geary will return to its
hidden state.  Quit must be used to close the process.
2014-06-26 13:31:43 -07:00
Robert Schroll
39ef136065 Separate the pill-style Toolbar from the pill-style HeaderBar
The composer toolbar uses the former, while the main window header uses
the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=730903
2014-06-03 20:43:01 -04:00
Wolfgang Steitz
14a6fe0acc Final touches to bug #730708 (padding in Accounts dialog) 2014-06-03 15:12:44 -07:00
Gustavo Rubio
c5228fd777 Allow user to specify signature for new messages: Bug #712895
User may now add a brief signature in the Accounts manager for
each account.  When starting a new message or replying, the signature
is prepended to the edit text.
2014-05-29 15:49:04 -07:00
Jim Nelson
9741f64872 Configure saving drafts on/off per account: Bug #726728
Saving drafts may not be configured per-account.  This is to assist
users who (a) are using Gmail clients that include trashed messages
in their conversations (which is where Geary's drafts wind up when
discarded) or (b) Gmail users where, for unexplained reasons, Geary
can't expunge their draft messages (bug #729136).
2014-05-27 18:41:43 -07:00
Wolfgang Steitz
ba2da59d51 Accounts dialog: Right justify, dim labels, no colons: Bug #730708 2014-05-27 14:13:07 -07:00
Yosef Or Boczko
595c8429f9 Added title to the preferences dialog: Closes bgo#730457 2014-05-27 13:52:56 -07:00
Jim Nelson
4233f1acc7 Unmark strings for translation, HIG tooltip change 2014-05-20 18:59:28 -07:00
Robert Schroll
78d1d48366 Work around reply/reply-all bug in compact recipients 2014-05-20 16:30:22 -07:00
Robert Schroll
ccf0b0ad18 Ellipsize long recipient labels in the compact composer 2014-05-20 16:30:22 -07:00
Robert Schroll
3c9ab2bd79 Support different modes for the inline composer
INLINE_NEW: New message, taking up the full view
INLINE: Reply or forward, with editable recipients
INLINE_COMPACT: Reply, without editable recipients

Note that the only allowed paths are
  INLINE_COMPACT -> INLINE -> DETACHED
  INLINE_NEW -> DETACHED
2014-05-20 16:30:22 -07:00
Robert Schroll
28eb213736 Don't focus on the detach button on click
This way, we can maintain the selection when detaching the composer.
2014-05-20 16:30:22 -07:00
Robert Schroll
a49cf8821f Hide attachment widgets when no attachments
This saves a bit of space.
2014-05-20 16:30:22 -07:00
Robert Schroll
94c15bd461 Compact header for inline replies 2014-05-20 16:30:22 -07:00
Robert Schroll
35e3cdfd9b Move detach button to bottom of compose widget
Also, remove the embed toolbar at the top.

Note that the focus is stolen by the detach button when it's clicked, so
we can't re-establish it in the window.  Instead, we use the existing
set_focus() method to put in a (hopefully) appropriate place.
2014-05-20 16:30:22 -07:00
Charles Lindsay
512553cfea Correct default SMTP port to the submission port
Closes: bgo #726296
2014-03-13 18:30:16 -07:00
Jim Nelson
5857d02f23 Symbolic icon for Remove Account? warning dialog: Closes bgo#726279 2014-03-13 16:26:59 -07:00
Charles Lindsay
479f87e2ca Default to STARTTLS in SMTP
Closes: bgo #714882
2014-03-12 16:36:09 -07:00
Charles Lindsay
49f4db0774 Add "use imap credentials" option to "other" acct
This adds a "use imap credentials" checkbox to the "other" account
creation dialog.

Closes: bgo #721964
2014-02-27 12:27:50 -08:00
Charles Lindsay
7e1e968b61 Add mnemonics to composer fields
Closes: bgo #713843
2014-02-25 12:01:35 -08:00
Jim Nelson
28c7eba17d Can't press A or Delete to archive/trash message: Closes bgo#721789
If compiled with the GDK binding fix in Vala 0.23.2 (bgo#713240), this
patch fixes the accelerator problem.

Tip o' the hat to Charles, who pointed out the accelerators.ui file.
2014-02-04 18:42:44 -08:00
Charles Lindsay
cce04b814f Add option to save sent mail
This adds the ability for Geary to push sent mail up to the account's
Sent Mail folder (if available).  There's an accompanying account option
that defaults to on (meaning: push sent mail).

The current implementation will leave messages in the Outbox (though
they won't be sent again) if they fail to be pushed to Sent Mail.  This
isn't the best solution, but it at least means you have a way of seeing
the problem and hopefully copying the data elsewhere manually if you
need to save it.

Note that Geary might not always recognize an account's Sent Mail
folder.  This is the case for any "Other" accounts that don't support
the "special use" or "xlist" IMAP extensions.  In this case, Geary will
either throw an error and leave messages in the Outbox, or erase the
message from the Outbox when it's sent, depending on the value of the
account's save sent mail option.  Better support for detecting the Sent
Mail folder in every case is coming soon.

Closes: bgo #713263
2014-01-29 18:18:31 -08:00
William Jon McCann
657dce51fe Clean up the password dialog
* Remove details section
* Fix plural problem
* Remove unnecessary labels
* Only allow to prompt for one password at a time, which was true in
  practice already, but the code is cleaner making that a requirement

Closes: bgo #720779
2014-01-13 13:58:55 -08:00