Hello community,
I've just released Ajaxfilemanager_XH 1beta2. You can download it from my
website.
Ajaxfilemanager_XH is a replacement for the default filemanager of CMSimple_XH. It facilitates the management of files and sub-folders in the configured images, downloads, media and userfiles folders. You can rename, copy, move and delete sub-folders and files, create new sub-folders, and upload, download and preview files. Even editing of text files and images is integrated.
From CMSimple_XH 1.5 on Ajaxfilemanager_XH can be used from the internal editor to insert download links, images and media.
Ajaxfilemanager_XH couldn't be tested so far in various environments. It is a so called BETA version. Use with caution!
From the changelog:
cmb updated to jQuery 1.7.1
cmb implemented fullscreen mode for standalone filemanager (default is configurable)
cmb switched from thickbox to colorbox
cmb fixed erroneous ajax JSON returns
cmb changed the mode menu of the image editor (inspired by svasti)
cmb remove confirmation for closing image editor, if image is already saved (suggested by svasti)
cmb fixed save as in image editor (reported by svasti)
cmb added config for pagination limit (suggested by svasti)
cmb changed indexes of session variable for compatibility with register_globals
cmb added czech translation (contributed by oldnema)
cmb made several minor improvements
cmb extended copyright to 2012
cmb updated manual accordingly
cmb cleaned up some code
Some remarks are in place: despite the fact that PHPLetter released a security fix in November 2011 (which I haven't integrated, as there were 2 fixes, one not related to CMSimple and the other already fixed for Ajaxfilemanager_XH 1beta1), I'm quite convinced now, that the project was virtually abadoned long (probably 4 years) ago. I've already explained the problems I had with several rather old components used by Ajax File Manager. So I had basically two choices: either abandon Ajaxfilemanager_XH or updating the old components and fixing the resulting problems in Ajax File Manager by myself. Due to the incredible number of petitions to improve Ajaxfilemanager_XH (actually 2 by svasti), I've chosen the latter. The current version reflects only the first step. I've only made minor improvements, because the updates and related fixes took already quite some time. So,
if 1beta1 is working fine for you, there's no need to update to 1beta2. In the next days and weeks (and probably months) I will try to add further improvements (several TODOs are already included in the changelog). The hardest part will probably be getting acquainted to a relatively large codebase written by somebody else. The actual improvements might be not too much work, as I found out while studying the code, that Logan Cai had already some nice additions in mind, and had prepared some code accordingly.
@Frank: I have fixed some of the issues you've reported ("Save As" is working now; no confirmation on closing the window, if the changes were already saved; improved modes menu; added the 2 config options). Some of the issues are gone, or at least I wasn't able to reproduce them after my changes (rotating works as expected; and BTW: Undo saves automatically, so the save button is disabled afterwards). And I postponed the other suggestions: copying to the same folder still is not possible (workaround: create a temp folder, copy to this, rename the files and copy back); no sharpening of the images on resize, as this will be possible only with PHP > 5.1 and might better be introduced as a separate functionality; and I didn't implement an automatic refresh as it seems, that its necessity depends somewhat on the browser, and pressing F5 might serve as viable workaround (at least for now).
Any further feedback is welcome.
Christoph