Leander Beernaert
60df01eece
fix(GODT-2513): Crash in scanner
...
Gluon MR: https://github.com/ProtonMail/gluon/pull/330
2023-03-22 13:12:34 +01:00
Leander Beernaert
b63b56960e
fix(GODT-2512): Catch unhandled API errors
...
Bump GPA https://github.com/ProtonMail/go-proton-api/pull/63
2023-03-21 11:56:32 +01:00
Leander Beernaert
b57c7abe92
fix(GODT-2442): Ensure DB gets moved during RemoveUser
2023-03-09 11:54:25 +01:00
Jakub
ed6e17a0ab
fix(GODT-2442): bump GPA: refresh All cleans event history.
2023-03-08 17:53:59 +01:00
Jakub
13c8a98389
fix(GODT-2442): move gluon DB before removal.
2023-03-08 17:21:03 +01:00
Jakub
34c002ff68
test(GODT-2442): test bad event feedback and clean-up.
2023-03-07 17:59:04 +01:00
Leander Beernaert
59cf5e890b
fix(GODT-2419): Reduce error spam an improve error messages
...
https://github.com/ProtonMail/gluon/pull/319
https://github.com/ProtonMail/gluon/pull/320
2023-03-07 13:32:04 +01:00
Leander Beernaert
227bbf1c03
fix(GODT-2425): Out of sync messages and read status
...
Apply fix required for gluon update.
Update Gluon to include revision where the fix was made. Includes:
* https://github.com/ProtonMail/gluon/pull/313
* https://github.com/ProtonMail/gluon/pull/316
* https://github.com/ProtonMail/gluon/pull/317
2023-03-06 12:18:03 +00:00
Leander Beernaert
8aec11a634
chore: Bump Gluon for GODT-2427, GODT-2419, GODT-2429
...
https://github.com/ProtonMail/gluon/pull/313
https://github.com/ProtonMail/gluon/pull/312
2023-03-02 12:50:22 +00:00
Leander Beernaert
9e4310712c
fix(GODT-2419): Use connector.ErrOperationNotAllowed
...
Return this error when we detect operations that we know are not allowed
so that gluon does not report them to sentry.
Includes Gluon update for the connector error
(https://github.com/ProtonMail/gluon/pull/309 )
2023-02-28 17:02:35 +01:00
Leander Beernaert
2db5a04e7a
fix(GODT-2417): Gluon update to address ticket issues
...
* GODT-2417: Fixes connector requests for recovered messages.
* GODT-2416: Allow message updates to work if the literal is missing.
2023-02-28 13:41:15 +01:00
James Houlahan
5ba07db7e3
chore: Bump Gluon for GODT-2399, GODT-2400 and GODT-2414
...
fix(GODT-2399): Defer updated message deletion
fix(GODT-2400): Allow state updates to be applied if command fails
fix(GODT-2414): Multiple deletion bug in WriteControlledStore
2023-02-27 14:53:37 +01:00
James Houlahan
8a5c8eaf6e
chore: Use gluon temp/hotfix-perth-narrows branch
2023-02-21 16:07:27 +01:00
James Houlahan
2fa7c97f39
fix(GODT-2351): Bump GPA to better handle net.OpError
2023-02-09 12:04:39 +01:00
Leander Beernaert
43100d11bf
fix(GODT-2323): Fix Expunge not issued for move
...
When moving between system labels the expunge commands were not being
issued.
2023-02-07 15:09:23 +01:00
Jakub
2f75131710
fix(GODT-2340): improve logging
2023-02-07 14:31:06 +01:00
Jakub
d7cac8a8f0
fix(GODT-2327): avoid windows delete all deadlock
2023-02-07 14:31:06 +01:00
James Houlahan
367c505444
fix(GODT-1804): Use cherry-picked mail settings in GPA
2023-02-06 15:57:24 +00:00
James Houlahan
3bd39b3ea5
fix(GODT-1804): Only promote content headers if non-empty
...
When attaching public key, we take the root mime part, create a new root,
and put the old root alongside an additional public key mime part.
But when moving the root, we would copy all content headers, even empty ones.
So we’d be left with Content-Disposition: "" which would fail to parse.
2023-02-06 15:57:24 +00:00
Leander Beernaert
c86cdf737f
GODT-2311: Fix missing headers in re-downloaded Gluon messages
2023-01-27 09:55:02 +01:00
James Houlahan
badebbef9f
GODT-2297: More significantly improve GPA's paging algorithm
2023-01-26 12:43:30 +01:00
James Houlahan
5e072c3282
Other: Slightly improve GPA's paging algorithm
2023-01-26 09:48:19 +01:00
James Houlahan
cf32b84257
GODT-2305: Detect missing gluon DB
2023-01-25 14:55:13 +01:00
Jakub
160489a771
GODT-2223: Testing event processing scenarios.
2023-01-25 13:05:04 +01:00
Jakub
996c6826b9
GODT-2223: Handle gracefully multiple create events with same id.
2023-01-25 13:04:04 +01:00
Romain Le Jeune
ee4da8a89c
GODT-2291: Change gluon store default location from Cache to Data.
2023-01-24 13:35:45 +00:00
James Houlahan
94703bcf37
GODT-2223: Treat label/message deletion errors as non-critical
2023-01-23 21:25:15 +01:00
James Houlahan
c8925cd270
GODT-2223(test): Assert that bad request errors lead to user logout
2023-01-18 14:10:23 +00:00
Leander Beernaert
70f0384cc3
GODT-2165: Reduce UTF8 parsing errors from TLS header input
...
Updates Gluon to include fix which does not report UTF-8 errors when we
parse a TLS header on a non TLS connection.
2023-01-18 13:06:14 +01:00
James Houlahan
7119c566ef
Other: Bump GPA to v0.3.0
2023-01-17 14:10:07 +00:00
Leander Beernaert
0e9428aaae
GODT-2252: Recover from deleted cached messages
...
Update to latest Gluon version and implement the new
`Connector.GetMessageLiteral` function.
2023-01-17 14:02:39 +01:00
Leander Beernaert
93c7552a41
GODT-2202: Report update errors from Gluon
...
For every update sent to gluon wait and check the error code to see if
an error occurred.
Note: Updates can't be inspect on the call site as it can lead to
deadlocks.
2023-01-13 15:54:31 +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
Romain Le Jeune
0580842ad2
GODT-2229: Own the full path for gluon and do not change Database path.
2023-01-12 13:23:09 +00:00
Xavier Michelon
8d9db83a87
GODT-2246: do not report API error 422 when using an invalid email address.
2023-01-12 12:36:46 +01:00
Jakub
715efaa087
Revert "GODT-2229: Allow changing cache folder to a non-empty folder."
...
This reverts commit b19e16e4b8
.
2023-01-11 10:19:38 +01:00
Jakub
606a8f134d
Revert "Other: Update Gluon"
...
This reverts commit 761b98f02f
.
2023-01-11 10:19:16 +01:00
Leander Beernaert
761b98f02f
Other: Update Gluon
...
Includes fix for not panicking on out of or UID insertion.
2023-01-10 17:54:53 +01:00
Romain Le Jeune
b19e16e4b8
GODT-2229: Allow changing cache folder to a non-empty folder.
2023-01-10 16:40:52 +00:00
Romain LE JEUNE
0b61f8f146
GODT-2242: Bump GPA - Don't send any 2fa information if not needed.
2023-01-10 13:23:17 +00: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
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