9172 Commits

Author SHA1 Message Date
meejah
122e0a73a9 more-generic testing hook 2023-06-22 01:29:55 -06:00
Jean-Paul Calderone
592e77beca allow list as a generic container annotation 2023-06-20 08:12:14 -04:00
Jean-Paul Calderone
7257851565 python 2/3 porting boilerplate cleanup 2023-06-20 07:46:43 -04:00
Jean-Paul Calderone
02fba3b2b6 factor some duplication out of the tests 2023-06-20 07:45:51 -04:00
meejah
357c9b003f flake8 2023-06-19 17:55:36 -06:00
meejah
2fcb190c2f add tests for both close-stdin cases 2023-06-19 17:53:57 -06:00
meejah
db9597ee19 add --allow-stdin-close option 2023-06-19 16:07:31 -06:00
Itamar Turner-Trauring
8d99ddc542 Pacify mypy 2023-06-15 17:14:08 -04:00
Itamar Turner-Trauring
bf5213cb01 Pacify mypy 2023-06-14 18:01:52 -04:00
Itamar Turner-Trauring
96afb0743a Pacify mypy 2023-06-14 17:57:25 -04:00
Itamar Turner-Trauring
0f8100b1e9 Fix whitespace 2023-06-14 17:52:01 -04:00
Itamar Turner-Trauring
ce1839f203 Pacify mypy 2023-06-14 17:51:54 -04:00
Itamar Turner-Trauring
9306f5edab Fix mypy issues 2023-06-14 17:48:13 -04:00
Itamar Turner-Trauring
27243ccfdf Fix mypy issues 2023-06-14 17:45:15 -04:00
Itamar Turner-Trauring
44b752c87d Fix mypy issues 2023-06-14 17:43:39 -04:00
Itamar Turner-Trauring
af323d2bbb Get the code working again. 2023-06-14 17:05:51 -04:00
Itamar Turner-Trauring
55d62d609b Fix some mypy errors. 2023-06-14 16:54:09 -04:00
Itamar Turner-Trauring
11e0151838 Fix some type issues in storage_client.py 2023-06-14 16:02:04 -04:00
Itamar Turner-Trauring
65775cd6bd Not used externally. 2023-06-14 14:54:24 -04:00
Itamar Turner-Trauring
ff1c1f700e Remove unused methods. 2023-06-14 14:52:54 -04:00
Itamar Turner-Trauring
f42fb1e551 Unused import 2023-06-14 14:16:35 -04:00
Itamar Turner-Trauring
054c893539 Pacify mypy 2023-06-14 14:16:10 -04:00
Itamar Turner-Trauring
cab24e4c7b Another service name issue. 2023-06-14 14:12:39 -04:00
Itamar Turner-Trauring
3b5c6695d5 Pacify mypy. 2023-06-14 14:09:51 -04:00
Itamar Turner-Trauring
1fd81116cb Fix mypy complaint. 2023-06-14 14:08:30 -04:00
Itamar Turner-Trauring
257aa289cd Remote interfaces don't interact well with mypy. 2023-06-14 14:04:45 -04:00
Itamar Turner-Trauring
8493b42024 Fix types. 2023-06-14 14:02:24 -04:00
Itamar Turner-Trauring
b45ee20ba8 MyPy fixes for allmydata.storage. 2023-06-14 11:07:48 -04:00
Itamar Turner-Trauring
a99361b404 Merge branch '3910-http-storage-server-tor-support' into 4035-new-mypy 2023-06-14 09:56:15 -04:00
Jean-Paul Calderone
cb082b2094 Merge remote-tracking branch 'origin/master' into 3998-new-pyopenssl 2023-06-13 10:35:51 -04:00
Itamar Turner-Trauring
20d4175abc Fix typecheck complaint 2023-06-06 12:18:02 -04:00
Itamar Turner-Trauring
a977180baf Fix lint 2023-06-06 12:15:31 -04:00
Itamar Turner-Trauring
e8744f91e5 Hook up HTTP storage for servers listening on .onion addresses 2023-06-06 12:06:51 -04:00
Itamar Turner-Trauring
74a121da74 Fix bug which meant object could not be created. 2023-06-06 11:47:36 -04:00
Itamar Turner-Trauring
5af0ead5b9 Refactor HTTP client creation to be more centralized. 2023-06-06 10:58:16 -04:00
Itamar Turner-Trauring
940600e0ed Link to ticket. 2023-06-05 12:54:51 -04:00
Itamar Turner-Trauring
96670ded65 Switch to using officially support constants, now part of pyOpenSSL's public
API.

The cryptography APIs we were previously using were not supported and aren't
available in all releases.
2023-06-01 17:27:21 -04:00
Itamar Turner-Trauring
f4a099c801 Merge remote-tracking branch 'origin/master' into 4029-http-storage-client-respects-request-to-use-tor 2023-05-23 14:53:55 -04:00
Itamar Turner-Trauring
d510103f96
Merge pull request #1301 from tahoe-lafs/4027-invalid-unicode
Invalid unicode in Authorization header should give better response

Fixes ticket:4027
2023-05-23 14:53:22 -04:00
Itamar Turner-Trauring
41131ca755
Merge pull request #1302 from tahoe-lafs/4028-more-integration
Fix another integration test failure

Fixes ticket:4028
2023-05-23 14:51:07 -04:00
Itamar Turner-Trauring
b03db14d70 Merge branch '4028-more-integration' into 4027-invalid-unicode 2023-05-23 14:08:09 -04:00
Itamar Turner-Trauring
652c179602 Remove comment. 2023-05-23 14:08:03 -04:00
Itamar Turner-Trauring
1e46e36ee2 More direct approach. 2023-05-23 13:46:32 -04:00
Itamar Turner-Trauring
d15ea8cb52 Shutdown more immediately. 2023-05-23 13:24:29 -04:00
Itamar Turner-Trauring
71cb357f45 Upstream code should make sure this doesn't happen. 2023-05-22 13:03:46 -04:00
Itamar Turner-Trauring
084499dd4b Fix lint. 2023-05-22 13:02:58 -04:00
Itamar Turner-Trauring
1ed440812a Add a safety check. 2023-05-22 13:00:20 -04:00
Itamar Turner-Trauring
546a51355a Merge branch '4028-more-integration' into 4029-http-storage-client-respects-request-to-use-tor 2023-05-22 11:43:12 -04:00
Itamar Turner-Trauring
0ccee4e958 Hook up the Tor-based Agent when necessary. 2023-05-19 13:59:18 -04:00
Itamar Turner-Trauring
2e0e0467fb Hook up HTTP storage client Tor support. 2023-05-18 11:14:51 -04:00