7fb8550c97
GODT-1817: Port missing import feature tests
2023-01-06 10:58:07 +01:00
37c650e490
GODT-1817: Remove deleted check from copy.feature message tests
...
This check is only possible if the messages are imported via imap APPEND
commands and not through the API client. The latter has no way to
express this state.
2023-01-04 13:37:28 +01:00
272e3895fd
GODT-1817: Restore old date message feature test + fix
...
This patch also fixes the message builder to not override other headers
that already exist to avoid overriding sanitized header entries.
2023-01-04 13:37:28 +01:00
6e7f374b0d
GODT-1817: Remove old Drafts and Delete tests.
...
Test have been ported and other features are validated in Gluon.
2023-01-04 13:37:28 +01:00
3743e45566
GODT-2221: Set DOH off by default.
2023-01-04 12:08:06 +00:00
82b6037a00
GODT-1817: Add create check to validate mailbox creation
...
Only allow mailboxes with the "Folder" or "Label/" prefix.
2023-01-03 10:19:11 +01:00
1bdb8b2724
GODT-1817: Add tests skips reporter checks to feature tests
...
Some tests on failure will produce sentry reports. Add a way to skip
the check to see if any reports are produce when we know they will be
triggered.
2023-01-03 10:19:05 +01:00
8c905e4f42
GODT-1817: Port missing IMAP create feature test
2023-01-02 13:37:40 +01:00
e9e59a2704
GODT-1817: Port over missing IMAP copy feature test
2023-01-02 13:37:40 +01:00
e3a1482b8f
Other: Fix double close on event channels
2023-01-02 13:37:40 +01:00
9539b24d64
GODT-1817: Delete old feature test files
...
All these feature test have either been ported or are already tested in
Gluon.
2023-01-02 13:37:40 +01:00
87caeef0af
GODT-1817: Delete unnecessary IDLE tests
...
Gluon tests already cover this.
2023-01-02 13:37:40 +01:00
757e8a02ec
GODT-2233: Fix sub folder creation bug
...
Sub folders with more than 2 levels of depth (e.g.: Folders/first/second)
could not be created since we did not update the known label list we use
to validate the request.
2023-01-02 11:41:49 +01:00
6d0a128111
Other: Update copyright year
2023-01-02 11:09:11 +01:00
28b36d379b
GODT-1817: Update IMAP commands to push errors to error stack
2022-12-21 14:29:42 +01:00
e4b81063cb
GODT-2213: Don't unnecessarily enable/disable autostart
2022-12-19 08:29:57 +00:00
2ca9ca3cb6
GODT-2181(test): Linter fixes
2022-12-13 15:05:09 +01:00
87ce5a6d82
GODT-2181(test): Use [user:NAME] for more test user names
2022-12-13 10:28:59 +01:00
9623e2de6f
GODT-2181(test): Basic ATLAS test in test context
2022-12-13 10:28:59 +01:00
b9b4c1c38d
GODT-2181(test): Use [user:NAME] for test user name
2022-12-13 10:28:59 +01:00
688cb30d4a
GODT-2181(test): use [domain] for test server domain
2022-12-13 10:28:59 +01:00
1aca2cde71
GODT-2181(test): Refactor integration test setup a bit
2022-12-13 10:28:59 +01:00
49fa451cc3
Other(test): Prefer native API revoke rather than fake server method
2022-12-12 10:47:06 +01:00
04881b9b78
GODT-2178: Bump go-proton-api to fix drafts
2022-12-05 15:14:30 +01:00
8990f2d1d6
Other: Ensure expunge feature test pushes to error stack
2022-12-02 14:59:52 +01:00
7bc608ce6c
GODT-2170: Use client-side draft update in integration tests
2022-12-02 13:27:19 +00:00
8408a5fdc0
GODT-2170: Improving test server behaviour.
2022-12-02 13:27:19 +00:00
618cb27ac1
Other: Disable perma-delete for expunge on Spam folder
2022-12-02 13:43:53 +01:00
b902f1490f
GODT-2114: sanitize attachment disposition.
2022-11-28 18:20:48 +00:00
d4b8f3e1c2
GODT-2153: use file socket for bridge gRPC on linux & macOS.
...
Other: fix integration tests.
2022-11-28 16:51:13 +01:00
8049c47aa8
GODT-1989: Handle Move with Append and Expunge
...
Resurrect Bridge feature test for move with append. Only for drafts, as
it has been established that moving/appending to All Mail is no longer
valid.
2022-11-25 12:59:27 +01:00
e601245f01
Other(chore): Bump major version to v3
2022-11-23 16:08:27 +01:00
ad1fb47b0d
Other: Switch from liteapi to go-proton-api
2022-11-23 15:17:56 +01:00
57e9310510
Other: Use API call rather than server-specific method in test code
2022-11-22 16:01:01 +01:00
6bd8c6ceb6
Other: Stop gRPC server on crash
2022-11-22 14:20:30 +00:00
b517e3cd5b
Other(test): Set log level in feature tests
2022-11-19 16:16:54 +01:00
24a0ed41b9
Other(test): Disable broken test
...
Bumping liteapi version made the test server stricter (more conformant
with the real server). As a result, one of the tests broke; fix should
be in GODT-1989, which is not ready yet.
2022-11-18 17:43:27 +01:00
e087a7972e
GODT-2003: introduces 3 phases user state (SignedOut/Locked/Connected)
...
WIP: introduced UserState enum in GUI and implemented logic.
2022-11-16 16:24:55 +01:00
49b3c18903
GODT-2039: bridge monitors bridge-gui via its PID (port from v2.4)
2022-11-16 15:21:33 +01:00
ae87d7b236
GODT-1913: pass reporter to gluon, limit restarts, add crash handlers.
2022-11-16 13:48:31 +01:00
8a666dc8cc
Other: Add missing t.bridge = nil line
2022-11-16 13:48:30 +01:00
78fc5ec458
Other: Simple gRPC client/server under test
2022-11-16 13:48:30 +01:00
d093488522
GODT-1978: Auto-updates
2022-11-16 13:48:30 +01:00
1e29a5210f
GODT-1954: Draft message support
...
Add special case handling for draft messages so that if a Draft is
updated via an event it is correctly updated on the IMAP client via a
the new `imap.MessageUpdated event`.
This patch also updates Gluon to the latest version.
2022-11-16 13:48:30 +01:00
4ded8784fc
Other: Allow non-received messages to be imported to INBOX
2022-11-16 13:48:30 +01:00
29dcd5450f
Other: Add FEATURE_TEST_LOG_IMAP env variable
...
When set will log IMAP commands during feature tests.
This patch also updates Gluon to the latest version.
2022-11-16 13:48:30 +01:00
8f420d728c
GODT-1984: Handle permanent message deletion
...
Only delete messages when unlabeled from trash/spam if they only exists
in All Mail and (spam or trash).
This patch also ports delete_from_trash.feature and use status rather
than fetch to count messages in a mailboxes.
2022-11-16 13:48:30 +01:00
d066e32719
GODT-1986: Handle case where an address has no decryption entities
...
It's possible (but very rare, I don't think proton still allows it)
for an address to have no keys. If we try to load the address keyring
for such an address, this change logs a warning that no decryption
entities were found in the unlocked keyring.
It bumps liteapi to a version that does not return an error when no
keys could be unlocked.
2022-11-16 13:48:30 +01:00
7e03de0a21
Other: Lint fixes
2022-11-16 13:48:30 +01:00
8749d5dc7d
Other(refactor): Remove always-nil return value of (*Bridge).Close
2022-11-16 13:48:30 +01:00