Commit graph

5622 commits

Author SHA1 Message Date
Emin Tufan Çetin
f775eac247 Update Turkish translation 2020-03-25 06:40:09 +00:00
Michael Gratton
8dfa262481 Merge branch 'mjog/758-missing-message-id' into 'mainline'
Geary.RFC822.Message: Fix Message-Id header not being set

Closes #758

See merge request GNOME/geary!456
2020-03-25 03:26:41 +00:00
Michael Gratton
fe760ff40a Geary.RFC822.Message: Fix Message-Id header not being set
The port to GMime 3 missed setting the Message-Id header on the
underlying GMime Message object when constructing a message, from a
ComposedEmail, so this was not getting set on outoging email.

Fixes #758
2020-03-25 14:05:23 +11:00
Michael Gratton
0edaf3b988 Merge branch 'mjog/tzdata-debconf-wedged-ci' into 'mainline'
.gitlab-ci.yml: Preconfigure Ubuntu tzdata package

See merge request GNOME/geary!457
2020-03-25 03:02:50 +00:00
Michael Gratton
62b2f14ffd .gitlab-ci.yml: Preconfigure /etc/localtime on Ubuntu CI
This prevents it blocking waiting for terminal input on upgrades.
2020-03-25 13:46:39 +11:00
Michael Gratton
8f4e573ef6 Merge branch 'mjog/692-dont-serialise-empty-array' into 'mainline'
Geary.Imap.Serializer: Don't try to serialise empty literal data

Closes #692

See merge request GNOME/geary!453
2020-03-23 10:31:54 +00:00
Michael Gratton
9b0f359b97 Merge branch 'mjog/notfication-avatars' into 'mainline'
Notfication avatars

See merge request GNOME/geary!451
2020-03-21 22:30:38 +00:00
Michael Gratton
7d82d9de66 org.gnome.Geary.appdata.xml.in.in: Add note notification avatars 2020-03-22 08:59:20 +11:00
Michael Gratton
ff02a13edc Plugin.DesktopNotification: try harder to show contact details
Show an individual's contact details even when there are multiple new
messages.
2020-03-22 08:56:44 +11:00
Michael Gratton
b0e77dc717 Plugin.DesktopNotifications: Display avatar in notifications if poss 2020-03-22 08:56:39 +11:00
Michael Gratton
c4d046ea61 Application.AvatarStore: Make class internal
Now that no non-application-package classes are using it, make the
class internal and its property on Controller private.
2020-03-22 08:55:28 +11:00
Michael Gratton
335c31b8ef Application.AvatarStore: Move pixel size constant to Client 2020-03-22 08:55:20 +11:00
Michael Gratton
21fb82fd2a Application.Contact: Add method to access avatars
Allows access to avatars without requiring access to the store.
2020-03-22 08:55:00 +11:00
Michael Gratton
22ab242f94 org.gnome.Geary.yaml: Add forgotten GSound dep 2020-03-22 08:45:39 +11:00
Jordi Mas
ae6e1750bf Update Catalan translation 2020-03-21 19:56:06 +01:00
Michael Gratton
2826bf0a5b Geary.Imap.Serializer: Don't try to serialise empty literal data
Fixes #692
2020-03-21 18:17:15 +11:00
Michael Gratton
652f77f76a FolderList.Tree: Fix search folder not appearing when selected
Fixes #744
2020-03-21 18:15:37 +11:00
Michael Gratton
2f3f2ca8d1 Merge branch 'mjog/598-sent-email-sound' into 'mainline'
Sent email sound plugin

Closes #598

See merge request GNOME/geary!450
2020-03-21 06:38:26 +00:00
Michael Gratton
a47e0fcede Plugin: Add new sent-sound plugin
Optional plugin to play the sent-mail sound from the desktop's system
sound theme when an email is sent.

Fixes #598
2020-03-21 17:19:18 +11:00
Michael Gratton
e7c7326a05 Plugin.EmailStore: Actually emit the email-sent signal
Wire up emitting the signal from the controller when it gets notified
of an email being sent.
2020-03-21 17:03:48 +11:00
Michael Gratton
2e623a5b78 Geary.Smtp.ClientService: Pass a Geary.Email to sent-mail signal
Pass and email object to sent-mail so that we have access to one when
notifying plugings of mail being sent and not need to convert/impement
the RFC833 message to a Plugin.Email object.
2020-03-21 17:03:48 +11:00
Michael Gratton
1beea00d60 Application: Minor API doc comment update 2020-03-21 17:03:48 +11:00
Michael Gratton
45d05dd3f6 Plugin: Fix some bad API docs 2020-03-21 17:03:47 +11:00
Michael Gratton
f0c1dfe375 Application: Make Plugin.EmailStore impl usable by other cxts
Break out the plugin mail store implmeentation out of
NotificationContext into its own EmailStoreFactory class, so it can be
re-used by other plugin context types.
2020-03-21 17:02:08 +11:00
Michael Gratton
3202a9c018 Application.FolderStoreFactory: Fix critical on account removal 2020-03-20 20:53:40 +11:00
Michael Gratton
77823ae513 Merge branch 'mjog/prefer-special-use' into 'mainline'
Prefer IMAP SPECIAL-USE extension (RFC 6154) over XLIST

