Opened 18 years ago
Closed 16 years ago
#28 closed New Feature (fixed)
Implement Interface for File Browser Connector and Quick Uploader
Reported by: | alka13 | Owned by: | Thilo Schwarz |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor.Java 2.5 |
Component: | Server : Java | Version: | FCKeditor.Java 2.4 |
Keywords: | Confirmed | Cc: |
Description
I would like to make the File Browser Connector and Quick Uploader configurable with a Java interface. The current implementation is hardcoded to use the server file system. This is something which severly limits the use of the Java libary in more mature products or frameworks, because it's likley that these do have their own way of managing the server side resources - not necessarily on the server file system.
Change History (14)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Now the extensibility of it is built into the XML interface, so if someone wants to do something different he should also implement the XML parsing and the building of the response. A better approach would be allowing a plug-in-like extensibility, where the official connector is the one responsible for the request and response management, and then calls another library to do the real work. So if you want to use the file system based repository you can use the default implementation, but if you want to change the behavior, and use a per user folder, or retrieve files from an FTP storage or from a DB you can do it just implementing an interface and implementing the methods important for the real file retrieval and storage.
comment:3 Changed 17 years ago by
Owner: | alka13 deleted |
---|
comment:5 Changed 17 years ago by
Milestone: | FCKeditor.Java 2.4 |
---|
Removing Milestone, this should be done later
comment:6 Changed 17 years ago by
Owner: | Michael Osipov deleted |
---|
comment:7 follow-up: 8 Changed 17 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This has been implemented to some extent with the interface SessionData. Additionally there will be some method to upload to a server path which is served by a different server but there is no way that we break the context sandbox concept with upload to a different context or to some random path which is will serve by ia proxy filter by upload a byte stream.
comment:8 Changed 17 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Replying to mosipov:
This has been implemented to some extent with the interface SessionData. Additionally there will be some method to upload to a server path which is served by a different server but there is no way that we break the context sandbox concept with upload to a different context or to some random path which is will serve by ia proxy filter by upload a byte stream.
IMHO that is not the meaning of this feature request! The need is to provide an abstract way to implement other connectors than the current one for the filesystem. SessionData doesn't provide that feature !!! That feature could implemented in future releases!
comment:9 Changed 17 years ago by
Owner: | set to Thilo Schwarz |
---|---|
Status: | reopened → new |
comment:10 Changed 17 years ago by
Keywords: | Confirmed added |
---|
comment:11 Changed 17 years ago by
Milestone: | → FCKeditor.Java 2.5 |
---|---|
Owner: | Thilo Schwarz deleted |
Version: | → FCKeditor.Java 2.4 |
comment:13 Changed 17 years ago by
Owner: | set to Thilo Schwarz |
---|---|
Status: | new → assigned |
comment:14 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
At long last. This ticket can be closed. Final changes have been committed in the last couple of days.
Great idea!
We should provide a "ready to go" solution based on the FS for the average user, and of course richer possibilities to advanced platforms, like OpenCms.