910060a14c
fix(GODT-2598): Map Message Size Error to Gluon Error
...
Prevents messages with invalid size from ending up in the recovery
mailbox.
2023-04-28 11:44:02 +02:00
c49b42060e
chore(GODT-2576): Connector can send any flags to Gluon
...
Requires Gluon bump: https://github.com/ProtonMail/gluon/pull/344
2023-04-27 11:52:55 +02:00
d8fa2fb3e3
fix(GODT-2582): Update Gluon for updated GetMessageHash
...
This patch also update getMessageHash to use the fixed version in Gluon.
https://github.com/ProtonMail/gluon/pull/342
2023-04-26 14:53:38 +02:00
3ebd2f53f4
chore: merge release/Quebec into devel
2023-04-26 11:32:56 +02:00
59a944a06c
feat(GODT-2496): Bump gopenPGP to 2.7.1-proton.
2023-04-26 08:47:47 +00:00
ec0db47f32
fix(GODT-2582): Dedup recovered messages folder
...
same code as:
* https://github.com/ProtonMail/gluon/pull/338
* https://github.com/ProtonMail/gluon/pull/339
2023-04-25 11:36:21 +02:00
7383d65cb2
fix(GODT-2582): Dedup recovered messages folder
...
https://github.com/ProtonMail/gluon/pull/338
https://github.com/ProtonMail/gluon/pull/339
https://github.com/ProtonMail/gluon/pull/340
2023-04-25 10:24:51 +02:00
2191dc70dc
fix(GODT-2550): Announce IMAP ID Capability
...
https://github.com/ProtonMail/gluon/pull/337
2023-04-13 15:02:41 +02:00
b0c3faa228
fix(GODT-2574): Fix label/unlabel of large amounts of messages
...
Requires update to GPA:
https://github.com/ProtonMail/go-proton-api/pull/75
2023-04-13 11:25:16 +02:00
c7ae239350
fix(GODT-2573): Handle invalid header fields in message
...
Requires updating Gluon and GPA
https://github.com/ProtonMail/gluon/pull/336
https://github.com/ProtonMail/go-proton-api/pull/74
2023-04-12 10:18:14 +02:00
a6f5cc870c
fix(GODT-2500): pass handler pointer down the road.
2023-04-06 16:39:29 +02:00
7330406752
fix(GODT-2500): Recover in deferred function.
2023-04-05 09:25:24 +02:00
de5fd07a22
feat(GODT-2500): Reorganise async methods.
2023-04-03 07:07:22 +02:00
9756a7b51f
fix(GODT-2526): Fix high memory usage with fetch/search
...
https://github.com/ProtonMail/gluon/pull/333
2023-03-29 14:49:36 +02:00
579e996d3a
fix(GODT-2514): Apply Retry-After to 503
...
https://github.com/ProtonMail/go-proton-api/pull/67
2023-03-27 16:07:54 +02:00
0a0bcd7b90
fix(GODT-2508): Handle Address Updated for none-existing address
...
If we receive an address update and the address does not exist, attempt
to create it.
2023-03-27 13:49:27 +02:00
ee87e60239
fix(GODT-2504): Fix missing attachments in imported message
...
https://github.com/ProtonMail/go-proton-api/pull/64
2023-03-23 13:14:13 +01:00
2166224e91
fix(GODT-2513): Scanner Crash in Gluon
...
Gluon MR: https://github.com/ProtonMail/gluon/pull/330
2023-03-22 13:19:15 +01:00
bb770f3871
fix(GODT-2512): Catch unhandled API errors
...
Bump GPA https://github.com/ProtonMail/go-proton-api/pull/63
2023-03-21 13:46:55 +00:00
2d6e0c66a5
fix(GODT-2507): Memory consumption bug
...
Fix was made in Gluon: https://github.com/ProtonMail/gluon/pull/329
2023-03-21 08:45:01 +01:00
ed05823c78
fix(GODT-2418): Do not issue connector renames for inferiors
...
Bump Gluon (https://github.com/ProtonMail/gluon/pull/328 ) and add test.
2023-03-20 13:19:05 +01:00
ec351330f1
chore: Replace go-rfc5322 with gluon's rfc5322 parser
...
Bumps Gluon version in order to get the fixes from
https://github.com/ProtonMail/gluon/pull/327 .
2023-03-20 10:25:41 +01:00
e36c2b3d6e
chore: Update GPA to include detailed error messages
...
https://github.com/ProtonMail/go-proton-api/pull/62
2023-03-14 15:47:48 +01:00
1820af5021
chore: merge release/perth_narrows into devel
2023-03-13 11:40:54 +01:00
7eaf1655b2
chore: Bump Gluon for fixes
...
- GODT-2442: Handle DB deletes on windows
- GODT-2419: Improve Error Messages
- GODT-2430: Collect more info to diagnose issue
2023-03-10 16:35:33 +01:00
b57c7abe92
fix(GODT-2442): Ensure DB gets moved during RemoveUser
2023-03-09 11:54:25 +01:00
ed6e17a0ab
fix(GODT-2442): bump GPA: refresh All cleans event history.
2023-03-08 17:53:59 +01:00
13c8a98389
fix(GODT-2442): move gluon DB before removal.
2023-03-08 17:21:03 +01:00
34c002ff68
test(GODT-2442): test bad event feedback and clean-up.
2023-03-07 17:59:04 +01:00
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
9058544f5c
feat(GODT-2448): Supported Answered flag
...
Bump gluon and implement changes required for the flag changes.
2023-03-06 16:04:49 +01:00
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
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
30651a531b
fix(GODT-2427): Fix header parser
...
Fix is included in gluon
2023-03-02 13:48:14 +01:00
ee4a8939d5
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-03-01 10:44:18 +01:00
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
d6acb0fb19
fix(GODT-2418): Ensure child folders are updated when parent is
2023-02-28 14:25:11 +01:00
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
2b09796d1c
fix(GODT-2399): Fix immediate message deletion during updates
...
Fix was applied in Gluon.
2023-02-27 15:09:11 +01:00
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
00256fafe8
fix(GODT-2394): Bump Gluon for golang.org/x/text DoS risk
...
This also fixes a harmless error related to multiple deletions in the store.
2023-02-23 13:09:06 +01:00
5007d451c2
feat(GODT-2385): Gluon cache fallback
...
Update Gluon to have access to the cache fallback reader.
Provide fallback reader to handle old cache file format.
Remove the old logic to erase all cache files on start as the fallback
option renders this irrelevant.
2023-02-22 12:00:23 +01:00
8a5c8eaf6e
chore: Use gluon temp/hotfix-perth-narrows branch
2023-02-21 16:07:27 +01:00
a75a72a2b9
chore: Bump Gluon version for Go rfc5322 date parser
2023-02-21 15:46:24 +01:00
038eb6d243
feat(GODT-2366): Handle failed message updates as creates
...
This handles the following case:
- event says message was created
- we try to fetch the message but API says the doesn’t exist yet — we skip applying the “message created” update
- event then says message was updated at some point in the future
- we try to handle it but fail because we don’t have the message — we should treat it as a creation
2023-02-21 15:20:05 +01:00
2bd8f6938a
chore: Bump gluon to create missing messages during MessageUpdated
2023-02-21 12:53:05 +01:00
889f3286b5
chore: Bump gluon to use new address parser
2023-02-21 12:15:37 +01:00
9dfdd07f7a
fix(GODT-2381): Unset draft flag on sent messages
2023-02-20 15:37:36 +01:00
6a9f6a173a
feat(GODT-2201): Bump Gluon to use pure Go IMAP parser
2023-02-17 14:25:16 +00:00
cac0cf35f6
feat(GODT-2361): Bump GPA to use simple encrypter
2023-02-17 14:06:15 +01:00