Commit graph

6662 commits

Author SHA1 Message Date
Jordi Mas
99c8a79f7d Update Catalan translation 2021-03-17 05:51:45 +01:00
Balázs Úr
98dc3f8b86 Update Hungarian translation 2021-03-16 23:37:01 +00:00
Alan Mortensen
7d4036b452 Updated Danish translation 2021-03-13 14:45:33 +01:00
Enrico Nicoletto
7cf475fa68 Update Brazilian Portuguese translation 2021-03-12 20:21:44 +00:00
Federico Bruni
62b18faff9 Update Italian translation 2021-03-12 08:01:29 +00:00
Jordi Mas
c10a77bcdb Update Catalan translation 2021-03-10 21:35:14 +01:00
Jordi Mas
26978c42be Update Catalan translation 2021-03-07 14:41:23 +01:00
Piotr Drąg
c136b78d97 Update Polish translation 2021-03-07 12:40:28 +01:00
Emin Tufan Çetin
87fd8abdda Update Turkish translation 2021-03-06 19:27:13 +00:00
Michael Gratton
d223899aa7 Merge branch 'mcatanzaro/#1168' into 'mainline'
web-process-extension: register GearyWebExtension JS in the right place

Closes #1168

See merge request GNOME/geary!677
2021-03-06 00:42:46 +00:00
Kukuh Syafaat
fe3034e87c Update Indonesian translation 2021-03-05 12:14:08 +00:00
Michael Catanzaro
6a0ad72182 web-process-extension: register GearyWebExtension JS in the right place
We need to register our JS when the window-object-cleared signal is
emitted. Previously we did this when the WebPage object is created, but
this only worked due to luck. Since WebKit r271642, it no longer works.
window-object-cleared is emitted right after page-created, meaning that
right after Geary registers its JS, it all gets wiped away. Oops.

Fixes #1168
2021-03-04 17:31:56 -06:00
Anders Jonsson
2da5c15574 Update Swedish translation 2021-03-04 14:30:52 +00:00
Yuri Chornoivan
c2ec626eaa Update Ukrainian translation 2021-03-03 12:24:59 +00:00
Michael Gratton
36ee410c27 Merge branch 'mjog/2021-copyright' into 'mainline'
client: Update copyright in UI for 2021

See merge request GNOME/geary!675
2021-03-03 11:14:41 +00:00
Michael Gratton
75d770472a client: Update copyright in UI for 2021 2021-03-03 21:18:20 +11:00
Michael Gratton
d37847682d Merge branch 'mjog/790-email-flag-interleaving' into 'mainline'
Fix email flag interleaving

Closes #790

See merge request GNOME/geary!669
2021-02-28 04:30:22 +00:00
Viktor Illmer
bebc5c6365 Update German translation 2021-02-27 18:35:45 +00:00
Michael Gratton
38231f04fc Merge branch 'mjog/1147-flatpak-libsecret-hang' into 'mainline'
org.gnome.Geary.yaml: Work around password look hang when sandboxed

Closes #1147

See merge request GNOME/geary!672
2021-02-27 00:43:56 +00:00
Michael Gratton
5ce2c74760 Merge branch 'mjog/flatpak-eds-talk-perms' into 'mainline'
org.gnome.Geary.yaml: Fix EDS contacts not working under flatpak, again

See merge request GNOME/geary!671
2021-02-27 00:27:20 +00:00
Michael Gratton
61570501a5 org.gnome.Geary.yaml: Work around password look hang when sandboxed
Libsecret 0.20's portal support is completely hosed at the moment.
Ship 0.19 until that is resolved. See GNOME/libsecret#58

Fixes #1147
2021-02-27 11:15:35 +11:00
Jiri Grönroos
9c4a53af51 Update Finnish translation 2021-02-26 18:22:09 +00:00
Anders Jonsson
a92b1c92de Update Swedish translation 2021-02-25 20:22:10 +00:00
Michael Gratton
46cf245440 org.gnome.Geary.yaml: Fix EDS contacts not working under flatpak, again
Stop trying to chase EDS DBus versioning, just allow access to any
EDS endpoint.
2021-02-25 20:45:28 +11:00
Michael Gratton
831cd0f476 Geary.Imap.FolderSession: Use the SILENT option when sending IMAP STORE
Not having the server echo the command back saves a useless round-trip,
and prevents undesirable interleaving when executing multiple STORE
commands in quick succession.'

