Jakub Cuth
37352d44d2
test(GODT-1602): run integration tests against black 🖤
2024-02-19 10:43:35 +00:00
gzafirova
94fbe260e4
test(GODT-3220): Fix linting issues by deleting a function
...
-Deleted a function that was no longer used
GODT-3220
2024-02-14 08:57:48 +01:00
Gjorgji Slamkov
0ca07066db
test(GODT-3220): Create function for getting the test user by address
...
GODT-3220
2024-02-13 10:56:23 +00:00
Jakub
b8ae5be58c
fix(GODT-3188): Happy new year.
2024-01-02 15:06:05 +01:00
Romain LE JEUNE
9f13301613
feat(GODT-2715): Add Functional test for configStatus telemetry event.
2023-06-29 13:15:50 +02:00
Romain Le Jeune
9c25f56fe6
test: fix flaky tests.
2023-05-22 11:16:56 +00:00
Leander Beernaert
4b5edd62d0
feat(GODT-2585): Only Start IMAP/SMTP once one user is loaded
...
Update ServerManager to follow the new expected behavior. The servers
will only be started when one user is active.
If all users are logged out or removed from the system, the servers will
stop.
If the network goes down, the servers will stop and resume once network
has been restored.
2023-05-11 16:27:54 +02:00
Xavier Michelon
eee2c73a61
feat(GODT-2610): re-use previous password when removing and adding back account.
2023-05-08 11:43:48 +02:00
Romain LE JEUNE
d88bee68c6
feat(GODT-2552): Add functional test.
2023-04-24 18:33:50 +00:00
Xavier Michelon
3ddd88e127
feat(GODT-2538): implement smart picking of default IMAP/SMTP ports
2023-04-17 13:26:47 +00:00
Jakub
de5fd07a22
feat(GODT-2500): Reorganise async methods.
2023-04-03 07:07:22 +02:00
Leander Beernaert
ec351330f1
chore: Replace go-rfc5322 with gluon's rfc5322 parser
...
Bumps Gluon version in order to get the fixes from
https://github.com/ProtonMail/gluon/pull/327 .
2023-03-20 10:25:41 +01:00
James Houlahan
c9d496956c
test: Refactor account management, fix map-random-order race condition
...
Some SMTP tests made use of disabled addresses. We stored addresses
in a map, meaning the order was randomized. This lead to tests sometimes
attempting to authenticate over SMTP using a disabled address, failing.
2023-02-07 18:26:13 +01:00
James Houlahan
1d405076e6
Other(test): Fix integration test steps
2023-01-18 07:16:24 +00:00
Leander Beernaert
9f7cda3b69
Other: Fix testCtx.getMBoxID()
...
Ensure we always translate the labels to their full name so they match
properly on all commands.
2023-01-06 10:58:07 +01:00
Leander Beernaert
6d0a128111
Other: Update copyright year
2023-01-02 11:09:11 +01:00
James Houlahan
2ca9ca3cb6
GODT-2181(test): Linter fixes
2022-12-13 15:05:09 +01:00
James Houlahan
87ce5a6d82
GODT-2181(test): Use [user:NAME] for more test user names
2022-12-13 10:28:59 +01:00
James Houlahan
9623e2de6f
GODT-2181(test): Basic ATLAS test in test context
2022-12-13 10:28:59 +01:00
James Houlahan
b9b4c1c38d
GODT-2181(test): Use [user:NAME] for test user name
2022-12-13 10:28:59 +01:00
James Houlahan
688cb30d4a
GODT-2181(test): use [domain] for test server domain
2022-12-13 10:28:59 +01:00
James Houlahan
1aca2cde71
GODT-2181(test): Refactor integration test setup a bit
2022-12-13 10:28:59 +01:00
James Houlahan
7bc608ce6c
GODT-2170: Use client-side draft update in integration tests
2022-12-02 13:27:19 +00:00
James Houlahan
e601245f01
Other(chore): Bump major version to v3
2022-11-23 16:08:27 +01:00
James Houlahan
ad1fb47b0d
Other: Switch from liteapi to go-proton-api
2022-11-23 15:17:56 +01:00
Jakub
ae87d7b236
GODT-1913: pass reporter to gluon, limit restarts, add crash handlers.
2022-11-16 13:48:31 +01:00
James Houlahan
78fc5ec458
Other: Simple gRPC client/server under test
2022-11-16 13:48:30 +01:00
Jakub
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
James Houlahan
7e03de0a21
Other: Lint fixes
2022-11-16 13:48:30 +01:00
James Houlahan
8749d5dc7d
Other(refactor): Remove always-nil return value of (*Bridge).Close
2022-11-16 13:48:30 +01:00
James Houlahan
247e676b41
Other: Fix race conditions in integration tests
2022-11-16 13:48:30 +01:00
James Houlahan
cb04dabea8
Other: Fix goroutine leaks in integration tests
...
We were closing the event QueuedChannel objects in the wrong place;
they should have been closed on test teardown, not on stopBridge
(which was just a test action and wasn't always called).
In order to make the events more scalable, i replace all the
QueuedChannel objects with a single event collector, which would
create QueuedChannels on demand when it receives an event of a new type.
2022-11-16 13:48:30 +01:00
James Houlahan
c4343e0124
Other: Bump liteapi and clean up tests a bit
2022-11-16 13:48:30 +01:00
Leander Beernaert
7c62312220
Other: Fix all linter errors
2022-11-16 12:26:09 +01:00
Leander Beernaert
e10cd2a3ed
GODT-1901: Allow to set IMAP SSL from UI
2022-11-16 12:26:09 +01:00
James Houlahan
a4852c1b36
Other: Get test events before starting bridge to ensure all are captured
2022-11-16 12:26:09 +01:00
James Houlahan
509a767e50
GODT-1657: More stable sync, with some tests
2022-11-16 12:26:09 +01:00
James Houlahan
ba9368426c
GODT-1650: Send extras
2022-11-16 12:26:09 +01:00
James Houlahan
120ac6c480
GODT-1609: Fix tests
2022-11-16 12:26:09 +01:00
James Houlahan
e9672e6bba
GODT-1815: Combined/Split mode
2022-11-16 12:26:08 +01:00
James Houlahan
9670e29d9f
GODT-1815: Start with missing gluon files
2022-11-16 12:26:08 +01:00
James Houlahan
612fb7ad7b
GODT-1815: Start without internet, load users later
2022-11-16 12:26:08 +01:00
James Houlahan
39433fe707
GODT-1779: Remove go-imap
2022-11-16 12:26:08 +01:00