cf32b84257
GODT-2305: Detect missing gluon DB
2023-01-25 14:55:13 +01:00
160489a771
GODT-2223: Testing event processing scenarios.
2023-01-25 13:05:04 +01:00
1bfabf9a83
GODT-2296: Log error rather than fail if cannot get parent ID
2023-01-25 09:09:14 +00:00
e8a778feca
GODT-2266: Pause event stream while sending
2023-01-25 09:47:27 +01:00
60b1c4d8f7
GODT-2177: Use correct attachment disposition when content ID is set
2023-01-24 16:31:14 +01:00
f1404cd3ee
GODT-1556: If no references, use the in-reply-to header as ParentID.
2023-01-24 15:36:23 +01:00
94703bcf37
GODT-2223: Treat label/message deletion errors as non-critical
2023-01-23 21:25:15 +01:00
0e4ec8a8b8
Other: Ensure SMTP debug dump works on windows
2023-01-20 13:33:14 +01:00
59a29da054
Other(debug): Dump raw SMTP input to user's home dir
2023-01-19 13:30:28 +01:00
faf28a6d4e
GODT-2223: Fix mutex double lock
2023-01-18 14:10:23 +00:00
59745e6fb6
GODT-2223: Ensure apiLabels map is properly up to date
2023-01-18 14:10:23 +00:00
e35f3b6056
GODT-2223: Fix handling of create/update label events
2023-01-18 14:10:23 +00:00
d68014ec7b
GODT-2223: Handle attempting to fetch a message that was just deleted
2023-01-18 14:10:23 +00:00
b63029054d
GODT-2223: Fix handling deletion of nonexistent labels
2023-01-18 14:10:23 +00:00
849c8bee78
GODT-2223: Handle bad events by logging user out
2023-01-18 14:10:23 +00:00
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
a377384553
Other: added user's primary email address to the vault.
2023-01-17 11:27:54 +01:00
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
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
2562d1e77d
GODT-1817: Do not allow authentication of disabled accounts
2023-01-09 15:10:39 +00:00
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
757e8a02ec
GODT-2233: Fix sub folder creation bug
...
Sub folders with more than 2 levels of depth (e.g.: Folders/first/second)
could not be created since we did not update the known label list we use
to validate the request.
2023-01-02 11:41:49 +01:00
6d0a128111
Other: Update copyright year
2023-01-02 11:09:11 +01:00
038b5d1437
GODT-2222: Dot not error on unknown Address Events
...
Prevent infinite error loop in event parsing by not returning errors if
we already have or do not have a given address. This occurs since we
sync the latest state at Bridge startup but still receive the events
which contain these changes later.
2022-12-21 10:16:02 +01:00
08125e9281
Merge branch 'release/perth_narrows' into devel
2022-12-20 09:00:26 +01:00
47ea4b226a
Other: Add sentry reports for event processing failures
2022-12-19 14:38:01 +01:00
00059e6754
Other: Do not fail on label events
...
Do not treat unknown label creation/deletion/update or deletion in Bridge
as an error as the Gluon cache still needs to receive these events to
correct its internal state.
2022-12-19 14:24:12 +01:00
3499fbd758
Other: Do not decode message body during send record hashing
...
When calculating the hash for the body to match against sent email to
avoid duplicate addition to the sent folder, do not decode the actual
contents of the body.
It is possible that certain attachments are not formed correctly but
can still accepted by the backend. Trimming spaces and \r characters is
enough to hash the message and match it later on.
This also speeds the process up as we no longer have to perform
encoding conversions.
2022-12-16 14:26:59 +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
f551732a17
Other: Add SMTP debug dump to disk
2022-12-14 10:27:12 +00:00
c39108043b
Merge branch 'release/perth_narrows' into devel (3.0.7)
2022-12-13 19:37:12 +01:00
2b25fe1fa4
GODT-2173: fix: Migrate Bridge password from v2.X.
2022-12-13 14:25:39 +00:00
1aca2cde71
GODT-2181(test): Refactor integration test setup a bit
2022-12-13 10:28:59 +01:00
6c30a04ac0
Merge branch 'release/perth_narrows' into devel
2022-12-07 09:26:59 +01:00
75c88eaa55
GODT-2187: Handle unbuildable messages in event loop
2022-12-06 19:27:55 +01:00
bd6ae2ac2b
GODT-2187: Placeholder for unbuildable messages
2022-12-06 16:35:32 +01:00
58d04f9693
GODT-2187: Skip messages during sync that fail to build/parse
2022-12-06 14:07:13 +00:00
04881b9b78
GODT-2178: Bump go-proton-api to fix drafts
2022-12-05 15:14:30 +01:00
2cd7735468
Other: Do not list \Deleted flag for All Mail
2022-12-02 14:59:52 +01:00
8408a5fdc0
GODT-2170: Improving test server behaviour.
2022-12-02 13:27:19 +00:00
828fe0e86e
GODT-2170: Update draft event means delete old and create new message.
2022-12-02 13:27:19 +00:00
5c3179df48
GODT-2170: User create draft rounte: first steps.
2022-12-02 13:27:19 +00:00
618cb27ac1
Other: Disable perma-delete for expunge on Spam folder
2022-12-02 13:43:53 +01:00
71ad1e9939
Other: Only send to necessary update channel
2022-11-30 13:52:42 +00:00
b902f1490f
GODT-2114: sanitize attachment disposition.
2022-11-28 18:20:48 +00:00
b7be599769
GODT-2151: Sync backwards to please product people
2022-11-24 13:04:00 +01:00
e601245f01
Other(chore): Bump major version to v3
2022-11-23 16:08:27 +01:00
ad1fb47b0d
Other: Switch from liteapi to go-proton-api
2022-11-23 15:17:56 +01:00
61287d05bf
Other: Retry sync after cooldown if it fails
2022-11-23 12:47:16 +01:00
555453bc1a
GODT-2142: Also permit split by comma in References header
2022-11-22 19:08:03 +01:00