Commit graph

6268 commits

Author SHA1 Message Date
Michael Gratton
369b1f1a4d Composer.Widget: Split email body editing code out into separate widget
Create a new Composer.Editor widget and move all body web view and
action bar related code from the main widget there.

This helps to clearly delineate concerns of the two classes, it
substantially reduces the complexity of the main widget, and should
reduce the odds of further breakage like that fixed by the previous
commit less likely in the future.
2020-08-28 18:25:58 +10:00
Michael Gratton
1282696048 ui/composer-widget.ui: Make action bars child of the editor box
Editor actions are defined on the editor box, so action bars need to be
decedents of that to pick up the actions.
2020-08-28 14:06:27 +10:00
Nathan Follens
ee16e6b39b Update Dutch translation 2020-08-27 18:21:10 +00:00
sicklylife
6717c09ac1 Update Japanese translation 2020-08-27 13:51:04 +00:00
sicklylife
b4b449a3ac Update Japanese translation 2020-08-27 13:44:23 +00:00
Enrico Nicoletto
8426648a7f Update Brazilian Portuguese translation 2020-08-27 13:02:30 +00:00
Yuri Chornoivan
72c78eeda2 Update Ukrainian translation 2020-08-27 12:51:57 +00:00
Michael Gratton
c2ee4656cd Merge branch 'mjog/949-translation-plural-form' into 'mainline'
Fix missing translation plural form

Closes #949

See merge request GNOME/geary!562
2020-08-27 12:37:37 +00:00
Daniel Șerbănescu
4e4cffd998 Update Romanian translation 2020-08-27 08:00:52 +00:00
Jiri Grönroos
c195dbbeb1 Update Finnish translation 2020-08-27 07:41:41 +00:00
Yuri Chornoivan
fe14a8d9cf Update Ukrainian translation 2020-08-27 05:43:46 +00:00
Kukuh Syafaat
076cbe15a1 Update Indonesian translation 2020-08-27 01:11:48 +00:00
Michael Gratton
ab97c5193e Update files for 3.37.91 2020-08-27 10:34:52 +10:00
Michael Gratton
f6dec1e8bc THANKS: Updated 2020-08-27 10:34:52 +10:00
Michael Gratton
ca4fa1627b Plugin.MailMerge: Fix translatable string that should be in plural form
Fixes #949
2020-08-27 10:32:12 +10:00
Michael Gratton
688010d932 Plugin.MailMerge: Fix API doc comment 2020-08-27 10:32:12 +10:00
Michael Gratton
daae6b0c10 Merge branch 'mjog/remove-handy-subproj' into 'mainline'
build: Remove libhandy submodule from the build

See merge request GNOME/geary!561
2020-08-27 00:32:00 +00:00
Michael Gratton
f9df7dddf5 build: Remove libhandy submodule from the build
Although libhandy-1 is not widely available yet, Damned-Lies is having
trouble dealing with the submodule and it's more important to get
translations done than this build convenience, so pull it out.

See Infrastructure/damned-lies#184
2020-08-27 08:34:08 +10:00
Michael Gratton
710eeb1e65 Merge branch '937-retain-messages-during-gc' into 'mainline'
Retain a number of messages when performing GC

Closes #937

See merge request GNOME/geary!556
2020-08-26 22:07:50 +00:00
Daniel Mustieles
697d60ebb8 Updated Spanish translation 2020-08-26 10:09:29 +02:00
Michael Gratton
95da7bb7d0 Merge branch 'mjog/866-self-signed-certificates-test' into 'mainline'
Self signed certificates test

See merge request GNOME/geary!559
2020-08-25 07:06:22 +00:00
Michael Gratton
9c4816d4b3 .gitlab-ci.yml: Add test deps so that certtool is installed 2020-08-25 16:40:16 +10:00
Michael Gratton
964b03c068 Application.TlsDatabase: Add unit tests for local (non-GCR) pinning
Make the class internal so it can be tested, add unit tests covering
both in-memory-only and on-disk pinning.
2020-08-25 16:40:08 +10:00
Michael Gratton
423a55b00f Merge branch 'mjog/866-self-signed-certificates' into 'mainline'
Fix invalid certificate pinning when GCR support is unavailable

Closes #866

See merge request GNOME/geary!529
2020-08-25 03:54:09 +00:00
Daniel Mustieles
d55f914215 Updated Spanish translation 2020-08-24 12:52:11 +02:00
Chris Heywood
4fdaaeacd9 Fix bug with message retention count during GC plus fix test case 2020-08-24 19:29:44 +10:00
Chris Heywood
497d9906bd Retain a number of messages when performing GC
Avoids behaviour described in #937 where messages can be repetitively
detached and downloaded if they are outside the account download
threshold but at the top of the folder.
2020-08-24 18:27:24 +10:00
Michael Gratton
23f960f861 Application.Client: Fix blank composers being opened with wrong account
Fixes #936
2020-08-23 17:44:15 +10:00
Michael Gratton
b0b54d57e0 Geary.ImapEngine.GenericAccount: Fix null cancellable criticals 2020-08-23 17:42:56 +10:00
Michael Gratton
d6ed4768bf build: Bump minimum GLib version to 2.64
This should have been included in !554, but wasn't.
2020-08-23 17:40:28 +10:00
Michael Gratton
0972438a89 Merge branch 'mjog/934-gmail-duplicate-messages' into 'mainline'
Fix duplicate messages appearing in conversations

Closes #934

See merge request GNOME/geary!555
2020-08-23 03:25:34 +00:00
Michael Gratton
3ddce74844 sql: Add db migration to clean up message_ids with extra whitespace 2020-08-23 12:58:17 +10:00
Piotr Drąg
3fcd0f8af1 Update Polish translation 2020-08-22 14:13:33 +02:00
Michael Gratton
e05efff7e0 Geary.ImapDB.Folder: Fix duplication checking when updating message data
Duplication check when Message-ID was present was using string not
RFC822 form.
2020-08-22 16:29:26 +10:00
Michael Gratton
eb3a8b0fe4 Geary.RFC822.MessageID: Replace GMime parser with more lax parser
Support parsing message IDs with the form `<add-spec>` (per the RFC)
but also `(add-spec)` and `add-spec`.

Add unit tests.
2020-08-22 16:23:07 +10:00
Michael Gratton
4e50822674 Geary.RFC822.MessageID: Ensure RFC822 value does not include errant wtsp
`to_rfc822_string` must not include any leading/trailing white space
even if it was included in the `from_rfc822_string` constructor.
2020-08-22 11:57:12 +10:00
Michael Gratton
d239cf4be4 Merge branch 'mjog/800-drop-lsb-release' into 'mainline'
Application.Client: Use GLib rather than lsb-release for OS info

Closes #800

See merge request GNOME/geary!554
2020-08-22 01:21:26 +00:00
Michael Gratton
c5f34fa23b Merge branch 'mjog/inspector-unusable-with-modals' into 'mainline'
Application.Client: Prevent app modal dialogs blocking inspector windows

Closes #932

See merge request GNOME/geary!553
2020-08-22 01:10:41 +00:00
Michael Gratton
591046ecee Application.Client: Use GLib rather than lsb-release for OS info
Use `g_get_os_info()` instead of exec'ing lsb-release, bump min GLib
version req to ensure we have the function available.

Fixes #800
2020-08-22 10:47:46 +10:00
Michael Gratton
20c4402bef Application.Client: Prevent app modal dialogs blocking inspector windows
Fixes #932
2020-08-22 10:27:06 +10:00
Michael Gratton
b8ed6ed230 Merge branch 'mjog/930-nightly-missing-shortcuts' into 'mainline'
Application.Client: Explicitly set a GApplication resource base path

Closes #930

See merge request GNOME/geary!552
2020-08-21 02:44:36 +00:00
Michael Gratton
fe269267a3 Merge branch 'mjog/931-cannot-remove-accounts' into 'mainline'
Cannot remove accounts

Closes #931

See merge request GNOME/geary!550
2020-08-21 00:43:15 +00:00
Michael Gratton
519c8633e6 Application.Client: Explicitly set a GApplication resource base path
Set the resource base path to be the expected path so that when running
devel or beta builds (ones that have different app ids), the keyboard
shortcut UI file is still found.

Fixes #930
2020-08-21 10:36:58 +10:00
Michael Gratton
389baf1c36 Updates files for 3.37.90 2020-08-20 12:53:40 +10:00
Michael Gratton
a3500d04a1 THANKS: Updated 2020-08-20 12:53:40 +10:00
Michael Gratton
f6bb718fbb build: Bump minimum vala version to 0.48.6
Ensure 3.38 isn't affected by GNOME/vala#995, which causes spurious
bug reports.
2020-08-20 12:34:44 +10:00
Michael Gratton
bf1879059c Application.Controller: Clean up account adding/removal
Add dedicated methods for adding and removing accounts to simplify
callback impls and remove redundancy, ensure they check for engine
errors if an account already exists or doesn't exist.
2020-08-20 11:36:07 +10:00
Michael Gratton
b3aa2052cf Accounts.Manager: Fix criticals when removing/restoring accounts
Cancellables must be nullable.
2020-08-20 11:35:39 +10:00
Michael Gratton
8f278e3e03 Application.Client: Fix criticals when opening first new window
If there is no existing window, then `current` will be null.
2020-08-20 11:34:57 +10:00
Michael Gratton
da36d08d47 Merge branch 'codespell-changes' into 'mainline'
*: fix spelling mistakes found by codespell

See merge request GNOME/geary!549
2020-08-20 00:33:58 +00:00