[gallery/gallery3] 45dbce: Move Hook_Rest_Item --> Controller_Rest_Item.

GitHub <noreply-9UaJU3cA/F/[email protected]> Tue, 11 Jun 2013 08:26:42 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <51b741b2229ab_3f3b7c9de076980@hookshot-fe4-pe1-prd.aws.github.net.mail>
----==_mimepart_51b741b220cf1_3f3b7c9de076793
Date: Tue, 11 Jun 2013 08:26:42 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <51b741b22202a_3f3b7c9de0768f4-P8FJ25gi/wgiTvQdHE1nICqyDsTP4bNorxkAB0y/[email protected]>

  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: 45dbce22ee4d2a3a3057c38224f98c151077536c
      https://github.com/gallery/gallery3/commit/45dbce22ee4d2a3a3057c38224f98c151077536c
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    A modules/gallery/classes/Controller/Rest/Item.php
    A modules/gallery/classes/Gallery/Controller/Rest/Item.php
    R modules/gallery/classes/Gallery/Hook/Rest/Item.php
    R modules/gallery/classes/Hook/Rest/Item.php

  Log Message:
  -----------
  Move Hook_Rest_Item --> Controller_Rest_Item.

--HG--
rename : modules/gallery/classes/Hook/Rest/Item.php => modules/gallery/classes/Controller/Rest/Item.php
rename : modules/gallery/classes/Gallery/Hook/Rest/Item.php => modules/gallery/classes/Gallery/Controller/Rest/Item.php


  Commit: e5f4193ecede82c865b4f816b4aca03f34489e49
      https://github.com/gallery/gallery3/commit/e5f4193ecede82c865b4f816b4aca03f34489e49
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M modules/gallery/classes/Controller/Rest/Item.php
    M modules/gallery/classes/Gallery/Controller/Rest/Item.php

  Log Message:
  -----------
  Fix class declarations for recently renamed files.


  Commit: 1c18422ac2420e668ef54a27238f8ec6379bf341
      https://github.com/gallery/gallery3/commit/1c18422ac2420e668ef54a27238f8ec6379bf341
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Controller/Rest/Item.php

  Log Message:
  -----------
  Trim Controller_Rest_Item::url() and resolve() functions.


  Commit: 986fa3f52a46d1df69ef29e17c6b0f76b70f9a0a
      https://github.com/gallery/gallery3/commit/986fa3f52a46d1df69ef29e17c6b0f76b70f9a0a
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Rest.php

  Log Message:
  -----------
  Make Rest::get_resource() filter entity using "fields" parameter (if specified).


  Commit: 7b8e4ddd1edd6ce77a64271cd8d46c820de787f2
      https://github.com/gallery/gallery3/commit/7b8e4ddd1edd6ce77a64271cd8d46c820de787f2
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Controller/Rest.php

  Log Message:
  -----------
  Set REST type and id in Controller_Rest::before() so they can be altered later.
This is useful, for example, for getting a random item.


  Commit: 8cb2d059ea95caf378191e6b217e82c45c2faff5
      https://github.com/gallery/gallery3/commit/8cb2d059ea95caf378191e6b217e82c45c2faff5
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Controller/Rest.php
    M modules/rest/classes/Rest/Rest.php

  Log Message:
  -----------
  Debug Controller_Rest and Rest a bit.


  Commit: 2766eca515891a7b05fb980df3fa397adfdbb606
      https://github.com/gallery/gallery3/commit/2766eca515891a7b05fb980df3fa397adfdbb606
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Controller/Rest.php

  Log Message:
  -----------
  Make Controller_Rest::$default_params static.


  Commit: 234be2d86a58442f3196ceeb89d69d8593eeefa8
      https://github.com/gallery/gallery3/commit/234be2d86a58442f3196ceeb89d69d8593eeefa8
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Rest.php

  Log Message:
  -----------
  Split up how Rest::entity() and members() function are called - make separate
