File manager for Webmin

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

https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-0.9.3.linux.wbm.gz

This is direct download link.

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>
...

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

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

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

OK, I’ll look into it.

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

UI is not configurable yet, and about “Search” I’ll look into it.

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.

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.

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.

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

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.

#-- 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:

#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 :wink:

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

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

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

Thanks a lot!!!

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

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.

Authentic theme had a bug:

Try updating it to 14.02.

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