Commit graph

6764 commits

Author SHA1 Message Date
Michael Gratton
2ec23bac76 Geary.ImapEngine.AccountSychronizer: Clean up implementation
This does a few things:

 * Adds a high-level API for queuing different kinds of sync's instead
   of listening to account signals
 * Splits out background GC work into a third type of concrete sync
   op so it can be executed when offline
 * Ensures refresh and full sync ops are only executed when online, so
   they don't needlessly jam up the account processor's queue
 * Clean up sync op class hierarchy a bit to accommodate new ops
2021-02-09 00:44:14 +11:00
Michael Gratton
41c284b416 Merge branch 'mjog/disable-webkit-gtk-sandbox-again' into 'mainline'
Components.WebView: Disable WebKitGTK sandboxing

See merge request GNOME/geary!661
2021-02-07 09:33:59 +00:00
Michael Gratton
a5ce9d8434 Components.WebView: Disable WebKitGTK sandboxing again
It breaks print-to-pdf, and the workaround effectively disables the
sandbox.

See #842 and https://bugs.webkit.org/show_bug.cgi?id=202363
2021-02-07 18:22:52 +11:00
Michael Gratton
a102c269b3 Merge branch 'mjog/fix-build-warnings' into 'mainline'
Fix build warnings

See merge request GNOME/geary!659
2021-02-07 04:10:02 +00:00
Michael Gratton
72499c182a Merge branch 'mainline' into 'mjog/fix-build-warnings'
Fix conflicts with switch to Hdy.HeaderBar

# Conflicts:
#   src/client/components/main-toolbar.vala
2021-02-07 03:53:34 +00:00
Michael Gratton
c4bd8c2b61 Merge branch 'wip/cdavis/hdyheaderbar' into 'mainline'
toolbar: Use HdyHeaderBar

Closes #1143

See merge request GNOME/geary!658
2021-02-07 03:49:31 +00:00
Michael Gratton
f218328210 Application.Controller: Fix build warning
Fixes build warning introduced in commit c4fae242.
2021-02-07 14:23:13 +11:00
Michael Gratton
ef9613b9f2 client: Ensure all [GtkChild] properties/fields are unowned
See GNOME/vala#1121
2021-02-07 12:36:55 +11:00
Christopher Davis
44bc5c5cda toolbar: Use HdyHeaderBar
This was forgotten when porting to HdyWindow,
but is needed for making the window draggable.
2021-02-06 04:07:28 -08:00
Rodrigo Costa
e0f969d0c8 Update Brazilian Portuguese translation 2021-02-05 17:37:31 +00:00
Мирослав Николић
cd510223ec Update Serbian translation 2021-02-05 08:20:37 +00:00
Michael Gratton
83a97f3102 Merge branch 'only-hdy-window' into 'mainline'
main-window: replace GtkApplicationWindow with HdyApplicaitonWindow

See merge request GNOME/geary!656
2021-02-03 22:13:07 +00:00
Michael Gratton
534c780999 Merge branch 'mjog/attachment-download-dir' into 'mainline'
Default attachment save file chooser to XDG_DOWNLOADS

See merge request GNOME/geary!654
2021-02-03 22:09:59 +00:00
Michael Gratton
013e4c3947 Merge branch 'mjog/webkit-sandbox-print-to-pdf' into 'mainline'
Components.WebView: Fix printing to PDF with WebKitGTK sandbox enabled

See merge request GNOME/geary!655
2021-02-03 22:01:11 +00:00
Julian Sparber
dc6fb34422 main-window: replace GtkApplicationWindow with HdyApplicaitonWindow
HdyApplicationWindow moves the titlebar into the content area of the
window which allows us to split the current main-titlebar and move the
parts directly into the leaflets without the need of swipe groups nor
size groups.
2021-02-03 17:06:45 +01:00
Michael Gratton
67e5047816 ConversationEmail: Print to XDG_DOWNLOADS by default
We know that location is writable under Flatpak at the moment, so
default to it.
2021-02-03 23:53:06 +11:00
Michael Gratton
2b5ef5ea52 Application.AttachmentManager: Default save chooser to XDG_DOWNLOADS
We know that location is writable under Flatpak at the moment, so
default to it.
2021-02-03 23:52:20 +11:00
Michael Gratton
5a54e470b2 Components.WebView: Fix printing to PDF with WebKitGTK sandbox enabled
Add all of `~` as writable to the sandbox so it can actually write the
PDF.
2021-02-03 23:28:15 +11:00
Michael Gratton
77897cbe18 Merge branch 'mjog/pinned_cert_dir' into 'mainline'
Application.Controller: Fix directory used for locally pinned certs

See merge request GNOME/geary!652
2021-02-02 21:47:48 +00:00
Michael Gratton
f0d169e0d4 Components.AttachmentPane: Remove unneeded debug logging 2021-02-03 08:44:50 +11:00
Michael Gratton
c4fae24262 Application.Controller: Fix directory used for locally pinned certs
Fix defect introduced in commit e8061379.
2021-02-01 22:07:16 +11:00
Daniel Șerbănescu
bf8f333f9b Update Romanian translation 2021-01-31 16:46:44 +00:00
Piotr Drąg
a5790454cd Update Polish translation 2021-01-31 10:18:58 +01:00
Michael Gratton
581754872a Merge branch 'fix-inspector-system-info' into 'mainline'
application-client: Check for null when getting os info

