Commit graph

1386 commits

Author SHA1 Message Date
Charles Lindsay
222d5736d6 Generate po files from new pot file 2013-09-20 12:20:00 -07:00
Charles Lindsay
443540d771 Generate new pot file 2013-09-20 12:17:31 -07:00
Jim Nelson
8e5a6d0ba2 Copy Link now available: Closes #7524 2013-09-19 19:15:53 -07:00
Charles Lindsay
f945ce93ba Respect removed flag in location table; fix #7507
A couple of queries (at least the search blacklist query and the folders
for each email query) weren't respecting the flag in
MessageLocationTable that means we should treat the row as if it didn't
exist.  This was causing problems where a draft that was also a search
result would keep being duplicated in the search results as you typed
more in the draft.  The cause was that the removed signal was fired
after the message had been marked as removed, but before it was actually
deleted, so it was still being found in the search even though
folderless emails are blacklisted.
2013-09-19 18:12:03 -07:00
Eric Gregory
365e4a9874 Closes #6380 Closes #7518 Welcome dialog can be safely closed, invalid password will not be saved to keychain 2013-09-19 18:10:53 -07:00
Eric Gregory
4c9613d9a7 Closes #7226 Closes #7222 Resolved issue where no account could be selected 2013-09-19 17:58:04 -07:00
Jim Nelson
5a3a9e7957 Forgot to decrement the count in the printf() parameters
count - 1 is being used to pick the ngettext() call, but count was
being passed in.
2013-09-19 17:46:05 -07:00
Avi Levy
28689d109c Empty link overlay leaves silver line on screen: Closes #7500 2013-09-19 17:35:28 -07:00
Jim Nelson
8e81b195b3 Slight tweak of notification message
Old message wasn't clear if the number of additional new messages
was in addition to the one being reported or total new messages.
Additional new messages is a more interesting value, so this changes
the value to additional and the message to clarify that.
2013-09-19 17:29:37 -07:00
Charles Lindsay
b7bfe388fa Treat unbalanced quotes as no quotes; fix #7128 2013-09-19 14:29:59 -07:00
Charles Lindsay
5b3084b8b4 Select search branch even when it exists; fix #7098 2013-09-19 14:26:14 -07:00
Charles Lindsay
4e529e717e Don't pass % to database in search; fix #7155 2013-09-19 14:24:17 -07:00
Eric Gregory
9148fe0d02 Closes #7513 Fixed debug bug 2013-09-19 12:01:33 -07:00
Eric Gregory
b1354dab2a Closes #7506 Reset account screen on close 2013-09-17 17:11:03 -07:00
Charles Lindsay
542b2ff914 Revamp status bar
* Increase the size of the spinner; fix #7184
* In the event of an error sending a message, display text in the status
  bar indicating as such (and display a notification too); fix #7481
* Display a status bar message and spin the spinner when sending;
  fix #4629
* Re-add the sound played when a message is sent; fix #5429
2013-09-17 16:55:03 -07:00
Jim Nelson
c8b4f9e0e2 Support Outlook.com IMAP: Closes #7479
This takes advantage of Outlook.com's new IMAP support, meaning
Geary works with Outlook.com, Hotmail, and Live.com users.

Because Outlook.com doesn't support UIDPLUS, some features
(in particular, draft auto-save) is unavailable, as is the
ability to use its Archive folder directly.

This patch fixes a couple of bugs that occur when a server doesn't
support UIDPLUS.  Also fixes a use case with UID increment/decrement
that caused a flag watcher bug due to ImapDB.Folder always
returning the same email if only one was present in the folder.
2013-09-17 16:23:48 -07:00
Jim Nelson
94861a0bef Bad state after selecting folder due to close hang: Closes #7433
ImapEngine.GenericFolder.internal_close_async() was hanging due to
the ReplayQueue never closing.  This could occur if there was a
hard error (i.e. network) while opening the Folder.  In essence,
this hung Folder.open_async(), which put the client into a bad state.

