Commit graph

1615 commits

Author SHA1 Message Date
Charles Lindsay
0f6e76edb3 Validate contact emails before adding
Also updates the DB to filter out existing invalid contacts.

Closes: bgo #713932
2014-02-21 15:00:57 -08:00
Wolfgang Steitz
3e34b9980a Saving/Saved text too light w/ Adwaita: Closes bgo#724747 2014-02-21 12:30:50 -08:00
Jakob Unterwurzacher
1cbd39bb63 Garbled email addresses in conversation view: Closes bgo#713060
Technically broken (unencoded dot!) "From:" addresses like
=?utf-8?Q?WestLicht.=20Schauplatz=20f=C3=BCr=20Fotografie?= <info@westlicht.com>
were not decoded in Geary's conversation viewer.

Other clients like Gmail and Thunderbird handle the
brokenness, and we should too.

This also closes bgo#714339, "subject contains garbled UTF-8
characters".

https://bugzilla.gnome.org/show_bug.cgi?id=713060
https://bugzilla.gnome.org/show_bug.cgi?id=714339
2014-02-20 15:15:06 -08:00
Marek Černocký
9b099ab34a Updated Czech translation 2014-02-20 23:11:09 +01:00
Jim Nelson
4caaa3a32d Respect \NonExistent mailbox attribute: Closes bgo#724703 2014-02-20 12:53:52 -08:00
Michael Gratton
042c661e7f Fixes bgo #724709 "Unable to enter IDLE" from Dovecot server 2014-02-20 12:48:36 -08:00
Charles Lindsay
cb36fa5176 Hack around double Content-Type header GMime bug
GMime has a bug where if you remove a header from a freshly parsed
message, it'll add a second Content-Type header.

See https://bugzilla.gnome.org/show_bug.cgi?id=724702.

Closes: bgo #724329
2014-02-18 16:35:59 -08:00
Robert Schroll
641856983e Better styling of collapsed quotes: Refs bgo#724342
Removes the padding between the blockquote and the expander button.
Widens it closer to the width of the block.
2014-02-18 13:51:38 -08:00
Jim Nelson
c0f4a806ec Background synchronizer now works on MinimalFolders: Closes bgo#724378
Background synchronizer was keyed to work on ImapEngine.GenericFolders
which are no longer the most basic IMAP folder in the system.  This
prevented the account synchronizer from doing any work at all.
2014-02-17 16:23:03 -08:00
Charles Lindsay
cca339c4f3 Fix support for gmail drafts
Closes: bgo #724395
2014-02-17 16:18:01 -08:00
Yosef Or Boczko
5cba0fd283 Updated Hebrew translation 2014-02-15 21:24:58 +02:00
Piotr Drąg
df489d7461 Updated Polish translation 2014-02-15 19:34:01 +01:00
Aurimas Černius
ccc503fa03 Updated Lithuanian translation 2014-02-15 19:47:46 +02:00
Charles Lindsay
7b6bc3dfb9 Bump version, add news 2014-02-14 16:36:25 -08:00
Charles Lindsay
4dc5d28c58 Fix wrong internaldate_time_t column
We had a bug in our DateTime to time_t conversion logic where all
time_ts would end up in the year 3800.  This fixes that, and repopulates
the internaldate_time_t column with the new, correct time_t values.

Closes: bgo #724335
2014-02-14 16:06:10 -08:00
Charles Lindsay
aca1e53984 Remove folders locally that were removed on server
Closes: bgo #714357
2014-02-14 16:03:19 -08:00
Jim Nelson
983c48eacf Escape markup in conversation list: Closes bgo#724327 2014-02-14 15:05:02 -08:00
Charles Lindsay
88a27b4e13 Add some values to the storage option dropdown
Closes: bgo #722807
2014-02-14 14:30:29 -08:00
Charles Lindsay
48944449a2 Allow from:me/to:me/etc. in search box
This simply replaces the "me" with your email address.  Highlighting
follows suit.

