1. 16 Jul, 2018 1 commit
  2. 15 Jul, 2018 2 commits
  3. 13 Jul, 2018 5 commits
  4. 11 Jul, 2018 2 commits
    • Jamie Carl's avatar
      Fixed unset() method · a21f5a1a
      Jamie Carl authored
      Stupid JS calling things 'number'.  Sheesh!
      a21f5a1a
    • Jamie Carl's avatar
      Fixed remove not working with int values · a6190aee
      Jamie Carl authored
      If the arg was an int, we assumed it was the index to remove, which was stupid.  Now I have split these functions out so that remove() will remove by value and the new unset() method will remove by index.
      a6190aee
  5. 10 Jul, 2018 1 commit
  6. 05 Jul, 2018 2 commits
    • Jamie Carl's avatar
      Fixed prefix slash on relative path · 965f3c22
      Jamie Carl authored
      We only need to add the slash if there is a relative path calculated.  If the file is actually IN the relative path, no slash is needed.
      965f3c22
    • Jamie Carl's avatar
      Enhacend File::relativepath() · 039fe752
      Jamie Carl authored
      The relativepath() method only went in one direction.  Meaning the relative path source had to be a parent directory of the directory containing the file.  Now we calculate the true relative path which will prefix the parent dir path (..) if the relative path needs to backtrack up the parent tree.
      039fe752
  7. 04 Jul, 2018 1 commit
    • Jamie Carl's avatar
      File: Added support for relative paths · 3356ed56
      Jamie Carl authored
      If a File is created in a Dir object, then a relative path is set and the File::relativepath() function will return the fullpath of the file, relative to that path.
      3356ed56
  8. 03 Jul, 2018 1 commit
  9. 02 Jul, 2018 3 commits
    • Jamie Carl's avatar
      Merge remote-tracking branch 'origin/master' · 288b1473
      Jamie Carl authored
      288b1473
    • Jamie Carl's avatar
      Fixed controller check in Basic controller · 4331a293
      Jamie Carl authored
      In the basic controller we checked if the requested controller is the controller we are in and if not, we make sure we always route to the __default() action.  This stops us from using actions on the default controller directly for controllers that don't exist and are being re-routed.  Previously we relied on the controller name format of  WhateverController.  This caused issues with the Hazaar console because it doesn't conform to that convention.  So I have come up with a better way of handling this.  Now the controller is initialised with the actual name of the controller.  The only thing this affected was the Controller::url() method, which now uses the request object's getControllerName() method to get the current requested controller.
      4331a293
    • Jamie Carl's avatar
      Minor tweaks to set app timezone. · edbc7f91
      Jamie Carl authored
      edbc7f91
  10. 29 Jun, 2018 7 commits
  11. 28 Jun, 2018 1 commit
  12. 27 Jun, 2018 11 commits
  13. 25 Jun, 2018 2 commits
    • Jamie Carl's avatar
      Cache control tweaks to cached images · 7b93d7f8
      Jamie Carl authored
      Enhanced the method used to cache.  Because we could possibly call multiple functions, we are unable to set the cache key in each function because a resize would not know about a filter call.  Now we just call checkCacheFile() before and give it some parameters to use as a unique ID, namely the request params, this is then used to generate the cache key.
      7b93d7f8
    • Jamie Carl's avatar
      GD: Added some image filters. · b9b4d552
      Jamie Carl authored
      b9b4d552
  14. 23 Jun, 2018 1 commit