Commit Graph

51 Commits

Author SHA1 Message Date
Atanas Janeshliev
194942e895 chore: Happy New Year (2026) 2026-01-08 13:00:18 +01:00
Jakub Cuth
082849dc6c chore: year bump 2025-01-02 14:03:49 +01:00
Atanas Janeshliev
af01c63298 fix(BRIDGE-261): delete gluon data during user deletion; integration tests; FF kill switch; Sentry report if error; 2024-11-22 14:32:28 +00:00
Atanas Janeshliev
f04350c046 feat(BRIDGE-37): Remote notification support 2024-08-29 13:31:37 +02:00
Xavier Michelon
fc64dbec59 chore: golangci-lint update. 2024-07-11 16:29:59 +02:00
Jakub
06daaf8d9f feat(GODT-3146): don't need to wait for IMAP in tests. 2024-03-14 11:57:55 +01:00
Jakub Cuth
37352d44d2 test(GODT-1602): run integration tests against black 🖤 2024-02-19 10:43:35 +00:00
Jakub
65d8fbbf31 test: keep deleted address in test suite 2024-02-13 10:56:23 +00:00
Gjorgji Slamkov
d919c0accf test(GODT-3220): Add step definition for logging in with alias 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
5747b85543 test: Add test around account settings. 2023-10-18 07:45:08 +00:00
Romain Le Jeune
50acc0dcfb feat(GODT-2725): Implement receive message step with expected structure exposed. 2023-09-27 14:17:51 +00:00
Romain LE JEUNE
79524185a8
feat(GODT-2734): Add testing steps to modify account settings. 2023-09-04 16:48:59 +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
3928ed08f6 feat(GODT-2554): Compute telemetry availability from API UserSettings. 2023-04-13 08:06:48 +00:00
Xavier Michelon
08dab2d115 feat(GODT-1264): constraint on Scheduled mailbox in connector + Integration tests. 2023-02-15 07:37:09 +00: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
Jakub
160489a771 GODT-2223: Testing event processing scenarios. 2023-01-25 13:05:04 +01:00
Leander Beernaert
931ed119bb GODT-2226: Fix moving drafts to trash
Only handle draft updates if the event was a message update. Also
includes Gluon update.
2023-01-12 14:25:27 +01:00
Leander Beernaert
0dcd4ca133 GODT-1817: Restore missing SMTP feature tests
Requires update to GPA to set disabled state on addresses.
2023-01-09 15:10:39 +00:00
Leander Beernaert
d720feaa6d Other: Flag messages imported into "Sent" mailbox as Sent 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
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
1aca2cde71 GODT-2181(test): Refactor integration test setup a bit 2022-12-13 10:28:59 +01:00
James Houlahan
49fa451cc3 Other(test): Prefer native API revoke rather than fake server method 2022-12-12 10:47:06 +01:00
James Houlahan
04881b9b78 GODT-2178: Bump go-proton-api to fix drafts 2022-12-05 15:14:30 +01:00
James Houlahan
7bc608ce6c GODT-2170: Use client-side draft update in integration tests 2022-12-02 13:27:19 +00:00
Jakub
8408a5fdc0 GODT-2170: Improving test server behaviour. 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
James Houlahan
57e9310510 Other: Use API call rather than server-specific method in test code 2022-11-22 16:01:01 +01:00
Xavier Michelon
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
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
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
James Houlahan
c4343e0124 Other: Bump liteapi and clean up tests a bit 2022-11-16 13:48:30 +01:00
James Houlahan
c20143c212 Other: Increase integration test timeouts 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
2450511555 Other: Put back split login process in backend 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
9d69a2e565 GODT-1657: Stable sync (still needs more tests) 2022-11-16 12:26:09 +01:00
James Houlahan
cce372fc50 GODT-1650: Test of end-to-end send with attachments (internal) 2022-11-16 12:26:09 +01:00
James Houlahan
c953b8030a GODT-1650: text/html sending 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
612fb7ad7b GODT-1815: Start without internet, load users later 2022-11-16 12:26:08 +01:00