[gallery/gallery3] 81c4e8: Fix how ORM sets object name, object plural name, ...

GitHub <noreply-9UaJU3cA/F/[email protected]> Sun, 21 Apr 2013 07:10:45 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <5173f365a17b6_45e3108de18990c4@hookshot-fe5-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: 81c4e8e5c13fd3cdc1ceef1a663a9061ec1538da
      https://github.com/gallery/gallery3/commit/81c4e8e5c13fd3cdc1ceef1a663a9061ec1538da
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-21 (Sun, 21 Apr 2013)

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

  Log Message:
  -----------
  Fix how ORM sets object name, object plural name, and table name.
- patch Kohana's ORM class to allow predefined object name
(see http://github.com/kohana/orm/pull/81).
- revise ORM::_initialize() override to set object name instead of table name.


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

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

  Log Message:
  -----------
  Use "model_relationship" event in ORM::_initialize() override to set relationships.


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

  Changed paths:
    M modules/gallery/classes/Gallery/Model/Item.php
    M modules/tag/classes/Tag/Hook/TagEvent.php
    M modules/tag/classes/Tag/Model/Tag.php

  Log Message:
  -----------
  Revise Item/Tag relationship to use "model_relationship" event.


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

  Changed paths:
    M modules/search/classes/Search/Hook/SearchEvent.php
    M modules/search/classes/Search/Hook/SearchTask.php
    M modules/search/classes/Search/Model/SearchRecord.php
    M modules/search/classes/Search/Search.php

  Log Message:
  -----------
  Revise search to use SearchRecord/Item model relationships.


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

  Changed paths:
    M modules/comment/classes/Comment/Hook/CommentEvent.php
    M modules/comment/classes/Comment/Hook/CommentInstaller.php
    M modules/comment/classes/Comment/Hook/CommentRss.php
    M modules/comment/classes/Comment/Hook/CommentTheme.php
    M modules/comment/classes/Comment/Hook/Rest/Comment.php
    M modules/comment/classes/Comment/Hook/Rest/ItemComments.php
    M modules/comment/classes/Comment/Model/Comment.php
    M modules/comment/views/admin/manage_comments_queue.html.php
    M modules/comment/views/comment/user_profile.html.php
    M modules/notification/classes/Notification/Notification.php
    M modules/notification/views/notification/comment_published.html.php

  Log Message:
  -----------
  Revise comment to use Comment/Item model relationships.


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

  Changed paths:
    M modules/gallery/classes/Gallery/Model/Log.php

  Log Message:
  -----------
  Revise Model_Log to overload get() instead of __get().


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

  Changed paths:
    M modules/user/classes/User/Hook/UserEvent.php
    M modules/user/classes/User/Model/Group.php
    M modules/user/classes/User/Model/User.php

  Log Message:
  -----------
  Revise User/Group relationship to use "model_relationship" event.


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

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

  Log Message:
  -----------
  Revise documentation comments in ORM::delete() override to use the "model_relationships" event.


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

  Changed paths:
    M modules/comment/classes/Comment/Hook/CommentEvent.php
    M modules/comment/classes/Comment/Hook/CommentInstaller.php
    M modules/comment/classes/Comment/Hook/CommentRss.php
    M modules/comment/classes/Comment/Hook/CommentTheme.php
    M modules/comment/classes/Comment/Hook/Rest/Comment.php
    M modules/comment/classes/Comment/Hook/Rest/ItemComments.php
    M modules/comment/classes/Comment/Model/Comment.php
    M modules/comment/views/admin/manage_comments_queue.html.php
    M modules/comment/views/comment/user_profile.html.php
    M modules/gallery/classes/Gallery/Model/Item.php
    M modules/gallery/classes/Gallery/Model/Log.php
    M modules/gallery/classes/Gallery/ORM.php
    M modules/notification/classes/Notification/Notification.php
    M modules/notification/views/notification/comment_published.html.php
    M modules/orm/classes/Kohana/ORM.php
    M modules/search/classes/Search/Hook/SearchEvent.php
    M modules/search/classes/Search/Hook/SearchTask.php
    M modules/search/classes/Search/Model/SearchRecord.php
    M modules/search/classes/Search/Search.php
    M modules/tag/classes/Tag/Hook/TagEvent.php
    M modules/tag/classes/Tag/Model/Tag.php
    M modules/user/classes/User/Hook/UserEvent.php
    M modules/user/classes/User/Model/Group.php
    M modules/user/classes/User/Model/User.php

  Log Message:
  -----------
  Merge pull request #303 from shadlaws/orm_search_comment_log

ORM, search, comment, log, user/group, tag/item


Compare: https://github.com/gallery/gallery3/compare/b49c26f53076...1cd98e7a4ce2

------------------------------------------------------------------------------
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 ]