1. 25 May, 2019 1 commit
  2. 23 May, 2019 1 commit
  3. 21 May, 2019 3 commits
    • Jamie Carl's avatar
      Added Hazaar\Map::getArray() · ca698a9c
      Jamie Carl authored
      This is basically a shorthand method for get() and toArray() IF the child is another Map.
    • Jamie Carl's avatar
      Hazaar\Date: Updated fuzzy() method with new fuzziness · 9c791651
      Jamie Carl authored
      * Added a day threshold.  Intervals after this many days will be returned as full date including time if precise in enabled.
      * Added "last weekday" messages.  Anything within the last 7 days will say something like "last wednesday".  Anything 7 days and over will be something like "10 days ago".
      * Added precise mode to "yesterday".  This was always showing the time.  Now precise mode is more consistent.
    • Jamie Carl's avatar
      Helpers: ag() now supports \DateTime objects · 0718632b
      Jamie Carl authored
      This includes the \Hazaar\Date class which extends \DateTime.
  4. 15 May, 2019 3 commits
  5. 14 May, 2019 3 commits
  6. 13 May, 2019 3 commits
  7. 08 May, 2019 2 commits
  8. 01 May, 2019 3 commits
    • Jamie Carl's avatar
      Added metadata support to directories · 98b77963
      Jamie Carl authored
      Why not, ay?
    • Jamie Carl's avatar
      Fixed minor issue with root on Windows hosts · 174ac7c6
      Jamie Carl authored
      Occasionally if we use a the default root path (ie: /) on windows then it gets confused because we are trying to get the root from the physical disk path.  Windows is an asshole and uses backslash here so we convert backslashes to forward slashes to fix this.
    • Jamie Carl's avatar
      Helper: array_collate support for key re-indexing · 909d5c10
      Jamie Carl authored
      Key re-indexing is where, instead of collating by 2 array elements by key, we use one element as the key, and then the original array as the value.  This allows use to re-index a numeric array and convert it into a associative array.  We may want to do this if we have a numeric array filled with database table rows, for example, and we want to pull out the row ID and use that as the array index.
  9. 24 Apr, 2019 1 commit
  10. 16 Apr, 2019 2 commits
  11. 13 Apr, 2019 2 commits
  12. 01 Apr, 2019 3 commits
  13. 26 Mar, 2019 1 commit
  14. 22 Mar, 2019 1 commit
    • Jamie Carl's avatar
      Cron: Fixed next occurrence calc · bfec045c
      Jamie Carl authored
      Timestamps don't contain seconds so they are ignored in the calculations.  Meaning that for a full minute, the next occurrence can be incorrect.  So when we get the timestamp object internally we now  bump the minute up by one so that it really is the "next" occurrence.  
  15. 21 Mar, 2019 3 commits
  16. 20 Mar, 2019 1 commit
  17. 15 Mar, 2019 1 commit
  18. 14 Mar, 2019 1 commit
  19. 13 Mar, 2019 1 commit
  20. 07 Mar, 2019 2 commits
    • Jamie Carl's avatar
      Fixed set default on class as non-array · a2fb6e02
      Jamie Carl authored
      There is code out there that is setting a default value on an object definition.  For example, the field is of type Hazaar\Date and the default is an integer in epoch.  We now check if the default value is intended for an object but is a non-array and turn it into an array so that it is handled as an arg array.
    • Jamie Carl's avatar
      Added static method to get the app root. · 3853726c
      Jamie Carl authored
  21. 06 Mar, 2019 2 commits
    • Jamie Carl's avatar
      Added support for boolean defaults to strict models · 8b1d4f6e
      Jamie Carl authored
      fixes #165
      This allows a default to be set to TRUE for a field that is of a type of class/object.  Setting TRUE will create an empty object.  Alternatively an array may now also be set as the default value.  Previously this would be sent as the first argument of the class constructor call, which worked fine for strict models but not much else.  Now, if the defined class is extends Model\Strict this behavior is maintained, but if not the array is used as an argument list when creating the new object.  This allows other object types to be created as default values in a more efficient manner.
    • Jamie Carl's avatar