Now the ReplayQueue doesn't hang and is flushed if a "clean" close,
while outstanding operations are dropped if closing due to an error.

This also includes some small fixes in ClientSessionManager to
prevent a hang due to mutex reentrancy, and a State problem in
ClientSession that is unrelated but bad enough that it should be
included here.
2013-09-17 16:00:53 -07:00
Eric Gregory
0e8e10e4e5 Closes #7398 Update search box placeholder text on account rename 2013-09-17 15:27:16 -07:00
Eric Gregory
1cd1a4c7aa Closes #7427 Hide composer on send 2013-09-17 13:15:19 -07:00
Eric Gregory
c39020509c Closes #7418 Translator help for First Last name 2013-09-17 11:56:02 -07:00
Eric Gregory
3321a6dc40 Closes #7483 Use email address as default nickname 2013-09-16 18:56:34 -07:00
Eric Gregory
38b2710de6 Closes #7244 Closes #7490 Unread count fixes, out-of-folder unread count support 2013-09-16 17:47:51 -07:00
Eric Gregory
66c76f6b24 Closes #7460 Corrected title case on buttons in show images bar 2013-09-16 17:43:25 -07:00
Charles Lindsay
4464e083bf Use email store to fetch reply message; fix #7491 2013-09-16 16:33:08 -07:00
Jim Nelson
6393362473 Fixes regression introduced in commit:6d1010ab
strip_prefixes() should use decoded string, not original, otherwise
the encoded Subject is returned.
2013-09-16 13:02:21 -07:00
Jim Nelson
6d1010abdd Don't display reply/forwarding prefixes in notifications: Closes #6121
This also properly strips both Re: and Fwd: prefixes, even when
stacked up, in the conversation list.
2013-09-13 18:11:34 -07:00
Jim Nelson
8e43a9c080 New message notification reworking
Definition of "new messages" is misleading, now always describing
message details unless more than one arrives at the same time:
Closes #7376

When multiple messages arrive, note which account they arrived
for: Closes #7386

Show more information about new messages in notifications
(specifically, if additional new messages have arrived for account,
include summary of number): Closes #6952
2013-09-13 17:18:37 -07:00
Jim Nelson
f0f60aa9f2 Deprecations in Vala 0.21.2: Closes #7457
Deprecations are now enabled.  This will have to hold until we
rewrite Geary's UI not to use the various widgets being deprecated
by GNOME.
2013-09-13 13:46:34 -07:00
Jim Nelson
bee2068f3e Don't allow two accounts with the same email: Closes #6284
Engine validation now takes options flags indicating if the
validation is for adding or editing an account, and if the
network connections need to be checked.
2013-09-12 16:23:20 -07:00
Jim Nelson
da563b36c3 Display attachment file size in composer: Closes #7269 2013-09-12 15:39:33 -07:00
Charles Lindsay
fc91de0c68 Prevent sending deleted outbox messages; fix #6797 2013-09-12 15:17:45 -07:00
Jim Nelson
a769f64456 Keyboard shortcut to jump to Search box: Closes #7175
Ctrl+S gives the Search box focus.  Tooltip text added to the
Search widget.
2013-09-12 14:45:29 -07:00
Jim Nelson
9a8f96310c Save inline images displayed via MIME Content-ID: Closes #7475
Some reorganization of how data: URIs are assembled and injected
into the document.

Also, mild improvement to the GMime bindings.
2013-09-11 19:21:44 -07:00
Avi Levy
935b90d3a6 Save inline image displayed due to Content-Disposition: Closes #5836
Replaced images are converted into data: URIs, so this change
involves saving in-memory buffers rather than copying attachments
out of the attachments directory.
2013-09-11 17:53:17 -07:00
Charles Lindsay
f91ad80283 Handle outbox email ids properly; fix #7453 2013-09-11 12:03:52 -07:00
Eric Gregory
adf9b4dad5 Closes #6548 Don't show draft emails in conversations 2013-09-10 19:16:53 -07:00
Charles Lindsay
c0d8522b70 Use insert, not append, in search folder; fix #7444
It was a good idea in theory to trigger an append when search results
are first added, but this hits the conversation monitor too hard, which
can't easily handle large appends (ticketed at #7464).

