Cédric Bellegarde
42c5b6248a
engine: Detect mime encoding constraint from server EHLO
...
Fix #1416
2025-08-27 08:03:38 +00:00
Michael Gratton
41be8693d4
Geary.Imap.ClientSession: Treat logout as disconnect
...
Convert `get_protocol_state` to an automatic property, so that rather
than requiring explcit signals for lifecycle events, a GObject notify
signal can be used instead.
Convert disconnect signal to a property so it can be accessed if needed.
Convert code listening to the disconnect signal to listen to notify
signals for `protocol_state` instead, and hence also treat the session
as disconnected when a logout is in progress.
Fixes #986
2020-09-27 17:38:10 +10:00
Michael Gratton
ebf7a8ad1d
Geary.Imap: Update IMAP quirks based on server greeting rather type
...
Use server greeting to update IMAP quirks, so that if e.g. a GMail
account is configured as a generic account, it still gets the right
quirks.
2020-08-18 16:34:24 +10: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
26e76b6f4d
Geary.RFC822Error: Rename so it's actually in the RFC822 namespace
2020-05-06 14:58:56 +10:00
Michael Gratton
e0c1fb8a80
Geary.RFC822: Ensure various data constructors throw errors
...
Rather than just silently ignoring error conditions, throw RFC822
errors instead.
2020-05-06 14:58:56 +10:00
Michael Gratton
ddb3a899fb
Geary.Imap: Add Quirks object to collect all IMAP service quirk config
2020-05-04 10:53:31 +10:00
Michael Gratton
196f05e595
test/test-case.vala: Rename TestCase async calls to match AsyncCallWaiter's
2020-04-10 12:58:09 +10:00
Michael Gratton
b53d5b2470
Simply Geary.Imap.ClientService selected mailbox handling
...
Convert mailbox and mailbox RW/RO state accessors to properties and
rename to be more explicit about what they mean. Remove mailbox arg
from ::getProtocolState() since it's unused.
2020-03-27 08:29:14 +11:00
Michael Gratton
13d43d41b2
Update Geary.Imap.ClientSession connect timeout handling
...
Allow specifying the connect greeting timeout length, ensure that
any connect errors are in place before releasing the connect waiter,
add unit test to ensure it works properly.
2020-03-27 08:29:14 +11:00
Michael Gratton
cc4389f41d
Make Geary.ComposedEmail implement Geary.EmailHeaderSet
...
This allows it to be used in exchange with the Geary.Email and
RFC822.Message classes in places.
2019-11-17 19:59:19 +11:00
Michael Gratton
eb6afae358
Rename UNCONNECTED FSM and protocol state to NOT_CONNECTED
...
The former is ambiguous, the latter is not.
2019-08-26 13:55:43 +10:00
Michael Gratton
7cc3e6633e
Make adding MIME parts to a new RFC822 message async
...
This will allow us to schedule some long-running work on a background
thread.
2019-07-19 20:41:34 +10:00
Michael Gratton
c58d0b74e9
Add simple SMTP integration test
2019-04-24 17:18:03 +10:00
Michael Gratton
71d8c8b1a4
Update Imap.ClientSession now IMAP NO commands aren't treated as errors
...
Check the response code when logging in for the command, and handle as
appropriate.
2019-04-01 02:01:04 +11:00
Michael Gratton
cddbb28a43
Add initial integration test famework and IMAP client session tests
2019-03-31 02:05:14 +11:00