Fixes #790
2021-02-25 08:45:10 +11:00
Michael Gratton
4b5fe54d64 Geary.Imap.StoreCommand: Update to support the SILENT command option
This option prevents the IMAP server echoing stored values back to the
client.
2021-02-25 08:45:10 +11:00
Michael Gratton
7f0bb08c54 Merge branch 'preview-crash' into 'mainline'
Geary.Imap.FolderSession: Don't crash on empty preview

See merge request GNOME/geary!667
2021-02-24 12:42:42 +00:00
Michael Gratton
746a1e5bdc Merge branch 'media-keys-navigation' into 'mainline'
Improve navigation using XF86Forward/Back keys

Closes #1129

See merge request GNOME/geary!666
2021-02-24 12:28:32 +00:00
Guido Günther
b57567ff9e Geary.Imap.FolderSession: Don't crash on empty preview
If we didn't set a preview we crash like

    *[wrn] 12:54:59.0908 geary:application-certificate-manager.vala:74: No GCR slot URIs found, GCR certificate pinning unavailable
    *[wrn] 12:55:10.0501 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession: No preview specifiers "body.peek[1]<0.256>" and "body.peek[1.mime]" found
    *[wrn] 12:55:10.0502 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession:  - has body[1.mime]
    *[wrn] 12:55:10.0502 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession:  - has body[header.fields (references)]
    *[wrn] 12:55:10.0502 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession:  - has body[1]<0>
    ![crt] 12:55:10.0502 GLib:Did not see expected message GLib-GObject-WARNING **: g_object_weak_unref: couldn't find weak ref *
    ![crt] 12:55:10.0502 geary:geary_email_set_message_preview: assertion 'GEARY_RF_C822_IS_PREVIEW_TEXT (preview)' failed

    (gdb) bt
    #0  __GI_raise (sig=sig@entry=5) at ../sysdeps/unix/sysv/linux/raise.c:50
    #1  0x0000ffff919a71d8 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
    #2  g_logvPython Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x8:
     (log_domain=0xffff91f1d908 "geary", log_level=10, format=<optimized out>, args=#3  0x0000ffff919a7440 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>)
        at ../../../glib/gmessages.c:1415
    #4  0x0000ffff91eabaf8 in geary_imap_folder_session_fetched_data_to_email
        (error=0xffff11aeb2f0, preview_charset_specifier=0xaaaafe108120 [GearyImapFetchBodyDataSpecifier], preview_specifier=0xaaaafe0ec070 [GearyImapFetchBodyDataSpecifier], body_specifier=0x0, header_specifiers_length1=<optimized out>, header_specifiers=0x0, required_fields=927, fetched_data=<optimized out>, uid=0xaaaafe48de90 [GearyImapUID], self=0xaaaafe1059b0 [GearyImapFolderSession])
        at src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c:6795
    #5  __lambda103_ (error=0xffff11aeb360, _data28_=0xaaaafdf2d760) at src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c:4541
    #6  ___lambda103__geary_nonblocking_concurrent_concurrent_callback (cancellable=<optimized out>, self=0xaaaafdf2d760, error=0xffff11aeb360) at src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c:4640
    #7  0x0000ffff91e412d0 in geary_nonblocking_concurrent_concurrent_operation_execute (self=0xaaaafe48f6d0 [GearyNonblockingConcurrentConcurrentOperation])
        at src/engine/libgeary-engine.a.p/nonblocking/nonblocking-concurrent.c:672
    #8  geary_nonblocking_concurrent_on_work_ready (op=0xaaaafe48f6d0 [GearyNonblockingConcurrentConcurrentOperation], self=<optimized out>)
        at src/engine/libgeary-engine.a.p/nonblocking/nonblocking-concurrent.c:501
    #9  _geary_nonblocking_concurrent_on_work_ready_gfunc (data=0xaaaafe48f6d0, self=<optimized out>) at src/engine/libgeary-engine.a.p/nonblocking/nonblocking-concurrent.c:296
    #10 0x0000ffff919ca3c8 in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../glib/gthreadpool.c:354
    #11 0x0000ffff919c98f4 in g_thread_proxy (data=0xaaaafde2e120) at ../../../glib/gthread.c:820
    #12 0x0000ffff8b437628 in start_thread (arg=0xffff11aeb520) at pthread_create.c:477
    #13 0x0000ffff916a801c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Create an empty preview to avoid that.
2021-02-24 13:18:50 +01:00
Michael Gratton
ab81266b83 Merge branch 'mjog/replay-queue-fixes' into 'mainline'
Replay queue fixes

Closes #216

See merge request GNOME/geary!668
2021-02-24 08:52:54 +00:00
Michał Kopeć
6caf26b15a Enable activating Gtk.ListBox items using XF86Forward and Alt+Right 2021-02-24 01:08:33 +01:00
Michael Gratton
de3946d4a2 Geary.App.ConversationMonitor: Check for email deleted flags on change
Ensure an email's deleted flag is appropriately set (or not) before
re-adding or evaporating conversations based on them.
2021-02-24 10:10:15 +11:00
Michael Gratton
224dbf08d3 Geary.ImapEngine: Ensure actual replay ops interleave correctly
Ensure `ReplayAppend`, `ReplayUpdate` and `ReplayRemoval` ops all
run as remote-only ops, so that they can't be incorrectly interleaved.
For example an update queued after a remove can't be executed first
in the local queue.
2021-02-24 10:08:35 +11:00
Michael Gratton
aa6cf9474c Merge branch 'fix-empty-body-null-fault' into 'mainline'
Geary.RFC822.Message: Handle 0 size of body and header in from_parts().

Closes #1137

See merge request GNOME/geary!665
2021-02-23 21:47:40 +00:00
Michael Gratton
67d68d083d Merge branch 'mjog/folder-load-sync-race' into 'mainline'
Folder load/sync race

See merge request GNOME/geary!663
2021-02-23 21:28:20 +00:00
Michał Kopeć
42f5eb2ff2 Enable navigation between 3 main panes using XF86Forward/Back 2021-02-19 23:40:38 +01:00
Balázs Úr
34921a89d8 Update Hungarian translation 2021-02-18 22:05:51 +00:00
Emin Tufan Çetin
7bb0255858 Update Turkish translation 2021-02-18 00:48:29 +00:00
Daniel Mustieles
8adf73a296 Updated Spanish translation 2021-02-16 16:46:51 +01:00
Marek Benc
0bffbd2c5d Geary.RFC822.Message: Handle 0 size of body and header in from_parts().
Fixes #1137
2021-02-15 13:43:25 +01:00
Michael Gratton
f754094b8b Merge branch 'composer-hdy-headerbar' into 'mainline'
composer-headerbar: Use HdyHeaderBar

See merge request GNOME/geary!664
2021-02-15 07:14:38 +00:00
James Westman
40dd92e8c3
composer-headerbar: Use HdyHeaderBar
This allows the headerbar to be draggable with HdyApplicationWindow.
2021-02-11 01:14:04 -06:00
Michael Gratton
2e56aeda90 Merge branch 'mjog/1147-startup-warning' into 'mainline'
Startup directory not found warning

See merge request GNOME/geary!662
2021-02-10 12:13:22 +00:00
Michael Gratton
a9aa736f67 Application.Controller: Ignore file not found for e8061379 2021-02-10 22:20:24 +11:00
Michael Gratton
7100598c56 Geary.Util.Files.recursive_delete_async: Throw rather than log errors 2021-02-10 22:19:33 +11:00
Jordi Mas
69a8926f1f Update Catalan translation 2021-02-09 21:23:25 +01:00
Michael Gratton
7f110bfa58 Geary.Account: Remove now unused, internal-only signals. 2021-02-09 01:06:24 +11:00
Michael Gratton
0f6c38be4c Geary.ImapEngine.GenericAccount: Use account sync API for db cleanup
Replace use of signals with direct method calls.
2021-02-09 01:05:50 +11:00
Michael Gratton
41359e2d4a Geary.ImapEngine.GenericAccount: Start both remote services later
Start both IMAP and SMTP services only after local folders have
fully loaded, to avoid a race between folders being first updated from
the remote, and full sync's being attempted on them.
2021-02-09 01:03:39 +11:00
Michael Gratton
3e264e2cd4 Geary.ImapEngine.GenericAccount: Call new account sync API as needed
Call the appropriate methods on AccountSynchronizer when folders need
to be refreshed or fully synced.

Ensure all remote folders are fully sync'ed when a connection is
first/re-established so that any changes made are also picked up on
re-connect.
2021-02-09 01:00:16 +11:00