Commit Graph

13167 Commits

Author SHA1 Message Date
meejah
bf5e682d71 test upgrade of main state works 2021-11-16 15:08:31 -07:00
meejah
f81e4e2d25 refactor to use serializers / pickle->json upgraders 2021-11-16 15:08:31 -07:00
meejah
fa6950f08d an old pickle-format lease-checker state file 2021-11-16 15:08:31 -07:00
meejah
bb70e00065 Make internal state JSON-able for lease-crawler 2021-11-16 15:08:31 -07:00
meejah
f7b385f954 play nice with subclasses 2021-11-16 15:08:31 -07:00
meejah
758dcea2d4 news 2021-11-16 15:08:31 -07:00
meejah
3b69df36b0 crawler: pickle -> json 2021-11-16 15:08:31 -07:00
Jean-Paul Calderone
a71b1d31bf Merge remote-tracking branch 'upstream/master' 2021-11-04 10:02:54 -04:00
Jean-Paul Calderone
8383f6aebf
Merge pull request #1153 from tahoe-lafs/3834.renew_secret_comparison_helper
Comparison helpers for renew and cancel secrets

Fixes: ticket:3834
2021-11-03 20:14:48 -04:00
Jean-Paul Calderone
86ca463c31 news fragment 2021-11-03 13:24:04 -04:00
Jean-Paul Calderone
7335b2a597 remove unused import 2021-11-03 13:16:15 -04:00
Jean-Paul Calderone
8e150cce6a add explicit direct tests for the new methods 2021-11-03 13:14:55 -04:00
Jean-Paul Calderone
70a7500c56 Merge remote-tracking branch 'origin/master' into 3834.renew_secret_comparison_helper 2021-11-03 13:05:41 -04:00
Jean-Paul Calderone
8fbbc913ad
Merge pull request #1152 from tahoe-lafs/3833.container-format-abstraction
Container header format abstractions

Fixes: ticket:3833
2021-11-03 13:05:10 -04:00
Jean-Paul Calderone
e8ed711d26 Merge remote-tracking branch 'origin/master' into 3833.container-format-abstraction 2021-11-03 12:25:38 -04:00
Jean-Paul Calderone
5bfe6d5b24
Merge pull request #1156 from tahoe-lafs/3836.systemtests-introducer-main-tub-port
Use the "port assigner" helper on the introducer main tub in SystemTestsMixin

Fixes: 3836
2021-11-03 12:25:09 -04:00
Jean-Paul Calderone
f5fcbeb3e9
Merge pull request #1157 from tahoe-lafs/3837.tor-integration-tests
Disable the Tor integration tests on Python 2

Fixes: ticket:3837
2021-11-03 12:24:27 -04:00
Jean-Paul Calderone
4606c3c9dd news fragment 2021-11-03 09:59:19 -04:00
Jean-Paul Calderone
b3d1acd14a try skipping Tor integration tests on Python 2 2021-11-03 09:55:16 -04:00
Jean-Paul Calderone
39c4a2c4eb tidy up some corners 2021-11-02 15:10:54 -04:00
Jean-Paul Calderone
0856218a89 Merge remote-tracking branch 'origin/master' into 3833.container-format-abstraction 2021-10-30 07:35:50 -04:00
Jean-Paul Calderone
7b554d1077
Merge pull request #1150 from tahoe-lafs/3832.backdated-leases
Supported backdated leases for the test suite

Fixes: ticket:3832
2021-10-30 07:33:50 -04:00
Jean-Paul Calderone
892b468365 use the port assigner to assign a port for the main tub 2021-10-29 09:03:37 -04:00
Jean-Paul Calderone
696a260ddf news fragment 2021-10-29 09:00:38 -04:00
Jean-Paul Calderone
ff511bbcf2 Merge remote-tracking branch 'origin/master' into 3832.backdated-leases 2021-10-29 07:17:23 -04:00
Jean-Paul Calderone
c05464f420
Merge pull request #1154 from tahoe-lafs/3835.document-some-testing-code
Document some testing code

