Commit Graph

188 Commits

Author SHA1 Message Date
Leander Beernaert 9390cb64b4 GODT-1817: Restore move related feature tests
Gluon updated to latest dev commit, required for feature. Checks from
move_local_folder.feature are implemented in Gluon.
2023-01-06 10:58:07 +01:00
Leander Beernaert 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
Leander Beernaert 038e1794eb GODT-2218: Fix invalid UID ranges
Fix applied in Gluon
2022-12-21 09:15:54 +01:00
Leander Beernaert 55572acdc8 Other: Fix TOTP login (bump go-proton-api) 2022-12-20 13:06:30 +01:00
Leander Beernaert 91aea0e968 Other: Update go-proton-api to v0.2.2
Fixes crash on invalid response object access.
2022-12-19 15:25:18 +01:00
Leander Beernaert 4cba009ac8 GODT-2188: Do not fail append with invalid mime-type
Requires gluon update where the fix was applied.

Disable TestBridge_Sync_BadMessage as it is no longer valid with the
latest Gluon fixes. Traked as GODT-2215.
2022-12-19 15:24:35 +01:00
Leander Beernaert 4b3d4690e8 GODT-2196: Do not generate message updates for unknown labels
During sync a user may continue to perform operations on the server it
is possible we run into a message which has a labelID we are not aware
of. To counter this we issue `CreateMessage` updates with
`IgnoreUnknownMailboxIDs` set to true. Eventually, after sync the state
will resolve itself with events.
2022-12-15 09:37:22 +01:00
Leander Beernaert 48480bc839 Merge branch 'release/perth_narrows' into devel 2022-12-14 13:56:00 +01:00
Leander Beernaert 031ed9c203 Other: Update Gluon to latest to revert mailbox subscription bug
Includes fix to remove incomplete feature from Gluon related to mailbox
subscription.
2022-12-14 13:25:56 +01:00
Jakub c39108043b Merge branch 'release/perth_narrows' into devel (3.0.7) 2022-12-13 19:37:12 +01:00
James Houlahan 2ca9ca3cb6 GODT-2181(test): Linter fixes 2022-12-13 15:05:09 +01:00
Leander Beernaert ebb04d8a14 GODT-2207: Fix encoding of non utf7 mailbox names
Fix was applied in Gluon. Bumping Gluon to match that version.

Fixes: #318
2022-12-13 13:38:04 +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
Xavier Michelon 49d65292c0
Other: catalina build.
Other: fix intel build of bridge-gui.
2022-12-07 09:56:21 +01:00
Leander Beernaert 01c12655b8 Other: Update Gluon to latest version
Fixes: #316
2022-12-06 11:49:39 +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
Leander Beernaert 01c7daaba7 Other: Update gluon to latest version 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 70244071ea Other: Bump go-proton-api to v0.1.4 2022-12-01 08:19:16 +01:00
James Houlahan 0827d81617 Other: Bump gluon version to drop non-UTF-8 commands 2022-11-29 16:20:16 +01:00
James Houlahan e71e56f7fe Other: Ensure context is string in sentry reports 2022-11-29 14:58:29 +00:00
Jakub b902f1490f GODT-2114: sanitize attachment disposition. 2022-11-28 18:20:48 +00:00
Jakub b7fff07197 GODT-2159: improve 429 retry. 2022-11-28 15:56:52 +01:00
Leander Beernaert e0d1e67d4b Other: Upgrade Gluon to v0.14.1 2022-11-25 15:23:25 +01:00
Leander Beernaert 3d4c73f8af Other: Bump Gluon to v0.14.0 2022-11-25 08:29:35 +01:00
Jakub 578a12529c GODT-2137: set sentry sync transport. 2022-11-23 16:41:58 +01: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
James Houlahan fd09769ccc GODT-2127: Bump gluon to fix flags store 2022-11-22 15:59:59 +01:00
Xavier Michelon 1abda7555d GODT-2131: if refresh token is revoked, user gets signed out. 2022-11-22 07:23:07 +00:00
Leander Beernaert 8160fe5448 Other: Update liteapi to v0.43.0 2022-11-21 13:16:50 +01:00
James Houlahan e05b99a0f1 Other(test): Remove unneeded reporter expectations
Gluon used to have a bug where it would unnecessarily call the
reporter's ReportMessageWithContext method whenever an IMAP client would
drop unexpectedly. After fixing the bug, we can remove these gomock
EXPECT.AnyTimes() calls.
2022-11-21 09:05:11 +00:00
James Houlahan 8c2096e813 Other: Bump liteapi to fix update merging algorithm 2022-11-20 12:10:48 +01:00
James Houlahan 2972e1273f GODT-2045: Timeouts should be considered network issues 2022-11-20 10:07:33 +00:00
James Houlahan eb2423b0ed Other: Move sending logic to smtp.go 2022-11-18 17:05:20 +01:00
James Houlahan 319d51cb80 Other: Bump gluon version to prevent crash on log failure 2022-11-17 12:52:23 +01:00
James Houlahan 31fb878bbd GODT-2070: Implement SASL login for SMTP
go-smtp now comes with out of the box support for SASL PLAIN but it
still requires manual implementation of SASL LOGIN (deprecated).
2022-11-16 13:48:31 +01:00
James Houlahan 59278913ca GODT-2037: Handle and log API refresh event 2022-11-16 13:48:31 +01:00
James Houlahan 2023df3ef8 Other: Log mailbox message counts at startup 2022-11-16 13:48:31 +01:00
James Houlahan 112d79c2be Other: Bump gluon version to include rebuilt parser libs 2022-11-16 13:48:31 +01:00
Leander Beernaert 8b0024d53e Other: Update Gluon to latest version 2022-11-16 13:48:30 +01:00
James Houlahan 847d6de6bf Other: Bump liteapi version 2022-11-16 13:48:30 +01:00
James Houlahan da41398340 Other: Bump liteapi to mitigate race condition 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 c548ba85fe Other: Add more extensive logging 2022-11-16 13:48:30 +01:00
James Houlahan 75b788b793 GODT-1993: Use more efficient filtering for message deletion 2022-11-16 13:48:30 +01:00
James Houlahan 99745ac067 Other: Switch to faster message IDs route
The new API route lets us query exactly which message IDs a user has,
allowing us to begin syncing much faster than before.
2022-11-16 13:48:30 +01:00