Itamar Turner-Trauring
|
eb787ae540
|
Make items into list, just in case someone tries to merge object into itself.
|
2020-09-28 11:55:35 -04:00 |
|
Itamar Turner-Trauring
|
5e6201aede
|
Merge pull request #833 from tahoe-lafs/3446.test-helper-python-3
Port test_helper.py to Python 3
Fixes ticket:3446
|
2020-09-28 11:35:15 -04:00 |
|
Jean-Paul Calderone
|
a5686de460
|
Don't claim behavior about *all* pages
|
2020-09-28 10:26:00 -04:00 |
|
Itamar Turner-Trauring
|
64516aac41
|
Port to Python 3.
|
2020-09-28 10:20:00 -04:00 |
|
Itamar Turner-Trauring
|
d7b5230f0e
|
Explain why __remote_name__ is a native string.
|
2020-09-28 10:06:06 -04:00 |
|
Itamar Turner-Trauring
|
f796b8a7da
|
Fix typo.
|
2020-09-28 10:02:43 -04:00 |
|
Itamar Turner-Trauring
|
4e7e84796a
|
Merge pull request #829 from tahoe-lafs/3439.test-download-python-3
Port test_download.py to Python 3
Fixes ticket:3439
|
2020-09-28 09:59:53 -04:00 |
|
Chad Whitacre
|
afd28f3402
|
Merge pull request #823 from tahoe-lafs/3431.port-test_immutable
Port test_immutable to Python 3
|
2020-09-28 08:34:03 -04:00 |
|
Jean-Paul Calderone
|
60f531e970
|
Merge pull request #831 from tahoe-lafs/3438.test_introweb
Split `_test_introweb` into a separate suite
Fixes: ticket:3438
|
2020-09-27 19:14:24 -04:00 |
|
Itamar Turner-Trauring
|
21e3b355ec
|
Finish porting to Python 3.
|
2020-09-25 14:03:25 -04:00 |
|
Itamar Turner-Trauring
|
d19ae1e511
|
Apparently __remote_name__ needs to be a native string.
|
2020-09-25 14:00:18 -04:00 |
|
Sajith Sasidharan
|
65f206e39b
|
Merge pull request #816 from sajith/3427.return-error-page-from-unlinked
Return ErrorPage from unlinked
Fixes ticket:3427
|
2020-09-25 13:30:02 -04:00 |
|
Itamar Turner-Trauring
|
565c48045e
|
Closer to passing tests.
|
2020-09-25 13:28:59 -04:00 |
|
Itamar Turner-Trauring
|
d8c9affccb
|
Bunch more places that need to be bytes for protocol backwards compatibility.
|
2020-09-25 13:28:49 -04:00 |
|
Itamar Turner-Trauring
|
9e5d5b5f8b
|
Remove typo.
|
2020-09-25 13:16:47 -04:00 |
|
Itamar Turner-Trauring
|
47aa724c42
|
Merge remote-tracking branch 'origin/master' into 3439.test-download-python-3
|
2020-09-25 13:16:12 -04:00 |
|
Itamar Turner-Trauring
|
5e52691433
|
Merge pull request #827 from tahoe-lafs/3437.test-filenode-python-3
Port test_filenode.py to Python 3
Fixes ticket:3437
|
2020-09-25 13:15:30 -04:00 |
|
Sajith Sasidharan
|
569ac924ec
|
Merge pull request #825 from sajith/3436.remove-web-common-getxmlfile
Remove unused web.common.getxmlfile()
Fixes ticket:3436
|
2020-09-25 12:54:51 -04:00 |
|
Itamar Turner-Trauring
|
5d9a1a5ab5
|
Some progress towards passing tests.
|
2020-09-25 11:46:31 -04:00 |
|
Jean-Paul Calderone
|
8cdf5cbf26
|
unused import
|
2020-09-25 11:09:55 -04:00 |
|
Jean-Paul Calderone
|
2314a9f2f6
|
add a test for referrer-policy
|
2020-09-25 11:06:54 -04:00 |
|
Jean-Paul Calderone
|
3dddcd6f62
|
Remove assertions about Twisted Web's quoting behavior
It quotes stuff. It's cool. BeautifulSoup even looks at it for us and will
tell us if something is amiss.
|
2020-09-25 09:44:04 -04:00 |
|
Jean-Paul Calderone
|
dc15f19ee0
|
Merge remote-tracking branch 'origin/master' into 3382.remove-multi-format-page
|
2020-09-25 09:37:02 -04:00 |
|
Jean-Paul Calderone
|
44cc42351f
|
remove duplicate request
|
2020-09-25 09:32:06 -04:00 |
|
Jean-Paul Calderone
|
05def35c26
|
nicer cleanup plus a comment
|
2020-09-25 09:31:57 -04:00 |
|
Jean-Paul Calderone
|
b218b5426b
|
docstrings
|
2020-09-25 09:31:53 -04:00 |
|
Jean-Paul Calderone
|
dcb834c7a6
|
Merge remote-tracking branch 'origin/master' into 3438.test_introweb
|
2020-09-25 09:26:34 -04:00 |
|
Itamar Turner-Trauring
|
51709d5562
|
Merge pull request #817 from tahoe-lafs/3430-test-upload-python-3
Port test_upload.py to Python 3
Fixes ticket:3430
|
2020-09-24 16:57:38 -04:00 |
|
Jean-Paul Calderone
|
1c5f4e2bf0
|
Compatible with the interface I used in test_web.py
|
2020-09-24 11:08:18 -04:00 |
|
Jean-Paul Calderone
|
16ab1690de
|
rewrite _test_introweb part of SystemTest as its own test suite
|
2020-09-24 11:08:18 -04:00 |
|
Jean-Paul Calderone
|
e981fea007
|
make FakeCanary more realistic
|
2020-09-24 11:08:18 -04:00 |
|
Itamar Turner-Trauring
|
26f28f341f
|
Finish port to Python 3.
|
2020-09-24 11:03:42 -04:00 |
|
Itamar Turner-Trauring
|
8167a9fda6
|
All tests pass on Python 3.
|
2020-09-24 11:01:35 -04:00 |
|
Itamar Turner-Trauring
|
5cd00d6f2e
|
And even more tests passing in Python 3.
|
2020-09-24 10:55:47 -04:00 |
|
Itamar Turner-Trauring
|
37bc022edc
|
Even more tests passing on Python 3.
|
2020-09-24 10:46:10 -04:00 |
|
Jean-Paul Calderone
|
f1bcf4eb07
|
remove unused imports
|
2020-09-24 10:42:57 -04:00 |
|
Itamar Turner-Trauring
|
d9036e83b2
|
More tests passing on Python 3.
|
2020-09-24 10:39:06 -04:00 |
|
Itamar Turner-Trauring
|
e7fe2f0a3f
|
It imports on Python 3.
|
2020-09-24 10:32:41 -04:00 |
|
Jean-Paul Calderone
|
e7101b1711
|
Turn exceptions into error pages like Nevow does
|
2020-09-24 10:23:05 -04:00 |
|
Jean-Paul Calderone
|
34bade4091
|
Use the newly introduced helper instead of our own internal thing
|
2020-09-24 10:22:07 -04:00 |
|
Jean-Paul Calderone
|
ed049da34f
|
Add a helper that can render a Page or a Resource
|
2020-09-24 10:21:18 -04:00 |
|
Chad Whitacre
|
06cd64c891
|
De-lint
|
2020-09-23 21:41:23 -04:00 |
|
Chad Whitacre
|
3ae927eab9
|
Respond to review
- Preserve int division
- Dial back the __future__ imports
|
2020-09-23 21:18:24 -04:00 |
|
Itamar Turner-Trauring
|
5a2728fa05
|
Finish port to Python 3.
|
2020-09-23 15:56:09 -04:00 |
|
Itamar Turner-Trauring
|
5790ae8ece
|
Tests pass on Python 3.
|
2020-09-23 15:53:13 -04:00 |
|
Sajith Sasidharan
|
c2e9d6057f
|
Merge pull request #819 from sajith/3425.return-errorpage-from-root
Return ErrorPage from web.root
Fixes ticket:3425
|
2020-09-23 10:18:44 -04:00 |
|
Chad Whitacre
|
42eaf08a52
|
Remove duplicate import
|
2020-09-23 08:32:34 -04:00 |
|
Sajith Sasidharan
|
a413eb8626
|
Use BeautifulSoup in RenderSlashUri tests
|
2020-09-23 08:32:19 -04:00 |
|
Chad Whitacre
|
d21046fe9f
|
A couple more cleanups
- attempt the same future imports in both common and common_util
- put an import in a better place
|
2020-09-23 08:31:08 -04:00 |
|
Chad Whitacre
|
9fccf37053
|
Make new code more idiomatic
|
2020-09-23 08:24:39 -04:00 |
|
Chad Whitacre
|
de48dff981
|
Dial back future imports in common_util.py
Don't set the plow too deep.
|
2020-09-23 08:19:07 -04:00 |
|
Sajith Sasidharan
|
704b36d7e1
|
Remove test for web.common.getxmlfile()
|
2020-09-22 21:15:58 -04:00 |
|
Sajith Sasidharan
|
e6a5dda7e1
|
Rearrange imports
|
2020-09-22 21:14:00 -04:00 |
|
Sajith Sasidharan
|
22a1721b62
|
Remove unused web.common.getxmlfile()
|
2020-09-22 21:05:17 -04:00 |
|
Sajith Sasidharan
|
9aee312d8c
|
Merge pull request #822 from sajith/3429.return-errorpage-from-check-results
Return ErrorPage from web.check_results
Fixes ticket:3429
|
2020-09-22 20:40:00 -04:00 |
|
Sajith Sasidharan
|
4e4c5f9b7f
|
Merge pull request #820 from sajith/3424.return-errorpage-from-operations
Return ErrorPage from web.operations
Fixes ticket:3424
|
2020-09-22 20:38:34 -04:00 |
|
Sajith Sasidharan
|
da78bc05d0
|
Merge pull request #818 from sajith/3423.return-errorpage-from-filenode
Return ErrorPage from filenode
Fixes ticket:3423
|
2020-09-22 20:37:55 -04:00 |
|
Sajith Sasidharan
|
0f118bdd67
|
Return error page from unlinked
|
2020-09-22 12:23:40 -04:00 |
|
Chad Whitacre
|
0b6b4b69e9
|
Port test_immutable to Python 3
|
2020-09-22 08:36:39 -04:00 |
|
Sajith Sasidharan
|
136a70217c
|
Remove unused import
|
2020-09-21 20:44:49 -04:00 |
|
Sajith Sasidharan
|
fd5436b867
|
Expect ErrorPage in RenderSlashUri tests
|
2020-09-21 18:34:53 -04:00 |
|
Sajith Sasidharan
|
18e56e41fc
|
Return error page when an exception is raised from web.check_results
|
2020-09-21 18:18:29 -04:00 |
|
Sajith Sasidharan
|
20101f8146
|
Return ErrorPage when an exception is raised in web.status
|
2020-09-21 16:51:27 -04:00 |
|
Sajith Sasidharan
|
c16cf00c6b
|
Return an error page when an exception is raised from web.root
|
2020-09-21 16:37:36 -04:00 |
|
Sajith Sasidharan
|
e8f7643a8f
|
Return ErrorPage when web.operations raises an exception
|
2020-09-21 16:26:51 -04:00 |
|
Sajith Sasidharan
|
c34dc78875
|
Merge 'origin/master' into 3423.return-errorpage-from-filenode
|
2020-09-21 16:22:57 -04:00 |
|
Jean-Paul Calderone
|
58c99d0c0c
|
Merge pull request #815 from tahoe-lafs/3422.directory-weberror
Handle exceptions raised by getChild and render_* in directory.py
Fixes: ticket:3422
|
2020-09-21 16:04:39 -04:00 |
|
Jean-Paul Calderone
|
0e139114f7
|
add a limited amount of missing test coverage for humanize_exception
|
2020-09-21 14:07:11 -04:00 |
|
Sajith Sasidharan
|
199fbfcc1c
|
Return error pages when an exception is raised in filenode
|
2020-09-21 13:24:01 -04:00 |
|
Itamar Turner-Trauring
|
40b4244146
|
Port to Python 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
6fe68c792c
|
Tests pass on Python 2 and 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
0cee40c009
|
Even more progress towards test_upload on Python 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
125a6855d6
|
More progress towards test_upload on Python 3.
|
2020-09-21 13:21:19 -04:00 |
|
Itamar Turner-Trauring
|
9f00343478
|
Some progress towards test_upload running on Python 3.
|
2020-09-21 13:21:19 -04:00 |
|
Sajith Sasidharan
|
c674198074
|
Rearrage imports
|
2020-09-21 13:03:51 -04:00 |
|
Itamar Turner-Trauring
|
139bcb1500
|
Merge pull request #814 from tahoe-lafs/3419.test-encode-python-3-trying-again
Port test_encode to Python 3
Fixes ticket:3419
|
2020-09-21 11:52:34 -04:00 |
|
Itamar Turner-Trauring
|
7c6e3104ac
|
Merge pull request #812 from tahoe-lafs/3416.test-encode-python-3
Port allmydata.test.no_network to Python 3
Fixes ticket:3416
|
2020-09-21 11:51:34 -04:00 |
|
Itamar Turner-Trauring
|
a4da6c3dbe
|
Clarify comment.
|
2020-09-21 10:35:56 -04:00 |
|
Itamar Turner-Trauring
|
02b4ec8101
|
Get rid of stray print().
|
2020-09-21 10:33:16 -04:00 |
|
Jean-Paul Calderone
|
b200d20430
|
minor cleanups/rearranging
|
2020-09-18 15:01:53 -04:00 |
|
Jean-Paul Calderone
|
97872118a5
|
derived function below
|
2020-09-18 14:50:45 -04:00 |
|
Jean-Paul Calderone
|
e648965fb6
|
Add helpers to implement the desired exception behavior and use them
|
2020-09-18 14:49:19 -04:00 |
|
Itamar Turner-Trauring
|
8ef2252bd4
|
Finish porting to Python 3.
|
2020-09-18 14:32:19 -04:00 |
|
Itamar Turner-Trauring
|
c3bb367a93
|
Tests pass on Python 3.
|
2020-09-18 14:31:23 -04:00 |
|
Itamar Turner-Trauring
|
050388ee12
|
Work better on Python 3, until Nevow is gone.
|
2020-09-18 14:31:21 -04:00 |
|
Jean-Paul Calderone
|
059bb2250b
|
Add a BadRequest resource to help with BAD REQUEST
|
2020-09-18 14:10:09 -04:00 |
|
Itamar Turner-Trauring
|
cb24c3eccf
|
Merge branch '3416.test-encode-python-3' into 3419.test-encode-python-3-trying-again
|
2020-09-18 13:38:44 -04:00 |
|
Itamar Turner-Trauring
|
a0ff941fff
|
Try to fix Python 3 again.
|
2020-09-18 13:36:54 -04:00 |
|
Itamar Turner-Trauring
|
e75beb6eae
|
Merge pull request #811 from tahoe-lafs/3415.storage-server-python-3
Port allmydata.storage.server to Python 3
Fixes ticket:3415
|
2020-09-18 13:32:36 -04:00 |
|
Jean-Paul Calderone
|
9682e68528
|
Merge pull request #805 from jaraco/3408.print-functions
Convert print statements to print functions, even when commented
Fixes: ticket:3408
|
2020-09-18 12:59:44 -04:00 |
|
Itamar Turner-Trauring
|
7b302871e4
|
Python 2 tests pass again.
|
2020-09-18 11:41:28 -04:00 |
|
Itamar Turner-Trauring
|
c5ce988c7e
|
Merge branch '3416.test-encode-python-3' into 3419.test-encode-python-3-trying-again
|
2020-09-18 11:33:15 -04:00 |
|
Itamar Turner-Trauring
|
1a4744d1f7
|
Merge branch '3415.storage-server-python-3' into 3416.test-encode-python-3
|
2020-09-18 11:32:45 -04:00 |
|
Itamar Turner-Trauring
|
02cb451a6b
|
Fix failing tests.
|
2020-09-17 16:06:26 -04:00 |
|
Itamar Turner-Trauring
|
3d79793ee8
|
Try to fix hashutil.
|
2020-09-17 15:38:08 -04:00 |
|
Itamar Turner-Trauring
|
6c85f392dd
|
Fix another future newbytes leak that was breaking Foolscap.
|
2020-09-17 13:39:47 -04:00 |
|
Itamar Turner-Trauring
|
b784f9654c
|
Merge branch '3415.storage-server-python-3' into 3416.test-encode-python-3
|
2020-09-17 13:12:46 -04:00 |
|
Itamar Turner-Trauring
|
9818512802
|
Fix newbytes leak.
|
2020-09-17 13:10:52 -04:00 |
|
Itamar Turner-Trauring
|
03fd566e2c
|
Fix flake error.
|
2020-09-17 12:37:10 -04:00 |
|
Itamar Turner-Trauring
|
cecbc260fa
|
Fix order.
|
2020-09-17 11:43:35 -04:00 |
|