File manager for Webmin

344 posts / 0 new
Last post
Sat, 06/20/2015 - 14:49 (Reply to #101)
RealGecko

Yes, I used CGI module before and now I'm not, however I forgot to remove dependency in module code. Sorry, for mistake, for now you can install CGI module manually and everything will work as planned. In the next release I will remove this unused dependency.

Sun, 06/21/2015 - 12:14 (Reply to #102)
jdhatch

I will just wait on the next release.

Thanks, Jason

Sun, 06/21/2015 - 12:15
jdhatch

Is there a way to set filemin to allow text editing for yml files?

Thanks, Jason

Sun, 06/21/2015 - 23:57 (Reply to #104)
RealGecko

Create new feature request here https://github.com/Real-Gecko/filemin/issues and list all file extensions you may need to be editable, I will make 'em editable in next release.

Thu, 06/25/2015 - 04:04
lulatsch66

Hello RealGecko,

Filemin is really good news, many thanx.

In Virtualmin, for domain accounts, left panel under "webmin modules", there is an entry "File Manager".

After deactivation of "File Manager" module in Webmin for the domain account user, activation of "Filemin" -> clicking on this menu entry gives only

"Access denied : User ... is not allowed to use the File Manager module"

Sure, I can find it under Webmin -> Others -> Filemin. But ... ;)

Any possibility to assign Filemin to this Virtualmin entry?

If not, would it rather be an Virtualmin issue?

Many thanx, please keep up with the good work!

Best regards, Falko

Thu, 06/25/2015 - 04:17 (Reply to #106)
RealGecko

I already wrote in one of my previous posts that I'm planning to separate Filemin into two branches: one pure Virtualmin plugin for domain owners with simplified permissions scheme and other pure Webmin implementation with complex ACL system for everyone else.

For now I can only advise you to grant module permissions manually to desired users by going to "Webmin->Webmin Users->$YOUR_USERN_NAME->Available Webmin modules (in addition to those from group)"

Sun, 06/28/2015 - 18:26
marciano

Like most of you I also am having problems with Java File Manager. Now Firefox in Ubuntu does not work anymore. Safari delays around 5 minutes to load.

Nice work with your Filemin.
I've downloaded and installed it as root.
In Java FM I have the option to double-click a file and it opens in a new tab (image, text...)
There is also the Edit button to edit them in another Java Window.
I cannot achieve any of these in Filemin. I know it is being written and you are working hard to add functionalities.
Clicking once on an image or a text file I get this error message:

Error - Perl execution failed

Can't locate CGI.pm in @INC (@INC contains: ./lib /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/libexec/webmin/filemin/download.cgi line 6.
BEGIN failed--compilation aborted at /usr/libexec/webmin/filemin/download.cgi line 6.

Thanks

Sun, 06/28/2015 - 23:43 (Reply to #108)
RealGecko

Yeah, I've already noticed that, there is not used dependency module CGI, I'll remove it's declaration in a further release. However clicking on a file will lead to download. If you want to edit text file there's a special link in "Actions" column, and previewing images is not implemented yet.

Tue, 06/30/2015 - 22:22
arp

I've installed Filemin under FreeBSD 10.1.

Admin users can use Filemin however it is not visible to users. When I installed the module I enabled it for all users.

Any assistance would be greatly appreciated.

Wed, 07/01/2015 - 02:02 (Reply to #110)
RealGecko

Check if module enabled for any particular user. If not I can advise you to create Webmin group, grant permissions to use Filemin by this group and add all desired users to that group. FreeBSD support is not well tested, but I'll try to improve with time.

Wed, 07/01/2015 - 02:34 (Reply to #111)
arp

Yes the users are enabled for Filemin in Webmin Users section. Is there anywhere else I need to be enabling the module?

Wed, 07/01/2015 - 03:02 (Reply to #112)
RealGecko

I dunno, can you post some screenshots? Permissions for user, "Others" tab of your menu etc.

Wed, 07/01/2015 - 03:24 (Reply to #113)
arp

Ok I'm not sure which sections to screenshot so here goes.

The first screenshot (4.12.24) is the permissions of the user (in Webmin User) in question from within the Admin login. The second screenshot (4.15.11) is the Other section of the Admin console. The third screenshot (4.16.03) is the Webmin Modules section of the test user. This is where I'm hoping the module will appear alongside the "File Manager" module.

Thu, 07/02/2015 - 13:52 (Reply to #114)
RealGecko

I see. I've already mentioned on the second page of this thread that there's an issue I cannot resolve about adding Filemin to Virtualmin's menu. The only way for Virtualmin users to access module is through Webmin -> Others -> Filemin, or by going directly to https://domian.tld:10000/filemin. Not really clean solution though.

Thu, 07/02/2015 - 14:55 (Reply to #115)
andreychek

Hey there RealGecko -- feel free to open up a support request using the "Support" link above, and Joe, Jamie, and we can work with you on this issue (and any others you may have).

Thanks!

-Eric

Thu, 07/02/2015 - 09:03
fakemoth
fakemoth's picture

Hello RealGecko. Think I found a bug, rather big for me (I don't recall being present in other versions... or maybe I didn't try this ):

-if i navigate to a NFS share, mounted to the server from my storage, I can't actually navigate. The root folders there, are instead offered to be downloaded, it's like those are files. Of course I want to navigate to their sub-folders. And they have the question mark icon not the folder one.

Can anyone else confirm this? Is filemin ready for network shares?

Thanks and GJ!

Don't take the name of root in vain...

Thu, 07/02/2015 - 13:42 (Reply to #117)
RealGecko

Yeah, I've changed file listing procedure and now Filemin behaves a little bit different. There is already an issue and a solution for that, it will be in next release. For now I can only advise you to downgrade your Filemin to version 0.9.1. Grab it here: https://github.com/Real-Gecko/filemin/releases

Sun, 07/12/2015 - 11:05
marciano

A couple of comments.

I would like to have an option to not to split large dirs like /etc in pages.
It is difficult to guess in which page certain file will be.

Another issue is that if I want to get all files sorted by date, only files in selected page are sorted.
So, I cannot get in first place, first page, the newest file in the whole directory.

Thank you

Sun, 07/12/2015 - 22:41 (Reply to #119)
RealGecko

What theme do you use?

Mon, 07/13/2015 - 09:23 (Reply to #120)
marciano

Default one: Global theme (Virtualmin Framed Theme)

Tue, 07/14/2015 - 23:23 (Reply to #121)
RealGecko

Try switching to Authentic Theme, it powers HTML tables with datatables.js which enables dynamic pagination and sorting on user side.

Thu, 07/16/2015 - 10:49 (Reply to #122)
marciano

Hi RG,

I got this error from webmin module installation filemin-0.9.3.linux.wbm.gz

Failed to install module from /root/filemin-0.9.3.linux.wbm.gz : Not a valid module file : gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now

Thu, 07/16/2015 - 12:22 (Reply to #123)
Thu, 07/16/2015 - 08:34
RealGecko

Version 0.9.3 is out. Not much changes this time: - Removed unused CGI dependency. Download should now work flawlessly. - "Increased" download speed by increasing buffer length in download.cgi. - Some syntax errors fixed in english translation, thanks to https://github.com/Zen4All - Specially for Fireserver developers http://www.fireserver.com.br/index_en.html Added "Work as root" option to ACL, if enabled for any particular user he/she will work as 'root', but directory access will still be limited to those listed in ACL. BEWARE!!! DO NOT ENABLE THIS OPTION FOR ANYONE UNLESS YOU'RE REALLY SURE WHAT ARE YOU DOING!!! - YAML files are now editable. - Using Perl's -d to determine if entry is file or folder. Symlinks and mount points are operational again.

Admins now can work as root without actually beeing root...MMMAGIC :D

Enjoy ;-)

Fri, 07/17/2015 - 14:52
dl

I found Filemin only yesterday. It's much closer to the file management UI I've been searching for. But I now want to add some tweaks to the UI. Can you point me to where (in which Filemin file) this DOM snippet is rendered?

<form id="list_form" class="ui_form" method="post" action="" role="form">
<div id="DataTables_Table_0_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer">
<div class="row">
<div class="col-sm-6">
<div id="DataTables_Table_0_length" class="dataTables_length">
<label>
Show
<select class="form-control input-sm" name="DataTables_Table_0_length" aria-controls="DataTables_Table_0">
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
entries
</label>
</div>
</div>
<div class="col-sm-6">
<div id="DataTables_Table_0_filter" class="dataTables_filter">
<label>
<input class="form-control input-sm" type="search" placeholder="" aria-controls="DataTables_Table_0">
</label>
</div>
</div>
...

=================================================

[Later edit]

Since posting my question I have now found this reference ...

http://datatables.net/manual/styling/bootstrap

but still I cannot spot where the dataTables_length values are defined ... 10, 25, 50, 10.

...

Incidentally in my version of Filemin the text "Search:" is missing after tag in div below ...

<div id="DataTables_Table_0_filter" class="dataTables_filter">
<label>
<!-- insert "Search:" here -->
<input class="form-control input-sm" type="search" placeholder="" aria-controls="DataTables_Table_0">
</label>
...
Sat, 07/18/2015 - 01:17 (Reply to #126)
RealGecko

Datatables integration is provided by Authentic theme, if you want to change pagination options I'm afraid it is not possible for now according to this docs http://legacy.datatables.net/usage/features

Sat, 07/18/2015 - 08:45
dl

Finally, I found the answer to my earlier question on where dataTables_length is created..

In /usr/share/webmin/authentic-theme/unauthenticated/js/jquery.datatables.min.js

aLengthMenu:[10,25,50,100]

This site is also helpful in understanding DataTables ...

http://datatables.net/examples/basic_init/filter_only.html

Thanks.

DL

Mon, 07/20/2015 - 15:46
marciano

RG: Editing a file I would like to have the option to Save & Close (it is "Save" now) and another button to only Save it without closing it.

Thank you

Mon, 07/20/2015 - 23:19 (Reply to #129)
RealGecko

OK, I'll look into it.

Thu, 07/23/2015 - 04:08
dl

Is there a "hide viewing of hidden files" feature I've missed in the UI?

Incidentally on my installation of filemin the "Search: " label to the left of the search field is missing.

DL

Thu, 07/23/2015 - 06:56 (Reply to #131)
RealGecko

UI is not configurable yet, and about "Search" I'll look into it.

Mon, 07/27/2015 - 11:50
stn

Nice piece of software. Thanks a lot. The only feature I'm missing is search. I was using it a lot in old File Manager.

Wed, 07/29/2015 - 23:50
midol
Module Index
    Filemin     
 
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.760 Date: Thu, 30 Jul 2015 04:43:49 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
 
Unmatched [ in regex; marked by <-- HERE in m/^/home/dave/Documents/(eBook) Pratchett, Terry - [ <-- HERE Discworld Series Collection 1-33) books// at /usr/share/webmin/filemin/index.cgi line 33.
Thu, 07/30/2015 - 00:12
stn

Please remove separation of the directory list in pages. It is really annoying. Especially when there is only couple files goes to the second page. Very ill idea. Of course it can be slow with very long list but it is know problem almost for any file system, not a file manager. Any developer with common sense avoids too longish directories.

Thu, 07/30/2015 - 00:30 (Reply to #136)
RealGecko

Current page size is 50 entries, and if you'll have 100 entries there's still possibility that "couple of files will go to the second page" and it is even possible when you have 200 or 300 or 400 entries per page. That's not paginator problem.

Version 0.9.4 will have per user settings, so anyone can configure Filemin to fit his/her needs. Pagination will become configurable.

Fri, 07/31/2015 - 04:18
RealGecko
-- Version 0.9.4 --
  • Implemented "Search". Users may search files and folders by name, wildcards supported.

  • Symlinked inode-mount-point.png to inode-directory.png. Mount points displayed with 'directory' icon.

  • Made toolbar more compact under modern themes.

  • Added per user configuration. Users now can individually configure some display options.

    • Items per page - how many entries to display in one page, OLD THEMES ONLY!.
    • Columns - users can check which columns he/she wants to see.
    • Authentic theme users may disable pagination completely.
    • Choose toolbar style between menu with dropdowns or good old "all in one". (Authentic only)
    • Manage personal bookmarks
  • Implemented "Bookmarks" functionality. Users can now bookmark current directory. Bookmarks are managed in per user module settings.

  • Added "Save and close" button on file edit page. "Save" button now saves and reopens file for editing again, while "Save and close" saves and redirects back to originated folder.

  • Update Russian translation.

    21 fixed:
  • Added Codemirror to module for syntax highlighting, thanks to https://github.com/pabloko for solution.
  • Under Authentic 14.01 now works too, thanks to https://github.com/qooob for fix.

    24 fixed:
  • Added zip compression method, user now can select between 'zip' and 'tar' compression methods.

    27 fixed:
  • Chmodding now have new option to apply new permissions to:

    • Selected directories and files only
    • Selected files and directorires and files in selected directories
    • All (recursive)
    • Selected files and files under selected directories and subdirectories
    • Selected directories and subdirectories
    28 fixed:
  • Added new toolbar style - menu-like with dropdowns (Authentic only).

    31 fixed:
  • Removed Data::Dumper declaration.
Enjoy ;-)
Fri, 07/31/2015 - 08:04 (Reply to #138)
jvieille

Thanks a lot!!!

The url for Webmin instaall is https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-0.9.4.l...

I noticed that it is still much slower than File manager in certain circumstances. For example, usr/bin takes 1 minute and warn about too long script File manager opens this directory instantaneously.

Fri, 07/31/2015 - 08:16 (Reply to #139)
RealGecko

Authentic theme had a bug:

https://github.com/qooob/authentic-theme/issues/211

Try updating it to 14.02.

Fri, 07/31/2015 - 08:33 (Reply to #140)
jvieille

I had already updated Authentic theme Same on 3 servers debian wheezy and ubuntu 12.04 - OK on ubuntu 10.04

Fri, 07/31/2015 - 09:11 (Reply to #141)
RealGecko

Switch to another theme like MSC.Linux or Grey Framed one.

Fri, 07/31/2015 - 09:31 (Reply to #142)
jvieille

I confirm the problem is with Authentic. Is this a bug, or should we forget this theme?

Fri, 07/31/2015 - 10:37 (Reply to #143)
RealGecko

I've encountered same things yesterday under Authentic, but today after update everything worked smooth. Try to reload page few times, Webmin relies on caching heavily, so some times it is necessary to refresh page 2-3 times. If things continue to happen, feel free to open issue here:

https://github.com/qooob/authentic-theme

Theme author provides great support. Or simply use another theme, Filemin supports them all, some minor visual glitches may happen though.

Fri, 07/31/2015 - 06:22
jonnybradley

Thanks! Looks good but i've only spent a few minutes with it, like the syntax colouring and the search looks very handy, brilliant - well done and thanks once again!

I had a bit of a fiddle getting the right URL for the DEB package, it turns out to be:

https://github.com/Real-Gecko/filemin/blob/master/distrib/webmin-filemin_0.9.4_all.deb?raw=true

jonny

Fri, 07/31/2015 - 06:34 (Reply to #145)
RealGecko

https://github.com/Real-Gecko/filemin/raw/master/distrib/webmin-filemin_...

This url is valid also, it's GitHub way of dealing with binary files.

Fri, 07/31/2015 - 10:16
marciano

Very good work RG!! Congratulations! Thank you very much, M

Fri, 07/31/2015 - 10:47
Welshman
Welshman's picture

I don't envy you guy's, it's all very complicated, thank you RG and ilia.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Tue, 08/04/2015 - 13:00
shaheryar

I use filemin and I really admire your effort this is te one thing I needed from webmin you file manager is fast and very good in in term of usage but can u please tell me one thing that its update are via script which automatically comes in webmin are do I have to update it manually every time

Onle one word about your file manager sweeeeeeeeeeeeet . keep up the good work.

Tue, 08/04/2015 - 13:51 (Reply to #149)
RealGecko

Jammie Cameron plans to include Filemin as a standard Webmin module, removing old FM completely. Be patient, and you'll find harmony :))))

Fri, 08/07/2015 - 01:50
RealGecko
Version 0.9.5 is out.

This is mainly bug fixes release, some urgent bugs are fixed:

  • Made top level menu items translatable.
  • Added https://github.com/Real-Gecko/filemin/pull/29 Selected rows also highlight on hover + color tweaks, by https://github.com/qooob
  • Some code cleanup, got rid of Regexp::Common and URI dependencies. Thanks to Jamie Cameron.
  • Added error message if file saving fails.
  • Removed not working "Help" link for now.

    35 fixed:
  • Permissions column configurable and displayable.

    36 fixed:
  • README instructions for Debian/Ubuntu fixed.

Pages

Topic locked