trippo / responsivefilemanager Goto Github PK
View Code? Open in Web Editor NEWCompletely Responsive Filemanager with integration for tinyMCE,CKEditor and CLEditor editor
Home Page: http://responsivefilemanager.com
License: Other
Completely Responsive Filemanager with integration for tinyMCE,CKEditor and CLEditor editor
Home Page: http://responsivefilemanager.com
License: Other
I do not have the icon for inserting files in tinyMCE ?
$('.mceEditor').tinymce({
// Location of TinyMCE script
script_url : 'tinymce/tinymce.min.js',
theme: "modern",
relative_urls : false,
entity_encoding : "raw",
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table contextmenu paste textcolor template insertfile
],
toolbar1: 'bold italic underline strikethrough | alignleft aligncenter alignright alignjustify
| formatselect | forecolor backcolor',
toolbar2: 'cut copy paste | searchreplace | bullist numlist | outdent indent blockquote |
undo redo | insertfile image media | link unlink anchor | code | preview',
toolbar3: 'table | hr removeformat | fullscreen | visualblocks | inserttime',
menubar: false,
toolbar_items_size: 'small',
image_advtab: true ,
external_filemanager_path: 'filemanager/',
filemanager_title:"Responsive Filemanager" ,
external_plugins: {
"filemanager" : 'filemanager/plugin.min.js'
},
schema: "html5",
end_container_on_empty_block: false
});
ResponsiveFilemanager do not support utf-8 filename & foldername.
I noticed "spritemap_hu_HU.png" and "spritemap @ 2x_hu_HU.png" files inside "img" directory but apparently they are not connected to the hungarian language, because "spritemap.png" in hard-coded in dopzone.css.
A possible solution is to create css files for different languages to overwrite background images containing texts. Also I don't know the font name used in spritemap.png, maybe it supports english only...
[Wed Aug 07 13:20:55 2013] [error] PHP Parse error: syntax error, unexpected '}' in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\upload.php on line 25
Just remove the } and all will be good
Hi,
I have some problems with buttons in filemanager, dialog is showing up but buttons like upload, create folder, filters, didnt work. Only download item button is working.
Image inside upload folder are showing up, but cant do it anything, perms:775.
Do you know whats wrong?
In IE 9/10 when hovering over an image description in listview the text collapse above the box view.
I tried to find a fix but couldn't find it that quickly
At least it is in this part
.no-touch .cs-style-2 figure:hover .box:not(.no-effect),
.cs-style-2 figure.cs-hover .box:not(.no-effect) {
-webkit-box-shadow: 0px 0px 4px 0px rgba(1, 1, 1, 0.5);
box-shadow: 0px 0px 4px 0px rgba(1, 1, 1, 0.5);
-webkit-transform: translateY(-26px);
-moz-transform: translateY(-26px);
-ms-transform: translateY(-26px);
transform: translateY(-26px);
}
In IE (10,9) when click on select image - oke the following error occurs
SCRIPT5009: RegExp is is not defined
jquery.1.9.1.min.js, regel 4 teken 6328
Hello, first thank you for the cute file manager, we made a donation to you with a great pleasure 👍
But we have this problem, when I open the filemanager and start uploading files, my colleague can not upload.. is it possible for the filemanager to work with parallel sessions? Or the problem may be somewhere else. All the file permissions are set to 777.
Thanks
Seems like there are some xss vulnerabilities..
filemanager/dialog.php?popup="><img%20src="http://www.thiscovers.com/covers-images/download/happy-coding-quote.jpg
shows a nice image... ;-)
I think there are some more variables which should be sanitized before printet to the browser.
First, sory for my bad English.
I want to integrate this Responsive file manager into my application. Where I can change upload URL?
Thanks
Hi there people.
I'm planning to add new functionalities to this great file manager.
Next update:
Might push out:
Distant future:
Done:
If you have any more idea or you think something is missing from RF just post a comment here and will try to include it.
Hello thank you for your awesome work. I have successfully installed the filemanager but the upload and the creation of a new folder doesn't work.
I've tried to investigate and creating manualy a new file is working a putting manualy files in folders is working too. but for example when I'm trying to rename a folder I ot this : The folder is already existing.
I i've checked the XHR and for the create folder action i got this : ../../../thumbs/hello cannot be found.
but everything I put manualy in the folder is seen by the filemanager.
I go the same issue with absolute path in the config file and i've setted 755 permission to my folders.
What can I do ? thank you.
il plugin viene caricato senza problemi, ma quando effettuo il click mi da pagina non trovata.
cerca il plugin nella path:
http://www.sito.it/filemanager/dialog.php?type=1&editor=descrizione_jp&lang=it
ma il plugin è in
http://www.sito.it/admin/common/personale/filemanager/dialog.php?type=1&editor=descrizione_jp&lang=it
in più il nome della textarea dove clicco è descrizione_it, lui prende descrizione_jp
Would be great if language for example could be taken from tinyMCE configuration :)
Same could be made for folders configuration, because most time you have access in init to your app config, but passing it to another file cannot be made easily..
I am new to this and really like it at first glance, but when trying to upload for the first time I did not know what to do next after adding a file to the drop zone. After just waiting for while (trying to figure out what to do next), a green icon appeared over the file, so it seemed there was something happening in the background one just don't see. I'd suggest to add some text there or something to make this more clear.
The tooltips on the most left images are not readable (like download)
Perhaps an z-index or possible to autoadjust the tooltips left or right align
By the way I didn't say it before but this is a great job you did.
Hi
I did a setup the ResponsiveFilemanager into my webserver located http://filesystem.fuzonmedia.com/ResponsiveFilemanager-master/filemanager/dialog.php .
The upload features is working fine for file size less than 2mb but not more than 2mb those it is showing a green check after upload . I am using basic upload method . I did not altered the $MaxSizeUpload=100; //Mb variable value .
Can you please guide me why it is not working for me ? any idea ?
Thanks
Nil
a lot of notices in php. Perhaps set with an isset ?
[Wed Aug 07 13:15:47 2013] [error] PHP Notice: Undefined index: view in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 156
[Wed Aug 07 13:15:59 2013] [error] PHP Notice: Undefined index: view in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 156
[Wed Aug 07 13:17:40 2013] [error] PHP Notice: Undefined index: fldr in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 155
[Wed Aug 07 13:17:40 2013] [error] PHP Notice: Undefined index: view in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 156
[Wed Aug 07 13:18:31 2013] [error] PHP Notice: Undefined index: fldr in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 155
[Wed Aug 07 13:18:31 2013] [error] PHP Notice: Undefined index: view in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 156
[Wed Aug 07 13:20:49 2013] [error] PHP Notice: Undefined index: fldr in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 155
[Wed Aug 07 13:20:49 2013] [error] PHP Notice: Undefined index: view in D:\Apache\htdocs\tiny\tinymce\plugins\filemanager\dialog.php on line 156
can be used with ckeditor?
Hey,
it seems the filemanager/upload.php script doesn't check allowed_extensions properly.
The following php scripts can successfully uploaded:
//---SNIP
$info=pathinfo($_FILES['file']['name']);
if(in_array(fix_strtolower($info['extension']), $ext)){
$tempFile = $_FILES['file']['tmp_name'];
//---SNIP
It seems pathinfo retrieves only the last extension of given filename.
dialog.php, line 615:
rename_file($file_path,fix_filename($filename,$transliteration));
there is a paramter missing according to include/utils.php
don't know what impact this has, just what my IDE says..
Click on delete file (tested with IE)
SCRIPT5007: Object expected
include.js, regel 277 teken 6
window[function_name] (container,name);
First, thanks You for write awesome TinyMCE extension!
I have some questions about this:
I try integrate You plugin into Symfony2 application with but this is no possible in current version:
file: tinyMCE.baseURL + '/plugins/filemanager/dialog.php?type=' + types + '&editor=' + editor.id + '&lang=' +
we should option to change plugin directory - in my situation i dont have plugins in TinyMce plugin directory.
Hi, if I create a folder in filemanager "my folder" it creates a folder "My Folder" and a subfolder "my".
I had the problem several times, each time I have to delete the subfolder.
Aurelien
Creat a new dir goes wrong.
When creating for example a dir 'test' then in the root of the filemanager dir I get this output
dapachehtdocstinyuploadstest as a map name instead in my upload dir upload/test
Setup: RFM 8.01
TinyMCE 4.0b3
Scenario: User clicks on the "image" button (created by the standard TinyMCE image plugin), and attempts to select the image using ResponsiveFileManager:
The file manager opens correctly, but attempting to select any of the images does nothing, but instead results in an uncaught typeexception in file include.js
Hello, are you planning to add file operations like copy, move, rename etc. This will bring ResponsiveManager to the next, full featured file manager level.
Actually, we're looking file manager for our CMS and I possible can contribute JS part of this operations. Can you estimate the complexity of this task?
Still some small hover problems in IE 9 and 10
When hovering over a filename in dialog.php the div class="box"-h4-a at's a few pixels at the bottom of this div. (some flickering)
When removing ,:after,*:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} this is solved but I know this is used by bootstrap
With version 9.3.4, it shows message "The uploaded file exceeds the max size allowed" only after I add codes :
if ( * 1024 * 1024 < file.size){
done("");
}
else if ($.inArray(extension, allowed_ext) > -1) {
done();
}
to dialog.php
I'm wondering if it's a bug or I'm not using it properly
include.js
var target = window_parent.document.getElementsByClassName('mce-img_'+track);
var alt = window_parent.document.getElementsByClassName('mce-alt_img_'+track);
getElementsByClassName IE 7 and 8 are not supported
Some info and or solutions here http://stackoverflow.com/questions/9568969/getelementsbyclassname-ie8-object-doesnt-support-this-property-or-method
after upgrade to 7.1.1 i've this message. I've subfolder into $_SESSION["subfolder"]
The path is not writable. Please check your permissions.
i've tried to make an echo, and directory is ok.
echo $root . $cur_dir;
I did it according to the instruction,but when i click upload file button,it can't work.It just download dialog.php.Can you help me?
I renamed an image in your site demo of ResponsiveFilemanager to a name with a space in ite's name like 'your awesome'. it renamed but when i click on it to preview, it do not open.
Hello,
I'm having some issues getting the images to save to the drive, I wonder if I am doing something wrong or there is a way to debug this?
The plugin sits here: /public_html/cms/app/webroot/js/tinymce/plugins/filemanager
I'm trying to set it up so the uploads go here: /public_html/cms/app/webroot/files/cms
I have these settings in the config file:
$base_url="http://domain.com/cms/"; // base url of site. If you prefer relative urls leave empty
$upload_dir = 'app/webroot/files/cms/'; // path from base_url to base of upload folder
$current_path = '../../../files/cms/'; // relative path from filemanager folder to upload folder
Now when I started working this out I would get athe error for the plugin saying the root folder doesn't exist so I keep playing with the paths and now I don't get this error but I still cannot get it to upload the images, everything looks like it works, I get the preview as the image is uploading and a green tick once it's complete then I go back to the files list and the image isn't there. It's not on the server either. I'm wondering if there is a way to debug this and work out what's happening? The tumbs folder has the right permissions.
Thanks
uploading a config.php file into every possible upload directory is quite a headache. It makes more sense to be able to pass these config variables to dialog.php like we do with fldr (GET parameter).
the only temporary fix I can see for this is the utilis a session variable instead.
upload a big image like 3000x3000. Then no resize or error but still succesfull upload
This is a memory limit but I think at least it should give some warning like 'to big image' or error cross
When removing files or dir's in the upload dir for example with ftp it doesn't remove the files from the thums dir
Remember that you cannot make such a file name in windows same as .htaccess
These filenames can only be made on a non windows computer
Perhaps simple use config.php ?
If making a new folder 'test' file upload failed
Also it is better to do use the same function to make the dirs valid names (same function as the files)
example: 'test dir' should became 'test_dir'
Thanks For your great work.
I've tried to use ResponsiveFilemanager as filepicker browser, but i didn't get it.
i've no clue for this.
can you give help for this?
sorry for my bad english.
For example, in folder upload/2013, there are subfolder 01, 02, 03, ...10.
After choosing an image in subfolder 03, inserting it into the editor, we want to insert another image in this folder. It's more convenient if the there is a function that saves the last the link to the last chosen image. By that way, we can immediately choose another image in stead of going back to the folder 03 and repeating those actions.
And if we want to back to root folder, we simply click Home icon.
As like $hidden_folders variable in config file which will hide some folders, I think it is also important to disable deleting any folder we specify.
Example case is when we create subfolder named users/ contain multiuser folders. We want admin can access from root. But we have to make sure from accident deletion so users/ folder must be prevent for deletion.
After applying image(include.js line 463, sometimes it's not enough to just modify the value of certain field. How about add this line:
$( target).trigger( "change" );
So, we can catch the event from outside of the dialog and do more things. Or something like that, am pretty sure there's a better solution.
I can't know why of this thing. i've recorded it.
any ideas?
scrivo in italiano questa cosa così mi spiego meglio:
Ho notato una cosa che quell'errore non mi viene dato se non uso il $_SESSION["subfolder"].
quindi se entro da /admin/uploads/ tutto ok, quel messaggio non appare.
mentre se setto la sessione ed entro da /admin/uploads/p/1000/1/ mi da quell'errore. se creo una dir, inizia a funzionare
filemanager version: 7.3.0
permission: 777 on all folders/subfolders
owner: nobody
is a good idea to integrate jplayer to see prewiew of video/audio files!
When I click image to paste it in the editor, the URL is for some reason relative, like '../upload/images' . But on the server "upload" folder is in the root dir - the URL must be /upload/images/...
What might be the reason? I thought it might be the incorrect $current_path , but if I remove first "../", no images are displayed in File manager.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.