Sajith Sasidharan
2c8853b4c6
Test error code and message when resource format is unknown
2020-08-27 12:54:46 -04:00
Sajith Sasidharan
5e3eb1fbe5
Remove web.common.MultiFormatPage, again
...
Merged master, which had MultiFormatPage. Accepted upstream changes,
and removed MultiFormatPage again, rather than manually fixing all the
merge conflicts.
2020-08-26 21:20:54 -04:00
Sajith Sasidharan
d79880bf91
Merge 'origin/master' into 3382.remove-multi-format-page
2020-08-26 21:18:44 -04:00
Sajith Sasidharan
236d37900e
Trim comment lines
2020-08-26 09:58:42 -04:00
Sajith Sasidharan
25f1a41886
Aim for minimal diffs in comments
2020-08-26 09:39:24 -04:00
Itamar Turner-Trauring
23671b02a4
Merge remote-tracking branch 'origin/master' into 3387.expirer-python-3
2020-08-25 13:57:32 -04:00
Sajith Sasidharan
82ee45c1ac
Merge 'origin/master' into 3382.remove-multi-format-page
2020-08-25 13:54:05 -04:00
Sajith Sasidharan
f51c127d6d
Merge pull request #780 from sajith/3381.directory-deep-size-results-to-twisted-web
...
Port web.directory.DeepSizeResults to twisted web
Fixes: ticket:3381
2020-08-25 13:52:15 -04:00
Itamar Turner-Trauring
b3c1302643
Merge remote-tracking branch 'origin/master' into 3387.expirer-python-3
2020-08-25 12:31:12 -04:00
Itamar Turner-Trauring
2cc21e9893
Finish the port.
2020-08-24 13:57:46 -04:00
Itamar Turner-Trauring
0e15712e34
Tests pass on Python 2 and 3.
2020-08-24 13:53:27 -04:00
Itamar Turner-Trauring
388f27d206
Some more porting, tests pass on Python 2.
2020-08-24 13:41:58 -04:00
Itamar Turner-Trauring
e22bed447b
Some updates for URI tests.
2020-08-24 13:10:17 -04:00
Itamar Turner-Trauring
625e2611c1
Address some review comments.
2020-08-24 11:59:52 -04:00
Itamar Turner-Trauring
71cac5dd44
Merge remote-tracking branch 'origin/master' into 3387.expirer-python-3
2020-08-20 14:56:35 -04:00
Itamar Turner-Trauring
6fd8ae1cc9
Finish port to Python 3.
2020-08-20 14:55:49 -04:00
Itamar Turner-Trauring
9089a1226a
Merge pull request #785 from tahoe-lafs/3386.storage-crawler-python-3
...
Port allmydata.storage.crawler to Python 3
Fixes ticket:3386
2020-08-20 14:52:30 -04:00
Itamar Turner-Trauring
b3890a1a45
Finish porting (expirer-only) tests to Python 3.
2020-08-20 14:49:58 -04:00
Itamar Turner-Trauring
0912d5adfc
Expirer pass on Python 3.
2020-08-20 14:43:10 -04:00
Itamar Turner-Trauring
5d2bdf5883
Explicit bytes.
2020-08-20 14:32:41 -04:00
Itamar Turner-Trauring
8136b21f46
Skip the tests we aren't porting just yet.
2020-08-20 14:24:21 -04:00
Itamar Turner-Trauring
9d34ab587a
test_storage_web now runnable on Python 3 (even if it doesn't pass).
2020-08-20 14:17:06 -04:00
Itamar Turner-Trauring
eee3978243
Explain a bit better.
2020-08-20 13:34:00 -04:00
Itamar Turner-Trauring
f227b1b241
Merge pull request #779 from tahoe-lafs/3378.encodingutil-python-3-part-2
...
Fixes ticket:3378
Port encodingutil to Python 3, part 2
2020-08-20 13:24:33 -04:00
Itamar Turner-Trauring
be9f02cb13
Should be explicitly bytes.
2020-08-20 13:15:24 -04:00
Itamar Turner-Trauring
5fc95d569f
Improve explanations.
2020-08-20 12:39:38 -04:00
Itamar Turner-Trauring
71d33469da
Merge remote-tracking branch 'origin/master' into 3378.encodingutil-python-3-part-2
2020-08-20 12:36:36 -04:00
Sajith Sasidharan
ce994ff246
Use twisted's escapeToXml
2020-08-19 15:42:01 -04:00
Sajith Sasidharan
9882d22101
Check for WebError when rendering resource in unknown format
2020-08-19 15:22:06 -04:00
Sajith Sasidharan
d87ffb5ad0
Begone, (most) nevow imports!
2020-08-19 15:22:06 -04:00
Sajith Sasidharan
d2bcebecaa
Render resource in a simpler manner
2020-08-19 15:21:28 -04:00
Sajith Sasidharan
320830cf90
Reuse MultiFormatPage tests for MultiFormatResource
2020-08-19 15:21:06 -04:00
Itamar Turner-Trauring
733b2cab36
Remove unnecessary import.
2020-08-19 13:26:57 -04:00
Itamar Turner-Trauring
8279be38c1
Finish porting to Python 3.
2020-08-19 13:25:11 -04:00
Itamar Turner-Trauring
35ac5a62e7
Tests now pass on Python 3 too.
2020-08-19 12:15:39 -04:00
Itamar Turner-Trauring
ff582c5129
Some progress towards running crawler on Python 3.
2020-08-19 11:38:59 -04:00
Itamar Turner-Trauring
e971ccf58e
Unbreak so tests pass on Python 2 again.
2020-08-19 11:12:29 -04:00
Itamar Turner-Trauring
e044309bd3
Finish port to Python 3.
2020-08-19 11:03:54 -04:00
Itamar Turner-Trauring
14f349e846
Manual porting to Python 3.
2020-08-19 11:02:26 -04:00
Itamar Turner-Trauring
416ab64335
Fix an import.
2020-08-19 10:50:44 -04:00
Itamar Turner-Trauring
41ad4aea91
Make imports work.
2020-08-18 13:10:57 -04:00
Itamar Turner-Trauring
80b9a9b3ce
Split the test module in two.
2020-08-18 13:03:36 -04:00
Sajith Sasidharan
d5853ccb60
Remove web.common.MultiFormatPage
2020-08-18 08:48:02 -04:00
Sajith Sasidharan
c66d38e191
Make web.directory.DeepSizeResults a MultiFormatResource
2020-08-18 08:37:59 -04:00
Itamar Turner-Trauring
97c3be0509
Make quote_* and friends return unicode.
2020-08-17 13:29:49 -04:00
Itamar Turner-Trauring
f95f9c481e
Explanation.
2020-08-17 12:04:52 -04:00
Itamar Turner-Trauring
af5e9eaf67
A better name.
2020-08-17 11:29:27 -04:00
Itamar Turner-Trauring
03ed0fd66f
Another function that should be a no-op on Python 3.
2020-08-17 11:29:09 -04:00
Itamar Turner-Trauring
81ba354357
Merge remote-tracking branch 'origin/master' into 3373.happinessutil-python-3
2020-08-17 10:45:12 -04:00
Itamar Turner-Trauring
2cc2cb6a7f
Rename to_str() to the more accurate to_bytes().
2020-08-14 13:49:48 -04:00