Commit Graph

14736 Commits

Author SHA1 Message Date
fenn-cs 11f45b5c3c Merge branch 'master' of github.com:tahoe-lafs/tahoe-lafs into 3758.refactor.web-tests-grid-logs-root 2021-11-02 10:36:44 +01:00
fenn-cs 5ba636c7b1 removed deferred logger from basic function in test_logs
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-11-02 10:36:32 +01:00
fenn-cs 882f197306 format updates
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-30 13:37:58 +01:00
fenn-cs ffe23452a4 gpg setup
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-30 13:32:42 +01: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 8d5727977b it doesn't typecheck, nevermind 2021-10-28 14:47:42 -04:00
Jean-Paul Calderone 54d80222c9 switch to monkey-patching from other sources
This is not much of an improvement to the tests themselves, unfortunately.
However, it does get us one step closer to dropping `mock` as a dependency.
2021-10-28 14:36:30 -04:00
Jean-Paul Calderone 8cb1f4f57c news fragment 2021-10-28 14:36:27 -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
Itamar Turner-Trauring 125c937d46 Switch to HTTP header scheme. 2021-10-28 10:49:08 -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
fenn-cs 2336cae78c remove step, release checklist
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-28 08:26:13 +01: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
meejah eddfd244a7 code and tests to check RSA key sizes 2021-10-26 13:37:26 -06: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
fenn-cs 69d335c1e1 update test overlap function docstring
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-26 13:14:26 +01:00
Jean-Paul Calderone 5b9997f388 update the integration tests to reflect removal of sftp password auth 2021-10-26 07:16:24 -04:00
fenn-cs 9764ac740a test kwargs overlap with params in start_action
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-26 11:22:32 +01:00
Jean-Paul Calderone 84dfb360ce
Merge pull request #1141 from LeastAuthority/3814.remove-control-port
Remove the "control port" and its associated Tub

Fixes: ticket:3814
2021-10-25 20:57:23 -04:00
Jean-Paul Calderone 3de481ab6b remove unused imports 2021-10-25 20:52:35 -04:00
Jean-Paul Calderone 5878a64890 Remove password-based authentication from the SFTP frontend 2021-10-25 20:50:19 -04:00
Jean-Paul Calderone 0b4e6754a3 news fragment 2021-10-25 20:47:35 -04:00
Jean-Paul Calderone aa6360f08e Merge remote-tracking branch 'remediate/master' 2021-10-24 07:38:42 -04:00
Jean-Paul Calderone e6bdb58650
Merge pull request #34 from tahoe-lafs/LFS-01-006
Fix item LFS-01-006 from the Cure53 audit

Fixes: ticket:3824
2021-10-23 17:21:25 -04:00
Jean-Paul Calderone b51f0ac8ff storage_index is a byte string
and Python 3 cares
2021-10-23 08:04:19 -04:00
Jean-Paul Calderone 0ada9d93f7 remove unused local 2021-10-23 07:43:22 -04:00