038e1794eb
GODT-2218: Fix invalid UID ranges
...
Fix applied in Gluon
2022-12-21 09:15:54 +01:00
55572acdc8
Other: Fix TOTP login (bump go-proton-api)
2022-12-20 13:06:30 +01:00
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
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
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
48480bc839
Merge branch 'release/perth_narrows' into devel
2022-12-14 13:56:00 +01:00
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
c39108043b
Merge branch 'release/perth_narrows' into devel (3.0.7)
2022-12-13 19:37:12 +01:00
2ca9ca3cb6
GODT-2181(test): Linter fixes
2022-12-13 15:05:09 +01:00
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
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
49d65292c0
Other: catalina build.
...
Other: fix intel build of bridge-gui.
2022-12-07 09:56:21 +01:00
01c12655b8
Other: Update Gluon to latest version
...
Fixes : #316
2022-12-06 11:49:39 +01:00
04881b9b78
GODT-2178: Bump go-proton-api to fix drafts
2022-12-05 15:14:30 +01:00
7bc608ce6c
GODT-2170: Use client-side draft update in integration tests
2022-12-02 13:27:19 +00:00
01c7daaba7
Other: Update gluon to latest version
2022-12-02 13:27:19 +00:00
8408a5fdc0
GODT-2170: Improving test server behaviour.
2022-12-02 13:27:19 +00:00
70244071ea
Other: Bump go-proton-api to v0.1.4
2022-12-01 08:19:16 +01:00
0827d81617
Other: Bump gluon version to drop non-UTF-8 commands
2022-11-29 16:20:16 +01:00
e71e56f7fe
Other: Ensure context is string in sentry reports
2022-11-29 14:58:29 +00:00
b902f1490f
GODT-2114: sanitize attachment disposition.
2022-11-28 18:20:48 +00:00
b7fff07197
GODT-2159: improve 429 retry.
2022-11-28 15:56:52 +01:00
e0d1e67d4b
Other: Upgrade Gluon to v0.14.1
2022-11-25 15:23:25 +01:00
3d4c73f8af
Other: Bump Gluon to v0.14.0
2022-11-25 08:29:35 +01:00
578a12529c
GODT-2137: set sentry sync transport.
2022-11-23 16:41:58 +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
fd09769ccc
GODT-2127: Bump gluon to fix flags store
2022-11-22 15:59:59 +01:00
1abda7555d
GODT-2131: if refresh token is revoked, user gets signed out.
2022-11-22 07:23:07 +00:00
8160fe5448
Other: Update liteapi to v0.43.0
2022-11-21 13:16:50 +01:00
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
8c2096e813
Other: Bump liteapi to fix update merging algorithm
2022-11-20 12:10:48 +01:00
2972e1273f
GODT-2045: Timeouts should be considered network issues
2022-11-20 10:07:33 +00:00
eb2423b0ed
Other: Move sending logic to smtp.go
2022-11-18 17:05:20 +01:00
319d51cb80
Other: Bump gluon version to prevent crash on log failure
2022-11-17 12:52:23 +01:00
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
59278913ca
GODT-2037: Handle and log API refresh event
2022-11-16 13:48:31 +01:00
2023df3ef8
Other: Log mailbox message counts at startup
2022-11-16 13:48:31 +01:00
112d79c2be
Other: Bump gluon version to include rebuilt parser libs
2022-11-16 13:48:31 +01:00
8b0024d53e
Other: Update Gluon to latest version
2022-11-16 13:48:30 +01:00
847d6de6bf
Other: Bump liteapi version
2022-11-16 13:48:30 +01:00
da41398340
Other: Bump liteapi to mitigate race condition
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
c548ba85fe
Other: Add more extensive logging
2022-11-16 13:48:30 +01:00
75b788b793
GODT-1993: Use more efficient filtering for message deletion
2022-11-16 13:48:30 +01:00
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
a213b48f93
GODT-2002: Poll after SMTP send
...
After sending, a client might append to the sent folder over IMAP.
In this case, we perform deduplication and return the message ID of the
sent message. However, if we haven't already processed this message in
gluon, it doesn't work as expected.
This change polls the event stream immediately after send. Note that it
doesn't wait for these events to be processed; that should be done in a
follow-up commit.
2022-11-16 13:48:30 +01:00
075e1ef236
Other: Fix wrong encoding used for public key during sending
...
The newer liteapi contact code saves keys as *crypto.Key, however the
legacy code expects them to be strings. There was a bug in connecting
the new code to the legacy code: it was assumed these strings were meant
to be a base64 encoded string but they were actually just raw string
bytes.
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