Ticket #28 (closed New Feature: fixed)

Opened 7 years ago

Last modified 5 years ago

Implement Interface for File Browser Connector and Quick Uploader

Reported by: alka13 Owned by: th-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

comment:1 Changed 7 years ago by FredCK

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 7 years ago by simonech

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 6 years ago by fredck

  • Owner alka13 deleted

comment:4 Changed 6 years ago by mosipov

  • Owner set to mosipov

I will investigate that!

comment:5 Changed 6 years ago by mosipov

  • Milestone FCKeditor.Java 2.4 deleted

Removing Milestone, this should be done later

comment:6 Changed 6 years ago by mosipov

  • Owner mosipov deleted

comment:7 follow-up: ↓ 8 Changed 6 years ago by mosipov

  • Status changed from new to closed
  • Resolution set to wontfix

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 6 years ago by th-schwarz

  • Status changed from closed to reopened
  • Resolution wontfix deleted

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 6 years ago by th-schwarz

  • Status changed from reopened to new
  • Owner set to th-schwarz

comment:10 Changed 6 years ago by w.olchawa

  • Keywords Confirmed added

comment:11 Changed 6 years ago by mosipov

  • Owner th-schwarz deleted
  • Version set to FCKeditor.Java 2.4
  • Milestone set to FCKeditor.Java 2.5

comment:12 Changed 6 years ago by mosipov

Marking #2229 as DUP of this ticket

comment:13 Changed 6 years ago by th-schwarz

  • Status changed from new to assigned
  • Owner set to th-schwarz

comment:14 Changed 5 years ago by mosipov

  • Status changed from assigned to closed
  • Resolution set to fixed

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy