Commit graph

6090 commits

Author SHA1 Message Date
Michael Gratton
33801f22ef sql: Add migration for bad message-id data in the database 2020-08-13 15:50:07 +10:00
Michael Gratton
d280bcbbeb Geary.ImapDB: Use RFC822 strings for Message-Id values in the database
Ensure `RFC822.MessageID.to_rfc822_string` is used when storing and
searching for message ids in the database.
2020-08-13 15:21:23 +10:00
Rafael Fontenelle
fe61902367 Update Brazilian Portuguese translation 2020-08-10 10:22:36 +00:00
Michael Gratton
48e4dbfa82 Merge branch 'alatiera/flatpak-fixups' into 'mainline'
ci: couple of flatpak fixups

See merge request GNOME/geary!537
2020-08-09 00:41:00 +00:00
Emin Tufan Çetin
683cb33567 Update Turkish translation 2020-08-07 14:31:12 +00:00
Jordan Petridis
895321de32 ci: make deps of nightly job explicit
also remove the `only` field as its fixed on the template to run on mainline
2020-08-03 22:24:22 +00:00
Jordan Petridis
0aeb5b19aa ci: move the bundle var inline the flatpak jbo 2020-08-03 22:22:32 +00:00
Jordan Petridis
403fee4f14 ci: flatpak: remove meson-args variable
We no longer need to manually keep it in sync with the ci.
2020-08-03 22:19:29 +00:00
Michael Gratton
175333176e Merge branch 'mjog/crash-sending-multipart' into 'mainline'
Fix mainline crash sending multipart messages

See merge request GNOME/geary!535
2020-08-03 10:58:03 +00:00
Michael Gratton
ec4c6d3989 Geary.RFC822.Message: Fix get_body() critical with multipart messages
Fixes a bad assumption MR !534 made about GMime structure and causing
a crash on sending multipart messages. Add unit tests to cover this
case.
2020-08-03 20:14:32 +10:00
Michael Gratton
6424b66b56 Merge branch 'mjog/flatpak-ci-failure' into 'mainline'
Flatpak CI failure

See merge request GNOME/geary!536
2020-08-03 10:13:34 +00:00
Michael Gratton
27a9404bcf .gitlab-ci.yml: Remove CI jobs after they were removed from the template 2020-08-03 18:19:20 +10:00
Piotr Drąg
3ce81ed286 Update Polish translation 2020-08-02 13:36:55 +02:00
Kukuh Syafaat
202ae883ea Update Indonesian translation 2020-07-31 12:33:39 +00:00
Michael Gratton
e89a5cadbd Merge branch 'mjog/rfc822-cleanup-part-n' into 'mainline'
RFC822 error handling cleanup

Closes #889

See merge request GNOME/geary!534
2020-07-31 02:26:23 +00:00
Michael Gratton
8e33f8fe07 Merge branch 'diegoe_prefs-window-size' into 'mainline'
preferences: Set default_width to omit back button

See merge request GNOME/geary!528
2020-07-31 01:53:32 +00:00
Anders Jonsson
5df1c6e8fd Update Swedish translation 2020-07-30 11:19:25 +00:00
Yuri Chornoivan
223ecd1b6f Update Ukrainian translation 2020-07-30 09:56:57 +00:00
Michael Gratton
75ec2fe279 Merge branch 'nomailinglist' into 'mainline'
geary-list mailing list is obsolete

See merge request GNOME/geary!532
2020-07-30 04:08:31 +00:00
Michael Gratton
1319120e9f Merge branch 'mainline' into 'mainline'
Added detach composer shortcut to UI

See merge request GNOME/geary!531
2020-07-30 04:06:01 +00:00
Michael Gratton
53ddf81927 Geary.Imap.FolderSession: Ensure Email fields updated for null values
Ensure that when setting values from server responses on a Geary.Email
that the flags are still updated even when values are null (e.g. set
Email.Field.DATE even if no Date header was present) so that clients
can tell that the value is in fact null and that email field prereq
checks aren't accidentally triggered.
2020-07-30 13:03:31 +10:00
Michael Gratton
c2a1bae025 Geary.Memory.OffsetBuffer: Remove now unused class 2020-07-30 12:53:11 +10:00
Michael Gratton
784bac58a1 Geary.Imap.FolderSession: Tighten up preview generation error handling 2020-07-30 12:53:11 +10:00
Michael Gratton
6af5b2f0e6 Geary.Email: Rework RFC822.Message.get_email into an Email constructor
This also allows us to remove the message buffer hack in Message.
2020-07-30 12:53:11 +10:00
Michael Gratton
e2f2b6cdab Geary.RFC822.Message: Add accessors for message headers and raw body
Allow accessing Header and Text representations of the message.
2020-07-30 12:53:11 +10:00
Michael Gratton
0b8bf7375f Geary.Imap.EnvelopeDecoder: Suppress message id errors
Even if the a message has an invalid message id or message id list
header value, we need to keep parsing the message to ensure we can
do *something* useful with it.
2020-07-30 12:53:11 +10:00
Michael Gratton
26f5fdef38 Geary.RFC822.Message: Suppress message id errors in ctors
Even if the a message has an invalid message id or message id list
header value, we need to keep parsing the message to ensure we can
do *something* useful with it.
2020-07-30 12:53:11 +10:00
Michael Gratton
537410f76e Geary.RFC822.{MessageID,MessageIdList}: Throw error parsing empty rfc822
An empty string is not a valid RFC822 message id or message id list, so
don't treat it as such.
2020-07-30 12:53:11 +10:00
Michael Gratton
b78dfe7cb8 Composer.Widget: Convert references to a MessageIdList instance
Using the high-level representation avoids having to re-parse and
re-format the list.

