[gallery/gallery3] 2733e7: Typecast $lifetime to avoid issues when false in C...

GitHub <noreply-9UaJU3cA/F/[email protected]>
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <516496fed8763_576a72612c166d6@hookshot-fe6-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: 2733e7e9bc0eec2ed4ff6f8a218f6859cc654ea1
      https://github.com/gallery/gallery3/commit/2733e7e9bc0eec2ed4ff6f8a218f6859cc654ea1
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Cache/Database.php

  Log Message:
  -----------
  Typecast $lifetime to avoid issues when false in Cache_Database::set_with_tags().


  Commit: 092ff56d6b4ab666c778ffcb95687e0698b062bc
      https://github.com/gallery/gallery3/commit/092ff56d6b4ab666c778ffcb95687e0698b062bc
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/ORM/MPTT.php

  Log Message:
  -----------
  Revise how ORM_MPTT finds the model name
- move from __construct() to _initialize(), similar to ORM
- change $model_name --> $_model_name since it's private
- use class name instead of table name, similar to $_object_name.  This maintains
its capitalization (e.g. "Model_G2Map" --> "G2Map", not "g2map" or "g2_map")


  Commit: 3e7c5a77d98424b05c1ef55a839f9d63c58a4df3
      https://github.com/gallery/gallery3/commit/3e7c5a77d98424b05c1ef55a839f9d63c58a4df3
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Hook/GalleryBlock.php
    M modules/gallery/classes/Gallery/Hook/Rest/Item.php
    M modules/gallery/classes/Gallery/Item.php
    M modules/gallery/classes/Gallery/ORM.php
    M modules/gallery/classes/Gallery/ORM/MPTT.php

  Log Message:
  -----------
  Add ORM::merge_order_by() since order_by() no longer accept arrays.


  Commit: 85ac23d004eb36b8197192b1e8ad2e9825a5c877
      https://github.com/gallery/gallery3/commit/85ac23d004eb36b8197192b1e8ad2e9825a5c877
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/exif/classes/Exif/Hook/ExifTask.php
    M modules/gallery/classes/Gallery/Hook/GalleryBlock.php
    M modules/image_block/classes/ImageBlock/Hook/ImageBlockBlock.php
    M modules/search/classes/Search/Hook/SearchTask.php
    M modules/tag/classes/Tag/Hook/TagTask.php

  Log Message:
  -----------
  Change "->find_all($limit)" --> "->limit($limit)->find_all()".  Also, in
Hook_ImageBlockBlock, change "->find_all(1)->current()" to just "->find()"


  Commit: f9d8d02ef9b129eab93d295e9fe25f31f9a2b9ad
      https://github.com/gallery/gallery3/commit/f9d8d02ef9b129eab93d295e9fe25f31f9a2b9ad
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/comment/classes/Comment/Hook/CommentRss.php
    M modules/comment/classes/Comment/Hook/Rest/Comments.php
    M modules/gallery/classes/Gallery/Hook/GalleryRss.php
    M modules/gallery/classes/Gallery/Hook/GalleryTask.php
    M modules/gallery/classes/Gallery/ORM/MPTT.php
    M modules/tag/classes/Tag/Hook/Rest/Tags.php
    M modules/tag/classes/Tag/Model/Tag.php
    M modules/user/classes/User/Controller/Admin/Users.php

  Log Message:
  -----------
  Change "->find_all($limit, $offset)" --> "->limit($limit)->offset($offset)->find_all()".


  Commit: 88b6865f472b4203b9ef04d4b99e3310ecb960d2
      https://github.com/gallery/gallery3/commit/88b6865f472b4203b9ef04d4b99e3310ecb960d2
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/ORM/MPTT.php

  Log Message:
  -----------
  In ORM_MPTT, call find_all() only after constructing a new ORM model.


  Commit: e15d40459f1cd119880155ab1ffa67b7da4ffc3e
      https://github.com/gallery/gallery3/commit/e15d40459f1cd119880155ab1ffa67b7da4ffc3e
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M modules/comment/classes/Comment/Hook/CommentRss.php
    M modules/comment/classes/Comment/Hook/Rest/Comments.php
    M modules/exif/classes/Exif/Hook/ExifTask.php
    M modules/gallery/classes/Gallery/Cache/Database.php
    M modules/gallery/classes/Gallery/Hook/GalleryBlock.php
    M modules/gallery/classes/Gallery/Hook/GalleryRss.php
    M modules/gallery/classes/Gallery/Hook/GalleryTask.php
    M modules/gallery/classes/Gallery/Hook/Rest/Item.php
    M modules/gallery/classes/Gallery/Item.php
    M modules/gallery/classes/Gallery/ORM.php
    M modules/gallery/classes/Gallery/ORM/MPTT.php
    M modules/image_block/classes/ImageBlock/Hook/ImageBlockBlock.php
    M modules/search/classes/Search/Hook/SearchTask.php
    M modules/tag/classes/Tag/Hook/Rest/Tags.php
    M modules/tag/classes/Tag/Hook/TagTask.php
    M modules/tag/classes/Tag/Model/Tag.php
    M modules/user/classes/User/Controller/Admin/Users.php

  Log Message:
  -----------
  Merge pull request #281 from shadlaws/more_db_orm_fixes

More db orm fixes


Compare: https://github.com/gallery/gallery3/compare/8f4469a63fb8...e15d40459f1c

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.