Itamar Turner-Trauring
6f5a0e43eb
Implement advise_corrupt_share for mutables.
2022-05-11 10:41:36 -04:00
Itamar Turner-Trauring
b3fed56c00
Move Foolscap compatibility to a better place.
2022-05-05 12:11:09 -04:00
Itamar Turner-Trauring
06029d2878
Another end-to-end test passing (albeit with ugly implementation).
2022-05-04 11:25:13 -04:00
Itamar Turner-Trauring
852162ba06
More accurate docs.
2022-05-04 11:03:35 -04:00
Itamar Turner-Trauring
c1ce74f88d
Ability to list shares, enabling more of IStorageClient to run over HTTP.
2022-05-04 11:03:14 -04:00
Itamar Turner-Trauring
e16eb6dddf
Better type definitions.
2022-04-28 11:48:59 -04:00
Itamar Turner-Trauring
72c59b5f1a
Unused import.
2022-04-19 15:09:02 -04:00
Itamar Turner-Trauring
f5c4513cd3
A little closer to serialization and deserialization working correctly, with
...
some tests passing.
2022-04-19 14:46:13 -04:00
Itamar Turner-Trauring
898fe0bc0e
Closer to running end-to-end mutable tests.
2022-04-19 13:18:31 -04:00
Itamar Turner-Trauring
b0d547ee53
Progress on implementing client side of mutable writes.
2022-04-18 14:56:20 -04:00
Itamar Turner-Trauring
24548dee0b
Sketch of read/write APIs interface for mutables on client side.
2022-04-15 09:56:06 -04:00
Itamar Turner-Trauring
58bd381202
Switch to newer attrs API.
2022-04-15 09:19:30 -04:00
Itamar Turner-Trauring
4e0f912a10
Comply with license.
2022-04-14 11:52:20 -04:00
Itamar Turner-Trauring
9db5a397e1
Minor type annotation improvements.
2022-04-14 11:45:47 -04:00
Itamar Turner-Trauring
5349f35a0b
Merge remote-tracking branch 'origin/master' into 3875-http-storage-furls
2022-04-14 11:39:21 -04:00
Itamar Turner-Trauring
1634f137be
Use sets more widely in the schema.
2022-04-12 12:54:16 -04:00
Itamar Turner-Trauring
4b20b67ce6
Client-side schema validation.
2022-04-11 14:03:48 -04:00
Itamar Turner-Trauring
e5b0e51f72
Server-side schema validation of CBOR.
2022-04-11 13:11:45 -04:00
Itamar Turner-Trauring
5972a13457
Add reactor argument.
2022-04-06 09:34:17 -04:00
Itamar Turner-Trauring
da6838d6f9
Stop talking about furl, it's a NURL.
2022-03-28 11:35:45 -04:00
Itamar Turner-Trauring
119ba9468e
Not needed.
2022-03-28 11:28:38 -04:00
Itamar Turner-Trauring
4e58748c4a
Get constants from OpenSSL directly.
2022-03-28 11:27:32 -04:00
Itamar Turner-Trauring
638154b2ad
Cleanups.
2022-03-25 15:46:42 -04:00
Itamar Turner-Trauring
e50d88f46d
Technically this doesn't matter, because it's client-side, but it's good habit.
2022-03-25 10:45:54 -04:00
Itamar Turner-Trauring
be0ff08275
Possibly correct, but communicating, end-to-end TLS with some amount of
...
validation logic.
Still untested!
2022-03-24 12:12:11 -04:00
Itamar Turner-Trauring
5310747eaa
Start hooking up end-to-end tests with TLS, fixing bugs along the way.
...
At this point the issue is that the client fails certificate validation (which
is expected lacking the pinning validation logic, which should be added next).
2022-03-23 16:33:29 -04:00
Itamar Turner-Trauring
eef99c1f22
Merge remote-tracking branch 'origin/master' into 3875-http-storage-furls
2022-03-23 15:59:07 -04:00
Itamar Turner-Trauring
7de3d93b0e
Switch to TypeError.
2022-03-18 10:12:51 -04:00
Itamar Turner-Trauring
fae9556e3d
Centralize client serialization logic too.
2022-03-14 11:28:54 -04:00
Itamar Turner-Trauring
0aa8089d81
Explicitly tell the server that the client accepts CBOR.
2022-03-14 11:20:23 -04:00
Itamar Turner-Trauring
106cc708a0
Use a constant.
2022-03-14 11:18:53 -04:00
Itamar Turner-Trauring
fef332754b
Switch to shared utility so server can use it too.
2022-03-14 11:09:40 -04:00
Itamar Turner-Trauring
13fd3b3685
Get rid of Python 2 crud.
2022-03-14 11:01:20 -04:00
Itamar Turner-Trauring
1e108f8445
Don't use a custom parser.
2022-03-14 11:01:09 -04:00
Itamar Turner-Trauring
e55c3e8acf
Check for CBOR content-encoding header in client.
2022-03-14 10:35:39 -04:00
Itamar Turner-Trauring
922ee4feb1
Sketch of advise_corrupt_share support for immutables.
2022-03-10 11:09:45 -05:00
Itamar Turner-Trauring
aee0f7dc69
Sketch of lease renewal implementation.
2022-03-09 13:10:13 -05:00
Itamar Turner-Trauring
c642218173
Sketch of aborting uploads.
2022-03-08 10:41:56 -05:00
Itamar Turner-Trauring
9f4f6668c0
Tweaks.
2022-03-07 08:21:58 -05:00
Itamar Turner-Trauring
d38183335e
Handle bad Content-Range headers.
2022-02-08 10:46:55 -05:00
Itamar Turner-Trauring
7107a85fba
Refactor client, separating low-level and high-level concerns.
2022-02-08 10:19:37 -05:00
Itamar Turner-Trauring
7454929be0
Less code duplication.
2022-02-04 09:26:25 -05:00
Itamar Turner-Trauring
c72e7b0585
Implement HTTP share listing endpoint.
2022-02-01 10:20:23 -05:00
Itamar Turner-Trauring
d2e3b74098
Some progress towards upload progress result from the server.
2022-01-21 12:36:58 -05:00
Itamar Turner-Trauring
c4d71a4636
Use abstractions for generating headers on client, note another place we should
...
generate headers.
2022-01-20 13:12:25 -05:00
Itamar Turner-Trauring
b952e738dd
Try to clarify.
2022-01-20 12:43:01 -05:00
Itamar Turner-Trauring
2a2ab1ead7
Use a set, not a list, for share numbers.
2022-01-20 12:39:25 -05:00
Itamar Turner-Trauring
f09aa8c796
Use pre-existing parser for Range and Content-Range headers.
2022-01-20 11:16:06 -05:00
Itamar Turner-Trauring
7aed7dbd8a
Make module import on Python 2 (so tests can pass).
2022-01-17 14:24:28 -05:00
Itamar Turner-Trauring
d4ae7c89aa
First end-to-end immutable upload then download test passes.
2022-01-17 14:20:40 -05:00