5c67cc2e76
fix(GODT-3153): Do not take into account full address when hasing messages.
2023-12-06 16:14:38 +00:00
38606888fe
fix(GODT-2851): Add empty text part if no text part when importing multipart.
2023-11-30 11:03:31 +01:00
9449177553
fix(GODT-3148): bump go-sysinfo to get rid of linker warning on macOS Sonoma.
2023-11-29 14:49:13 +01:00
bbcedc655a
fix(GODT-3124): Flaky tests
...
Bump GPA to include fix for flacky tests.
https://github.com/ProtonMail/go-proton-api/pull/137
2023-11-29 12:02:06 +01:00
40c97ab19e
fix(GODT-3022): Handle multipart/related on fake server.
2023-11-28 15:07:26 +00:00
50dd046b82
fix(GODT-3133): Fix GetSystemLanguage
2023-11-28 09:32:40 +01:00
414d74d06a
test(GODT-3124): Attempt to fix 401 during login
...
Update GPA to use the simplified locking model and hope that the problem
solves itself. As far as I could tell, this might be a lock acquisition
issue.
https://github.com/ProtonMail/go-proton-api/pull/132
https://github.com/ProtonMail/go-proton-api/pull/133
2023-11-27 13:31:35 +01:00
ba935a6cce
fix(GODT-3129): Bad Event during after address order change
...
When syncing an account, if the user creates a new address and then
changes it to be the default address in combined address mode we need
to update the connector maps so that the new primary address ID can be
found in that map.
Includes https://github.com/ProtonMail/go-proton-api/pull/130
2023-11-21 12:24:24 +00:00
109c15410a
fix(GODT-3117): Improve GetAllContacts and GetAllContactsEmail
...
https://github.com/ProtonMail/go-proton-api/pull/129
2023-11-20 16:02:21 +01:00
bf89d548d3
fix(GODT-2576): Correctly handle Forwarded messages from Thunderbird
...
Thunderbird uses `In-Reply-To` with `X-Forwarded-Message-Id` to signal
to the SMTP server that it is forwarding a message.
2023-11-16 16:17:54 +01:00
51229cbb68
feat(GODT-3122): added test, changed interface for accessing display name.
2023-11-16 10:44:59 +00:00
ea1c2534df
fix(GODT-2617): Validate user can send from the SMTP sender address
...
https://github.com/ProtonMail/go-proton-api/pull/126
2023-11-15 14:13:21 +01:00
bc381407a7
feat(GODT-2576): Forward and $Forward Flag Support
...
When an IMAP client stores the `Forward` or `$Forward` flags on a
message, the forwarded state is now correctly represented on the Proton
servers.
https://github.com/ProtonMail/go-proton-api/pull/125
https://github.com/ProtonMail/gluon/pull/400
2023-11-15 07:51:00 +01:00
21ff7b4b97
feat(GODT-2947): Remove 'blame it on the weather' error part from go-smtp.
2023-11-09 09:45:02 +00:00
4a01c46aed
fix(GODT-3048): WKD Policy behavior
...
Ensure Bridge respects the no encrypt setting on a contact which has a
WKD key.
2023-11-08 14:23:36 +01:00
5ff074cc49
fix(GODT-3106): Broken import route
...
https://github.com/ProtonMail/go-proton-api/pull/123
2023-11-06 10:36:27 +01:00
1ac4e70115
test(GODT-1224): Add testing around package creation.
2023-11-02 07:24:43 +00:00
07f93d276b
fix(GODT-3012): Fix multipart request retries
...
Multipart request were failing due a bug in resty, which would cause
retries of the same request to end up with no data passed to the server.
https://github.com/ProtonMail/go-proton-api/pull/120
2023-10-30 15:27:39 +01:00
d29571fb01
fix(GODT-3095): Update GOpenPGP
2023-10-30 10:14:52 +01:00
405331d59b
fix(GODT-2970): Correctly handle rename of Inbox
...
https://github.com/ProtonMail/gluon/pull/398
https://github.com/ProtonMail/gluon/pull/399
2023-10-25 15:29:33 +02:00
d3f7be059d
test(GODT-3036): Keep inline attachment order on GPA Fake Server.
2023-10-24 08:22:22 +00:00
b52706a3ca
feat(GODT-3015): Add simple algorithm to deal with multiple attachment for bug report.
2023-10-20 10:14:20 +00:00
5747b85543
test: Add test around account settings.
2023-10-18 07:45:08 +00:00
ab76cab533
test: Update fake server with defautl draft content-type and test it.
2023-10-17 08:16:39 +00:00
1d53044803
feat(GODT-3004): update gopenpgp and dependencies.
2023-10-11 13:12:37 +00:00
ab9a758d63
fix(GODT-3003): Ensure IMAP State is reset after vault corruption
...
After we detect that the user has suffered the GODT-3003 bug due the
vault corruption not ensuring that a previous sync state would be
erased, we patch the gluon db directly and then reset the sync state.
After the account is added, the sync is automatically triggered and the
account state fixes itself.
2023-10-09 10:23:58 +01:00
de0b6c0737
feat(GODT-2835): Bump GPA adding support for AsyncAttachments for BugReport +...
2023-10-03 13:43:16 +00:00
e422b28bc3
fix(GODT-2212): Preserver Header order in message building
...
https://github.com/ProtonMail/go-proton-api/pull/100
2023-09-25 15:05:21 +02:00
fa794a982b
feat(GODT-2597): Implement contact specific settings in integration tests.
2023-09-15 10:53:58 +00:00
3b58078595
fix(GODT-2929): Message dedup with different text transfer encoding
...
https://github.com/ProtonMail/gluon/pull/396
2023-09-11 15:44:11 +02:00
c9323a40c8
fix(GODT-2867): do not crash on timeout or context cancel.
2023-08-31 11:14:44 +00:00
f7252ed40e
fix(GODT-2693): Duplicate messages in sent folder
...
* Only call `RemoveOnFail` on error. It was also called on success.
* Add some logging to track send times.
* Fix non-deterministic hash from `rfc8222.GetMessageHash`.
https://github.com/ProtonMail/gluon/pull/395
2023-08-29 11:50:50 +00:00
66c30716ea
fix(GODT-2867): get attachment returns API error on network problem.
2023-08-29 13:20:45 +02:00
efbe84964f
feat(GODT-2829): Integrate new sync service
...
Update imap service to use the new sync service.
The new sync state is stored as simple file on disk to avoid contention
with concurrent vault writes.
2023-08-25 15:21:00 +02:00
78f7cbdc79
feat(GODT-2829): New Sync Service
...
Implementation of the new sync service that interleaves syncing jobs for
all active users.
It also includes improvements to the message downloader. The download
will now auto rate limit the parallel workers based on the server
responses.
Additionally each of the stages is now tested in isolation to ensure the
behavior matches the expectations.
Finally, this patch does not replace the existing IMAP sync. A follow up
patch is necessary to integrate the IMAP bits into the interfaces
required by these changes.
2023-08-23 16:12:19 +02:00
f557666b4d
feat(GODT-2871): is telemetry enabled as service.
2023-08-21 14:08:47 +02:00
884c6ed932
fix(GODT-2865): add error on failed unlock.
2023-08-17 08:19:25 +00:00
db77bd4983
test(GODT-2873): Wait for Gluon Watcher to finish
...
Avoids go-routine leak checker entry.
https://github.com/ProtonMail/gluon/pull/393
2023-08-17 06:31:25 +00:00
e724fafe2f
chore: checkout features from trift to devel
2023-08-15 15:40:53 +02:00
41c125f65e
feat(GODT-2803): Gluon IMAP State access
...
Update to latest Gluon to allow access to the database for bridge. The
cache is placed in a `SharedCache` type to ensure that we respect calls
to `Connector.Close`.
In theory, this should never trigger an error, but this way we can catch
it if it happens.
https://github.com/ProtonMail/gluon/pull/391
2023-08-14 09:51:49 +02:00
4c908aac7c
fix(GODT-2857): Do not check changed values in clear recent flag
...
https://github.com/ProtonMail/gluon/pull/390
2023-08-09 10:18:30 +02:00
519a6ecdb7
fix(GODT-2833): Migration of Message Flags
...
https://github.com/ProtonMail/gluon/pull/388
2023-08-08 12:38:54 +02:00
776976a8a2
feat(GODT-2801): Debug names for QueuedChannels
...
https://github.com/ProtonMail/gluon/pull/385
https://github.com/ProtonMail/go-proton-api/pull/90
2023-07-24 16:38:01 +02:00
1ffb9089ba
fix(GODT-2687): Tabs after header field colon
...
https://github.com/ProtonMail/gluon/pull/384
2023-07-17 11:26:00 +02:00
65365281eb
chore: merge release/stone with release/trift.
2023-07-13 07:51:19 +02:00
6579cdfc7f
fix(GODT-2774): Add context to Authorize in gluon.Connector
...
Backported from: https://github.com/ProtonMail/gluon/pull/379
2023-07-06 13:28:58 +02:00
40c48ba804
fix(GODT-2774): Add external context to telemetry tasks
...
This ensures they get cancelled if the parent context becomes invalid
2023-07-06 13:09:35 +02:00
f1917ad0de
fix(GODT-2758): Fix panic in SetFlagsOnMessages
...
https://github.com/ProtonMail/gluon/pull/377
2023-07-05 10:57:53 +02:00
cc17366c1c
fix(GODT-2578): Refresh literals appended to Sent folder
...
Whenever a message gets moved to the sent folder we should retrieve the
new literal in order to guarantee that, if another client modifies and
sends the message, we always see the latest version of the message and
not a previous state stored in the Gluon cache.
Includes the following Gluon MRs:
* https://github.com/ProtonMail/gluon/pull/374
* https://github.com/ProtonMail/gluon/pull/376
Includes the followin gpa MR:
https://github.com/ProtonMail/go-proton-api/pull/88
2023-07-04 10:39:07 +02:00
582afa1451
fix(GODT-2726): Fix Parsing of Details field in GPA error message
...
https://github.com/ProtonMail/go-proton-api/pull/87
2023-06-29 11:24:55 +02:00