Closes: bgo #720875
2014-02-14 12:53:10 -08:00
Yosef Or Boczko
230c5ffaf2 Updated Hebrew translation 2014-02-14 02:46:04 +02:00
Robert Schroll
bc71300f38 New behavior for hiding quoted text
In their hidden state, quotes will be limited in length, with a link to
extend them.  Only long quotes will be hidden; short ones will be
displayed in their entirety.  Note that the threshold for hiding a quote
is larger than the size of the hidden quote.  This ensures that there
will always be a noticable expansion of a quote when it is shown.  (This
also accounts for the fact that the height we measure includes padding.)

We can only measure the size of a quote once it is actually shown as
part of the document.  Notably, we can't figure out the sizes of quotes
in hidden emails.  Therefore, we also decide which quotes in an email
need to be hidden when the email is unhidden.  However, showing and then
hiding quotes can lead to content flashing, so we start all quotes off
in the hidden state, and remove this if they turn out to be short
enough.
2014-02-13 16:30:14 -08:00
Wolfgang Steitz
310df30ee7 Symbolic icons in sidebar rendered selection color: Refs bgo#720771 2014-02-13 16:00:52 -08:00
Robert Schroll
0ce9068307 Prevent positioned elems in HTML mail escaping body: Closes bgo#724270 2014-02-13 15:01:17 -08:00
Marek Černocký
dcaadc0774 Updated Czech translation 2014-02-13 22:23:07 +01:00
Wolfgang Steitz
01dfbc0779 Use sym. icons for read/unread starred/unstarred mail: Refs bgo#720771 2014-02-12 15:01:05 -08:00
Robert Schroll
0e08a819da Avoid extra empty lines in plain quoted text: Closes bgo#723815
Blank lines appear unpredictably in blockquoted text, but would
like to avoid displaying them.
2014-02-12 11:52:18 -08:00
Piotr Drąg
cdcb89b62c Updated Polish translation 2014-02-12 01:43:41 +01:00
Charles Lindsay
4552757994 Better special folder detection/creation
This looks for some translatable common names for special folders like
Sent Mail, Drafts, Spam and Trash, instead of only relying on the
server's special-use or xlist extensions.  If the server doesn't report
special-use/xlist, we look for common folder names, creating them on the
server if necessary, so we always have folders necessary for tasks like
saving drafts or sent mail.

