meejah
213d0348a8
news
2020-06-11 13:36:28 -06:00
meejah
fc2203e421
simplify tahoe web fakes
2020-06-11 13:26:09 -06:00
Sajith Sasidharan
d7288ee238
Update newsfragment
2020-06-05 09:28:36 -04:00
meejah
3e973197ac
synchronous-only up/download tahoe code to keep treq.testing happy
2020-06-03 11:32:22 -06:00
Sajith Sasidharan
dd3b567a86
Add newsfragment
2020-06-02 12:06:48 -04:00
Sajith Sasidharan
4fa2e6ad97
Use twisted web directives in web.operations.ReloadMixin
2020-06-02 11:56:59 -04:00
meejah
1faa81c7c4
actual usable agent
2020-06-01 09:06:46 -06:00
Sajith Sasidharan
dd14da4a55
Decode name before null check
...
Make the diff against master a tad bit smaller.
2020-05-29 21:48:04 -04:00
Sajith Sasidharan
dce73f7c2f
Make "Refresh" link work
...
This seems to be a subtle difference from nevow: with `href="."`,
rendered link target will be `/uri/`, so clicking "Refresh" will
result in an error message like so: "GET /uri requires uri=".
With `href=""`, the rendered link target will be `/uri/URI:...`, which
is what we need.
2020-05-29 21:44:10 -04:00
Sajith Sasidharan
31eba00d0f
Reject trailing empty path piece in URIs
2020-05-29 21:38:43 -04:00
Sajith Sasidharan
0633623ecc
Reject URIs that contain empty segments
2020-05-29 21:38:43 -04:00
Sajith Sasidharan
ae7802fc0c
Add newsfragment
2020-05-29 09:24:47 -04:00
Sajith Sasidharan
b6e00d09f9
Render self in DirectoryNodeHandler.getChild()
...
We need self.render_POST() etc. to be invoked when we have a request
such as "POST /uri/URI:DIR:..."; throwing an error here is probably
not the right thing to do.
2020-05-29 09:22:15 -04:00
Sajith Sasidharan
cf4b3ba008
Correct arguments to super()
...
This was incidentally found when looking at some test failures:
super(type, object) is the right invocation, and not the other way
around.
2020-05-29 09:20:18 -04:00
meejah
d50ca9af55
proof-of-concept verified-fake for testing
2020-05-26 18:33:04 -06:00
Sajith Sasidharan
d3f43d31d9
Remove unused import
2020-05-23 06:17:06 -04:00
Sajith Sasidharan
93d015e468
Document status.Status
2020-05-22 22:24:09 -04:00
Sajith Sasidharan
bd799d9d72
Add newsfragment
2020-05-22 22:18:58 -04:00
Sajith Sasidharan
a6e32135e8
Update status page child route handler and table renderers
...
Drop nevow-isms and use twisted.web's way of doing things.
2020-05-22 22:15:45 -04:00
Sajith Sasidharan
3357f4c5ce
Make Status a MultiFormatResource
2020-05-22 22:12:22 -04:00
Sajith Sasidharan
81dc63b511
Use twisted template tags in status page template
2020-05-22 22:12:22 -04:00
Sajith Sasidharan
03d529c22a
Remove unused import
2020-05-22 21:33:30 -04:00
Sajith Sasidharan
9520ad71eb
Rearrange imports
2020-05-22 21:24:21 -04:00
Sajith Sasidharan
f8562530be
Make Element the superclass of UploadResultsRendererMixin
2020-05-22 21:11:42 -04:00
Sajith Sasidharan
b0e3325d03
Move time formatter tests
...
UploadResultsRendererMixin no longer has render_time(); moving tests
for render_time() as tests for abbreviate_time() to a more appropriate
place.
2020-05-22 20:49:34 -04:00
Sajith Sasidharan
91f8d939f8
Avoid use of RateAndTimeMixin in UploadResultsRendererMixin
2020-05-22 20:22:59 -04:00
Sajith Sasidharan
00f70f6539
Add newsfragment
2020-05-22 20:08:34 -04:00
Sajith Sasidharan
aecd90858a
Render abbreviated rate and time values
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
7be1883910
Document UploadResultsPage parameter
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
5fdd61b146
Document UploadStatusPage
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
54ac2d224a
Remove unused imports
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
7a82fd671f
Handle "t=upload" in UploadResultsPage POST handling
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
3bfa5a5c29
Use twisted web template in UploadResultsRendererMixin
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
57b1203d17
Make UploadResultsPage a MultiFormatResource
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
6470718691
Use twisted template tags in upload results page template
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
41300097c8
Make UploadStatusPage a MultiFormatResource
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
aac8dee8a0
Use twisted template tags in upload status page template
2020-05-22 19:39:32 -04:00
Sajith Sasidharan
aec6e5a9d4
Force a CircleCI build
2020-05-18 20:05:16 -04:00
Sajith Sasidharan
c23fedbcfe
Add related ticket to comment about refactoring
2020-05-18 16:56:32 -04:00
Sajith Sasidharan
0b3db59742
Add related ticket to comment about unimplemented method
2020-05-18 16:56:32 -04:00
Sajith Sasidharan
993b1e225f
Use transparent tags to render values
2020-05-18 11:01:14 -04:00
Sajith Sasidharan
c5342d8ae6
Add comments about events tables
2020-05-14 16:48:43 -04:00
Sajith Sasidharan
19e40e2193
Add newsfragment
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
ab4811eaa0
Move tests for abbreviate time/rate methods to utils tests
...
RateAndTimeMixin.render_time() is really abbreviate_time(), and
RateAndTimeMixin.render_rate() is really abbreviate_rate(). This
change moves the tests to their rightful place, and exercises them
using the right names.
We're also trying to avoid use of mixins. RateAndTimeMixin will
eventually go.
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
88e8854ad4
Wrap renderer results in tags
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
68df408229
Add a note about unimplemented DownloadStatus method
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
1fa77d8983
Avoid use of DownloadResultsRendererMixin
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
1f1f3b5f61
Remove unused render_timeline_link()
...
As it turns out, nothing is using this method.
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
f3edc8a48c
Add a note about rendering download events tables
2020-05-14 16:09:54 -04:00
Sajith Sasidharan
b02cfa5bbe
Use more descriptive variable names
2020-05-14 16:09:54 -04:00