Elfinder: A version without external requests?

Created on 8 Dec 2017  路  10Comments  路  Source: Studio-42/elFinder

Hi there,

is there a way that i can please have a elFinder Version without external requests like them to Cloudflare?

client bug question

Most helpful comment

Just let you know I'm back. There are now 2 new versions of the plugin. The version of just now adds the function to select attachments directly from elFinder and attach them to the mail.

A kind of notebook function is now planned. You should be able to create and change notes in HTML format with tinyMCE and elFinder. If I have the time for Android, there will be a companion app for Android. I've just never been into Android development before.

All 10 comments

@Offerel Yes of course.

Please rewrite next URL to local location.

  • elfinder.html
  • main.default.js
  • client config option

    • cdns

    • an example on elfinder.html

      ```javascript

      managers : {

      // 'DOM Element ID': { /* elFinder options of this DOM Element */ }

      'elfinder': {

      cdns : {} // if you don't need extra editor and viewer.

      }

      }

i try my luck in the evening and report if it works. main reason is, that i have a relative strict CSP Header definition on my own nginx server and me and my family are the only person's who use this server currently.

BTW: i would like you to know, that i have made a experimental plugin for Roundcube Webmailer, which includes elFinder directly in to Roundcube. It was in first place only for my personal needs, but i think it's ok to share it with the community. You can find it at https://github.com/Offerel/roundcube_storage . The plugin works here as a kind of replacement for Dropbox or Google Drive, but in this context it works on the own server, with WebDAV access.

@Offerel Invalidating options.cdns requires setting each value to empty instead of {}. However, since there was a problem that some empty values could not be accepted, So I fixed it with a commit a935bf5e5bf6596c1a0f50eb1f7cb625c1c160c8.

cdns : {
    // for editor etc.
    ace        : null, // or your location
    codemirror : null, // or your location
    ckeditor   : null, // or your location
    tinymce    : null, // or your location
    simplemde  : null, // or your location
    // for quicklook etc.
    hls        : null, // or your location
    dash       : null, // or your location
    prettify   : null, // or your location
    psd        : null, // or your location
    rar        : null, // or your location
    zlibUnzip  : null, // or your location
    zlibGunzip : null  // or your location
}

BTW, I added a link of your https://github.com/Offerel/roundcube_storage into README.md. Thanks! 馃憤

Great, i change this in a next release. Currently I'm in the hospital, my gallbladder must be removed urgently. I had the additional idea, that i could use elfinder also for adding and saving attachments from and within the webmail GUI. I will try to implement this. However the current implementation was a first start. With this and my calendar plugin, Roundcube works really fast and better as a Nextcloud instance on the same hardware.

I do hope you feel better soon and I am wishing you a speedy recovery. And when you recover please let me know your great ideas!

Just let you know I'm back. There are now 2 new versions of the plugin. The version of just now adds the function to select attachments directly from elFinder and attach them to the mail.

A kind of notebook function is now planned. You should be able to create and change notes in HTML format with tinyMCE and elFinder. If I have the time for Android, there will be a companion app for Android. I've just never been into Android development before.

One question to this topic. I have checked out now elFinder-2.1.31 and want to try a local ckeditor. But now, when i rightclick on a html file, there is no edit-submenu. Is this a bug?

@Offerel Yes, I found a bug of editing with local CKEditor. So I'll fix it.

@Offerel I fixed it. Please try nightly build.

with...

opts : {
    url : 'php/connector.php',
    cdns : {
        // for editor etc.
        ace        : null, // or your location
        codemirror : null, // or your location
        ckeditor   : 'Your CKEditor directory location (without last `/`)',
        tinymce    : null, // or your location
        simplemde  : null, // or your location
        // for quicklook etc.
        hls        : null, // or your location
        dash       : null, // or your location
        prettify   : null, // or your location
        psd        : null, // or your location
        rar        : null, // or your location
        zlibUnzip  : null, // or your location
        zlibGunzip : null  // or your location
    }
}

ahh this works better. Sorry for this late reply but my good old Rasperry Pi died at the weekend and i could by today a new one. I try now to config my local CKEditor

Was this page helpful?
0 / 5 - 0 ratings