Commit graph

6245 commits

Author SHA1 Message Date
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
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
Björn Daase
1d02b8b70b *: fix spelling mistakes found by codespell 2020-08-19 09:34:58 +02:00
Michael Gratton
e4683c1dfc Updates files for 3.37.90 2020-08-19 12:00:01 +10:00
Michael Gratton
70fb1f2cb9 THANKS: Updated 2020-08-19 11:59:47 +10:00
Michael Gratton
f1d9e767e0 Merge branch 'mjog/i18n-fixes-redux' into 'mainline'
I18n fixes redux

See merge request GNOME/geary!548
2020-08-19 01:22:14 +00:00
Michael Gratton
9064d35389 README.md: Update Matrix channel to point to GNOME's server 2020-08-19 11:18:08 +10:00
Michael Gratton
8a1f38ae1e geary.doap: Remove Jim as a maintainer, he hasn't been around in a while
If anyone would like to help co-maintain Geary, please do let me know.
2020-08-19 10:56:12 +10:00
Michael Gratton
72b79ece60 po/POTFILES.skip: Skip translating internal plugin descriptors
These plugins are never presented in the UI, hence should not be
translated.
2020-08-19 10:48:40 +10:00
Michael Gratton
ad9ea210e0 po/POTFILES.skip: General cleanup 2020-08-19 10:45:48 +10:00
Michael Gratton
f84dd80d70 Merge branch 'mjog/port-to-libhandy-1' into 'mainline'
Port to libhandy-1

Closes #924

See merge request GNOME/geary!544
2020-08-18 12:43:20 +00:00
Yuri Chornoivan
468275a83c Update Ukrainian translation 2020-08-18 12:33:06 +00:00
Michael Gratton
65954749f3 build: Add workaround for libhandy Since 1.0 version mismatch
Handy's GIR annotations declare Since 1.0, but the version is only 0.90
at the moment, so disable checks for now if less than v1.0.
2020-08-18 22:20:29 +10:00
Michael Gratton
574a7173b3 build: Update libhandy package name in CI and INSTALL 2020-08-18 22:20:29 +10:00
Michael Gratton
37b0f2e783 Components.PreferencesWindow: Update default width again
Bump it up enough to ensure we get full-height headerbar text.
2020-08-18 22:20:29 +10:00
Michael Gratton
7033ba393f Components.PreferencesWindow: Remove unused code 2020-08-18 22:20:29 +10:00
Michael Gratton
798c76bc83 client: Give inspector and problem report dialogs consistent sizes 2020-08-18 22:20:29 +10:00
Michael Gratton
a043eec310 build: Allow valadoc to find libhandy vapi when built from a subproject 2020-08-18 22:20:23 +10:00
Michael Gratton
5b097c3076 client: Port client codebase to handy-1 2020-08-18 22:20:23 +10:00
Michael Gratton
2d12b25e2c build: Switch over to use libhandy-1
Add as a optional submodule for people who don't have it installed yet.
2020-08-18 22:10:34 +10:00
Michael Gratton
62ccfdafcd build: Generate valadoc vapidir args to reduce command boilerplate 2020-08-18 22:10:34 +10:00
Michael Gratton
2532f94bab build: Remove local vapi directory from valadoc target 2020-08-18 22:10:34 +10:00
Michael Gratton
6b87249959 Merge branch 'mjog/i18n-fixes' into 'mainline'
I18n fixes

See merge request GNOME/geary!547
2020-08-18 09:04:19 +00:00
Michael Gratton
462edf7eb8 src/client/plugins: Reduce translations needed for internal plugins
Remove `Description` key from internal plugin desktop files and
leave a note about not bothering to translate `Name`, since they
will ever be seen.
2020-08-18 18:10:39 +10:00
Michael Gratton
193aaa2281 po/POTFILES.in: Add missing plugin source files 2020-08-18 18:09:26 +10:00