Commit graph

4481 commits

Author SHA1 Message Date
Konstantin Kharlamov
0f773f9e21 composer-web-view: remove unused variable
Fixes LGTM warning "Unused variable state."

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-03-23 13:42:36 +03:00
Federico Bruni
b76755107c Update Italian translation
(cherry picked from commit e8ed2c61a0af63149756c1af0db1155f2e7321c2)
2019-03-18 08:56:24 +00:00
Michael Gratton
12110e80f7 Merge branch 'wip/3-32-appdata' into 'master'
Update screenshots with those for 3.32 from the wiki

See merge request GNOME/geary!175
2019-03-17 11:46:38 +00:00
Michael Gratton
3959fd429d Update README with icon and new screenshot 2019-03-17 21:15:13 +11:00
Michael Gratton
d9e3aca9be Update screenshots with those those for 3.32 from the wiki 2019-03-17 20:52:46 +11:00
Michael Gratton
c053086182 Merge branch 'wip/flatpak-folks-eds-access' into 'master'
Fix no access to EDS contacts and avatars under Flatpak

See merge request GNOME/geary!174
2019-03-17 06:20:32 +00:00
Michael Gratton
2be293d9ec Fix no access to EDS contacts and avatars under Flatpak 2019-03-17 16:53:29 +11:00
Michael Gratton
5cba0e4e77 Fix a shutdown hang 2019-03-17 16:04:07 +11:00
Michael Gratton
4d195a4eb3 Fix criticial when convo email waiting for remote load is cancelled 2019-03-17 16:00:57 +11:00
Michael Gratton
4d4ab6000f Remove deprecated valac --thread arg 2019-03-15 16:52:47 +11:00
Michael Gratton
b61621f8ce Merge branch 'wip/vala-abstract-ctors' into 'master'
Constructors of abstract classes should not be public

See merge request GNOME/geary!171
2019-03-14 23:05:41 +00:00
Rico Tzschichholz
e09475e81d Constructors of abstract classes should not be public 2019-03-15 09:49:05 +11:00
Michael Gratton
a68cf8e029 Updates files for 3.34 development 2019-03-15 09:22:38 +11:00
Jiri Grönroos
32767a440c Update Finnish translation 2019-03-14 18:50:18 +00:00
Anders Jonsson
7e6f39eda4 Update Swedish translation
(cherry picked from commit 99678cb961dfeb29f3e0748f726783613fcdf47f)
2019-03-13 09:55:11 +00:00
Tim Sabsch
d5e47525ce Update German translation
(cherry picked from commit 299f0775bb8af6641a3e43ff4a9ca68136c2182a)
2019-03-12 07:38:17 +00:00
Daniel Șerbănescu
ff082407f3 Update Romanian translation
(cherry picked from commit c1fe925bf7b28cca4282f1c254fb2617e442df6a)
2019-03-11 21:47:12 +00:00
Michael Gratton
67405f0bbb Merge branch 'wip/309-signature-not-updated' into 'master'
Fix signature not being updated when composer first opened without one

Closes #309

See merge request GNOME/geary!169
2019-03-11 03:57:27 +00:00
Michael Gratton
12c6bbca56 Fix signature not being updated when composer first opened without one
The ComposerPageState JS object assumed that if no signature was present
when first loaded, that none ever would be. This broke changing the
signature when the composer was opened for an account without one, and
the from account was changed to an account with a sig.

Instead of including the signature as part of the loaded body, always
include just a skeleton signature DIV and ensure the signature is loaded
dynamically after the body has been loaded. Update code and tests to
match this assumption, and add a unit test for updating the sig.

Fixes #309
2019-03-11 12:19:57 +11:00
Michael Gratton
791c321a00 Merge branch 'wip/3.32-avatars' into 'master'
3.32 Avatars

Closes #269

See merge request GNOME/geary!154
2019-03-09 11:25:36 +00:00
Michael Gratton
6c8f192148 Attempt to de-mangle From names from Mailman, GitLab, etc
Some software like the above will mangle From mailbox names by appending
"via Some Service" to the From mailbox name. This messes up generating
default avatars for the actual people sending these messages, so
attempt to de-mangle the names.