This also updates the conversation monitor to listen to the new inserted
signal instead of looking at count-changed.
2013-09-10 14:44:45 -07:00
Eric Gregory
afe33527ef Closes #7374 Ensure draft is deleted on send 2013-09-09 17:51:47 -07:00
Yosef Or Boczko
735b093b0d Build error with latest Vala master: Closes #7434
Default argument checking found a logical bug in Geary's code.
2013-09-09 17:49:30 -07:00
Charles Lindsay
394fb32741 Clean up type juggling of search results; fix #7445 2013-09-09 16:05:20 -07:00
Avi Levy
6cdba3a77f Inline images included twice in message: Closes #7299
This handles the case when an image is specified in the message
with no Content-Disposition; in that case, use the "natural"
disposition for the client (i.e. images are inline, other types
are attachments).
2013-09-09 15:51:09 -07:00
Jim Nelson
78977b3f54 Better schema version checking against newer schemas: Closes #7058
If the database's current schema version does not have a corresponding
schema file in the schema directory, throw an Error and report it to
the user.  Most likely this means the user is trying to run an older
version of Geary against a newer database.
2013-09-09 15:41:31 -07:00
Jim Nelson
ddc6403aad Cleaned up Geary.Attachments implementation and interface
While working on #7345, I grew dissatisfied with how Geary.Attachment
was implemented.  It knew too much about imap-db's internal workings,
so I've broken it up a little bit.  It's now an abstract base class
completed by ImapDB.Attachment, a private implementation class.
This corresponds with the coding patterns used throughout the
Geary API.
2013-09-09 15:05:22 -07:00
Jim Nelson
e09a056e8d Warn when user data is corrupted: Closes #7345
The database is now tested for corruption at startup.  If a problem
is detected, one of three error messages are displayed in a dialog box
(corruption, permission problems, and "general error").
2013-09-09 14:44:36 -07:00
Charles Lindsay
2e8e589b37 Fix some typos in the normalize routine; fix #7450 2013-09-06 18:47:20 -07:00
Charles Lindsay
4666a74c02 Add quotes around search "words"; fix #7097
With this, you can search for something like

   chaz@yorba.org

and due to the tokenizer, it'll end up like

   "chaz yorba org"

which at least means the tokens have to appear sequentially.
Previously, it would appear like

   chaz yorba org

which lets them appear anywhere in the message; clearly not what you
wanted.
2013-09-06 12:21:28 -07:00
Jim Nelson
cc7879a1eb Indicate when folder is empty or no search results: Closes #6851
If SearchFolder, indicates there are no search results:
Closes #7087
2013-09-06 11:32:58 -07:00
Jim Nelson
0bb4dd8329 Moving icons COPYING file next to ours and Snowball's 2013-09-05 18:58:38 -07:00
Jim Nelson
2e8c3dbbb8 Improved Folder notification of added email
Folder now offers an "email-inserted" and "email-locally-inserted"
signal to indicate when email has been added (or discovered) but
is not added to the top of the message vector.  SearchFolder and
ConversationMonitor may be able to use this better in the future.
2013-09-05 18:46:38 -07:00
Jim Nelson
9fb2fd9611 Don't call GObject.get_type() in ctor
Just experienced a crash in the SmtpOutboxEmailIdentifier
constructor trying to get its own type name.  Past experience
has shown that calling into GObject (or GType) in the constructor
before calling base() is dangerous, so changing this to a flat
string.
2013-09-05 18:23:31 -07:00