9172 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
daec717903 Lints 2023-10-16 11:27:08 -04:00
Itamar Turner-Trauring
cb83b08923 Decouple from reactor 2023-10-16 11:16:10 -04:00
Itamar Turner-Trauring
b60e53b3fb Run blocking code in a thread 2023-10-16 10:38:05 -04:00
Itamar Turner-Trauring
2ccdd183c1 Just always run in thread 2023-10-16 10:10:00 -04:00
Itamar Turner-Trauring
d3ca02fa3f Run blocking operations in thread pool 2023-10-16 10:07:36 -04:00
Itamar Turner-Trauring
08e8dd308f Detect blocked threads. 2023-10-16 09:52:02 -04:00
Jean-Paul Calderone
47c9a95d42
Merge pull request #1338 from exarkun/4066.hashtree-test-vectors
Add HashTree-related test vectors
2023-10-09 11:16:10 -04:00
Itamar Turner-Trauring
1743d51bbf Run key generation in a thread. 2023-09-25 15:41:01 -04:00
Itamar Turner-Trauring
ef20422bfe
Merge pull request #1333 from tahoe-lafs/4063-pypy-test-failure
Make tests pass again

Fixes ticket:4063
2023-09-13 09:48:17 -04:00
Jean-Paul Calderone
d6b38bc7a2 test vectors 2023-09-13 09:26:35 -04:00
Itamar Turner-Trauring
9d018e1876
Merge pull request #1330 from tahoe-lafs/4047.test-foolscap-to-http-upgrade
Test foolscap to http upgrade

Fixes ticket:4047
2023-09-06 09:54:21 -04:00
Itamar Turner-Trauring
7d7ca29e3d Work around Hypothesis complaint about differing executors due to subclassing.
See https://hypothesis.readthedocs.io/en/latest/settings.html#health-checks
2023-09-05 10:14:10 -04:00
Itamar Turner-Trauring
45e201a282
Apply suggestions from code review
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-09-05 09:33:44 -04:00
Jean-Paul Calderone
df491de4ee Add two more cases to the test vector 2023-08-22 09:01:42 -04:00
Jean-Paul Calderone
50ce8abf9f adapt the existing case to a multi-case structure 2023-08-22 08:50:27 -04:00
Itamar Turner-Trauring
152cadf543 Less duplication, more accuracy in format. 2023-08-17 09:06:32 -04:00
Itamar Turner-Trauring
792b9b4441 Merge remote-tracking branch 'origin/master' into 4047.test-foolscap-to-http-upgrade 2023-08-16 10:21:07 -04:00
Itamar Turner-Trauring
28f6902b1f Merge remote-tracking branch 'origin/master' into 4041 2023-08-16 10:11:01 -04:00
Itamar Turner-Trauring
6e3d617a81 Merge branch '4041' into 4047.test-foolscap-to-http-upgrade 2023-08-16 09:47:08 -04:00
Itamar Turner-Trauring
4bffd567c3 Better docstring. 2023-08-16 09:45:10 -04:00
meejah
ad44958f02 more kinds of whitespace 2023-08-12 00:35:49 -06:00
meejah
a5b95273d7 typing is .. good? 2023-08-11 23:47:24 -06:00
meejah
356a1d0f79 don't know why dict_keys are so confusing to mypy 2023-08-11 22:01:21 -06:00
meejah
ffa589d6f8 import error 2023-08-11 21:19:02 -06:00
meejah
b751a3937a Merge branch '3899.failed-server' of github.com:meejah/tahoe-lafs into 3899.failed-server 2023-08-11 21:18:10 -06:00
meejah
c27b330984 don't need fallback 2023-08-11 19:18:23 -06:00
meejah
375ee54c80
typing
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-08-11 09:08:19 -06:00
meejah
2e76d554e2
don't explicitly drop return
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-08-11 09:08:03 -06:00
meejah
a0769f59dc
naming
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-08-11 09:07:18 -06:00
meejah
c03076fe21
more robust comparison
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-08-11 09:07:00 -06:00
meejah
d81b64ba9e
docstring
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-08-11 09:05:16 -06:00
meejah
f51d49faa5
typing
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-08-11 09:03:30 -06:00
meejah
60e873bbe4 unused 2023-08-10 13:22:35 -06:00
meejah
e3e5b4bc8d typo 2023-08-10 12:19:11 -06:00
meejah
b07d9e90cb correct test 2023-08-10 12:07:03 -06:00
meejah
09ea172b94 reformat multiline strings; don't output "storage.plugins = None" 2023-08-10 12:06:29 -06:00
meejah
d7cfb5dde9 show WebUI feedback when announcement-match fails 2023-08-09 23:21:28 -06:00
meejah
cf4fe0061c refactor where plugins are loaded; use this to error early for users 2023-08-09 22:27:55 -06:00
meejah
295e816d4e spell 2023-08-09 21:49:37 -06:00
meejah
4b55027ec8 Merge branch 'master' into 3899.failed-server 2023-08-09 17:57:38 -06:00
meejah
d3d57a68a9 Merge branch 'master' into 4056.provides 2023-08-09 16:42:58 -06:00
meejah
c7f6b6484d spelling 2023-08-09 15:15:20 -06:00
Jean-Paul Calderone
b440065952 avoid trying to call os.getuid on windows 2023-08-08 11:30:02 -04:00
meejah
4710e7b177 provide our own provides() validator 2023-08-02 17:07:09 -06:00
meejah
5c45cb44bf Merge branch 'master' into 2916.grid-manager-integration-tests.2 2023-08-02 13:23:52 -06:00
Itamar Turner-Trauring
e67ef7ad16
Merge pull request #1323 from tahoe-lafs/4052.more-type-checking-gbs
More type check for http storage server

Fixes ticket:4052
2023-08-02 14:34:08 -04:00
Itamar Turner-Trauring
009f063067 Stricter type checking 2023-08-01 15:35:18 -04:00
Itamar Turner-Trauring
e545ab4a80 More accurate type 2023-08-01 15:31:38 -04:00
Itamar Turner-Trauring
7e94ab2c05
Merge branch 'master' into 4041 2023-08-01 10:58:52 -04:00
Itamar Turner-Trauring
341a32708b Docstring. 2023-08-01 10:55:45 -04:00