Commit graph

4535 commits

Author SHA1 Message Date
Cédric Bellegarde
e1e859457b client: Components.ConversationActions: Always reset icon when leaving a GMail account 2023-07-12 15:26:46 +02:00
Cédric Bellegarde
50c8c7307d client: ConversationList.View: Fix keyboard navigation
Fix #1515
2023-07-12 14:52:38 +02:00
Cédric Bellegarde
1df9d26575 client: Application.MainWindow: handle gtk-decoration-layout setting
Fix #1428
2023-07-11 02:05:44 +00:00
Cédric Bellegarde
b0dea546b3 client: Components.WebView: enable_java is deprecated 2023-07-10 11:22:42 +02:00
Niels De Graef
f05d5b008a Apply 1 suggestion(s) to 1 file(s) 2023-07-08 22:30:10 +00:00
Daniel Yahalom
4f84f8ff42 Readded tooltips in compact conversation view 2023-07-08 22:30:10 +00:00
Daniel Yahalom
b9889e6a42 Revert "Readded tooltips in compact conversation view"
This reverts commit 1ac5bd6394589ec9d7739c7672cb213d574dc802
2023-07-08 22:12:06 +00:00
Daniel Yahalom
0091d6e8f7 Readded tooltips in compact conversation view 2023-07-08 22:12:06 +00:00
Cédric Bellegarde
63472121d2 Revert "Fix crash when conversation scrolled window child changes."
This reverts commit 07966a1156.

This commit was needed due to an issue in GTK
https://bugzilla.gnome.org/show_bug.cgi?id=778190 (which was later
migrated to https://gitlab.gnome.org/GNOME/gtk/-/issues/749).

This was fixed since 3.24.24, so bump the meson version too.
2023-07-08 00:59:56 +02:00
Cédric Bellegarde
776b04ec9f client: Rework headerbar buttons to fit small screens
- Rework components-conversation-actions.ui
- Merge copy/move popovers
- Populate copy/move popover on the fly

Initial workaround for #1185, #1306, #1444, #1164, #1414
TODO: move to AdwBreakPoints from libadwaita
2023-07-05 13:47:02 +02:00
Cédric Bellegarde
f4ea4a282a client: Fix next conversation selection on mail merge
When conversation monitor is merging emails, we need to calculate
next selected conversation. This may happen even if no conversation is
currently selected resulting on second conversation being selected.

Only return a valid conversation if current selection is not empty.
2023-05-24 07:21:53 +00:00
Rico Tzschichholz
4a7ca820b1 client: Add missing type-arguments for interfaces to fix build with newer vala 2023-04-08 13:08:34 +02:00
Cédric Bellegarde
7cac81473e client: Set a valid activatable widget 2023-03-17 13:22:38 +01:00
Christopher Davis
d0e8fb5f4a conversation-viewer: Use HdyStatusPage for empty states
Libhandy now has a pre-built widget for empty states.
We should use that instead of a custom empty state.
2023-03-11 22:10:46 -05:00
Cédric Bellegarde
16893c9bd1 meson: Fix plugin desktop file translation
fix #1476
2023-03-06 17:47:17 +00:00
Cédric Bellegarde
e275b37343 client: Add a small margin instead of manual clipping 2023-03-05 12:47:33 +00:00
Cédric Bellegarde
533a32e67b client: conversation-list: Migrate from TreeView to ListBox
- Replace ConversationListStore with ConversationListModel
- Replace GtkTreeView with GtkListBox
- Implement proper multiselection for ListBox
- Rework navigation to be touch friendly

Fork of John Renner <john@jrenner.net> merge request !698
2023-03-04 23:16:01 +00:00
Cédric Bellegarde
3daa44276a client: Unused since we moved to libfolks 2023-03-01 10:43:40 +00:00
Cédric Bellegarde
f1f1e90208 client: use sane default size for dialogs 2023-02-28 23:42:28 +01:00
Cédric Bellegarde
41394673d7 engine: Always use a TimeoutManager to check network is reachable 2023-02-28 20:22:37 +00:00
Thomas Jollans
e092be8f3a imap-deserializer: Allow ']' in atoms (e.g. folder names)
This permits IMAP folders to have names featuring square brackets. For
example, AirMail for iOS creates a folder called "[Airmail]", which
Geary should be able to handle.

Fixes #1169.
2023-02-28 17:44:35 +00:00
Cédric Bellegarde
80aa742686 tests: Disable sandboxing for now
https://bugs.webkit.org/show_bug.cgi?id=213174
2023-02-23 15:28:27 +00:00
Cédric Bellegarde
7eadb8396f Components.WebView: Enable WebKitGTK sandboxing again
https://bugs.webkit.org/show_bug.cgi?id=202363 fixed

