meejah
217e32e385
make '/operations' work again
2019-08-20 00:17:28 -06:00
meejah
9d4ba78302
more web tests; directory creation etc
2019-08-20 00:17:28 -06:00
meejah
9aca93f6ff
clean up tests
2019-08-20 00:17:28 -06:00
meejah
9e999d0c68
work around lack of getChild in nevow.rend.Page
2019-08-20 00:17:28 -06:00
meejah
4feba8d7f9
add a --helper command-line option, and a helper-using test
2019-08-20 00:17:28 -06:00
meejah
d873a041bf
remove some child_ usage
2019-08-20 00:17:28 -06:00
meejah
48cb51097f
keep using Page
2019-08-20 00:17:28 -06:00
meejah
5cdf5a667a
more hacky test
2019-08-20 00:17:28 -06:00
meejah
3a2182309d
whitespace
2019-08-20 00:17:28 -06:00
meejah
5fa2347897
add magic-folders to test
2019-08-20 00:17:28 -06:00
meejah
32a0841c0b
a basic unit-test for rendering (root page)
2019-08-20 00:17:28 -06:00
meejah
47e177be68
import
2019-08-20 00:17:28 -06:00
meejah
90bb4cf587
test index json
2019-08-20 00:17:28 -06:00
Jean-Paul Calderone
9940beaae1
Thread a _Config all the way down
2019-08-19 16:09:26 -04:00
Jean-Paul Calderone
05be6f2ef1
news fragment
2019-08-19 15:58:26 -04:00
Jean-Paul Calderone
6a9f1ac1f1
Update test plugin to reflect interface change
2019-08-19 15:11:13 -04:00
Jean-Paul Calderone
64197f4ba4
Change the interface
2019-08-19 15:09:34 -04:00
Jean-Paul Calderone
06d9e34828
news fragment
2019-08-19 15:09:30 -04:00
hab
9aa638688a
Add a stub news fragment.
2019-08-19 19:57:45 +01:00
hab
77e6803f3c
Add some docstrings.
2019-08-19 19:57:45 +01:00
hab
a01c375327
Port info.xhtml to twt.
2019-08-19 19:57:45 +01:00
hab
85980038de
Merge pull request #649 from habnabit/move-to-twt--introducer
...
Port introweb to use twisted.web.template
Fixes: ticket:3245
2019-08-19 19:56:01 +01:00
hab
489d0b1688
Wrong ticket number..
2019-08-19 18:13:31 +01:00
hab
0c9900363d
Add a stub news fragment.
2019-08-19 18:11:42 +01:00
Jean-Paul Calderone
4053b6c56f
make it new-style
2019-08-19 11:26:32 -04:00
Jean-Paul Calderone
972c1c7976
news fragment
2019-08-19 11:26:24 -04:00
Jean-Paul Calderone
a47463e032
Pass _Config instead of a smaller dict to get_client_resource
2019-08-19 11:21:03 -04:00
Jean-Paul Calderone
724acede4d
news fragment
2019-08-19 11:20:43 -04:00
Jean-Paul Calderone
21bf7fc25c
Merge remote-tracking branch 'origin/master' into integration/storage-economics
2019-08-16 15:39:31 -04:00
hab
985f659afe
Merge remote-tracking branch 'upstream/master' into move-to-twt--introducer
2019-08-16 17:52:05 +01:00
hab
a5dfcd0d8c
Add another docstring.
2019-08-16 17:49:39 +01:00
hab
e670bb5d3b
Add more docstrings; add a test hook.
...
In place of nevow's renderSynchronously, I think it'll be good enough
to return the Element directly so it can be flattened. It still gets
flattened with a None request, which might need to change.
2019-08-16 17:43:31 +01:00
hab
e2c2c30574
Add more docstrings.
2019-08-16 17:36:48 +01:00
hab
4e6ff4c7c7
Style fixups; be explicit about literals.
2019-08-16 16:59:15 +01:00
Jean-Paul Calderone
de8199d3b0
Improve the behavior of get_slot_leases when no shares exist
2019-08-15 11:08:04 -04:00
Jean-Paul Calderone
f1c817e3ab
Merge pull request #647 from tahoe-lafs/3240.run-sftp-test-suite
...
Run the SFTP test suite again
Fixes: ticket:3240
2019-08-15 08:01:05 -04:00
hab
46cc5ab8ed
Remove unused imports.
2019-08-14 20:35:15 +01:00
hab
258dde98ed
Correct the documentation for these new classes.
...
The old documentation was copy-pasted or didn't exist.
Also, I forgot that tag() doesn't copy a tag, even if as written this
_did_ work for my purposes.
2019-08-14 20:25:06 +01:00
hab
8ce18541c6
Tidy up introweb.
...
Fix imports; make all parameter names the same; use " for string
literals.
2019-08-14 20:24:35 +01:00
Jean-Paul Calderone
deb7216107
more appropriate like this now
2019-08-14 14:48:36 -04:00
Jean-Paul Calderone
739df66c80
can't have nice things
2019-08-14 14:48:12 -04:00
hab
e2aba7f4bb
Use beautifulsoup4+html5lib for web tests.
...
Assertions about the rendered template will be easier to write and
don't rely on perfect substring matches.
2019-08-14 19:45:16 +01:00
hab
b6d9d58449
Remove all nevow from introweb.
...
These were the last references to it, and I think it's still working
fine without. I'm not _entirely_ positive but I think t.w.Static's
File has caught up to the features that were added to nevow's File.
2019-08-14 19:05:37 +01:00
hab
be735208a3
Kludge JSON/multi-format support back in.
...
I need to fix these docstrings but this is the right idea at
least. Maybe MultiFormatResource could use a name less easily confused
with its predecessor MultiFormatPage.
2019-08-14 19:05:37 +01:00
hab
4e8e35a7d6
Sequence headers are always shown.
...
I wasn't sure if that was the case, but I've checked nevow now.
2019-08-14 19:05:37 +01:00
hab
c96de2c4ed
Remove unused methods.
2019-08-14 19:05:36 +01:00
hab
ae1f41af98
Preliminary port of introweb to t.w.template.
...
It doesn't do JSON yet, so this is more of a proof of a concept than
anything usable yet.
2019-08-14 19:05:36 +01:00
Jean-Paul Calderone
fce9657ce3
it doesn't matter if any writes happen, only if the test vectors pass
2019-08-14 13:03:58 -04:00
Jean-Paul Calderone
bba8af6be1
note in the docstring about mutable shares
2019-08-14 12:29:26 -04:00
Jean-Paul Calderone
5c418ba2cd
news fragment
2019-08-14 12:28:37 -04:00