Commit graph

862 commits

Author SHA1 Message Date
Jim Nelson
f31e4f509e Uncomitted built .po files due to .desktop string addition 2013-02-26 19:14:11 -08:00
Jim Nelson
49561bd64a Missed string in .desktop file for translation 2013-02-26 16:47:12 -08:00
Jim Nelson
9cd5873fde New .pot file and updated .po files 2013-02-26 16:21:12 -08:00
Jim Nelson
9c98e95cb4 Final string changes for 0.3 and some copyrights updated 2013-02-26 16:16:20 -08:00
Jim Nelson
a8eb2bce88 "Rich text" -> "Rich Text" as per GNOME HIG 2013-02-26 15:38:50 -08:00
Robert Schroll
bbf9678043 Send plain text in format=flowed: Closes #6379 2013-02-26 15:37:45 -08:00
Robert Schroll
3e4b94de0e Optionally send email in plain text: Closes #3198
The composer can now be switched between rich and plain text mode
using the context menu.
2013-02-26 15:30:47 -08:00
Jim Nelson
5328b3448f Deal with close_async() properly
Background prefetcher introduced open/close counts to allow the
same Folders to be opened and closed by multiple users.  However,
open_count shouldn't be respected when forcing a Folder closed due
to remote error.

This was causing a bug where the connection would die but the Folder
would not close, leaving the program in a bad state.
2013-02-26 13:42:39 -08:00
Eric Gregory
9b8090f524 Closes #6402 Prefetch UI options. Also fixes SQL bug in prefetcher for new accounts 2013-02-26 12:16:29 -08:00
Charles Lindsay
81e3896c07 Add message search API; fix #6366
With the new prefetcher, this will let us grab messages outside of the
current folder and insert them in conversations.
2013-02-26 11:09:02 -08:00
Jim Nelson
f54f805501 Prefetch mail in background according to age of message: Closes #6365
This introduces a background account synchronizer into Geary that
prefetches email folder-by-folder to a user-configurable epoch.  The
current default is 15 days.

Additional work to make this user-visible is coming, in particular with

