James Houlahan
c024f24315
feat: Add share events
2023-02-27 08:51:24 +01:00
James Houlahan
3e9d508b6c
feat: Add Thumbnail and ThumbnailHash to RevisionMetadata
2023-02-27 08:51:24 +01:00
James Houlahan
5ff1e40eaf
feat: Add FromBlockIndex/PageSize to GetRevision
2023-02-27 08:51:24 +01:00
James Houlahan
f7d9b1a479
feat: Trash/Delete folder children
2023-02-22 12:52:05 +01:00
James Houlahan
ef1e9a6184
fix: Correct response name in CreateFolder
2023-02-22 12:52:05 +01: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
James Houlahan
b00853d9c9
feat: Implement drive create folder
2023-02-20 14:25:37 +01:00
James Houlahan
8f4721a3ec
test: Make server status test more robust
...
The test HTTP client is not configured with any timeouts.
If the read fails, depending on when it happens, it can hang indefinitely.
This was unpredictable with the way the test was written before;
the message fetching was highly parallel. By replacing the message fetch
with a simple GetUser call which fails predictably, the test is made
more robust.
2023-02-17 17:45:17 +01:00
James Houlahan
0af5d2f084
feat(GODT-2361): Use simple import encrypter for simple messages
2023-02-17 14:05:33 +01:00
James Houlahan
3e1eb7e617
feat: Add drive volume events
2023-02-16 09:43:16 +01:00
Xavier Michelon
4056d48a12
feat(GODT-1264): added tests.
2023-02-14 14:03:36 +01:00
Xavier Michelon
a58987d077
feat(GODT-1264): Scheduled label managed by flag in fake server.
2023-02-14 14:03:36 +01:00
James Houlahan
92664574cc
feat: Drive upload/download foundations
2023-02-13 11:18:39 +01:00
James Houlahan
d202b92136
feat(GODT-2283): Reject message imports for messages > 30MB
v0.4.0
2023-02-09 16:00:29 +01:00
James Houlahan
1cd447386a
feat(GODT-2283): Limit max import size to 30MB
2023-02-09 16:00:29 +01:00
Xavier Michelon
2c958b92ff
fix: allow import in 'Scheduled' on fake server.
2023-02-09 15:23:06 +01:00
James Houlahan
aa144eca8b
feat: Add retry condition for net.OpError
2023-02-09 12:36:15 +01:00
James Houlahan
b185be77ce
feat: Add handling for net.OpError
2023-02-09 11:55:44 +01:00
James Houlahan
7eee7f487b
test: Ensure GET message returns valid API response type
2023-02-07 15:07:17 +01:00
James Houlahan
8c02ae564a
test: Implement DropListener, add DropOnWrite ping test
2023-02-07 14:57:49 +01:00
Xavier Michelon
54876bdd72
feat(GODT-1264): added required labels and flags for 'Scheduled Send'.
2023-02-06 15:28:18 +01:00
James Houlahan
1849bf7d57
fix: Use URL encoding for event IDs
...
The event ID needs to appear in the URL request. As such,
it can't contain any forward slashes.
2023-02-03 13:04:57 +01:00
James Houlahan
ea654fa155
feat: Add basic mail settings support in fake server
2023-02-03 12:22:58 +01:00
James Houlahan
e2fc4deffe
fix: Removing from inbox shouldn't remove from trash
2023-02-02 07:18:50 +01:00
Romain LE JEUNE
5110649c02
feat(GODT-1556): do not store references on server side.
2023-02-01 16:11:45 +01:00
Romain LE JEUNE
f3ca47a598
feat(GODT-1556): simulate reply behaviour on fakeAPI side.
2023-02-01 16:11:45 +01:00
Xavier Michelon
4b05f1e5c4
Added 'UsedSpace' event field.
2023-01-30 15:46:05 +01:00
Leander Beernaert
dd11906803
Other(GODT-2224): Address code review changes
2023-01-30 10:39:44 +01:00
Leander Beernaert
95a8ae8f59
fix: run go mod tidy
2023-01-30 10:39:44 +01:00
Leander Beernaert
e2895f283c
fix: Out of bounds page chunk access
2023-01-30 10:39:44 +01:00
Leander Beernaert
2357abb517
fix: Correct paging in test server
2023-01-30 10:39:44 +01:00
Leander Beernaert
fd5356ad57
refactor: Allow decryption into target buffers
2023-01-30 10:39:44 +01:00
Leander Beernaert
396642be5e
refactor: Track attachments sizes on server
2023-01-30 10:39:44 +01:00
Leander Beernaert
ad93f5c51b
refactor: Change GetAttachment to receive io.ReadFrom
...
Allow for more efficient copies after download.
2023-01-30 10:39:44 +01:00
Leander Beernaert
7ee90f91ef
refactor: Expose unpaged getMessageMetadata
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
James Houlahan
3c1ac27785
fix: Optimize message metadata paging by pre-fetching total
2023-01-26 12:28:49 +01:00
James Houlahan
68e04152b4
fix: Slightly optimize message metadata paging algorithm
2023-01-26 09:43:08 +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
Jakub
d965ed3660
feat(GODT-2223): Do not add updates when adding lables for new message
...
There is no need to send message updated event when we create new
message and add lables on creation. This reflects real API behaviour.
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
Jakub
df62623174
feat(GODT-2223): Add Message and Label Created event.
2023-01-24 10:18:10 +01:00
Jakub
f5b1ba0886
fix(GODT-2181): add filter options and change test server update draft behaviour
2023-01-19 17:00:45 +01:00
James Houlahan
93ad9245e8
feat: Add status hooks to server for overriding response status codes
2023-01-18 10:11:11 +01:00
James Houlahan
9e3bd79a8b
feat: Implement NetError (and rename proton.Error to proton.APIError)
...
NetError is an error type returned when no response was received from
the API. This allows callers to determine whether their call failed
due to a network level error.
Additionally, proton.APIError now has Status to see what the status code
was in the response that triggered the error.
v0.3.0
2023-01-17 12:27:51 +01:00
Xavier Michelon
6ad201cdb3
fix(GODT-2246): added missing API error code.
2023-01-12 11:26:13 +01:00
Jakub
668da5a814
test(GODT-2181): match API behaviour for import
...
When importing message without from or sender the API will add empty address.
2023-01-11 11:27:46 +01:00
Romain LE JEUNE
f8fd857ee5
fix(GODT-2242): Don't send any 2fa information if not needed.
2023-01-09 15:31:01 +01:00
Leander Beernaert
1619453137
fix(GODT-1817): Add status flag to Quark commands
...
Required for creating users with disabled addresses.
2023-01-09 14:03:02 +01:00
Leander Beernaert
680d85d1c3
fix: Track message header date in test server
2023-01-03 15:03:23 +01:00