Zooko O'Whielacronx
fed427b087
docs: clarify which webport value is the default
2008-02-27 11:10:03 -07:00
Brian Warner
7927495cbe
unicode handling: declare dirnodes to contain unicode child names, update webish to match
2008-02-14 15:45:56 -07:00
Brian Warner
a70fba4ef1
webish: add edge metadata to t=json output, including timestamps
2008-02-11 19:14:10 -07:00
Brian Warner
7dcb4ee62b
webapi.txt: document POST /uri?t=mkdir
2008-02-07 20:10:28 -07:00
Brian Warner
6e0d3059a3
webish: add when_done= to POST /uri?t=upload . I did not add a 'recent uploads' section to the welcome page, but I think the new upload-results page provides the desired data
2008-02-06 02:38:16 -07:00
Brian Warner
1e4504463c
webish: make POST /uri?t=upload deposit you on an 'Upload Results' page
2008-02-05 23:01:37 -07:00
Brian Warner
23c2c8d660
webish: add PUT /uri?mutable=true
2008-02-05 22:18:02 -07:00
Brian Warner
e5dc9a8486
webish: add POST /uri?t=upload&mutable=true
2008-02-05 22:10:22 -07:00
Brian Warner
6afe50e2aa
webish: add upload/view-uri forms (not associated with any particular directory) to the welcome page. Document POST /uri?t=upload .
2008-02-05 21:44:40 -07:00
nejucomo
7caec120b3
docs: webapi: Add concise shorthand for options, input, output, and statuses to the operation descriptions...
...
I'm not convinced if this is the best way to do this, but I find it
handy to have a conscise "quick reference" for the webapi operations
which summarize all related I/O.
Another possibility is to reject this patch, but create a separate
"webapi_quickref.html" with a concise table.
2008-01-30 01:27:42 -07:00
Brian Warner
8b9f86fb17
remove the slash-to-bang conversion from CLI tools and webapi.txt
2007-12-17 20:22:26 -07:00
Brian Warner
785f21b9bf
test_web.py: add coverage for POST t=check
2007-12-04 23:49:38 -07:00
Brian Warner
56e02b274b
webish: add POST t=mutable, make it replace files in-place, add t=overwrite
2007-12-04 23:42:54 -07:00
Brian Warner
9de9346a66
docs/webapi.txt: document the POST t=upload&mutable=on command used to create mutable files
2007-11-09 04:05:07 -07:00
Zooko O'Whielacronx
0455c13082
webapi.txt: update webapi.txt to reflect the security fix from #98
2007-10-15 12:29:02 -07:00
Brian Warner
c35ed6ff11
docs/webapi.txt: mention that we default to a --webport of 8123
2007-10-11 13:19:11 -07:00
Brian Warner
6bbc5fcbb4
docs: change our default HTTP port to 8123
2007-10-11 13:17:33 -07:00
Brian Warner
2da65f118c
webapi.txt: reinstate documentation of the unpleasant URI-escaping needed for
...
slashes in dirnode URIs, to be resolved some day by #102 .
2007-10-11 06:58:08 -07:00
Zooko O'Whielacronx
9b4a0ffa30
webapi.txt: minor edits
2007-08-23 13:09:44 -07:00
Zooko O'Whielacronx
75b10954e4
webapi.txt edits (thanks to Brian Warner)
2007-08-23 13:06:06 -07:00
Zooko O'Whielacronx
2b77a70920
new improved webapi.txt
...
As per ticket #118 , this refactors the explanation of URIs and paths and changes the JSON metadata schema.
http://allmydata.org/trac/tahoe/ticket/118
2007-08-23 13:03:26 -07:00
Zooko O'Whielacronx
6c38118c36
webapi.txt: s/dirnodes/directories/
2007-08-16 15:53:53 -07:00
Brian Warner
944ad6508b
webapi.txt: specify replace= behavior on all PUT and POST commands
2007-08-15 19:31:49 -07:00
Brian Warner
31bfb3950a
webapi.txt: clear up underspecified items, replace 'webpassword' paragraph
...
with a section about our expected plans for #98 , add more introductory text
to the sections on manipulate-file vs manipulate-directory.
2007-08-15 19:04:47 -07:00
Zooko O'Whielacronx
4f2244bfdd
webapi.txt: shorter and hopefully clearer description of names vs. identifiers
...
Brian (and anyone who has an interest in the API and documentation): please review.
2007-08-15 12:28:04 -07:00
Brian Warner
b4a0effe30
webapi.txt: separate out debug/test commands, indicate that localfile=/localdir= requires special activation
2007-08-10 18:20:22 -07:00
Brian Warner
54b6900526
webapi.txt: minor clarifications and examples
2007-08-10 15:52:27 -07:00
Zooko O'Whielacronx
c0c6417e95
webapi.txt: put back the manifest feature
...
So that we can compare versions of webapi.txt with and without this documentation, side by side.
2007-08-10 12:58:33 -07:00
Zooko O'Whielacronx
ba2e9aa4cb
webapi.txt: put back the localfile feature
...
So that we can compare versions webapi.txt with and without this documentation side by side.
2007-08-10 12:52:37 -07:00
Zooko O'Whielacronx
193f603e74
webapi.txt: add URI-based GET variants
2007-08-10 12:33:29 -07:00
Zooko O'Whielacronx
89d2e1ac57
webapi.txt: some editing, and remove the localfile feature and the manifest feature
...
My motivation to remove these features is as per:
http://allmydata.org/pipermail/tahoe-dev/2007-August/000067.html
However, I haven't heard back from Brian yet, so I'm actually going to put them back in the next patch so that I can compare the two versions of webapi.txt side by side.
2007-08-10 12:24:13 -07:00
Zooko O'Whielacronx
887240e7a3
webapi.txt: further refactoring and add a section explaining TOCTTOU bugs and how to avoid them by using URIs
2007-08-10 12:04:30 -07:00
Zooko O'Whielacronx
e68a0e07de
webapi.txt: further refactoring and editing to clarify the fact that you don't know whether a thing is a file or a directory before you fetch it
2007-08-10 10:19:27 -07:00
Zooko O'Whielacronx
8b0807812b
webapi.txt: add "?t=file" flag and reorganize doc to discourage people from thinking that they know before hand the file-or-dir type of the thing that they are naming
2007-08-10 09:43:52 -07:00
Brian Warner
1bb44df8ba
webapi.txt: update rfc reference
2007-08-09 11:24:35 -07:00
Brian Warner
f207f4a199
webish.py: disallow slashes in POSTed filenames. Closes #75 .
2007-07-16 11:53:12 -07:00
robk-org
d65d02fa58
add a 'rename' button to the webish dir view
...
alongside the 'del' button is now presented a 'rename' button, which takes
the user to a new page, the 't=rename-form' page, which asks ther user for
the new name of the child and ultimately submits a POST request to the dir
for 't=rename' to perform the actual rename i.e. an attach followed by a
delete of children.
2007-07-12 16:53:54 -07:00
robk-org
908cc0e481
fix a typo in webapi.txt
2007-07-12 16:45:51 -07:00
Brian Warner
13e84526a1
webapi: normalized API: use t=upload or t=download when providing localdir= or localfile=
2007-07-10 13:24:10 -07:00
Brian Warner
723825ff28
webapi.txt: note that the 'curl' utility can be used to exercise most of this interface
2007-07-10 10:36:37 -07:00
Brian Warner
72fc8c5cb8
web: use real JSON instead of the fake stubs
...
Also include the encoder portion of Bob Ippolito's simplejson-1.7.1 as
allmydata.util.json_encoder . simplejson is distributed under a more liberal
license than Tahoe (looks to be modified BSD), so redistributing it should be ok.
2007-07-08 00:17:11 -07:00
Brian Warner
bd8625076a
web: remove t=XML, and other dead code
2007-07-07 22:55:15 -07:00
Brian Warner
62e8528cc6
web: /uri/ must escape slashes, we use bangs for this
2007-07-07 22:06:52 -07:00
Brian Warner
464f25e5f2
web: more test work, now all tests pass, POST too, only XMLRPC left to implement
2007-07-07 20:06:58 -07:00
Brian Warner
7d92b8a123
webish.py: add links to JSON/etc representations of directory contents to the listing
2007-07-07 11:31:07 -07:00
Brian Warner
9dc9f59a86
webapi updates
2007-07-07 10:37:07 -07:00
Brian Warner
c15f37dc9b
add webapi.txt: explain our plans for the node's webserver
2007-07-05 13:36:03 -07:00