Commits on Feb 27, 2013
  1. v2.0 beta

    committed Feb 27, 2013
Commits on Feb 26, 2013
  1. Boot users if not logged in

    committed Feb 26, 2013
  2. rename get-tree to get-branch

    committed Feb 26, 2013
  3. Upgrade to CodeMirror 3.1

    committed Feb 26, 2013
  4. Help screen wider, not as tall

    Due to adding extra shortcuts to Help screen, it needs to be bigger to
    accomodate this info
    committed Feb 26, 2013
  5. Add 8 tag wrapper shortcuts & 2 column format

    8 new tag wrapper shortcuts added and moving from 1 column to 2 because
    of this extra info
    committed Feb 26, 2013
  6. Pull classes out of .help class

    We have 2 div containers now, so just define key, plus and shortcut in
    committed Feb 26, 2013
  7. Removing branch & branchReload, this now default

    No need to work with the treeType of branch or branchReload, as
    reloading branches are now the default and only tree type
    committed Feb 26, 2013
  8. Don't look to nextSibling & open/close fix

    No need to set node to nextSibling again, only once is needed
    If condition is now else if and calling the get-tree.php script
    subsequent times and only if we're opening
    This means we fix the open/close dir problem and also reload the dir
    each time we open
    committed Feb 26, 2013
  9. Setting treeType is no longer an option

    Branch loading is now the default and only way to view a tree
    committed Feb 26, 2013
  10. No longer creating full trees

    Evolved to a branch loading system only, none of this needed anymore
    committed Feb 26, 2013
Commits on Feb 25, 2013
  1. Change of latest version URL, not JSON encoded

    Now calling /latest-version which is a tidier URL and also passing user
    version no to this
    This URL now tracks usage via Google Analytics, so I can begin to get an
    idea of which version nos users are on, geo data, overall usage etc
    No longer using json_encode as it's not JSON encoded, instead splitting
    on line breaks and grabbing first array value as the version no
    committed Feb 25, 2013
Commits on Feb 24, 2013
  1. openCloseDir changes onClick & gets dir branch

    Change onclick event by setting 2nd param to false so it doesn't reload
    Broke setting of node.nextSibling down into 2 new items, may revise this
    If we're due to load, pass that through to get-tree.php in the
    fileControl iFrame to begin the process
    committed Feb 24, 2013
  2. 4 x vars moved to get-tree.php

    Need to make use of these for branch injection too
    committed Feb 24, 2013
  3. Now working with branch loading!

    Only include settings file if we don't have ICEcoder settings available
    Need 4 x vars for fileCounts etc available here
    Contain tree within DIV which we can get the innerHTML of later for
    branch injection
    Need .$location when determining if a dir or not and also as part of the
    If it's a folder and we have a treeType of branch or branchReload, add
    true as the 2nd param, false otherwise
    If we have a location, we're branch injecting, so get the target DOM
    elem, create a new UL, set the style of it, remove whatever UL may be
    there before, take the DIV innerHTML with the UL and /UL tags chopped
    off, make it the innerHTML of our UL and finally inject into the DOM at
    the right position.
    committed Feb 24, 2013
  4. Keep root level out of get-tree.php

    This is so we can call get-tree.php and just get the UL list at a dir
    committed Feb 24, 2013
  5. Get a specific dir if treeType is a branch type

    Boot user out if not logged in
    If the treeType is branch or branchReload, scan the dir at the specific
    location, sort into dir and files arrays, nat case sort them and merge.
    This is then finalArray and can be used to create the UL list
    committed Feb 24, 2013
  6. Only create full tree if treeType is 'full'

    No need to do any of this if not, so wrapped in an if condition to
    exclude otherwise
    committed Feb 24, 2013
  7. treeType added as a setting

    root setting text input a bit smaller to allow for this new dropdown
    treeType dropdown added with 3 options for full, branch & branchReload
    committed Feb 24, 2013
  8. Move treeType setting

    Move nearer root setting, makes logical sense to be near each other,
    plus we only update settings down to tabWidth from settings screen,
    would be out of this updated section otherwise.
    committed Feb 24, 2013
  9. Move display of UL list into include file

    This is so we can use for other purposes shortly, such as different
    committed Feb 24, 2013
  10. Focus on editor in 4ms

    Wasn't focusing after switch, this solves the issue
    committed Feb 24, 2013
Commits on Feb 20, 2013
  1. fileManager() gone, new openCloseDir() function

    The fileManager function was only being called once onLoad of files.php
    This was really only adding onClick events and setting classNames and
    style.displays, no need to do this really with JS, merged into files.php
    as it's creating the tree
    openCloseDir function now available to deal with open & close of dirs
    This is less code, less JS to run on boot and paves the way towards
    multiple treeTypes
    committed Feb 20, 2013
  2. Merge onClick events & removing fileManager()

    Remove triggering fileManager() onLoad, this is the only place it's used
    Set the class, style and onClick events to replicate what that function
    was doing
    committed Feb 20, 2013
  3. treeType setting added

    committed Feb 20, 2013
  4. Replace URL special chars when folder sorting

    When sorting folders into order, special chars such as $, -, _ etc were
    causing sorting issues while other chars such as _ worked OK. This is
    all due to the char's ref in relation to a-z, 0-9 and A-Z chars in the
    char table. By replacing these URL special chars (defined in RFC 1738
    specification) with a \ (the only char not allowed in a file/folder
    name), we are levelling these chars out, so we can safely focus on
    alphanum sorting only.
    committed Feb 20, 2013
  5. Reinstate files.php only

    Stupid line breaks
    committed Feb 20, 2013
Commits on Feb 18, 2013
  1. Tag wrap on a tag cursor pos & other Esc = cancel

    Need to set cursor position to start line, not end
    Accidentally removed cancel shortcut
    committed Feb 18, 2013
Commits on Feb 17, 2013
  1. Reset fileInput and only act if we have file

    Reset fileInput back to an empty value after upload (success or fail)
    Only if value isn't empty action the upload
    committed Feb 17, 2013
  2. Remove the child on delete

    Instead of just hiding. So we can delete an item and create a new one of
    the name name at that dir location without issues.
    committed Feb 17, 2013
  3. Spelling fix - Folders

    committed Feb 17, 2013