Commit Graph

10487 Commits

Author SHA1 Message Date
bd53c8a05d Increase the Python 3 ratchet. 2020-07-22 09:59:26 -04:00
2391bd9733 Merge remote-tracking branch 'origin/master' into 3351.spans-python-3 2020-07-22 09:57:08 -04:00
e9eb93468f Finish port to Python 3. 2020-07-22 09:56:59 -04:00
3a8bafafc3 Merge remote-tracking branch 'origin/master' into 3344.netstring-and-hashutil-to-python-3 2020-07-22 09:36:34 -04:00
bca0b17e80 Merge pull request #744 from tahoe-lafs/3342-base32-and-base62-to-python-3
Port base32 and base62 to Python 3
2020-07-22 09:35:56 -04:00
ab24e9abb1 Manual porting to Python 3. 2020-07-21 15:14:52 -04:00
d6f24af424 Move span tests into their own module. 2020-07-21 15:14:39 -04:00
7f5643a096 Add note on Tor integration test failures on Windows 2020-07-21 14:59:04 -04:00
fa567841b5 Merge remote-tracking branch 'origin/master' into 3342-base32-and-base62-to-python-3 2020-07-21 14:40:33 -04:00
5568693666 More passing tests. 2020-07-21 14:38:01 -04:00
6de05941b9 Remove unnecessary imports. 2020-07-21 14:27:08 -04:00
4018b772a3 Port abbreviate.py. As far as I can tell, all division is already float division. 2020-07-21 14:15:39 -04:00
116f232e80 Port time_format to Python 3. 2020-07-21 14:08:31 -04:00
7e8de10ea3 Merge branch '3342-base32-and-base62-to-python-3' into 3344.netstring-and-hashutil-to-python-3 2020-07-21 14:00:53 -04:00
c229ba7196 Workaround future/pypy incompatibility. 2020-07-21 13:55:53 -04:00
74a77a48cc Merge 'origin/master' into 3320.github-actions-windows-integration-tests 2020-07-21 13:50:47 -04:00
4d20f8447c Merge pull request #749 from sajith/3348.tor-chutney-integration-tests-python2
Use a Chutney revision that works with Python 2

Fixes: ticket:3348
2020-07-21 13:44:15 -04:00
65c367bf2d Merge pull request #748 from meejah/3349.rsa-exponent
public RSA exponent 17 -> 65537
2020-07-21 16:56:27 +00:00
957e089715 Fix typo 2020-07-21 11:56:44 -04:00
8cdfcb1c24 news 2020-07-21 09:40:06 -06:00
e4e59c7aab Use a Chutney revision that works with Python 2 2020-07-21 10:44:49 -04:00
30a91a1106 public RSA exponent 17 -> 65537 2020-07-21 00:29:35 -06:00
e145c7b00d Merge pull request #722 from sajith/3254.status-status-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.Status

Fixes: ticket:3254
2020-07-20 11:28:18 -04:00
52e745afac Merge pull request #746 from tahoe-lafs/3330.remove-some-travis-config
Remove some TravisCI configuration

Fixes: ticket:3330
Fixes: ticket:3331
Fixes: ticket:3332
Fixes: ticket:3333
Fixes: ticket:3334
Fixes: ticket:3335
2020-07-20 11:13:21 -04:00
9e82df4fa7 Use skipif decorator to omit Tor integration test setup on Windows 2020-07-19 09:19:19 -04:00
26ca9ae724 Merge pull request #726 from sajith/3313.operations-ophandle-table-nevow-to-twisted
Replace nevow with twisted.web in operations.OphandleTable

Fixes: ticket:3313
2020-07-19 08:14:32 -04:00
c58cf56e83 Remove unused imports 2020-07-18 08:34:25 -04:00
0f835e94f5 Merge 'origin/master' into 3254.status-status-nevow-to-twisted-web 2020-07-18 07:53:36 -04:00
6dec821271 Merge pull request #720 from sajith/3288.status-download-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.DownloadStatusPage

Fixes: ticket:3288
2020-07-18 07:22:37 -04:00
879a8012a0 Remove unused import 2020-07-18 06:48:36 -04:00
c198c006e3 Avoid over-long lines 2020-07-17 21:02:24 -04:00
b0a5a65f4f Attempt to enable a Python 3 CircleCI job 2020-07-17 16:23:42 -04:00
fe07ab39da Use docstrings 2020-07-17 16:22:23 -04:00
c14197e1bc Make FakeDownloadStatus an instance of DownloadStatus
The real DownloadStatus is easy enough to instantiate.  Might as well
use that, cutting some crufty code here.
2020-07-17 16:13:07 -04:00
aab598c2f5 Update integration test for status page
As a fallout of transition from nevow to twisted web, list of hrefs in
the parsed status page will be [u'/status/down-0', u'/status/up-0',
u'/'] (with an added '/status/' prefix) so we need to update our
assumptions.

See 5c886b1b2 for the change that necessitated this.
2020-07-17 15:19:06 -04:00
293efd7c9f Use actual status counter number when testing 2020-07-17 13:50:06 -04:00
bd2f438843 Replace the TravisCI Python 3.6 config with CircleCI Python 3.6 config 2020-07-17 13:48:08 -04:00
8fd0cf7eb6 Add a test for checking status page links 2020-07-17 13:21:53 -04:00
828ec53e24 Update status page test case
Link to upload status 0 should contain `/status/` prefix, or it will
navigate to `/up-0` instead of `/status/up-0`, resulting in a 404 not
found message.  Same with other statuses too.
2020-07-17 13:21:53 -04:00
5c886b1b2d Format link to status page child node correctly
Some Nevow-ism accidentally escaped earlier: link to `/status/up-0`
and so on were actually rendered as `/up-0` and so on.
2020-07-17 13:21:53 -04:00
2d19c383ca Rename a variable for clarity 2020-07-17 13:21:53 -04:00
02d8bd061a Test for trailing slashes after /status/
Both `/status` and `/status/` are treated alike; any additional
trailing slashes will be rejected.
2020-07-17 13:21:53 -04:00
cfe7033568 Remove obsolete supporting configuration
There are no longer any macOS jobs.  Delete the macOS checks.
There are no longer any coverage jobs.  Delete codecov hook.
There are no longer any pyinstaller jobs.  Delete extra pyinstaller check.
2020-07-17 12:49:12 -04:00
16c8026b6d Stop using TravisCI for pyinstaller/Linux test coverage 2020-07-17 12:46:23 -04:00
1b491f293a Stop using TravisCI for codechecks/Linux test coverage 2020-07-17 12:45:50 -04:00
82a4fca416 Stop using TravisCI for coverage/Linux test coverage 2020-07-17 12:45:05 -04:00
0803aef1cb Stop using TravisCI for pyinstaller/macOS test coverage 2020-07-17 12:44:19 -04:00
f3780cd4cb Stop using TravisCI for Python 2.7/macOS test coverage 2020-07-17 12:43:39 -04:00
c942064ee0 Stop using TravisCI for Python 2.7/Linux test coverage 2020-07-17 12:42:41 -04:00
372cc00a25 Reject non-existent child nodes of /status
Requests on both `/status` and `/status/` will be served with the same
status page, but `/status//`, `/status///` and so on will be processed
further down, resulting in a 40x response.
2020-07-17 09:46:21 -04:00