9092 Commits

Author SHA1 Message Date
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
meejah
a9128d89c3 Merge branch 'master' into 2916.grid-manager-integration-tests.2 2023-07-29 04:41:03 -06:00
Itamar Turner-Trauring
176fac7360 Work in Python 3.8. 2023-07-28 14:20:05 -04:00
Itamar Turner-Trauring
00b7e7e178 More type annotations. 2023-07-28 13:48:43 -04:00
Itamar Turner-Trauring
0d0e32646f More type annotations. 2023-07-28 13:42:00 -04:00
Itamar Turner-Trauring
d669099a35 Add more type annotations. 2023-07-28 13:31:53 -04:00
Itamar Turner-Trauring
919e6b339d Add type annotation to _authorized_route 2023-07-28 13:19:53 -04:00
Itamar Turner-Trauring
2b7f3d1707 Add type annotations to _authorization_decorator. 2023-07-28 11:28:13 -04:00
Itamar Turner-Trauring
849f4ed2a5 More annotations. 2023-07-28 11:14:09 -04:00
Itamar Turner-Trauring
aef6373915 Update unit tests to support HTTPS storage protocol on by default. 2023-07-26 14:05:15 -04:00
Itamar Turner-Trauring
0e72f3c97a Disable forcing Foolscap on client and server. 2023-07-26 13:45:56 -04:00
Itamar Turner-Trauring
46d10a6281 Ensure and test (and necessary refactor) that lack of content-type is same as
CBOR content-type, as per spec.
2023-07-25 15:31:30 -04:00
Itamar Turner-Trauring
bf2451bbcd Correct type. 2023-07-25 15:31:18 -04:00
Itamar Turner-Trauring
9abc3730a0 Revert "suppress the new click mypy errors", Click 8.1.6 fixed the issue.
This reverts commit dfd34cfc0b8a4fccb5e39f2b825442b662a0a2fb.
2023-07-21 11:03:48 -04:00
Jean-Paul Calderone
8b8903c44f
Merge pull request #1283 from exarkun/clean-up-tor-and-i2p-providers
Abstract over some configuration manipulation done by `write_node_config` in `create_node.py`

Fixes: ticket:4004
2023-07-21 09:31:05 -04:00
Itamar Turner-Trauring
a297d6be16
Merge pull request #1316 from exarkun/4049.skip-some-when-superuser
Skip some tests when run as superuser

Fixes ticket:4049
2023-07-21 09:30:01 -04:00
Jean-Paul Calderone
feb9643dfe skip permission-related tests if the environment is not suitable
posix superuser can do anything on the filesystem
2023-07-21 08:40:58 -04:00
Jean-Paul Calderone
2d688df299 get the node config types right 2023-07-21 08:19:27 -04:00
Jean-Paul Calderone
02a696d73b Make merge_config fail on overlapping configs
This isn't expected to happen.  If it does it would be nice to see it instead
of silently continue working with some config dropped on the floor.
2023-07-21 08:13:33 -04:00
Jean-Paul Calderone
da43acf52e more accurate docstring for dictutil.filter 2023-07-20 14:27:50 -04:00
Jean-Paul Calderone
4713573621 test for dictutil.filter 2023-07-20 14:27:30 -04:00
Jean-Paul Calderone
024b5e428a narrow the type annotation for another Listener method param 2023-07-20 14:23:31 -04:00
Jean-Paul Calderone
57facc6335 narrow the type of cli_config a bit
This has unfortunate interactions with the "stdout" attribute but I'm punting
on that.
2023-07-20 14:19:12 -04:00
Itamar Turner-Trauring
f7f30c78b7
Merge pull request #1315 from tahoe-lafs/4046.nurls-are-set
Make NURLs a set

Fixes ticket:4046
2023-07-20 11:45:55 -04:00
Itamar Turner-Trauring
8e51643ed3 Test for upgrading from Foolscap to HTTP. 2023-07-19 13:03:24 -04:00
Itamar Turner-Trauring
aa144fc623 Make NURLs a set. 2023-07-19 12:40:07 -04:00
Jean-Paul Calderone
40665d824d remove unused import 2023-07-19 12:04:16 -04:00
Jean-Paul Calderone
ee8155729d clean up some type annotations 2023-07-19 12:03:18 -04:00
Jean-Paul Calderone
911b54267b StaticProviders don't need to change 2023-07-19 11:54:22 -04:00
Jean-Paul Calderone
72c18579e2 another docstring 2023-07-19 11:54:18 -04:00
Jean-Paul Calderone
c1c0b60862 remove hard-coded tor/i2p in hide-ip support 2023-07-19 11:42:38 -04:00