See merge request GNOME/geary!651
2021-01-31 01:04:56 +00:00
Jeremias Ortega
c524e17798
application-client: Check for null when getting os info
This caused a crash in the inspector system view when the os info wasn't
available.

Related to https://gitlab.gnome.org/GNOME/geary/-/issues/1123
2021-01-30 18:38:43 -06:00
Michael Gratton
e99115e99f Merge branch 'mjog/1126-dot-stuffing' into 'mainline'
Fix email being sent truncated after a line starting with a dot.

Closes #1126

See merge request GNOME/geary!647
2021-01-28 11:32:10 +00:00
Michael Gratton
cc5d4ffa62 Geary.Smtp.ClientSession: Ensure SMTP data is sent dot-stuffed
Fixes #1126
2021-01-28 22:10:03 +11:00
Michael Gratton
1987582bca Geary.Smtp.ClientConnection: Documentation fixes 2021-01-28 22:09:43 +11:00
Yuri Chornoivan
cbda58abde Update Ukrainian translation 2021-01-28 08:17:42 +00:00
Michael Gratton
9bf730778b Merge branch 'mjog/1079-mesage-id-from' into 'mainline'
Geary.Smtp.ClientService: Get default Message-Id domain from From

Closes #1079

See merge request GNOME/geary!644
2021-01-27 13:14:38 +00:00
Michael Gratton
bc7ec8dd2e Geary.Smtp.ClientService: Get default Message-Id domain from From
Use From header as the default message id domain part, not Sender.

Fixes #1079
2021-01-27 23:55:21 +11:00
Michael Gratton
93119f738b Merge branch 'mjog/composer-keyboard-fixes' into 'mainline'
Composer keyboard fixes

Closes #1122 and #1059

See merge request GNOME/geary!643
2021-01-27 12:08:20 +00:00
Michael Gratton
220eb42e5e client: Show keyboard shortcuts in the composer with the correct section
Enable keyboard shortcuts shortcut in the composer, ensure the composer
section is visible when activated (and vice versa).

Fixes #1122
2021-01-27 22:35:25 +11:00
Michael Gratton
f4d3c54110 ui: Remove can_focus from GTK builder file definitions
GTK widgets set the default for this as needed, and some incorrect
values for this have caused issues with keyboard focus.

Fixes #1059
2021-01-27 21:43:23 +11:00
Michael Gratton
e6ab0f754f Composer.Widget: Rework to use common header row widget
Add private HeaderRow and EntryHeaderRow widgets for displaying editable
headers in the composer, convert to using that to wrap up common
properties and functionality for each of the header rows.
2021-01-27 12:05:49 +11:00
Michael Gratton
430f8abe9a client: Convert main composer widgets to use proper CSS names 2021-01-26 23:23:45 +11:00
Michael Gratton
f281b5ca2e Composer.Widget: Rename some structural widgets to make more sense 2021-01-26 21:54:14 +11:00
Michael Gratton
63c3024f12 Merge branch 'make_conversion_view_round' into 'mainline'
Conversation view: rounded containers

See merge request GNOME/geary!612
2021-01-25 23:05:30 +00:00
Julian Sparber
95f75f789c conversation-list-box: remove shadow and make the rows rounded
This also makes the expander row look like in HdyExpander row.
2021-01-25 22:20:15 +01:00
Julian Sparber
b978f69341 conversation-email-row: use is-expanded to add/remove css class 2021-01-25 22:20:15 +01:00
Michael Gratton
edf2bb43f3 Merge branch 'auto-fill-hostname' into 'mainline'
accounts-editor-add-pane: Autofill hostname

See merge request GNOME/geary!641
2021-01-25 12:13:51 +00:00
Michael Gratton
8b9d96fd4a Merge branch 'fix-add-pane-row' into 'mainline'
accounts-editor-add-pane: Fix bug on AddPaneRow constructor

See merge request GNOME/geary!642
2021-01-25 12:09:05 +00:00
Jeremias Ortega
f5825c2b34
accounts-editor-add-pane: Fix bug on AddPaneRow constructor
AddPaneRow constructor created a new `Gtk.Entry` instead of using the
parameter provided.
2021-01-24 22:39:03 -06:00
Jeremias Ortega
be0a2f78dc
accounts-editor-add-pane: Autofill hostname
Related to https://gitlab.gnome.org/GNOME/geary/-/issues/180
2021-01-24 22:33:10 -06:00
Piotr Drąg
3df48b3482 Update Polish translation 2021-01-24 13:17:58 +01:00
Daniel Șerbănescu
b14d94a1a3 Update Romanian translation 2021-01-21 19:39:35 +00:00
Michael Gratton
29014624dc Merge branch 'ThamiMemel/geary-sandboxing_issue_#842' into 'mainline'
WebKitGTK WebProcess updates

Closes #842

See merge request GNOME/geary!639
2021-01-20 12:27:41 +00:00
Michael Gratton
5421ea4662 Components.WebView: Switch to WebProcess document browser cache model
Now we're using a single long-lived WebProcess for displaying multiple
email, it makes sense to enable some caching.
2021-01-20 23:07:00 +11:00
Michael Gratton
a63ede9ead Components.WebView: Ensure WebKitGTK sandbox can access web extension 2021-01-20 23:06:58 +11:00
Thami Memel
174023dd23 Enabling WebKitGTK sandboxing
Changed to enable WebKitGTK sandboxing

https://gitlab.gnome.org/GNOME/geary/-/issues/842
2021-01-20 23:06:39 +11:00