Jean-Paul Calderone
ee224305b7
link to the reference implementation
2021-09-07 13:37:12 -04:00
Jean-Paul Calderone
7219291343
add a reference implementation for lease renewal secret derivation
2021-09-07 13:31:05 -04:00
Jean-Paul Calderone
bb57fcfb50
words about the cancel secret
2021-09-03 12:45:45 -04:00
Jean-Paul Calderone
a864bd5132
more precision
2021-09-03 12:44:23 -04:00
Jean-Paul Calderone
78a1d65b78
RFC 7049, section 4.1 describes correct JSON encoding for byte strings
2021-09-03 12:33:07 -04:00
Jean-Paul Calderone
8fe9532faf
get the cross-reference right
2021-09-03 09:17:34 -04:00
Jean-Paul Calderone
3ba379ce7e
some formatting improvements
2021-09-03 09:06:27 -04:00
Jean-Paul Calderone
bb63331720
put the newsfragment in the right place
2021-09-03 09:04:08 -04:00
Jean-Paul Calderone
11a0b8d209
attempt to appease rst
2021-09-02 16:44:42 -04:00
Jean-Paul Calderone
b6173eea83
news fragment
2021-09-02 16:42:27 -04:00
Jean-Paul Calderone
78f70d6bdc
write some words about lease renewal secrets
2021-09-02 15:53:14 -04:00
Jean-Paul Calderone
ae9ec48e13
news fragment
2021-09-02 13:19:49 -04:00
Jean-Paul Calderone
61b5c88738
reveal to clients what data is still required
...
This lets a client recover from an upload that completes but for which the
response is lost (eg because network error or client restart)
2021-09-02 13:16:20 -04:00
Jean-Paul Calderone
16af282c19
Clarify chunking; lift ordering requirement; document response status
2021-09-02 13:11:51 -04:00
Itamar Turner-Trauring
056ee58e91
Merge pull request #1110 from tahoe-lafs/3773.just-add-lease
...
Get rid of renew_lease client code, in order to simplify the protocol
Fixes ticket:3773
2021-09-01 10:44:41 -04:00
Itamar Turner-Trauring
e6803670d1
Improve explanations.
2021-08-30 16:54:44 -04:00
Itamar Turner-Trauring
e408322c3d
Use the correct APIs.
2021-08-30 16:51:36 -04:00
Itamar Turner-Trauring
7d32335353
Clarify and remove duplication.
2021-08-30 16:49:11 -04:00
Jean-Paul Calderone
bbc860fdb1
Merge pull request #937 from LeastAuthority/3528.test_cli-no-mock
...
Remove mock from test_cli
Fixes: ticket:3528
2021-08-30 14:30:27 -04:00
Itamar Turner-Trauring
62a096dfe2
Merge remote-tracking branch 'origin/master' into 3773.just-add-lease
2021-08-24 12:22:21 -04:00
May-Lee Sia
2a7e3b3f09
Merge pull request #1111 from Fenn-CS/3563.allmydata-node-catch-port-configs
...
Catch all port configurations
2021-08-24 17:21:05 +02:00
fenn-cs
7a88b5ddae
removed unnecessary comment in minor newsfragment
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-24 13:05:11 +01:00
fenn-cs
398fe537e8
added \n in newfragment file
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-23 02:48:24 +01:00
fenn-cs
117befd898
detect all port 0 configs
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-23 02:34:32 +01:00
Itamar Turner-Trauring
11331ddf82
Update examples to lack of separate renewal endpoint.
2021-08-20 11:17:20 -04:00
Itamar Turner-Trauring
370d1ddafe
Fix flake.
2021-08-20 08:20:24 -04:00
Itamar Turner-Trauring
1b5a3c9cb1
Bad merge, I think.
2021-08-19 16:49:01 -04:00
Itamar Turner-Trauring
b9fd9dec02
Merge remote-tracking branch 'origin/master' into 3773.just-add-lease
2021-08-19 16:48:03 -04:00
Itamar Turner-Trauring
442d61da7d
Get rid of separate renewal of leases in HTTP API.
2021-08-19 16:44:05 -04:00
Itamar Turner-Trauring
59fab99d9d
Nothing uses RIStorageServer.renew_lease, so removing it is simple.
2021-08-19 16:40:45 -04:00
Itamar Turner-Trauring
0016369025
News file.
2021-08-19 16:07:03 -04:00
Jean-Paul Calderone
9a5c417df0
Merge pull request #1108 from LeastAuthority/3763.gbs-lease-endpoint-items
...
Clarify some of the GBS "create lease" endpoint specification
Fixes: ticket:3763
2021-08-19 15:02:59 -04:00
Itamar Turner-Trauring
d599568c79
Tests validating that the operation for adding a lease will renew the lease
...
instead if it already exists.
2021-08-19 13:56:13 -04:00
Itamar Turner-Trauring
dfff187ad0
Make time pluggable to support better testing.
2021-08-19 13:23:01 -04:00
Jean-Paul Calderone
03c633cda0
news fragment
2021-08-19 10:28:17 -04:00
Jean-Paul Calderone
602d4c5a91
improve the "create lease" endpoint
...
* Simplify some language using terms from our new glossary
* explicitly state the two success-case behaviors
* make the error-case behavior different from the success-case behavior
* link to some tickets about future work in this area
2021-08-19 10:26:45 -04:00
Jean-Paul Calderone
ff6fa4a922
Merge pull request #1106 from LeastAuthority/3765.gbs-glossary
...
Start a GBS glossary
Fixes: ticket:3765
2021-08-18 16:45:26 -04:00
Jean-Paul Calderone
28758b8181
Merge pull request #1105 from LeastAuthority/3764.gbs-interaction-patterns
...
Add some GBS interaction examples
Fixes: ticket:3764
2021-08-18 11:05:59 -04:00
Jean-Paul Calderone
c5a03f4116
elaborate on `already-have
and
allocated
` somewhat
2021-08-18 10:17:48 -04:00
Jean-Paul Calderone
0f78d8df25
a glossary
2021-08-17 14:58:34 -04:00
Jean-Paul Calderone
49300fc080
news fragment
2021-08-17 14:58:30 -04:00
Jean-Paul Calderone
47dfe5d4f0
fix typo
2021-08-17 14:11:08 -04:00
Jean-Paul Calderone
65f71135e1
Spell the endpoint correctly
2021-08-17 14:10:50 -04:00
Jean-Paul Calderone
23212fc816
add some example client/server interactions
2021-08-17 14:01:44 -04:00
Jean-Paul Calderone
a591c2c36d
news fragment
2021-08-17 10:23:37 -04:00
Jean-Paul Calderone
561429ff5b
Merge pull request #1102 from LeastAuthority/3760.run-codechecks3
...
Try to run codechecks3 on CI
Fixes: ticket:3760
2021-08-13 09:47:49 -04:00
Jean-Paul Calderone
9a8faae283
Remove PYTHONIOENCODING, set for towncrier, no longer run here
2021-08-13 09:24:00 -04:00
Jean-Paul Calderone
85ba6567ba
Try to make sure fixed argv is used on Py27+Windows
...
Previous version that rebound sys.argv didn't work so well with early binding
used by some some functions for default argument values.
2021-08-12 12:11:39 -04:00
Jean-Paul Calderone
580af66b69
Merge pull request #1100 from Fenn-CS/3757.refactor.web-test-introducer
...
Refactor allmydata/test/web/test_introducer.py
Fixes: ticket:3757
2021-08-11 17:21:50 -04:00
Jean-Paul Calderone
893d21fcbb
Fix the UsageError closer in the Py2 codepath we already have for it
2021-08-11 16:46:29 -04:00