Commit Graph

10896 Commits

Author SHA1 Message Date
c44a167a66 Remove WebRenderingMixin from WebResultsRendering 2020-06-17 21:18:14 -04:00
02cd42c130 Simplify WebResultsRendering.test_literal 2020-06-17 21:18:14 -04:00
77120ba70c Update tests for ResultsRenderer classes 2020-06-17 21:18:14 -04:00
0d1269264a Stringify numbers in DeepCheckResultsRenderer 2020-06-17 21:18:14 -04:00
7237fef630 Add property client to CheckAndRepairResultsRendererElement 2020-06-17 21:18:14 -04:00
19db5fb312 Update "deep check and repair results" template 2020-06-17 21:18:14 -04:00
e4efcdd925 Make DeepCheckAndRepairResultsRenderer a MultiFormatResource 2020-06-17 21:18:14 -04:00
842b2b6be5 Use twisted tags in "deep check and repair results" template 2020-06-17 21:18:14 -04:00
27e5ce090a Update deep check results template 2020-06-17 21:18:14 -04:00
c33c0a884d Make DeepCheckResultsRenderer a MultiFormatResource 2020-06-17 21:18:14 -04:00
9dcaa104c5 Use twisted tags in deep check results template 2020-06-17 21:18:14 -04:00
0eea108123 Make CheckAndRepairResultsRenderer a MultiFormatResource 2020-06-17 21:18:14 -04:00
d9005fcccc Use twisted tags in check and repair results template 2020-06-17 21:18:14 -04:00
80e9f48551 Add line breaks in a comment 2020-06-17 21:18:14 -04:00
6f1601aeeb Stringify numbers before wrapping them up in tags 2020-06-17 21:18:14 -04:00
d2540b89d3 Use twisted web tags in ResultsBase 2020-06-17 21:18:14 -04:00
8e37bb1ebb Make ResultsBase a base class of CheckResultsRendererElement 2020-06-17 21:18:14 -04:00
fea4e516f3 Make CheckResultsRenderer a MultiFormatResource 2020-06-17 21:18:14 -04:00
9d104f5893 Use twisted tags in check results template file 2020-06-17 21:18:14 -04:00
cbc414725c Use "output" as format argument
Nearly everywhere else the query argument for output format is "t";
but here "t" is used for operations, and "output" is used for output
format.

The test suite will fail without this.
2020-06-17 21:18:14 -04:00
c15001269f Avoid using a Python keyword as a renderer name 2020-06-17 21:18:14 -04:00
3901559e34 Make LiteralCheckResultsRenderer a MultiFormatResource 2020-06-17 21:18:14 -04:00
ebf23a4f0e Use twisted web tags in literal check results template 2020-06-17 21:18:14 -04:00
950d111793 Use POST target paths without pre-existing query arguments
`action="."` on `/uri/URI:DIR2:$DIRCAP` will render as `/uri/`, which
is not the result we want.
2020-06-17 21:16:38 -04:00
55170dcd2b Rearrange imports 2020-06-17 15:45:08 -04:00
7a23c8ed6c
Merge pull request #724 from sajith/3312.webui-directory-fix
Fix for "the webapi does not allow empty pathname components"

Fixes: ticket:3312
2020-06-17 10:55:21 -04:00
fe967d208b
Merge pull request #727 from sajith/3315.operations-reload-mixin-nevow-to-twisted
Replace nevow with twisted.web in operations.ReloadMixin

Fixes: ticket:3315
2020-06-16 19:17:27 -04:00
bd20f8d6f4 Update newsfragment text 2020-06-16 12:10:44 -04:00
6a37f32eef use attr.s 2020-06-13 17:28:28 -06:00
939f60f620 embetter docstring 2020-06-13 17:22:17 -06:00
caf77be8ae different words for news 2020-06-13 02:05:27 -06:00
d221787541 better docstring 2020-06-13 02:03:19 -06:00
02a543515f replciate Tahoe's behavior for replace=true/false 2020-06-13 01:55:14 -06:00
0cbdbd9ebe symbols, not magic-numbers 2020-06-13 01:14:45 -06:00
b952ef066c match query args 2020-06-13 00:46:55 -06:00
24899dae8e assert -> ValueError 2020-06-13 00:41:22 -06:00
76040b53f5 assert -> raise 2020-06-13 00:39:57 -06:00
9f6fcde2f1 more docstring 2020-06-13 00:39:12 -06:00
a38188164f comment 2020-06-12 23:08:04 -06:00
c64e78634d docstring 2020-06-12 23:06:33 -06:00
23b17ca02e cleanup, docstrings 2020-06-12 23:05:32 -06:00
e79534abe8 housekeeping 2020-06-12 23:01:02 -06:00
fa597e1735 use real parser 2020-06-12 22:57:38 -06:00
949b09ce27 actually returns CREATED for new data 2020-06-12 22:08:36 -06:00
776ee5f91c use hypothesis -- which doesn't know about Deferred, so need testtools too 2020-06-12 22:04:12 -06:00
05ea0a2fe9 copyright, header 2020-06-12 22:04:03 -06:00
318dc5092d key -> kind 2020-06-11 19:57:21 -06:00
0e5422c24b handle more inputs in test body-producer 2020-06-11 19:57:11 -06:00
0f4201ef19 the tests are unit-tests 2020-06-11 15:55:19 -06:00
36d9bf5d09 new-style classes only 2020-06-11 15:34:47 -06:00