Fix #1426
2023-02-10 15:41:49 +00:00
Daniel Y
e9f3ac5276 Gray out find in conversation button 2023-02-05 18:20:31 +00:00
Cédric Bellegarde
6416c2f6d1 engine: Remove workaround for GNOME/glib#1872 2023-02-05 15:18:44 +00:00
Cédric Bellegarde
71865d6529 engine: Add support for logind suspend/resume signal 2023-02-05 14:14:07 +00:00
Cédric Bellegarde
62ed7654a7 client: Fix account editor width on small screens 2022-12-12 23:38:57 +01:00
Cédric Bellegarde
bb19174921 client: Less secure apps work with 2FA enabled. #1422 2022-10-10 17:39:09 +02:00
Cédric Bellegarde
81bd51bdbc client: Fix setting service provider 2022-09-26 13:26:54 +02:00
Cédric Bellegarde
1a7a3a987a engine: Cancel any remote folders update before marking a message
When marking a message, a race condition can happen:
- A remote folders update is already running
- We mark the message locally and replay it remotely
- The previous remote update result restores invalid values locally
2022-09-26 11:03:13 +02:00
Cédric Bellegarde
f45afac091 components: Rework adapative layout by removing HdySwipeGroup
HdySwipeGroup is deprecated since libhandy 1.4.

- Split headerbar into 3 components
- Remove HdySwipeGroups/GtkSizeGroups used for syncing headerbar with content.
2022-09-26 08:59:44 +00:00
Richard Adenling
efca9615a6 engine: Fix flag being mistaken for a response code
The parser would think the flag was a response code if the flag started
with a '[' character. Flags like these are sometimes returned by Gmail
which broke fetching emails from Gmail.

This commit checks if the parser is already parsing flags and if so
treats any starting '[' characters as part of the flag string.
2022-09-20 18:32:37 +02:00
Cédric Bellegarde
394895afdc client: remove unused mark_manual_* methods
See 8e9f00295e
2022-09-20 13:55:42 +02:00
Cédric Bellegarde
864a3135e3 components: Rework Folder Popover
- Do not use tags for service providers not using this metaphor
- Do not show folders with a dedicated button: Trash, Archive, ...
- Do not show folders as an IMAP path but as a human readable path (>INBOX>Folder vs Boîte de reception/Folder)
2022-09-20 05:37:14 +00:00
Cédric Bellegarde
8348f2ef19 engine: Mark all email UIDs in remote replay
Local replay and remote replay were marking email based on email identifier.

Works locally, but remotely we need to work on all email UIDs.

Fix #364
2022-09-20 05:15:55 +00:00
Cédric Bellegarde
ddb8a273ce treewide: Removed unused Yahoo imap engine
This is not useful now we have autoconfig support
2022-09-07 12:10:06 +00:00
Cédric Bellegarde
a14f5d4799 client: accounts: Add support for Thunderbird autoconfig
- Auto detect server settings
- Rework accounts editor add panel

Fix #1390
Fix #1350
2022-09-07 12:10:06 +00:00
Cédric Bellegarde
14d5a4f510 client: Fix adding a new infobar to Components.InfoBarStack
- Previous code was not removing current widget on unrevealing
- Connect reveal signal on time, not for every infobar
- Remove allocation management as it does not seem useful now
2022-09-04 16:10:47 +00:00
Cédric Bellegarde
cce6ed1593 plugin: Only enable mail merge action for templates
Fix #1410
2022-09-04 16:10:47 +00:00
Cédric Bellegarde
7aa950deed client: Fix handling of 'mark messages' menu
- Replace unused show-mark-menu action
- Remove compact actions from conversation actions (not useful as only response
  buttons are enabled)
- Do not update trash button for compact actions (same reason as above)
- Add missing this for accessing some properties (Geary Vala
  Coding Conventions)
2022-08-27 19:05:02 +00:00
Cédric Bellegarde
31f79816e8 client: Add support for Background portal 2022-08-25 21:50:28 +00:00
Cédric Bellegarde
522cd43fe7 client: Remove deprecated hidden option 2022-08-25 21:50:28 +00:00
Cédric Bellegarde
786a9df536 client: startup notifications is a freedesktop.org concept
Do not use the same wording for our background mode
2022-08-25 21:50:28 +00:00
Cédric Bellegarde
f910b82a63 client: Running as a service does not mean running in the background indefinitely
This is wrong as Geary is mostly started via D-Bus activation: it will never quit.

Ignore --hidden option, it will be removed soon.

Fix #728
2022-08-25 21:50:28 +00:00
Cédric Bellegarde
253795b5d4 engine: If email not found in outbox, do not queue it again. Prevent an infinite loop. Fix #781 2022-08-18 17:43:07 +02:00
Cédric Bellegarde
29fd38728e engine: TlsCertificateFlags.VALIDATE_ALL is the default value
And setting another value is deprecated.
2022-07-23 19:44:37 +02:00
Cédric Bellegarde
a2e59b92a3 engine: Vala disallows using nullabe enum value as real GObject property 2022-07-23 19:08:43 +02:00
Michael Gratton
42fa8c9f0a engine: Fix GLib.Timezone deprecation warning in GLib 2.68 2022-07-15 23:49:19 +02:00
Maximiliano Sandoval R
fa99f13900
meson: Remove uses of get_pkgconfig_variable
It will throw warnings on 0.56 or newer.
2022-07-15 13:32:30 +02:00
Maximiliano Sandoval R
080ead9775 meson: Update to 0.59 2022-07-15 11:18:49 +00:00