Closed
Bug 123991
Opened 23 years ago
Closed 9 years ago
rdf:httpindex should not be tied to xul directory viewer
Categories
(Core Graveyard :: Networking: FTP, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: dougt, Unassigned)
References
Details
FTP protocol should not change output based on preference. Instead there should be a programmatic way that each ftp channel can have a different output. There is a new requirement that a client needs to be able to product a listing of all files in a directory. To do this, the client wants to parse indexed-html. However, if the preference is set, the client will have no way of knowing how to parse the output.
Comment 1•23 years ago
|
||
dougt: I have about 5 bugs on me because of this, and related code. I was going to move the html code choice into the channels. I should have a patch later today for that. I agree that this is all a hack, but requiring every single consumer who may get an ftp directory listing back (ie most of them) to change isn't going to work. What were you proposing to do? See discussion in the related bugs before responding. Who wants to parse the raw http-index-format, and why? I've always wanted to get rid of that middle layer entirely - it would make things a _lot_ simpler thoughout the dir passing code. I even had it working, but valeski wanted to old stuff kept in.
Reporter | ||
Comment 2•23 years ago
|
||
Bradley could you marked this as a dup?
Comment 3•23 years ago
|
||
We need this for Composer's publishing feature. A way of easily enumerating files and directories would really help us make a good site viewer/dir picker.
Comment 4•23 years ago
|
||
No, this particular request is slightly different. It'll be one patch which fixes them, though.
Comment 6•23 years ago
|
||
OK, I'm going to work on this as part of bug 110760. I spoke to cmanske on IRC, and being able to use the rdf:httpindex datasource will give him what he needs, so I'm morphing this. This is dependant on bug 110760, which involves moving the backend out of libappcomps. This can already be done, sort of, by creating an HTTPIndex instance directly. That functionality isn't really exposed, though, and editor shouldn't be dependant on libappcomps. This will probably be a streight copy and paste, although it was suggested on IRC that nsIRemoteRDFDataSource should be implemented, and I'll probably do that. Taking for 0.9.9, but that may be optimistic, since I start university again next week, and am likely to be very busy until the tree closes.
Status: NEW → ASSIGNED
Depends on: 110760
Summary: FTP protocol should not change output based on preference → rdf:httpindex should not be tied to xul directory viewer
Target Milestone: --- → mozilla0.9.9
Comment 7•23 years ago
|
||
Thank you Bradley! We will be very happy if you can do this work.
Comment 9•23 years ago
|
||
For when I come to do this, can you please point me to the code where you'd like to hook this in, so that I can try to have a usable set of APIs?
Comment 11•22 years ago
|
||
cmanske: Is this still wanted in the short term? And if so, can I assign it to you ;)
Comment 12•22 years ago
|
||
No, it's not needed short term. You can keep it!
Updated•22 years ago
|
Target Milestone: mozilla1.1alpha → Future
Comment 13•22 years ago
|
||
I have no time to work on mozilla at the moment, so dougt is taking over FTP open ftp bugs -> him
Assignee: bbaetz → dougt
Status: ASSIGNED → NEW
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•3 months ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•