Closes: bgo #713492
2014-02-11 15:24:01 -08:00
Piotr Drąg
fa0f91e16e Updated Polish translation 2014-02-11 14:46:56 +01:00
Charles Lindsay
7f4a80ce26 Prompt before deleting messages
Closes: bgo #713875
2014-02-10 18:02:07 -08:00
Wolfgang Steitz
7bcdd232b6 Conversation list respects selection palette: Closes bgo#723265
Now when a conversation list element is selected, the text colors
match the theme's selection colors.
2014-02-10 12:00:39 -08:00
Daniel Korostil
be70ceb7e4 Updated Ukranian 2014-02-08 14:51:46 +02:00
Marek Černocký
a7e05d4ac5 Updated Czech translation 2014-02-07 20:05:49 +01:00
Fran Diéguez
a88e443a1c Updated Galician translations 2014-02-07 02:01:17 +01:00
Robert Schroll
8e283cc6b6 Fix regex for restoring quotes in plain text construction
The character following the token is found through a look-ahead, to
avoid consuming the opening of the next token.  (There should be
newlines separating tokens, but in some poorly understood circumstances,
this doesn't happen.)  We don't use a look-behind at the beginning, so
that the second consecutive token doesn't insert a second newline
between the two.  (The first of the pair already gave us one.)

Closes: bgo #723742
2014-02-06 16:40:10 -08:00
Jim Nelson
74ec08e0bd Further fixes to the background flag watcher
The "enabled" property is no longer used, so removing.

If the flag watcher is cancelled (because the folder has been closed),
the watcher was still rescheduling another polling loop.  This patch
prevents that.
2014-02-06 12:00:26 -08:00
Мирослав Николић
2d0ec0f3cc Added Serbian translation 2014-02-05 22:05:27 +01:00
Piotr Drąg
18d2e91646 Updated Polish translation 2014-02-05 19:38:50 +01:00
Piotr Drąg
3767049d7d Updated POTFILES.in 2014-02-05 19:22:54 +01:00
Jim Nelson
dc1445d6f0 Update copyrights to 2014: Closes bgo#722381 2014-02-04 19:01:09 -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
Jim Nelson
35a8a397f1 Fixed revert in last commit
Code was added, not replaced.
2014-02-04 12:08:25 -08:00
Jim Nelson
cf7a3e5815 Second half of revert of toolbar button size: Refs bgo#723578
This code must also remain, as it deals with situations where
spacers are placed before or after the linked buttons.
2014-02-04 12:00:05 -08:00
Jim Nelson
6d7489e81d Toolbar buttons too small: Closes bgo#723578
A partial revert of bgo#713837 (commit:a70d47) which was too
aggressive in removing extra space from toolbar buttons.
2014-02-04 11:18:19 -08:00
Jim Nelson
6833f1eab9 Reduce local delays when new message arrives
In particular, bug #713493 reports this, although this patch doesn't
appear to solve the problem entirely.  However, I have spotted
situations in the past where the Append replay operation caused local
operations to hang.  This is because Append was being treated as a
local operation when, in fact, it's first call is back to the server
to fetch UIDs of the new messages.  Hence, it should be treated as
a remote operation so local operations can run without delay.
2014-02-03 14:08:32 -08:00
Jim Nelson
a91854616a Allow flag watching while synchronizing folder in background
Previously, synchronizing folders caused a jump in CPU, so work was
done to minimize activity.  Optimizations to folder normalization
has reduced the CPU load, so it's okay now to allow flag watching
while the background folder is open.

This is not a substitute for an architected solution: periodic
flag synchronization with folders, not merely when changes in contents
(additions/removals) are detected, but this helps some, especially
with high-traffic folders.
2014-02-03 13:56:43 -08:00
Jim Nelson
70aafd75b8 Further work fixing connection reestablishment logic
More testing of previous changes located two other problems that
this patch fixes.

First, if a connection reestablishment was attempted but the reconnect
failed initially (common if the server is simply unavailable, i.e.
recent Gmail outage) the reestablishment logic halts.  This patch
forces another attempt.

Second, the back-off delay that used to be present in the
conversation monitor (when it handled reestablishment) was missing
in the new code.  This adds it back.
2014-02-03 13:53:48 -08:00
Jim Nelson
ab7ede3ec6 Fix bug in reestablishment logic intro'd in commit 86f1854
One bug in that commit was that only one of two the two conditionals
for entering connection reestablishment was considered when
determining if the Folder should close.  This change now uses both
conditionals.  Without this, it's possible for the remote to fail
to open due to connection error and the Folder to remain open although
reestablishment doesn't occur because there's no remote folder to
establish with.
2014-02-03 13:48:17 -08:00
Jim Nelson
182fb0a91e Better IDLE state handling
OpenMailbox.org doesn't complete transactions when the IDLE state
is entered while commands are outstanding.  One thing I've considered
for a while is only issuing IDLE when no comands are outstanding,
as in some situations the connection state "thrashes" if commands
come in back-to-back.  This commit does just that, only entering
IDLE when no commands are outstanding.
2014-02-03 13:48:17 -08:00
Jim Nelson
7f535b02ec Add LIST RETURN functionality
SPECIAL-USE does not have to return special-use flags, but the
LIST RETURN syntax can force it, which we want.
2014-02-03 13:48:17 -08:00