Permalink
Commits on Jul 11, 2012
  1. New var to determin if ICEcoder is ready

    False to start, true on init
    Only consider resizing file manager width if it's true
    committed Jul 11, 2012
  2. Tweaks to getMouseXY & dragCursorTest

    Now passing through the area the function was triggered from
    If it's not the top strip, add on 40+50 px
    If it's the editor, add on the filesW value
    This gives us an XY position across the whole of ICEcoder
    Icon applied to top, content & filesFrame now
    committed Jul 11, 2012
  3. Detect mouse down, up & move plus test FM resize

    Setting up mouseDown value as bool on down & up events
    Mouse move now gets X & Y pos along with determining area event
    triggered in
    Also then determins if we can resize file manager width & show w-resize
    icon
    All of this applied to HTML tag so at hightest DOM level
    committed Jul 11, 2012
Commits on Jul 10, 2012
  1. GIF icon changed

    Given it's own icon, previously looked too much like JPEG icon
    committed Jul 10, 2012
  2. closeTab CM 2.3 fix & new params

    Fix to closing tabs as now using CodeMirror 2.3
    oldName & newName params passed to renameFile
    This is used by the replace in filenames function, but can also be API
    updateFileManagerList now has new param
    This again is so it can be used by find/replace, passed from
    file-control.php
    committed Jul 10, 2012
  3. Multiple results working with find in filenames

    Title outside of results DIV, which is now the scrollable container
    Rename all/replace all button wording
    Handling both cases now, find & documents and filenames
    The latter works by scanning IDs and building up array
    Find in filenames also handles selected filenames as well as all
    filenames
    Can rename singularly, rename all or click link to open file
    committed Jul 10, 2012
Commits on Jul 9, 2012
  1. Now passing back oldFileName to updateFileManager

    Allows for API calls now not using rightClickedFile
    committed Jul 9, 2012
  2. Style improvements & removing plural

    Darker password box plus no border now
    Darker login button
    No longer want plurals DIV, class not needed
    Minor changes to find box height & adding margin-right
    Similar changes made to settings screen
    committed Jul 9, 2012
  3. No longer using plurals

    committed Jul 9, 2012
Commits on Jul 7, 2012
  1. Focus on password field and CSS DOM changes

    Now focuses on the password field if you're not logged in
    Width now set on the .CodeMirror class and not .CodeMirror-scroll
    Removed visible & hidden classes so no need to update this
    Hiding & showing instances happens in better way now with CodeMirror 2.3
    (So no longer applying theme + hidden/visible to theme)
    (Instead changing display none/block on wrapper and applying theme with
    setOption only)
    committed Jul 7, 2012
  2. CSS changes to work with new DOM

    CodeMirror 2.3 has new DOM, so now setting width on .CodeMirror class
    No longer need visible and hidden classes
    committed Jul 7, 2012
  3. Title tooltip to show path

    Hover mouse over files & folders to see path from root
    committed Jul 7, 2012
  4. Width now set on .CodeMirror class & new theme

    New CodeMirror 2.3 structure means you have to set width on .CodeMirror
    class
    .CodeMirror-scroll is for height now only, this is because it's a fake
    scroller
    New theme added - Vibrant Ink
    committed Jul 7, 2012
  5. Upgrade to CodeMirror 2.3

    Has reworked DOM for better scrolling of big docs
    However, this includes changes to how scrolling is handled
    (So need to work with new DOM instead)
    committed Jul 7, 2012
  6. Removed CodeMirror 2.25, using 2.3 now

    Upgrade to CodeMirror 2.3
    committed Jul 7, 2012
Commits on Jul 5, 2012
  1. CSS structure display changes & find in files QS

    No longer using open & closed classes (italic text on open dirs)
    This is because we have new icon to show open dirs
    Reworked code to handle new UL & LI structure
    Target querystring passed through if we're finding in files or filenames
    committed Jul 5, 2012
  2. open & closed classes now removed

    No longer want italic on open dirs, we have icon to indicate this
    committed Jul 5, 2012
  3. 2nd dir icon, refresh icon fixed position, UL fix

    PNG image now has 2nd state for open dirs
    .refresh class is now fixed position to always be visible
    UL has margin-left set also to resolve CSS issues
    New dirOpen:before pseudo class to show open dir icon
    All other icon X position refs moved along 16px
    committed Jul 5, 2012
  4. Completely rewritten dir tree generator

    Previous dir tree was working via the usual recursive method of scandir
    The code was problematic as it was creating 3 dir trees and had an
    incorrect UL structure
    This now works in a completely different way, using PHPs inbuilt
    iterators
    Performance results are visibly noticable as file manager loads much
    quicker
    Tests show around a 100% increase in efficiency on servers with 1000's
    of files & folders
    There is also much less code, less repitition and it's much cleaner to
    work with
    The incorrect UL & LI structure has now been fixed and is valid
    Loads of junk and redundant code removed also
    committed Jul 5, 2012
Commits on Jul 1, 2012
  1. Fix to saving previousFiles & last10Files

    Only saves files now if there are some (ie !="CLEAR")
    committed Jul 1, 2012
  2. Fixed previousFiles, settingsScreen & visibleTabs

    Comma added before next file ref in previousFiles array string
    settingsScreen now determins if it's being hidden or not
    (used by update button)
    Showing & hiding tabs now works again in useNewSettings function
    committed Jul 1, 2012
  3. CSS comment & simpler DOM targeting

    Added comment on moving 3rd CSS class
    showHideTabs now working again and simpler too
    committed Jul 1, 2012
  4. Wrong comment syntax & new file undefined issue

    Used // instead of /* */ in CSS, caused .cm-tab:after to be a missing
    class
    Simplified conditional inserting of tab arrow in PHP
    Only checking indexOf .js, .css and .less if there is a fileName
    committed Jul 1, 2012
  5. Commit again, no changes

    committed Jul 1, 2012
Commits on Jun 27, 2012
  1. message, ask & getInput functions

    alert calls now routed to message function
    confirm calls now routed to ask function
    prompt calls now routed to getInput function
    This is so you can replace how these are handled if you wish
    (Useful if you want to get away from browser chrome & UA dialogs)
    committed Jun 27, 2012
  2. New perms param & chmod function

    updateFileManagerList now takes a perms param
    This is used when action=="chmod"
    The target element is established and the new perm set in the span
    New chmod function to receive file & new permission
    This then adds to the server queue and server message
    committed Jun 27, 2012
  3. Perms value format change & perms span has ID

    3 chars for perm now, ie 705, rather than 0705
    Spans to contain the perm value now have an ID
    This is so they can be updated after we chmod
    committed Jun 27, 2012
  4. Dir size, chmod, perms update, hiding info

    Return false on context menu
    Show dir size if it's a dir
    Hiding read/write info and absolute path if not logged in
    Clarified by renaming relative path & absolute path
    Permisions table to show checkboxes according to value
    Input field & checkboxes linked, perm value established on changing
    value
    Simple validation carried out before you can submit
    Submit calls the chmod function which starts the process of change
    committed Jun 27, 2012
  5. Permissions function added

    New function to change permissions on request
    Takes permission & applies top file/folder
    Then updates file manager tree and server message
    If it can't be changed, provide alert message
    committed Jun 27, 2012