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
e9488d12ee
fix(GODT-2522): Handle migration with unreferenced db values
...
https://github.com/ProtonMail/gluon/pull/373
2023-06-29 06:49:54 +00:00
9a87b155ba
fix(GODT-2693): Allow missing whitespace after header field colon
...
https://github.com/ProtonMail/gluon/pull/372/
2023-06-29 06:49:54 +00:00
f6a1cd9b64
fix(GODT-2726): Fix Parsing of Details field in GPA error message
...
https://github.com/ProtonMail/go-proton-api/pull/87
2023-06-29 06:49:54 +00:00
c267168cb7
feat(GODT-2522): New Gluon database layout
...
All changes were made in Gluon.
2023-06-28 10:49:13 +02:00
ff57eb2b43
feat(GODT-2510): Remove Ent
...
Update Gluon to use new direct SQLite3 implementation.
2023-06-22 06:13:16 +00:00
6ab49367ba
chore: merge branch release/stone to devel
2023-06-08 08:40:31 +02:00
e434a4fd0c
fix(GODT-2683): Only validate messages that are not appended to Drafts
...
https://github.com/ProtonMail/gluon/pull/364
2023-06-07 12:30:49 +00:00
71a559ee4c
fix(GODT-2683): Reduce message checks when appending into Drafts
...
https://github.com/ProtonMail/gluon/pull/362
2023-06-07 10:43:49 +02:00
fab063f194
feat(GODT-2653): Log API error details on Message import and send
2023-06-05 14:06:04 +02:00
5c606aee73
chore: Fix linter errors
2023-06-05 13:48:56 +02:00
51315d5d2b
feat(GODT-2653): Log API error details on Message import and send
2023-06-05 13:21:04 +02:00