The primary purpose for this feature is to allow "full" conversations
(#4293), which needs more of the mailbox stored locally to do searching.
2013-02-25 20:18:37 -08:00
Charles Lindsay
0a453796bc Indicate unread count in folder list; ref #3694
This just makes the new API and adds the string change.  We're waiting
to hook it up until #6365 lands.
2013-02-25 18:46:31 -08:00
Eric Gregory
e2f4302e31 Closes #6044 Shortcuts in tooltips 2013-02-25 18:29:01 -08:00
Charles Lindsay
cee5a81df1 Properly decode Unicode folder names; fix #5217
Previously, we were taking folder names as they came off the wire.
Turns out IMAP specifies that folder names with 8 bit code points are
encoded in a crazy scheme unique to IMAP.  Now, we properly decode that
scheme to the correct UTF-8 folder names to be displayed to the user.

There's also now a database upgrade path that converts all existing
mailboxes to the decoded version, so your existing database should just
keep working.
2013-02-25 15:01:37 -08:00
Kai Mast
8d4761461f Don't assert() on MYRIGHTS SELECT/EXAMINE response: Refs #6205
This doesn't solve #6205, as other unknown responses can cause this
problem as well, but it does fix this for the most-commonly reported
cause of this issue, MYRIGHTS.
2013-02-25 12:55:15 -08:00
Robert Schroll
668d5b8de6 Present window without timestamp; fix #5923
We were presenting the main window with an erroneous timestamp, which
was causing composer windows to be created with an incorrect z order.
This presents the window without a timestamp, so there's no room for
error.
2013-02-25 12:17:40 -08:00
Robert Schroll
6db225668c Closes #6420 Removes extra margin 2013-02-25 12:09:03 -08:00
Robert Schroll
495be4092f Focus composer before displaying dialog; fix #6421
In some window managers, windows that display dialogs aren't
automatically presented.  This manually presents the window before it
pops up the dialog, to keep behavior consistent.
2013-02-25 12:02:19 -08:00
Robert Schroll
777af380d6 Closes #6418 Prettier context menu separators in composer 2013-02-25 11:42:38 -08:00
Eric Gregory
3328e5ade6 Closes #6414 Improve tooltips 2013-02-22 17:54:05 -08:00
Eric Gregory
deab3acfe7 Closes #6349 Keyboard shortcuts for star/unstar, read/unread, prefs, and accounts 2013-02-22 15:32:21 -08:00
Eric Gregory
7b3fa06ac1 Closes #5884 Closes #5854 Closes #5816 Closes #6367 String changes
* "Reply To" now labelled "Reply"
* Toolbar overflow menu labels no longer say "translated"
* .desktop file contains keywords
* For generic servers, "Remember password" now says "Remember passwords"
2013-02-22 12:45:03 -08:00
Eric Gregory
5ee4a55dc1 Closes #4647 Closes #5685 Spam/unspam 2013-02-21 14:57:59 -08:00
Tiago Quelhas
e850a3d72b Spacing issues in mailto: body: Closes #6227
An earlier commit fixed half of this ticket (the more pressing of
the two issues).  This takes care of mailto: links with embedded
CR, LF, and CRLF.
2013-02-21 11:24:56 -08:00
Eric Gregory
9b9315f60e Fixes #6321 Changes from code review (accidentally omittied from original commit) 2013-02-20 11:47:12 -08:00
Eric Gregory
b83fb8f00c Closes #6321 Sort accounts 2013-02-19 16:50:32 -08:00
Jim Nelson
f5bae3b5d0 Crash when archiving messages: Closes #6388
Compress conversation code tried to reference first item of an empty
SortedSet.
2013-02-18 12:19:11 -08:00
Eric Gregory
51de6c9752 Closes #6032 Errors on account setup screens 2013-02-14 17:26:00 -08:00
Tiago Quelhas
07a7fc48ef Don't prepend whitespace for all composer prefilled bodies: Refs #6227
Ticket #6227 looks like a single problem, but in fact Tiago identified
it as two.  Before this patch, the ComposerWindow assumed all prefilled
messages were either replies or forwards and prepended whitespace to
separate the user's message from the replied-to/forwarded one.  This
is not the case with mailto: body's, which should be entered as-is to
a newly composed message.

There still exists #6227's issue with newlines not being inserted from
a mailto: link.  That's enough of a side case we're committing this
now, as it's more common.
2013-02-14 16:04:09 -08:00
Charles Lindsay
33453dfa71 Show account inboxes at top of sidebar; fix #6331
There's now a list of inboxes at the top of the sidebar if you have more
than one account.  It gets the default selection if possible, so you
never have to see all the folders of your accounts if you work entirely
out of your inbox.
2013-02-14 16:01:51 -08:00
Sven Hagemann
9f4b423b9b Do not require SMTP authentication: Closes #6357
SMTP authentication is now entirely optional, distinct from not
requiring a password (#5668).
2013-02-14 15:10:10 -08:00
Robert Schroll
95c96e42cc Slight optimization of ConversationViewer compress code: Refs #6373
This slight optimization also makes the code cleaner to read.
2013-02-14 14:28:28 -08:00
Robert Schroll
a34058b65c Clamp max num of messages compressed in conversation block: Closes #6373 2013-02-14 14:26:54 -08:00
Charles Lindsay
7651636fbe Move some folders to new More grouping; fix #6330
Some of the less-frequently used special folders have moved into a new
"More" grouping above "Labels".  This keeps down the clutter for people
with lots of accounts.

Squashed commit of the following:

commit 647795e03e8b4d88df0f629b15416ff574fcda4a
Merge: 72515c2 4d2d304
Author: Charles Lindsay <chaz@yorba.org>
Date:   Tue Feb 12 18:13:10 2013 -0800

    Merge branch 'master' into special-subfolders

commit 72515c29ad8e1b1cc0bd653292fc9cf7a8665b27
Author: Charles Lindsay <chaz@yorba.org>
Date:   Tue Feb 12 18:11:17 2013 -0800

    Clean up

commit 8549a5d69b65969fc5d4d515f55f44cb98597b71
Author: Charles Lindsay <chaz@yorba.org>
Date:   Tue Feb 12 12:02:49 2013 -0800

    Add "More" grouping to sidebar
2013-02-12 18:35:54 -08:00
Charles Lindsay
eb9a38d45e Indicate new messages in folder list; fix #6332
Now when a monitored folder (i.e. inbox) gets new messages, we also make
that folder bold in the folder list so you know there are new messages
there.
2013-02-12 18:29:51 -08:00
Jim Nelson
4d2d304969 Moved Charles to the AUTHORS file and About dialog. 2013-02-12 18:04:03 -08:00
Robert Schroll
c0d8791961 Compress collapsed emails: Closes #5137
More great work from Robert Schroll.
2013-02-12 17:49:43 -08:00
Charles Lindsay
96ee297e7d Fix notifications for multiple accounts; fix #6351
With the latest multiple account changes, notifications weren't working
quite right.  Now they are.
2013-02-12 16:17:16 -08:00
Eric Gregory
666143e5b2 Fixes #6334 Added method to get MailboxAddress from AccountInformation
Squashed commit of the following:

commit d1f485ef349128ac33915e12622efb3d9d849659
Author: Eric Gregory <eric@yorba.org>
Date:   Fri Feb 8 14:54:03 2013 -0800

    Replaced AccountInformation.pretty_print() with AccountInformation.get_mailbox_address()
2013-02-08 17:37:35 -08:00
Eric Gregory
f604d2d988 Closes #6334 Show and set "From:" field in composer 2013-02-08 11:59:27 -08:00
Eric Gregory
84b1c62d60 Closes #6071 Always show "to:" header 2013-02-08 11:45:31 -08:00
Robert Schroll
7f57e7fb4d Inspector for ConversationViewer: Closes #6320
Activated by --inspector, this pop ups a WebKit HTML/CSS inspector
that's quite useful for development and debugging.
2013-02-08 11:29:40 -08:00
Charles Lindsay
a64bb5582c Fix issues rapidly selecting folders; fix #6318
We now use a small timer when you click a folder before we actually kick
off a network connection.  This effectively rate-limits how many
connections we make without significantly degrading the user experience.

Also we know that the folder selection function is not safely reentrant,
so that logic happens inside a mutex lock now.

The rate-limiting folder selection part is not an ideal solution, but
it's close to what we want (ideally, local results would be shown
immediately).  However, the mutex lock is just a bandaid over the larger
problem of how much global state we juggle in the controller.

Squashed commit of the following:

commit 44e46663bb9b513970e11a62428834668987bf33
Author: Charles Lindsay <chaz@yorba.org>
Date:   Wed Feb 6 17:29:22 2013 -0800

    Comment our mutex lock

commit d951204aa163c73ed60b51368fa900ad6414046c
Author: Charles Lindsay <chaz@yorba.org>
Date:   Wed Feb 6 16:59:32 2013 -0800

    Select folders only after a small timeout

commit 012097139bfbaa76967667b8fcdd324634cc2506
Author: Charles Lindsay <chaz@yorba.org>
Date:   Wed Feb 6 11:11:30 2013 -0800

    Fix reentrancy issues using mutex
2013-02-07 12:28:43 -08:00
Robert Schroll
48eeb472c4 Remove unnecessary code from GearyController: Closes #6340
This code had previously existed to mark messages as read, but that
functionality has been moved into ConversationViewer.
2013-02-07 12:03:36 -08:00
Martijn Braam
0b94ba0a75 Don't attach zero-byte files to message: Closes #5587 2013-02-05 16:03:50 -08:00
Eric Gregory
886918e27d Closes #6290 Store passwords for new accounts 2013-02-05 13:23:25 -08:00
Jim Nelson
a59c054119 Compile error on Daily Build PPA: Closes #6322
Support for Precise bit us again.  When we drop support for Precise,
we can close #6323.
2013-02-05 11:09:33 -08:00
Charles Lindsay
0fefbef718 Close Geary when no accounts open; fix #6296
Squashed commit of the following:

commit 0a5a17bc40a4f8eeda7fc5915931024ec10291cd
Merge: 7f1591c 0350a8f
Author: Charles Lindsay <chaz@yorba.org>
Date:   Tue Feb 5 10:28:12 2013 -0800

    Merge branch 'master' into fix-empty-window

commit 7f1591cc2c007adeb65e9d92966b71ef4815ada2
Author: Charles Lindsay <chaz@yorba.org>
Date:   Mon Feb 4 18:48:08 2013 -0800

    Add account string to folder string

commit 495238d07556755683d77337e11440731503506a
Author: Charles Lindsay <chaz@yorba.org>
Date:   Mon Feb 4 18:47:50 2013 -0800

    Quit when last account closed; ref #6296

commit c13ba1e560648ac5fc8892213e7c96601541e05d
Author: Charles Lindsay <chaz@yorba.org>
Date:   Mon Feb 4 18:47:19 2013 -0800

    Add per-inbox cancellables

commit 7dd0b4274593584e55063ae55b8f60c286daf7f1
Author: Charles Lindsay <chaz@yorba.org>
Date:   Mon Feb 4 18:45:59 2013 -0800

    Get rid of persistent inbox conversation monitors
2013-02-05 10:37:30 -08:00
Eric Gregory
0350a8fe0f Closes #6286 Delete accounts
Squashed commit of the following:

commit 1b045edd6c28e3f837107577726b61c839816bc2
Author: Eric Gregory <eric@yorba.org>
Date:   Mon Feb 4 19:25:36 2013 -0800

    Changes from code review

commit bcd52b9f571de316eda39bd181df121bc4753c40
Author: Eric Gregory <eric@yorba.org>
Date:   Mon Feb 4 18:21:53 2013 -0800

    Removed cancellable check

commit 1cc528ca39555233cd5e851229a242fc118c11ae
Author: Eric Gregory <eric@yorba.org>
Date:   Mon Feb 4 18:17:42 2013 -0800

    Delete account (2nd branch)
2013-02-04 19:26:48 -08:00
Charles Lindsay
5e9703a1e5 Fix issue sending from wrong account; fix #6299
This adds an account property to the composer window.  We had been using
the current account, which was problematic if you opened the window,
switched to a folder on a different account, then hit send.
2013-02-01 17:18:11 -08:00