See merge request GNOME/geary!442
2020-03-20 08:31:51 +00:00
Michael Gratton
8172ad960b console: Support issuing SPECIAL-USE with LIST commands 2020-03-20 19:13:14 +11:00
Michael Gratton
ef412fe7d7 Geary.Imap.AccountSession: Prefer SPECIAL-USE over XLIST
The latter is an old, proprietary Gmail extension, we should be
preferring the standard over it.
2020-03-20 19:13:14 +11:00
Michael Gratton
686949118e Merge branch 'mjog/folder-plugins' into 'mainline'
Folder plugin support

See merge request GNOME/geary!447
2020-03-20 07:04:15 +00:00
Michael Gratton
55a9bfaf56 Plugin.FolderStore: Allow plugins to get folders from variant id
Add FolderStore::get_folder_for_variant and ::folder_variant_type,
provide an initial implemetnation and update API docs to point to this
use case.
2020-03-20 17:41:57 +11:00
Michael Gratton
27943e29a0 Plugin.InfoBar: Allow plugins to add a button to info bars
Add new InfoBar::primary_button property, construct it if provided
when constructing the Gtk Infobar.
2020-03-20 17:41:57 +11:00
Michael Gratton
0c5c204d31 Plugin: Add new Button class to allow plugins to create buttons 2020-03-20 17:41:57 +11:00
Michael Gratton
a872c70a42 Plugin.Application: Add support for registering GLib Actions
Allow plugins to register actions with the app for use in UI widgets.
Create a per-plugin action group as needed, add to main windows using
a plugin-specific group name and add/remove registered actions to that.
2020-03-20 17:41:57 +11:00
Michael Gratton
0e7d30f8cb Plugins.FolderContext: Add support for showing folder info bars
Add Plugin.InfoBar to allow plugins to describe an info bar, add
methods to FolderContext to allow adding and removing them when
folders are displayed and implement them. Add a InfoBarStack to the
MainWindow for displaying folder info bars.
2020-03-20 17:41:57 +11:00
Michael Gratton
c8dd0c94e7 Plugin.FolderContext: Add folder_selected signal
Add new signal so folder plugins know when folders have changed, and
implement emittig it when a folder is selected in the main window.
2020-03-20 17:41:57 +11:00
Michael Gratton
254d10782c plugins: Add support for folder plugins
Add new Plugin.FolderExtension plugin extenion interface, context
object and context object implementation. Populate the context object
when plugins implementing the extension are loaded, and destroy it
on unload.
2020-03-20 17:41:57 +11:00
Michael Gratton
1f54f11715 Merge branch 'mjog/info-bar-cleanup' into 'mainline'
MainWindow InfoBar cleanup

Closes #697

See merge request GNOME/geary!439
2020-03-20 06:31:08 +00:00
Michael Gratton
e0ac053f33 Application.Controller: Minor code cleanup for readability 2020-03-20 17:08:46 +11:00
Michael Gratton
19fcf79957 Application.MainWindow: Convert to using InfoBarStack
Use an info bar stack to display info bars, so that at most one is ever
shown. This will prioritise status messages (offline, service/auth/cert
problems) over other misc errors, which means we might miss some, but
I guess that's better than huge stacks of bars?

Fixes #697

May help with #406 as well in cases where there was a service error
prior to going offline.
2020-03-20 17:08:46 +11:00
Michael Gratton
058a314e40 Application.MainWindow: Construct infobars programatically
Construct infobars programatically so they can derive from
Components.Infobar and don't need to be initially part of the widget
hierarchy.
2020-03-20 17:08:46 +11:00
Michael Gratton
feece66c6e MainWindowInfobar: Rename and derive from common InfoBar widget
Rename to Components.ProblemReportInfoBar to better describe what it
does, and to fit with the code convention for package and file names.

Derive from Components.InfoBar so we can drop the custom GTK Builder
file for it.
2020-03-20 17:08:46 +11:00
Michael Gratton
88516377ca Components.InfoBar: New subclass of Gtk InfoBars with labels 2020-03-20 17:08:46 +11:00
Michael Gratton
190c446499 Components.InfoBarStack: New class for stacking Gtk InfoBars 2020-03-20 17:08:46 +11:00
Piotr Drąg
1ec772ce7b Update POTFILES.in 2020-03-17 16:42:28 +01:00
Jiri Grönroos
a14553f6b7 Update Finnish translation 2020-03-17 14:19:15 +00:00
Ask Hjorth Larsen
3ff81d7a21 Updated Danish translation 2020-03-17 14:18:05 +01:00
Michael Gratton
904f08e3fd Merge branch 'mjog/735-unicode-avatar-initials' into 'mainline'
Diacritics in avatar initials

Closes #735

See merge request GNOME/geary!443
2020-03-17 12:08:08 +00:00
Michael Gratton
ad6b58cf0a Util.Avatar::extract_initials_from_name: Trivial optimisation
Don't upper case the whole string, only upper-case characters that
are used as the initials.
2020-03-17 22:46:42 +11:00
Michael Gratton
cfa414f08c Util.Avatar::extract_initials_from_name: Don't strip diacritics
Normalise to composed forms rather than decomposed forms, which would
replace diacritics on characters with combining chars, making them
disappear from the generated initials.

Fixes #735
2020-03-17 22:43:50 +11:00
Michael Gratton
3f81b7d507 Merge branch 'mjog/user-plugins' into 'mainline'
Support optional (non-builtin) plugins

See merge request GNOME/geary!441
2020-03-17 08:45:46 +00:00