Commit graph

5879 commits

Author SHA1 Message Date
Michael Gratton
ddb3a899fb Geary.Imap: Add Quirks object to collect all IMAP service quirk config 2020-05-04 10:53:31 +10:00
Michael Gratton
865765a24f Geary.Imap.Deserializer: Rework tag handling
Now that `DataFormat.is_tag_special` actually does what it says on the
tin, fix deser to work with that correctly.
2020-05-04 10:53:30 +10:00
Michael Gratton
a1c6c79d88 Geary.Imap.DataFormat: Clean up source code
Restyle to confirm to style convention, add some doc comments. Fix up
use inline function modifiers.
2020-05-04 10:53:30 +10:00
Michael Gratton
2018bf3b7d Merge branch 'mjog/flatpak-updates' into 'mainline'
Flatpak updates

See merge request GNOME/geary!510
2020-05-04 00:18:24 +00:00
Michael Gratton
f3a3f2c6e6 org.gnome.Geary.yaml: Bump libical version and sort build args 2020-05-04 09:41:47 +10:00
Michael Gratton
1887d18c21 org.gnome.Geary.yaml: Unpin GSpell now that master is building again 2020-05-04 09:41:09 +10:00
Michael Gratton
f7db76a594 org.gnome.Geary.yaml: Pin ytnef to last known good version
While https://github.com/Yeraze/ytnef/issues/81 remains an issue, pin
to 1.9.3 so CI goes green again.
2020-05-04 09:22:44 +10:00
Michael Gratton
24fde7caa5 Fix typo in NEWS 2020-05-04 09:19:35 +10:00
Michael Gratton
0e6e5c4b6b Update files for 3.37.1 development release 2020-05-04 09:17:18 +10:00
Yuri Chornoivan
9f1aa64aa1 Update Ukrainian translation 2020-05-03 11:58:34 +00:00
Michael Gratton
66773a01f1 Merge branch 'adwait/create_mnemonic' into 'mainline'
Accounts.EditorAddPane: Add mnemonic to create button

See merge request GNOME/geary!491
2020-05-03 07:36:55 +00:00
Michael Gratton
b7bae46bca Merge branch 'mjog/add-label-to-label-folder-grouping' into 'mainline'
FolderList.AccountBranch: Give the label group an actual label

See merge request GNOME/geary!502
2020-05-03 07:35:21 +00:00
Dušan Kazik
7bf45eb013 Update Slovak translation
(cherry picked from commit d1a1d4f6a822906429c712811d7d59f452af7da3)
2020-05-03 07:29:28 +00:00
Dušan Kazik
7638d513ed Update Slovak translation
(cherry picked from commit 34c1a3e0bfce979052ad736f0552d415a8422965)
2020-05-02 13:57:32 +00:00
Dušan Kazik
bb29cbeff2 Update Slovak translation
(cherry picked from commit 5b0dc27b28d5fa8ddb984bedee4b9962e0b5b752)
2020-05-02 09:26:56 +00:00
Dušan Kazik
9056d4aae5 Update Slovak translation
(cherry picked from commit da8c5f36c0aee14f29321d9c351677e99b6e7711)
2020-05-02 07:15:49 +00:00
Daniel Mustieles
d1f4ba7274 Updated Spanish translation 2020-04-30 12:50:01 +02:00
Rafael Fontenelle
223546773c Update Brazilian Portuguese translation 2020-04-27 15:20:02 +00:00
Piotr Drąg
016cecf225 Update Polish translation 2020-04-26 11:41:20 +02:00
Michael Gratton
8baffb0997 Merge branch 'mjog/pref-page-icons' into 'mainline'
Components.PreferencesWindow: Add pref page icons

See merge request GNOME/geary!506
2020-04-26 03:56:13 +00:00
Michael Gratton
b75e251abe Components.PreferencesWindow: Add pref page icons
Per advice in #813 these are required by libhandy.
2020-04-26 13:35:22 +10:00
Emin Tufan Çetin
e99aad4442 Update Turkish translation 2020-04-25 12:36:14 +00:00
Jordi Mas
331442803d Update Catalan translation 2020-04-25 08:22:58 +02:00
Michael Gratton
b19d170329 Merge branch 'mjog/741-inbox-getting-closed' into 'mainline'
Inbox getting closed

Closes #741

See merge request GNOME/geary!504
2020-04-24 05:51:44 +00:00
Michael Gratton
97d34b2d4b Geary.ClientService: Set as unreachable on connectivity check error
Mark the service as unreachable if a connectivity check error occurs
since if we can't determine it is reachable, we probably can't connect
to it either.
2020-04-24 15:30:04 +10:00
Michael Gratton
0e673ce5f8 Geary.ClientService: Update connectivity timeouts
Swap reachable and unreachable timeouts periods so that connections
are dropped sooner and not re-established too early.
2020-04-24 15:30:04 +10:00
Michael Gratton
530c205ce7 Geary.Util.ConnectivityManager: Fix a spurious connectivity error report
When a general error occurs checking connectivity of a remote server,
only treat it as an error if GNetworkMonitor indicates the network is
available (i.e. that a default route exists). If there is no network,
it's not surprising that the error occurred.

