30 Commits

Author SHA1 Message Date
ElectroNafta
9c2b53694f chore(BRIDGE-429): migrate resty fork to ProtonMail org 2025-09-30 11:47:53 +02:00
ElectroNafta
de1611bf40 chore(BRIDGE-369): bump gopenpg to 2.9.0 2025-06-24 12:05:33 +02:00
ElectroNafta
e624a080f7 chore(BRIDGE-353): bump x/net dependency 2025-04-17 15:40:00 +02:00
ElectroNafta
67bd01ad0b chore(BRIDGE-73): bump gopenpgp to v2.8.2 2025-01-21 12:47:01 +01:00
ElectroNafta
e2b01dc614 chore(BRIDGE-95): bumped to go 1.23; updated x/net 2025-01-21 12:31:18 +01:00
Xavier Michelon
a616326840 feat(BRIDGE-22): update go version to 1.21, linter, vulnerable modules and added govulncheck action. 2024-04-23 14:34:04 +02:00
Leander Beernaert
0ee691e470 fix(GODT-3124): Resty buffer bug
In Resty it is possible that a buffer returned to the pool can still be
written to. In the custom fork we patched this to return a new buffer
instance if the returned buffer is not empty.
2023-11-29 11:56:41 +01:00
Leander Beernaert
933cd67ad9 fix(GODT-3012): Fix emtpy multi-part values after network retry
Use custom fork of Resty
https://github.com/LBeernaertProton/resty/tree/multipart-streams where
we have fixed the issue of multipart request being empty if the request
needs to be repeated more than once.
2023-10-30 14:32:22 +01:00
Leander Beernaert
8fc2478b27 fix(GODT-3020): Update GRPC and x/net dependencies 2023-10-30 10:12:25 +01:00
Leander Beernaert
1c93429214 fix(GODT-3095): Update GOpenPGP 2023-10-30 10:12:25 +01:00
Jakub
aee19c63fa feat(GODT-3004): update gopenpgp and dependencies. 2023-10-11 08:48:07 +02:00
Leander Beernaert
331ad8e6d5 fix(GODT-2212): Preserve header order when building messages
Ensure order of parsed header field is recorded alongside the values.
2023-09-25 14:30:25 +02:00
Leander Beernaert
b7d785347a feat(GODT-2801): Add names to QueudChannels
https://github.com/ProtonMail/gluon/pull/385
2023-07-24 15:54:23 +02:00
Romain LE JEUNE
9e72c2541c fix(GODT-2675): Update gin-gonic/gin to 1.9.1 to apply security patch. 2023-06-02 09:25:24 +02:00
Romain LE JEUNE
ea8de5f674 fix(GODT-2646): Update gluon dependecy after juniper dump. 2023-05-23 11:23:37 +02:00
Romain LE JEUNE
75dbe76353 fix(GODT-2646): Update dependencies. 2023-05-23 09:12:11 +02:00
Romain LE JEUNE
580e812514 fix(GODT-2646): Update CIRCL dependency to apply security patch. 2023-05-23 09:12:11 +02:00
Romain LE JEUNE
f77778bae1 feat(GODT-2496): Bump gopenPGP to latest - 2.7.1-proton. 2023-04-26 10:11:44 +02:00
Leander Beernaert
5a5a86b435 fix(GODT-2573): Handle invalid header values
Requires updating Gluon: https://github.com/ProtonMail/gluon/pull/336
2023-04-12 10:12:44 +02:00
Jakub
c7596e1707 fix(GODT-2500): pass handler pointer down the road. 2023-04-06 16:37:39 +02:00
Jakub
d91d6600a5 fix(GODT-2500): Recover in deferred function. 2023-04-05 09:22:18 +02:00
Jakub
3cc8423ece refactor(GODT-2500): Reorganise async methods. 2023-04-03 09:50:50 +02:00
James Houlahan
a7b207d854 chore: Bump dependencies
GitHub reported a security vulnerability in golang.org/x/net so we
bump all dependencies here to mitigate it.
2023-02-22 11:58:18 +01:00
Leander Beernaert
95a8ae8f59 fix: run go mod tidy 2023-01-30 10:39:44 +01:00
Leander Beernaert
8fa71fac20 refactor(GODT-2224): Allow user to control how to download attachments
This reverts commit 35702fd064.
2023-01-30 10:39:44 +01:00
Jakub
35702fd064 Revert "refactor(GODT-2224): Allow user to control how to download attachments"
This reverts commit 5e70c325c3.
2023-01-25 09:28:44 +01:00
Leander Beernaert
5e70c325c3 refactor(GODT-2224): Allow user to control how to download attachments
Expose mechanism for a user of the library to control how the
attachments should be downloaded.

`AttachmentAllocator` allows the user to specify where the byte
buffers for the attachments should originate from.

`Scheduler` allows the user to control how the attachments should be
downloaded. `SequentialScheduler` and `ParallelScheduler` are provided
as reference implementations.
2023-01-24 16:18:38 +01:00
James Houlahan
a847d9b892 test(GODT-2181): Handle quark commands in test server 2022-12-13 13:12:36 +01:00
cuthix
65e09dd4ed fix(GODT-2159): improve and check behaviour on 429 response. (#1)
* Change default cool down on 429 is 10 second
* Add jitter to server cooldown to avoid request bulking
* Add test for delay
2022-11-28 15:49:29 +01:00
James Houlahan
2323ea7360 feat: Initial open source commit 2022-11-23 12:03:04 +01:00