This involves moving primary originator determination from the engine
to the client, since it's now a policy thing. Add unit tests.
2019-03-09 20:17:01 +11:00
Michael Gratton
133167dfd0 Add a common interface for accessing headers from email classes.
This allows either type to be used interchangably as a source of
header data. Add documentation comments for the headers, add missing
message_id property to RFC822.Message.
2019-03-09 20:17:01 +11:00
Michael Gratton
31aa176ee2 Clean up client email util source file 2019-03-09 20:17:01 +11:00
Michael Gratton
76ee07595d Make avatar code a bit more robust in the face of bad input
Don't try to dray null initials, actually return null per API contract
when no initials can be found, don't include non-alphanumerics in the
initials. Add test case.
2019-03-09 20:17:01 +11:00
Michael Gratton
4e484e237d Make TestCase.assert_string robust in the face of null actuals 2019-03-09 20:17:01 +11:00
Michael Gratton
4d1e86e5d1 Add feature to appdata for next release 2019-03-09 20:17:01 +11:00
Michael Gratton
18039ed7ad Remove avatar URL setting and config now it is unused 2019-03-09 20:17:01 +11:00
Michael Gratton
f9ef6492ec Don't bother setting default icon for the ConversationMessage avatar
Since we are now using the GNOME 3.32 initals when there is no avatar
in Folks, it will never be displayed.
2019-03-09 20:17:01 +11:00
Michael Gratton
9306d7ccd0 Port GNOME 3.32 avatar code to vala, use when Folks avatar is missing
This ports the code written by Felipe Borges for GNOME/Initiatives#6 to
vala, and uses that when no Folks individual was found or it does not
have an avatar.
2019-03-09 20:17:01 +11:00
Michael Gratton
d2bafeeb09 Fix avatar cache not differentiating between senders w/ different names
Services like GitLab and mailing lists will use the same From address
but the actual user's name as the mailbox name. By using the mailbox
address as the cache key, these all get lumped together. This will make
different sender names use the same initials, so use the short display
name as the cache key instead.
2019-03-09 20:17:01 +11:00
Michael Gratton
cf793bf0a8 Evict from the avatar cache using LRU so it dosn't grow unbounded 2019-03-09 20:17:01 +11:00
Michael Gratton
786b3b0d42 Add basic Folks individual and pixbuf cache to AvatarStore 2019-03-09 20:17:01 +11:00
Michael Gratton
c12bdcdc66 Load avatars from Folks
Take a brute-force approach here for the moment.
2019-03-09 20:17:01 +11:00
Michael Gratton
742aca2b0c Add build dependencies for Folks
Flatpak manifest updates courtesy of gnome-contacts.
2019-03-09 20:17:01 +11:00
Michael Gratton
d93e5fe879 Update avatar size to be 48px, per recommendation
See #269
2019-03-09 20:17:01 +11:00
Michael Gratton
d11a5088d3 Fix compile warning 2019-03-09 20:16:09 +11:00
Fabio Tomat
5bbb35f17c Update Friulian translation 2019-03-09 08:47:46 +00:00
Michael Gratton
5c7999c69d Merge branch 'wip/301-auth-errors' into 'master'
Fix SMTP auth errors when using IMAP credentials

See merge request GNOME/geary!168
2019-03-09 03:19:15 +00:00
Michael Gratton
cd8ed40559 Fix SMTP auth errors when using IMAP credentials
AccountInformation.load_outgoing_credentials (and incoming) should be
true in case there's no credentials, but also loading ougoing must use
the incoming service and credentials when USE_INCOMING is set.

Fixes SMTP side of #301 at least.
2019-03-09 14:08:01 +11:00
Fabio Tomat
fcf07ad479 Add Friulian translation 2019-03-08 00:10:00 +00:00
Balázs Úr
bb2602166d Update Hungarian translation 2019-03-07 22:08:53 +00:00
Ryuta Fujii
d612af624a Update Japanese translation 2019-03-07 10:09:27 +00:00
Michael Gratton
2fc3db4ccf Update appdata with some forthcoming releases for 3.32
This will let translation teams translate release notes on Flathub
2019-03-07 14:55:11 +11:00
Michael Gratton
3f41e86e7d Add translation teams to THANKS as well 2019-03-07 14:53:50 +11:00
Michael Gratton
3ffd784a53 Sort NEWS by first name 2019-03-07 14:51:44 +11:00
Michael Gratton
2812e8bc25 Update THANKS with recent contributions 2019-03-07 14:50:10 +11:00
Michael Gratton
54f5ec397e Merge branch 'wip/285-cancelled-commands' into 'master'
Ensure that cancelled commands throw a cancelled error, not a timeout

Closes #285

See merge request GNOME/geary!167
2019-03-07 00:49:14 +00:00
Michael Gratton
2c8a232f97 Ensure that cancelled commands throw a cancelled error, not a timeout
Commands that were cancelled, e.g. because the network connection was
lost and so commands in progress were backed out, were throwing
timeout errors to callers of wait_until_complete since they had received
no response. This was causing e.g. account operations to fail, and the
alleged timeout be reported as problem in the UI.

This takes note of whether a command was cancelled and throws an
appropriate error in wait_until_complete if so. Callers can then clean
up and choose to be more circumspect in their error reporting.

Fixes #285
2019-03-07 11:24:06 +11:00
Rafael Fontenelle
ffe4775eb0 Update Brazilian Portuguese translation 2019-03-06 20:29:30 +00:00
Michael Gratton
65b8515d10 Merge branch 'wip/rework-password-prompting' into 'master'
Fix some issues with password prompting

See merge request GNOME/geary!166
2019-03-06 13:49:41 +00:00