Coder Social home page Coder Social logo

new filemanager about webmin HOT 15 CLOSED

webmin avatar webmin commented on June 3, 2024
new filemanager

from webmin.

Comments (15)

dvinciguerra avatar dvinciguerra commented on June 3, 2024

html5 and non-html5 support or only one?

from webmin.

LeeLorenzSr avatar LeeLorenzSr commented on June 3, 2024

Well, with Chrome and possibly other browsers deprecating support for Java, perhaps it is time for WebMin to get a new FileManager that isn't dependent on Java?

Short-term solution for users is to enable this flag in Chrome:
chrome://flags/#enable-npapi

Of course, Chrome developers will probably soon remove even that, because reasons...

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

The replacement would obviously have to be HTML5/JavaScript. But, I don't know that we have the in-house capabilities to do it ourselves; Jamie and I are not yet particularly strong on HTML5 and JavaScript (though we're both learning). We're considering our options in terms of existing file manager implementations that could be integrated into Webmin, but, as far as I know, there isn't anything quite comparable in capability to the current Java file manager that Jamie built so many years ago.

from webmin.

LeeLorenzSr avatar LeeLorenzSr commented on June 3, 2024

I wish I had time to put into building a new file manager, though I haven't done much with Linux (I'm an enterprise developer in a primarily Microsoft supplied company). I might have more time this summer to at least look at it and give some productive input.

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

Interestingly, while we were having this conversation here, someone was actually making something great happen on this problem.

https://github.com/Real-Gecko/filemin

He's only been working on it for a very short time, but already it has most of the functionality that people really rely on File Manager for. It does have a couple of bugs/quirks, but is evolving really (surprisingly and impressively) fast. It does require the latest Authentic Theme to be awesome, but you're probably already using Authentic Theme, if you're paying enough attention to be discussing this stuff with us on the github issue tracker.

Anyway, I think a good path forward on this problem now is to do whatever we can do encourage development on this new project. We plan to offer him free licenses of Virtualmin Pro and Cloudmin Pro (as a "Thanks!") and me or Jamie will spend some time auditing the code for security and reasonable use of the Webmin APIs. He doesn't have a donate link for this projects, but I'll suggest he put one up, so we can send him a few bucks.

He has a wbm package in the install directory (download it using the "Raw" mode), so I'd suggest everyone in this thread give it a try, and let him know what features you use File Manager for that are missing or not working in a way that makes sense to you. But, honestly, I think the UI for it is already better than File Manager (which shouldn't be too surprising, since File Manager is a 15+ year old Java applet), though it definitely doesn't have all the functionality of File Manager, yet.

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

Oh, I should also recommend you not grant access to the module to untrusted users until it's had a bit more time and attention. Given that Webmin runs as root, and Filemin has pretty much arbitrary access to everything...even though it does have some security checks built in, I would want to see a serious audit before letting just anybody use it. (Also, possibly bugs that could destroy data unexpectedly.)

from webmin.

LeeLorenzSr avatar LeeLorenzSr commented on June 3, 2024

Very cool, but as much as I've learned about Linux, I must be missing something, because I downloaded the filemin-0.9.wbm.gz file to my server, and tried to install the menu, but it's saying it doesn't recognize the package as a valid TAR file. I extracted fine to a wbm file, but the install didn't like that, either. (trying to install using "Local File" option)

I usually figure this stuff out fairly quickly... webmin didn't like it when I updated to the Authentic theme just now, because I was missing perl modules, but I was able to install LWP and get it rolling just fine, so I don't think I'm being dense :)

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

The latest version of Authentic (from https://raw.githubusercontent.com/qooob/authentic-theme/master/.build/authentic-theme-latest.wbt.gz ) does not require LWP or any other external dependencies. I believe you'll need that one to effectively use Filemin (and there might actually still be an AJAX loading bug).

I had similar troubles getting the Filemin module installed (downloading the Raw file with curl or wget is tricky). The way I finally got it to work was to download the .wbm.gz to my desktop and then use the "Upload" option in the Webmin Install Module form.

from webmin.

LeeLorenzSr avatar LeeLorenzSr commented on June 3, 2024

OK, I now see I was not getting the proper binary from github. It looks great so far, though it only gives me access to my home folder.

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

Yes, that's apparently the current design. If you're logged in as root or an administrative user (I guess) you should have access to everything. Regular users get locked into home, it seems, by design. Which is probably a reasonable design option for early versions, given how dangerous this has the potential to be.

from webmin.

l-arnold avatar l-arnold commented on June 3, 2024

Could it start by being in the community packages and make an easy install.
Alexandr Bezenkov (real gecko) https://github.com/Real-Gecko/filemin.git

I don't know it but I cannot take trying to keep browsers, java etc happy on simple installs. I usually don't put SSL on Admin ports and all works except File Manager which I find otherwise incredibly useful.

I see now referenced above. Could not Git Clone be used to pull the files in rather than wget or curl? I have not loaded externals into Webmin before. Despirate to be done with Java though.

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

Look in the /install directory in the github for filemin. There are already .wbm and .deb packages for Filemin. You can download either using the raw download option, and use the Webmin Modules module to install it.

We do plan to integrate it into Webmin core going forward, but it's not ready for that yet; it needs some security auditing, accessibility testing, and a few other bits of due diligence before we hand it off to a million users.

from webmin.

LeeLorenzSr avatar LeeLorenzSr commented on June 3, 2024

What's the latest on this? The deadline is looming near for Java to be banished from most, if not all, web browsers.

from webmin.

jcameron avatar jcameron commented on June 3, 2024

The latest development version of Webmin, available from http://www.webmin.com/devel.html , already includes the new file manager.

from webmin.

swelljoe avatar swelljoe commented on June 3, 2024

New File Manager is very solid now, with most of the features people have asked for, so I'm gonna close this issue. Any future requests can be filed as new tickets. The file manager in Webmin has kinda been forked from the Filemin file manager linked earlier. So, if you're using the one shipped with Webmin, you'll want to file tickets here...if you're using Filemin from Real Gecko's repo, you'd want to file requests there.

from webmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.