This fixes a spurious error when the delayed check runs but the host
is offline.
2020-04-24 15:30:04 +10:00
Michael Gratton
991c9ef5d7 Geary.App.ConversationMonitor: Fix more races when starting/stopping
Ensure that if stopping the conversation monitor while it is waiting
for the folder to open that the folder isn't closed, and if an error
is thrown when opening the folder that it gets thrown by
::start_monitoring anyway.

Hopefully fixes #741
2020-04-24 15:30:04 +10:00
Michael Gratton
a385ce8fc2 Geary.App.ConversationMonitor: Throw error closing folder when possible 2020-04-24 15:30:04 +10:00
Michael Gratton
81a22175ab Geary.FolderMock: Convert to use new async mock calls. 2020-04-24 15:22:55 +10:00
Anders Jonsson
97163e314f Update Swedish translation 2020-04-23 19:14:51 +00:00
Yuri Chornoivan
64bfb11ef2 Update Ukrainian translation 2020-04-23 05:56:41 +00:00
Michael Gratton
4a469d7898 po/POTFILES.in: Add missing lines for email templates files 2020-04-23 14:11:55 +10:00
Michael Gratton
51dfc11946 FolderList.AccountBranch: Give the label group an actual label 2020-04-23 12:07:25 +10:00
Michael Gratton
ee3f3c9930 Merge branch 'mjog/folder-order' into 'mainline'
FolderList.AccountBranch: Fix ordering of special-use folders

See merge request GNOME/geary!501
2020-04-23 02:02:51 +00:00
Michael Gratton
11754cb63b Merge branch 'mjog/phantom-parent-folders' into 'mainline'
Geary.ImapEngine.GenericAccount: Fix duplicate folders on first load

See merge request GNOME/geary!500
2020-04-23 01:59:36 +00:00
Michael Gratton
9e0acad23d FolderList.AccountBranch: Fix ordering of special-use folders
Don't rely on the special-use enum ordinal, there's no reason to
expect the engine lists uses in an order people would file helpful.
2020-04-23 11:45:11 +10:00
Michael Gratton
df2bce4eb8 Geary.ImapEngine.GenericAccount: Fix duplicate folders on first load
When loading an account for the first time, folders may not be processed
such that parents are handled first, leading to phantom folders created
for them.

This is particularly noticeable for GMail accounts, where the `[GMail]`
folder would typically show up, since it was created twice.
2020-04-23 11:17:01 +10:00
Michael Gratton
ab9d83987a Merge branch 'mjog/gmail-all-mail-missing' into 'mainline'
Geary.Imap.MailboxAttributes: Fix missing SPECIAL-USE \All case

See merge request GNOME/geary!499
2020-04-23 01:14:45 +00:00
Michael Gratton
779d1906d8 Merge branch 'fix/missing_itstool_dependecy' into 'mainline'
INSTALL: add missing itstool dependency for Fedora

See merge request GNOME/geary!498
2020-04-23 00:48:35 +00:00
Michael Gratton
e94ce67605 Geary.Imap.MailboxAttributes: Fix missing SPECIAL-USE \All case
This was causing GMail's All Mail folder to not show up as a special-use
folder.
2020-04-23 10:41:09 +10:00
Michael Gratton
9e0ae0eb8d Merge branch 'mjog/email-templates' into 'mainline'
Email templates plugin

Closes #803

See merge request GNOME/geary!497
2020-04-23 00:38:04 +00:00
Michael Gratton
1986633351 Plugin.EmailTemplate: Create templates folder if it does not exist 2020-04-23 09:35:19 +10:00
Michael Gratton
1b529d2195 Minor doc comment update 2020-04-23 09:35:19 +10:00
Michael Gratton
13e339f009 Plugin.Account: Support creating folders in the personal name space
Add `create_personal_folder` method and implement it in
Application.FolderStoreImpl.
2020-04-23 09:35:19 +10:00
Michael Gratton
48ed8d9fe3 Geary.Account: Support creating folders in the personal name space
Add `create_personal_folder` method, implement it in
ImapEngine.GenericAccount. Use this when creating required special
folders to reduce code duplication.
2020-04-23 09:35:19 +10:00
Michael Gratton
e0dc785240 Geary.ImapEngine: Don't add local folders then update their special use
Set local folder special use when they are loaded rather than doing it
in two steps, so that when client code is notified of the folders
being available, they will already have the correct special type.
2020-04-23 09:35:19 +10:00
Michael Gratton
400850cc44 Geary.AccountInformation: Rework how special use folder paths are stored
Use a simple list of strings to store path steps, since we don't know
what the root will be in advance, and this leads to errors if callers
try to compare the info's paths to (say) an actual IMAP path.

Store path steps in a SpecialUse to path step map property, rather than
as individual properties for each special use, to reduce repetition.
2020-04-23 09:35:19 +10:00
Björn Daase
8d24b1499e INSTALL: add missing itstool dependency for Fedora
Otherwise, the post install script on Fedora crashes with:
`FileNotFoundError: [Errno 2] No such file or directory: 'itstool'`.

It is in the Ubuntu/Debian dependencies so simply add it for Fedora as well
2020-04-22 23:31:13 +02:00
Michael Gratton
9a2fe63a5f Application.Controller: Ensure outboxes appear in the folder list 2020-04-21 23:36:24 +10:00