Sajith Sasidharan
80a26e26b1
Refactor methods that describe server/connection
2020-05-01 17:41:51 -04:00
Sajith Sasidharan
7b4d81fe28
Rename root.Root variables
2020-05-01 17:38:24 -04:00
Sajith Sasidharan
ade7f613b8
Remove unused renderer
2020-05-01 17:07:08 -04:00
Sajith Sasidharan
df188c75df
Wrap footer elements in tags
2020-05-01 16:50:30 -04:00
Sajith Sasidharan
029c99a241
Render introducers table using SlotsSequenceElement
2020-05-01 16:45:34 -04:00
Sajith Sasidharan
1ddf07d59d
Render services table using SlotsSequenceElement
2020-05-01 16:45:04 -04:00
Sajith Sasidharan
0d8eda5e76
Rearrange imports
2020-05-01 16:07:30 -04:00
Sajith Sasidharan
053e614221
Import resource_filename from setuptools
...
Drop the nevow one
2020-05-01 16:07:21 -04:00
Sajith Sasidharan
e9796eb308
Match against root path first
2020-04-30 18:49:05 -04:00
Sajith Sasidharan
cfe4b2925e
Remove an unused method and imports
2020-04-30 18:48:06 -04:00
Sajith Sasidharan
cce6f83054
Remove unused renderers
2020-04-30 18:47:13 -04:00
Sajith Sasidharan
80ba700247
Correct usage of fillSlots
2020-04-29 12:18:39 -04:00
Sajith Sasidharan
a885f14c43
Pass now_fn to RootElement
2020-04-28 11:47:18 -04:00
Sajith Sasidharan
8ce1512501
Render import path
2020-04-28 07:57:15 -04:00
Sajith Sasidharan
32e0c779b6
Add version renderer
2020-04-28 07:56:27 -04:00
Sajith Sasidharan
d064f6b2b7
Add "rendered at" renderer
2020-04-28 07:55:10 -04:00
Sajith Sasidharan
ed6970b168
Correct fill slots usage in connection status
2020-04-28 07:52:57 -04:00
Sajith Sasidharan
5d84a25f21
Add introducers row renderer
2020-04-28 07:50:03 -04:00
Sajith Sasidharan
5155befedc
Rewrite total introducers
2020-04-28 07:48:28 -04:00
Sajith Sasidharan
44f16e77cf
Add introducers renderer
2020-04-28 07:47:36 -04:00
Sajith Sasidharan
8d4949f96b
Render total introducers correctly
2020-04-28 07:42:57 -04:00
Sajith Sasidharan
a646c7decd
Fix typo
2020-04-28 07:42:07 -04:00
Sajith Sasidharan
89980a039c
Render total introducers
2020-04-28 07:41:29 -04:00
Sajith Sasidharan
2f53b2a67d
Add connected introducers renderer
2020-04-28 07:17:22 -04:00
Sajith Sasidharan
164218cf57
Update service table renderer
2020-04-28 07:14:35 -04:00
Sajith Sasidharan
3c4056a947
Replace nevow.static.File with twisted.web.static.File
2020-04-28 04:47:48 -04:00
Sajith Sasidharan
dcea7ea476
Render connected/known storage server status
2020-04-27 17:22:27 -04:00
Sajith Sasidharan
1713076a9d
Render services
2020-04-27 17:19:19 -04:00
Sajith Sasidharan
39d616a971
Render helper furl prefix
2020-04-27 17:11:36 -04:00
Sajith Sasidharan
8b4c7296d7
Move helper state to a separate function
2020-04-27 17:07:09 -04:00
Sajith Sasidharan
332bd75fcc
Render helper description
2020-04-27 17:03:52 -04:00
Sajith Sasidharan
622d156278
Render "connected to helpers" status
2020-04-27 17:01:37 -04:00
Sajith Sasidharan
a4f86181f9
Render introducer description
2020-04-27 16:55:10 -04:00
Sajith Sasidharan
c86d4341c8
Render "connected to introducers" status
2020-04-27 16:52:54 -04:00
Sajith Sasidharan
65b6daf990
Rewrite incident button using twisted tags
2020-04-27 16:44:06 -04:00
Sajith Sasidharan
110528f569
Handle path "/" when rendering root path
2020-04-27 16:44:06 -04:00
Sajith Sasidharan
f34cdb81ad
Create RootElement
2020-04-27 16:44:06 -04:00
Sajith Sasidharan
e2c6d288bf
Merge pull request #699 from sajith/3294.incident-reporter-to-nevow
...
Remove nevow from allmydata.web.root.IncidentReporter
2020-04-27 10:12:27 -04:00
meejah
c385e958a8
Merge branch 'master' into ticket3252-port-web-directory.remaining.1
2020-04-23 12:24:00 -06:00
meejah
f8a78c996a
URL -> DecodedURL
2020-04-18 02:27:32 -06:00
meejah
b0c138f7c0
remove empty segments instead of making multiple URI's valid
2020-04-18 01:52:18 -06:00
meejah
ace99a1724
add clarifying comment
2020-04-18 01:52:18 -06:00
meejah
8268f764aa
quote output, render GET
2020-04-18 01:52:17 -06:00
meejah
8b7e1c30ab
remove debug
2020-04-18 01:52:17 -06:00
meejah
8f32936c7a
/file works
2020-04-18 01:52:17 -06:00
meejah
b51f144f87
another thing works
2020-04-18 01:52:17 -06:00
Sajith Sasidharan
15131a9f71
Handle just POST requests in IncidentReporter
2020-04-17 15:44:39 -04:00
Sajith Sasidharan
a14cee5cce
Remove nevow from allmydata.web.root.IncidentReporter
...
This change calls for an explanation:
- `RenderMixin` doesn't seem to be adding anything here, so it is
gone.
- The web browser was unhappy without a charset in the response
(Firefox 74 was anyway), so `content-type` header also gets a
`charset=UTF-8`.
- Returning a Unicode string made nevow appserver unhappy, so it is
just a `str`. The precise error message was:
exceptions.TypeError: ('Could not adapt', u'An incident report has been saved to logs/incidents/ in the node directory.', <InterfaceClass nevow.inevow.IResource>)
Fixes: ticket:3294
2020-04-17 15:44:39 -04:00
Jean-Paul Calderone
ef73e18f3d
Remove the greater part of the implementation
2020-02-13 10:43:50 -05:00
Jean-Paul Calderone
c80c753e5d
Late bind storage so init_storage can run after init_web
2019-11-08 14:12:38 -05:00