Fixes: ticket:3835
2021-10-29 07:16:02 -04:00
Jean-Paul Calderone
f9c2a066fa
Merge pull request #1149 from tahoe-lafs/3830.immutable-lease-info
Make LeaseInfo immutable

Fixes: ticket:3830
2021-10-29 07:14:56 -04:00
Jean-Paul Calderone
b5f882ffa6 introduce and use LeaseInfo.is_cancel_secret 2021-10-28 15:21:51 -04:00
Jean-Paul Calderone
8b976b441e add LeaseInfo.is_renew_secret and use it 2021-10-28 15:21:51 -04:00
Jean-Paul Calderone
78dbe76994 remove unused import 2021-10-28 15:20:44 -04:00
Jean-Paul Calderone
f8655f149b fix the type annotations and such 2021-10-28 15:04:19 -04:00
Jean-Paul Calderone
d0ee17d99e some docstrings 2021-10-28 12:39:01 -04:00
Jean-Paul Calderone
8d202a4018 news fragment 2021-10-28 12:37:37 -04:00
Jean-Paul Calderone
b4bed1d1e0
Merge pull request #1151 from tahoe-lafs/3831-sphinx
Tell RTD how to install Sphinx

Fixes: ticket:3831
2021-10-28 11:40:34 -04:00
Jean-Paul Calderone
1b46ac7a24 add MutableShareFile.is_valid_header and use it 2021-10-28 11:38:18 -04:00
Jean-Paul Calderone
66845c9a17 Add ShareFile.is_valid_header and use it instead of manual header inspection 2021-10-28 11:12:20 -04:00
Itamar Turner-Trauring
34d2f74ede Tell RTD how to install Sphinx. 2021-10-28 11:12:17 -04:00
Jean-Paul Calderone
54bf271fbe news fragment 2021-10-28 11:12:08 -04:00
Jean-Paul Calderone
65d3ab6142 move backdating logic into mutable/immutable share files 2021-10-28 10:53:52 -04:00
Jean-Paul Calderone
f635aec5be news fragment 2021-10-28 10:53:29 -04:00
Jean-Paul Calderone
3514995068 some versions of mypy don't like this so nevermind 2021-10-28 10:26:30 -04:00
Jean-Paul Calderone
76caf46347 make the alternate LeaseInfo constructors into class methods 2021-10-28 10:23:58 -04:00
Jean-Paul Calderone
70fb5d563a Get rid of the public expiration_time attribute
LeaseInfo now has a getter and a setter for this attribute.
LeaseInfo is now also immutable by way of `attrs`.
LeaseInfo is now also comparable by way of `attrs`.
2021-10-28 09:48:26 -04:00
Jean-Paul Calderone
972790cdeb news fragment 2021-10-28 09:47:47 -04:00
Jean-Paul Calderone
dd29efc11b
Merge pull request #1147 from LeastAuthority/3829.cancel-redundant-ga-jobs
Auto-cancel redundant GA jobs

Fixes: ticket:3829
2021-10-27 10:23:50 -04:00
Jean-Paul Calderone
7ec7cd45dd Use "concurrency groups" to auto-cancel redundant builds 2021-10-26 14:10:41 -04:00
Jean-Paul Calderone
28cc3cad66 news fragment 2021-10-26 14:10:29 -04:00
Jean-Paul Calderone
f02f14a6e2 Merge remote-tracking branch 'upstream/master' 2021-10-26 09:23:49 -04:00
Jean-Paul Calderone
fdd7ec6c2e
Merge pull request #35 from tahoe-lafs/LFS-01-020
LFS-01-020: Twisted password check vulnerable to timing attack

Fixes: ticket:3827
2021-10-26 09:13:11 -04:00
Jean-Paul Calderone
5b9997f388 update the integration tests to reflect removal of sftp password auth 2021-10-26 07:16:24 -04:00