Opened 18 years ago

Closed 15 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 Frederico Caldeira Knabben

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.

comment:2 Changed 17 years ago by simone

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 Frederico Caldeira Knabben

Owner: alka13 deleted

comment:4 Changed 17 years ago by Michael Osipov

Owner: set to Michael Osipov

I will investigate that!

comment:5 Changed 17 years ago by Michael Osipov

Milestone: FCKeditor.Java 2.4

Removing Milestone, this should be done later

comment:6 Changed 16 years ago by Michael Osipov

Owner: Michael Osipov deleted

comment:7 Changed 16 years ago by Michael Osipov

Resolution: wontfix
Status: newclosed

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 in reply to:  7 Changed 16 years ago by Thilo Schwarz

Resolution: wontfix
Status: closedreopened

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 16 years ago by Thilo Schwarz

Owner: set to Thilo Schwarz
Status: reopenednew

comment:10 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

comment:11 Changed 16 years ago by Michael Osipov

Milestone: FCKeditor.Java 2.5
Owner: Thilo Schwarz deleted
Version: FCKeditor.Java 2.4

comment:12 Changed 16 years ago by Michael Osipov

Marking #2229 as DUP of this ticket

comment:13 Changed 16 years ago by Thilo Schwarz

Owner: set to Thilo Schwarz
Status: newassigned

comment:14 Changed 15 years ago by Michael Osipov

Resolution: fixed
Status: assignedclosed

At long last. This ticket can be closed. Final changes have been committed in the last couple of days.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy