-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filebrowser in Chrome v42+ #164
Comments
I was thinking of this already as I don't use that Java File-browser...Urff.. I will see. Maybe, I will integrate it sometime later. I just release version 12 of the theme and need to do some other things. If people get more involved and the theme becomes default, I will surely try me best to implement it, along with other things. |
I |
Can you please post screenshots in your repo? |
And perhaps instructions how to install them in webmin? Would love to try this out and do some testing. |
That's right! |
..but I think you just have to copy it to |
I tried it. Not bad, really!! But it requires a lot of work to be done. For myself, I find faster to use console. Besides for console, there is Nevertheless, I believe that your work will be appreciated by many people, including me, as running file manager without Java would be a good idea, even just with basic functions! Few things, 1. images should no contain css and js files. Rename folder for images, let's say |
Besides, I can add sorting for table headers and it will make sorting work! Other things you should do, from my point of view:
Upload at the moment results in Perl execution error. |
It's a very cool thing!! I'm starting to like you file-manager more and more! Try running in the console to following (not for the top frame but for page(index.cgi)): :D
The above will initialize dataTables for you. (filesize will not work correctly at the moment but can be fixed later.) Besides, I could make all of those file listing you got, being searchable with left search (autocomplete) field. |
Well I prefer mc myself, but the basic idea behind filemin module was to provide users quick access to their home folders, so for example they can quickly download archived public_html for backup purposes or quickly add new images for their theme etc. Images folder contains js and css cause I had an interesting issue under CentOS 7 - when you install module from wbm.gz Webmin says that "module css" and "module js" have no "module.info" file and so filemin is not installed. That was really wierd for me, so I moved theese two folders under images. However testing under Ubuntu does not give such an error. So I |
About dependencies: each system (CentOS, Ubuntu, Debian) has it`s own modules installed by default. Is it possible to check for required perl modules during installation? |
3 . |
This is how your top icons should look/be controlled like, using mentioned functions. See the screen shots here: |
Few more:
|
Well, this made me very curious. But cloning the filemanager in the webmin folder (On Debian it is: /usr/share/webmin) does not give me a new filemanager and/or a link to the filemanager. Am is supposed to copy it to the "file" directory? |
@Goeny You have to activate it by going to Webmin Users (or clicking on the icon next to logout) and enabling it in |
Ah.. found it!. When i click the upper "./" the filemanager reloads and i see the images appear. But in a split second all images will be gone. According to Chrome inspector i get a 404 error on the images. |
@Goeny no worries, it's what Authentic Theme does. Author knows it. When he moves icons under |
What error do you get when try to upload a file? |
500 Error - Perl execution failed |
+1 One more when doing 500 Error - Perl execution failed ..and same on |
Ah yes I think I understand. |
No, it's not the cause! I selected some files, clicked Please don't use alerts. Use |
... and why I can't go higher than my root directory? |
Hmmm, well, I tried to avoid using extra libraries as jQuery or Bootstrap as mentioned here: |
Locking user inside his "home" was a security measure, to prevent one from poking around whole filesystem. I was thinking about it and planning to add module configuration to make "root" path configurable as it is done in original File module. |
Well, this tutorial is a bit outdated. My theme has both jQuery and Bootstrap. It will work anyway. There are no browsers that I would strongly recommend using it. Otherwise it will not be user friendly. And the lest popups (alert) - the better. Try using AJAX calls to update page's content. ..and about security mesures, just before switching to another directory, check if it (directory or file) can be read. User can always use |
Agreed, supporting crap like IE6 is stupid. So if jQuery will become standart in Webmin ui it will be really cool. |
I close acces to command shell for my users, so filemin is a good option for them :D |
If/When my theme becomes default (it's already in webmin package), it will be there anyway. Besides no one says you can't use jQuery yourself right now. .. I see but root user shouldn't have difficulties going anywhere he/she wants. |
Well, thanks for all your support! I am glad to see my project interested someone :) |
Alrglight, I will. Please update to the next version and I will do a bit after that point. |
generate_icon() gives "image not found". |
The page my (@wlinks, @wtitles, @wicons);
@wlinks = ( "edit_access.cgi", "edit_bind.cgi", "edit_log.cgi",
"edit_proxy.cgi", "edit_ui.cgi", "edit_mods.cgi",
"edit_os.cgi", "edit_lang.cgi", "edit_startpage.cgi",
"edit_upgrade.cgi", "edit_session.cgi", "edit_twofactor.cgi",
"edit_assignment.cgi",
"edit_categories.cgi", "edit_descs.cgi", "edit_themes.cgi",
"edit_referers.cgi", "edit_anon.cgi", "edit_lock.cgi",
"edit_mobile.cgi", "edit_blocked.cgi", "edit_status.cgi",
"edit_advanced.cgi", "edit_debug.cgi", "edit_web.cgi",
"edit_webmincron.cgi", );
@wtitles = ( $text{'access_title'}, $text{'bind_title'},
$text{'log_title'}, $text{'proxy_title'},
$text{'ui_title'}, $text{'mods_title'},
$text{'os_title'}, $text{'lang_title'},
$text{'startpage_title'}, $text{'upgrade_title'},
$text{'session_title'}, $text{'twofactor_title'},
$text{'assignment_title'},
$text{'categories_title'}, $text{'descs_title'},
$text{'themes_title'}, $text{'referers_title'},
$text{'anon_title'}, $text{'lock_title'},
$text{'mobile_title'}, $text{'blocked_title'},
$text{'status_title'}, $text{'advanced_title'},
$text{'debug_title'}, $text{'web_title'},
$text{'webmincron_title'}, );
@wicons = ( "images/access.gif", "images/bind.gif", "images/log.gif",
"images/proxy.gif", "images/ui.gif", "images/mods.gif",
"images/os.gif", "images/lang.gif", "images/startpage.gif",
"images/upgrade.gif", "images/session.gif", "images/twofactor.gif",
"images/assignment.gif", "images/categories.gif",
"images/descs.gif", "images/themes.gif", "images/referers.gif",
"images/anon.gif", "images/lock.gif", "images/mobile.gif",
"images/blocked.gif", "images/status.gif",
"images/advanced.gif", "images/debug.gif", "images/web.gif",
"images/webmincron.gif", );
push(@wlinks, "edit_ssl.cgi", "edit_ca.cgi");
push(@wtitles, $text{'ssl_title'}, $text{'ca_title'});
push(@wicons, "images/ssl.gif", "images/ca.gif");
&icons_table(\@wlinks, \@wtitles, \@wicons); |
No images any way. They all are replaced with |
Ahh. ok! Then you're doing everything right! Put icons please to |
Icons are now in my modules |
Remove |
Any luck!? |
Sorry I'm on another computer and cannot check things right now, I think I will continue tomorrow. |
With output? Could you explain! |
You mean that you don't see it printing but only final result? |
yes |
Will try fixing it |
You can disable spinner using settings. Or just double click it when it appears. I will fix it when you have more or the less stable version. |
OK, here it is |
By the way, about icons: in Authentic almos all icons are greyed, can it be switched off? Color of the icons is good for quick orientation on the page, with all of them greyed I feel lost. |
Yes. You can turn it off in settings using Looking at your filemanager in a bit. |
I've installed the newer version. A lot improved since the first one and i really think it is a huge improvement compared to the java filemanager.
I will make some time this afternoon to check it out some more and place these, and possible other, issues in the issue section on your filemin repo. Thanks for all the hard work you guys are doing! |
Rolled out some changes: |
i.e: When logged in as root. example.jpg will be uploaded to home directory of root. |
Can not reproduce, maybe fixed already. Can you, please, retest with v0.8.3? |
tested again.. seems ok now. |
Hi, nice bugfixes in the latest release :) |
Ahh.. Ok. New features, new conflicts. I have updated the code and re-uploaded it. Just reinstall the theme and it will work. Clear cache to be sure. You can re-enable the spinner. We have conflicting colors on rows select. I use class I couldn't reproduce loss of current settings. Everything is stored on my side. |
OK, thanks. |
As of Chrome v42 java is disabled and will be removed from future use in Google Chrome Browser.
At this point it is possible to walkaround this problem using the NPAPI.
However,.. This option will be removed by Google Chrome aswell around september 2015 (maybe sooner) which will result in a non-functioning file-browser in Google Chrome.
Will there be a solution created in this theme? Or should this be adressed to the Webmin/Virtualmin developers?
The text was updated successfully, but these errors were encountered: