Sebastijan Zindl
6bf7f5a61e
chore(BRIDGE-534): replace exp/maps and exp/slice with common utils & stdlib packages
2026-04-24 17:09:47 +02:00
Sebastijan Zindl
76509ffbc6
fix(BRIDGE-515): replace old go syntax using go:fix to match new go 1.26 syntax
2026-04-15 13:19:05 +02:00
Sebastijan Zindl
e2509a3d2f
chore(BRIDGE-483): patch vulnerabilities for March 2026
2026-03-31 10:46:07 +02:00
Sebastijan Zindl
799673ddc2
feat(BRIDGE-487): bump go version to 1.26.1 & update dependencies
2026-03-19 12:24:40 +01:00
Sebastijan Zindl
7382f532e3
feat(BRIDGE-492): golangci-lint v2 update, github workflows update & new issues fixes
2026-03-18 11:59:19 +01:00
Sebastijan Zindl
b518e6d5a5
feat(BRIDGE-426): add support for creating addresses with arbitrary RSA key length
2026-03-03 16:08:10 +01:00
ElectroNafta
c9726b8d6e
fix(IMEX-66): prevent potential double encryption on import
2025-04-23 10:52:40 +02:00
ElectroNafta
92de6e7c85
feat(BRIDGE-348): add utility and tests functions for BYOE
2025-04-10 07:08:01 +02:00
ElectroNafta
ca6bb6449b
feat(BRIDGE-122): Observability support; type definitions, helper methods in fake server
2024-08-27 14:22:36 +02:00
ElectroNafta
dd607af0f9
feat(BRIDGE-119): added feature flag relevant API calls; added Feature Flag route to fake server
2024-08-21 10:10:56 +02:00
Jakub
ec58ed7ea4
feat(GODT-3199): add package log field.
2024-02-26 17:15:23 +01:00
Jakub
30339d1d26
feat(GODT-1602): add more logs to proxy requests.
2024-02-26 16:53:11 +01:00
Romain LE JEUNE
e8aa47d7a3
fix(GODT-2851): Determine Body MIMEType for all Multipart when importing to backend.
2023-11-30 09:32:29 +01:00
Leander Beernaert
2ba53999a4
fix(GODT-3124): Remove unnecessary lock in GPA Server
2023-11-29 11:56:41 +01:00
Leander Beernaert
6952028f1f
fix(GODT-3124): Return errors during auth info + improved logging
2023-11-28 16:27:36 +01:00
Romain LE JEUNE
88e7263a8d
fix(GODT-3022): Handle multipart/related on fake server.
2023-11-28 14:28:32 +01:00
Leander Beernaert
a4cffbe6ab
fix(GODT-3124): Fix server proof check in GPA auth route
2023-11-27 10:53:14 +01:00
Leander Beernaert
a1f305279a
fix(GODT-3124): Simplify locking in GPA server
...
Access to all the fake server state is now guarded by a single RWLock
rather then multiple locks per category. It has been observed in the
past that this could lead to deadlocks in Bridge unit tests at random.
2023-11-24 16:39:01 +01:00
Leander Beernaert
44e8224f0b
feat(GODT-3129): Trigger events when address order changes
...
When changing the address order, trigger address updated events and if
the primary address changes, trigger a user info event.
2023-11-21 12:00:02 +01:00
Leander Beernaert
65479b90c4
fix(GODT-3117): Improve Contact Info Retrieval
...
Rather than only fetching the total in on request and discarding all the
data, re-use the first page of data and then collect more of them if the
data set exceeds the page size.
This patch also includes various fixes to the GPA server to mimic
proton server behavior.
2023-11-20 16:01:19 +01:00
Leander Beernaert
8a47c8d92f
feat(GODT-2567): Simulate Answered/Forwarded behavior in GPA server
2023-11-16 15:42:14 +01:00
Xavier Michelon
c9bc6f71ee
feat(GODT-3122): server now support display name for addresses.
2023-11-16 08:46:55 +01:00
Leander Beernaert
0ea2258e7b
feat(GODT-2617): Allow change send ability on GPA server addresses
2023-11-15 14:12:12 +01:00
Leander Beernaert
d2fbf42bb0
feat(GODT-2576): Forward flag support
...
Add routes to mark messages as forwarded.
2023-11-14 16:32:53 +01:00
Leander Beernaert
5f248dfc82
fix(GODT-3106): Fix broken import route
...
The original fixes to parse the HV error message unfortunately caused
those corrected error routes to start failing when tested against live
proton servers.
Since HV error parsing was improved in a subsequent patch, we no longer
needs the original fix and can therefore revert the changes that are
causing issues.
2023-11-06 10:35:33 +01:00
Romain LE JEUNE
6955dba06e
test(GODT-3036): Also sort attachment for sent message + add unitary test.
2023-10-24 09:15:15 +02:00
Romain LE JEUNE
11d1254a95
fix(GODT-3036): Keep contentID order for attachment in FakeServer.
2023-10-23 10:58:02 +02:00
Romain LE JEUNE
2449db500e
test: Implement account settings route in fakeserver.
2023-10-18 09:07:52 +02:00
James Houlahan
8f03c5a977
fix: Ensure test account has default draft MIME type
2023-10-16 17:10:24 +02:00
Leander Beernaert
f03defb04b
feat(GODT-2908): Capture HV Request on HV Error
...
The APIError that was composed in certain replies needs to be kept
separate so that the custom `UnmarshalJSON` does not override the
composed struct's implementation. This can lead to fields not being
deserialized properly.
2023-10-16 11:10:46 +02:00
Romain LE JEUNE
5e6dba7c52
feat(GODT-3015): AttachmentAsync is now an enum.
2023-10-12 17:28:43 +02:00
Romain LE JEUNE
3d443adf37
feat(GODT-2836): Add routes to append attachement to BugReport.
2023-10-03 17:53:44 +02:00
Romain LE JEUNE
134cc290d6
feat(GODT-2835): Update BugReport route to support AsyncAttachments option.
2023-10-03 11:06:31 +02:00
Leander Beernaert
f1adb1492e
feat(GODT-2948): Add used space per product to user info
2023-09-27 11:49:06 +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
Romain LE JEUNE
3de73982c7
feat(GODT-2597): Implement contact list in fake server.
2023-09-15 09:07:41 +02:00
Jakub
4da2872883
feat(GODT-2871): add user settings to event.
2023-08-21 14:04:27 +02:00
Leander Beernaert
deff039fd9
feat(GODT-2829): Add MessageGroupCount route
...
Allows the user to check how many messages there are per label.
2023-08-17 07:32:21 +02:00
Leander Beernaert
ca6c1de96b
feat(GODT-2829): Extend Metadata with some missing features
...
* Allow sorting in descending order
* Add `EndID` parameter to match in query.
2023-08-17 07:32:21 +02:00
Leander Beernaert
c761773c51
fix(2822): Refactor GetMessageIDs
...
Add `GetAllMessageIDs` which is the old behavior and add a new function
`GetMessageIDs` which only retrieves the given messages up to that
limit.
2023-07-27 10:21:46 +02:00
Leander Beernaert
a77a437ec0
test(GODT-2578): Message Dedup for Server
...
Implement basic message deduplication for GPA server. This functionality
is opt-in. It's not enabled by default in order to not break any
existing tests are written against the previous behavior.
2023-07-04 08:02:29 +02:00
Leander Beernaert
faf4f87bf9
fix(GODT-2626): Do not merge events
...
API has advised that doing this can lead to invalid state. We now return
an array of events so that those are processed in order.
2023-05-16 09:05:48 +02:00
Romain LE JEUNE
6665f11b88
feat(godt-2346): add support for address type.
2023-05-05 12:56:06 +02:00
Romain LE JEUNE
630cfa2c11
feat(GODT-2554): Implement user settings routes.
2023-04-12 08:23:07 +02:00
Romain LE JEUNE
d667df591b
feat(GODT-2549): Implement metrics routes.
2023-04-11 09:47:33 +02:00
Jakub
3cc8423ece
refactor(GODT-2500): Reorganise async methods.
2023-04-03 09:50:50 +02:00
Jakub
1d5a7231e2
feat(GODT-2500): Add panic handlers everywhere.
2023-04-03 09:50:50 +02:00
Leander Beernaert
20351a206b
feat: Expose NumAttachments in message metadata
2023-03-30 09:01:58 +02:00
Leander Beernaert
2751384cef
fix(GODT-2514): Apply Retry-After to 503 status
...
Apply the same retry-after code for 429 replies request to 503 replies.
2023-03-27 15:58:35 +02:00
Leander Beernaert
71c20587e0
refactor(GODT-2508): Add CreateAddressAsUpdate
...
Allow the server to issue and update event rather than create event for
when a new address is created.
2023-03-27 08:29:18 +02:00