functions for GET, PUT, POST, and DELETE.  Among other things, this makes it
easier to describe how PUT/POST relationships work.


  Commit: db2cda9a055abc7a7e2c173981acb432faed6fff
      https://github.com/gallery/gallery3/commit/db2cda9a055abc7a7e2c173981acb432faed6fff
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Rest.php

  Log Message:
  -----------
  Debug relationships in Rest::get_resource().


  Commit: 8187e700e1ce9f6b7137e5a758c600588befbe85
      https://github.com/gallery/gallery3/commit/8187e700e1ce9f6b7137e5a758c600588befbe85
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Controller/Rest.php

  Log Message:
  -----------
  Add Controller_Rest::action_put(), action_post(), and action_delete() to handle
the typical actions for a REST resource.


  Commit: 803e53b413813fa2b1219fa7f5a612c64830031b
      https://github.com/gallery/gallery3/commit/803e53b413813fa2b1219fa7f5a612c64830031b
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Controller/Rest.php

  Log Message:
  -----------
  Revise how Controller_Rest checks for undefined actions.


  Commit: 843069e0ec3f3180a419043ba56cb1e1a4f93efb
      https://github.com/gallery/gallery3/commit/843069e0ec3f3180a419043ba56cb1e1a4f93efb
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/rest/classes/Rest/Controller/Rest.php

  Log Message:
  -----------
  Fix method capitalization in Controller_Rest::before().


  Commit: f936bf0547397f84cb99a8bfc53f2f850f0d5fff
      https://github.com/gallery/gallery3/commit/f936bf0547397f84cb99a8bfc53f2f850f0d5fff
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Controller/Rest/Item.php
    M modules/gallery/classes/Gallery/Model/Item.php

  Log Message:
  -----------
  Complete rewrite of Controller_Rest_Item.
- fully implemented.
- mostly, but not entirely, tested (manually).
- Model_Item::as_restful_array() logic moved to Controller_Rest_Item.


  Commit: bcbe353612bd4a02fd631cf01c008d3c484aceb5
      https://github.com/gallery/gallery3/commit/bcbe353612bd4a02fd631cf01c008d3c484aceb5
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M modules/gallery/tests/Data_Rest_Test.php
    M modules/gallery/tests/Item_Model_Test.php
    M modules/gallery/tests/Item_Rest_Test.php
    M modules/gallery/tests/Items_Rest_Test.php
    M modules/tag/tests/Tag_Item_Rest_Test.php
    M modules/tag/tests/Tag_Rest_Test.php
    M modules/tag/tests/Tags_Rest_Test.php

  Log Message:
  -----------
  Mark REST-related unit tests as incomplete.


  Commit: a1a678eb7ecc8217f8b292a97508bfab9ae41f60
      https://github.com/gallery/gallery3/commit/a1a678eb7ecc8217f8b292a97508bfab9ae41f60
  Author: Shad Laws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    A modules/gallery/classes/Controller/Rest/Item.php
    A modules/gallery/classes/Gallery/Controller/Rest/Item.php
    R modules/gallery/classes/Gallery/Hook/Rest/Item.php
    M modules/gallery/classes/Gallery/Model/Item.php
    R modules/gallery/classes/Hook/Rest/Item.php
    M modules/gallery/tests/Data_Rest_Test.php
    M modules/gallery/tests/Item_Model_Test.php
    M modules/gallery/tests/Item_Rest_Test.php
    M modules/gallery/tests/Items_Rest_Test.php
    M modules/rest/classes/Rest/Controller/Rest.php
    M modules/rest/classes/Rest/Rest.php
    M modules/tag/tests/Tag_Item_Rest_Test.php
    M modules/tag/tests/Tag_Rest_Test.php
    M modules/tag/tests/Tags_Rest_Test.php

  Log Message:
  -----------
  Merge pull request #391 from shadlaws/fixes_20130610_2

Fixes 20130610 2


Compare: https://github.com/gallery/gallery3/compare/16400adbbb47...a1a678eb7ecc

----==_mimepart_51b741b220cf1_3f3b7c9de076793
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
----==_mimepart_51b741b220cf1_3f3b7c9de076793
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

__[ 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 ]
----==_mimepart_51b741b220cf1_3f3b7c9de076793--