Update the util method Geary.RFC822.Utils.reply_references to support
this.
2020-07-30 12:53:11 +10:00
Rafael Fontenelle
7f632703b7 Update Brazilian Portuguese translation 2020-07-18 12:19:51 +00:00
Jordi Mas
7a0b4fb3f1 Update Catalan translations 2020-07-11 22:35:17 +02:00
Federico Bruni
fbef65754c geary-list mailing list is obsolete
Archives are still available at:
https://mail.gnome.org/archives/geary-list/
2020-07-10 13:19:32 +02:00
Jordi Mas
1f24530e57 Update Catalan translation 2020-07-09 23:05:35 +02:00
Andre Klapper
49f3f17ddc Fix broken markup in Italian help translation 2020-07-07 18:51:05 +02:00
hkdb
4ca4a91bbc Added detach composer shortcut to UI
Added "Detach composer" shortcut to "Keyboard Shortcuts" window
under the "Actions" section of the "Composer Shortcuts" page in the UI.
2020-07-07 21:13:20 +08:00
Andre Klapper
897722f784 Fix Mallard validation errors by changing section IDs 2020-07-06 19:19:11 +02:00
Diego Escalante Urrelo
e6b5beb46b preferences: Set default_width to omit back button
The sizing of the preferences window depends on the button labels and
tends to be too narrow which makes the "back" button of
`HdyPreferencesWindow` to be shown. It's a bit weird to see this on the
desktop when there's plenty of space available.

This is shown by `HdyHeaderBar` when it considers a window to be
"mobile" which happens when its width is less than MOBILE_WINDOW_WIDTH
(400) or it's height less than MOBILE_WINDOW_HEIGHT (800) (see
`libhandy/src/hdy-header-bar.c`).
2020-07-03 14:22:47 -05:00
Michael Gratton
42b13b827d Merge branch 'ricotz/vala' into 'mainline'
Don't use unsupported vala syntax

See merge request GNOME/geary!527
2020-07-03 10:48:47 +00:00
Rico Tzschichholz
0c57eed50b Don't use unsupported vala syntax 2020-07-02 15:32:22 +02:00
Michael James Gratton
03af13cbf1 Geary.RFC822.Message: Fix criticals from missing parameter nullable annotation 2020-07-02 11:05:55 +10:00
Michael James Gratton
64a7f8d3a9 Application.ContactStore: Fix criticals from missing param nullable annotation 2020-07-02 10:49:17 +10:00
Michael Gratton
f6af688623 Geary.ImapDb.Database: Fix criticals when ::run_gc to_pause is null 2020-07-01 11:50:55 +10:00
Michael Gratton
ec7a970743 Geary.ImapDb.Database: Fix free after use when GC'ing
Passing arrays to async methods will cause use-after-free segfaults
after yielding (see GNOME/vala#751), so pass services in to `run_gc()`
via a Gee Collection.
2020-07-01 11:38:39 +10:00
Michael Gratton
16efce0514 Fix build failure 2020-06-30 18:25:51 +10:00
Michael Gratton
cfbac77fa4 Merge branch 'mjog/unit-test-subproject' into 'mainline'
Unit test subproject and cleanup

See merge request GNOME/geary!517
2020-06-30 08:08:54 +00:00
Michael Gratton
3550c69723 Merge branch 'mjog/server-quirks' into 'mainline'
Server quirks

See merge request GNOME/geary!508
2020-06-30 07:50:05 +00:00
Michael Gratton
4d6dad1cfa Merge branch 'mjog/746-gmail-flag-quote-bug' into 'mainline'
GMail flag quote bug

Closes #746

See merge request GNOME/geary!507
2020-06-30 07:46:17 +00:00
Michael Gratton
7c48589550 vala-unit: Skip gee collection in older valac
It will fail without current vala head, so just skip under 0.48 or less.

See GNOME/vala#992
2020-06-30 17:31:07 +10:00
Michael Gratton
0ae633d88f Update existing tests to work with ValaUnit 2020-06-30 17:31:07 +10:00
Michael Gratton
6b1bad28b9 Move generic unit test classes to a new basically-standalone subproject
Break out the generic testing code into something easily re-used, and
improve the API substantially:

 * Use generics to reduce the number of equality tests to effectively
   a single one
 * Make all assert args consistent in that the actual value is always
   listed first.
 * Add convenience API for common string/array/collection assertions
2020-06-30 17:20:12 +10:00