Commit Graph

451 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
aa144fc623 Make NURLs a set. 2023-07-19 12:40:07 -04:00
Jean-Paul Calderone
eef52fa59f remove unused imports 2023-07-11 16:32:33 -04:00
Jean-Paul Calderone
c838967a54 Improve the name and type annotation of the tempfile factory 2023-07-11 16:15:56 -04:00
Jean-Paul Calderone
4b23b779e4 Reduce the amount of test suite gymnastics with new WebishServer API
Instead of forcing the test suite to try to discover the location of an
unnamed temporary file, let it just assert that the file is created in the
directory specified in the temporary file factory.
2023-07-07 16:04:37 -04:00
Itamar Turner-Trauring
3cf03a5c33 More glue to connect Tor up to the HTTP-based storage client. 2023-05-18 09:28:58 -04:00
Itamar Turner-Trauring
f83b73b5f3 Make Tor provider available at the right place to enable it for HTTP storage
client connections.
2023-05-16 10:44:34 -04:00
Itamar Turner-Trauring
5da5a82a8c Get rid of default mutable arguments. 2023-04-17 13:08:21 -04:00
Jean-Paul Calderone
c49aa44655 Update the raw number and give a reference for interpretation 2023-03-22 09:04:15 -04:00
Itamar Turner-Trauring
5d7d387593 Pacify mypy. 2023-03-09 13:45:50 -05:00
Itamar Turner-Trauring
56b6dd86c3 Add unit test for client foolscap config flag. 2023-03-09 10:33:21 -05:00
Itamar Turner-Trauring
db445af1c4 Separate flags for forcing foolscap between client and server. 2023-03-09 09:59:36 -05:00
meejah
6c0c9470cf
Merge pull request #1206 from tahoe-lafs/2916.grid-manager-proposal.6
Grid Manager: more control over which storage-servers a client uploads to
2023-02-28 19:05:32 +00:00
meejah
b28ac6118b different way to say 'all items okay' 2023-02-28 10:43:49 -07:00
meejah
6ee5c75880 comment -> ticket 2023-02-21 16:13:11 -07:00
meejah
464498f6bf Merge branch 'master' into 2916.grid-manager-proposal.6 2023-02-20 11:24:20 -07:00
Itamar Turner-Trauring
f4255cdaa3 More accurate names. 2023-02-07 09:03:45 -05:00
Itamar Turner-Trauring
921a2083dc Make sure (immutable) test vectors are run with the segment size that was used
to generate them.
2023-01-25 15:47:35 -05:00
Jean-Paul Calderone
2d23e2e640 some doc improvements 2023-01-12 15:37:07 -05:00
Jean-Paul Calderone
3423bfb351 Expose the pre-constructed keypair functionality to the HTTP API 2023-01-03 11:31:29 -05:00
Itamar Turner-Trauring
f3fc426830 Switch to [storage] force_foolscap. 2022-11-15 14:36:14 -05:00
Itamar Turner-Trauring
4aeb62b66c Use a constant. 2022-11-15 14:16:41 -05:00
Itamar Turner-Trauring
435df4923f
Merge branch 'master' into 2916.grid-manager-proposal.6 2022-10-05 10:18:09 -04:00
Itamar Turner-Trauring
1ea716c8bf Merge branch '3902-listen-storage-http' into 3783-storage-client-http 2022-10-04 09:22:49 -04:00
Itamar Turner-Trauring
d918135a0d Use parser instead of ad-hoc parser. 2022-10-03 11:10:36 -04:00
Itamar Turner-Trauring
d753bb58da Better type for storage_nurls. 2022-10-03 11:05:56 -04:00
Itamar Turner-Trauring
b0fb72e379 Link to design issue. 2022-10-03 11:02:48 -04:00
Itamar Turner-Trauring
09d778c2cf Allow nodes to disable the HTTPS storage protocol. 2022-08-12 11:13:09 -04:00
Itamar Turner-Trauring
f671fb04a1 A lot closer to working end-to-end. 2022-08-11 16:24:33 -04:00
Itamar Turner-Trauring
822b652d99 Improve factoring. 2022-07-29 09:57:18 -04:00
Itamar Turner-Trauring
11f4ebc0d9 Hook up NURL generation to the new Foolscap/HTTPS protocol switch. 2022-07-20 15:12:29 -04:00
Itamar Turner-Trauring
1ede0e7786 Merge remote-tracking branch 'meejah/2916.grid-manager-proposal.5' into 2916.grid-manager-proposal.6 2022-07-15 14:06:10 -04:00
Itamar Turner-Trauring
1798966f03 Store the tub on the subclass, since we'll want it (or rather its Listeners) for
NURL construction.
2022-06-30 14:53:37 -04:00
Itamar Turner-Trauring
d1bdce9682 A nicer API. 2022-06-30 14:26:36 -04:00
Itamar Turner-Trauring
1579530895 Add working HTTP support. 2022-06-23 07:59:43 -04:00
Itamar Turner-Trauring
7577d1e24c Sketch of HTTP support, still untested WIP. 2022-06-22 14:19:29 -04:00
meejah
2928a480ff RSA key-size is not configurable, it's 2048bits 2022-02-16 21:46:24 -07:00
Itamar Turner-Trauring
f7cb4d5c92 Hook up the new FoolscapStorageServer, and fix enough bugs, such that almost all
end-to-end and integration tests pass.
2021-12-02 10:07:14 -05:00
Jean-Paul Calderone
0611af6b0b Stop passing even a dummy value for control tub into Nodes 2021-10-15 13:10:18 -04:00
Jean-Paul Calderone
e0312eae57 stop creating a control tub for client nodes 2021-10-15 12:02:24 -04:00
meejah
7ad6c9269c Merge branch 'master' into 2916.grid-manager-proposal.5 2021-08-25 14:04:53 -06:00
Itamar Turner-Trauring
9baedc97db Auth token needs to be bytes, apparently. 2021-05-11 11:09:59 -04:00
Jason R. Coombs
1b46f981c6 Remove AccountURLChecker, the code that relies on it, associated tests, and docs. 2021-04-17 17:01:15 -04:00
meejah
4a5bb5e8ff Merge branch 'master' into 2916.grid-manager-proposal.5 2021-03-23 16:04:50 -06:00
Itamar Turner-Trauring
2b9e1996ec Fix Python 2 regression. 2021-03-05 10:34:56 -05:00
Itamar Turner-Trauring
f2970f1b16 Port to Python 3. 2021-03-05 10:19:24 -05:00
Itamar Turner-Trauring
2c3353f2fa More tests passing on Python 3. 2021-03-03 14:42:55 -05:00
meejah
307a53dd71 Merge branch 'master' into 2916.grid-manager-proposal.5 2021-01-20 23:42:35 -07:00
Itamar Turner-Trauring
7b1bfadd21 Rip out FTP. 2021-01-06 13:39:52 -05:00
meejah
613a6f80aa Merge branch 'master' into 2916.grid-manager-proposal.5 2021-01-04 15:12:17 -07:00
meejah
361acc206d irrelevant comment 2020-12-20 22:21:00 -07:00