[gallery/gallery3] caa6e8: Revise Controller_Rest to require an "entity" para...

GitHub <noreply-9UaJU3cA/F/[email protected]> Sat, 22 Jun 2013 03:30:20 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <51c57cbc3bfb7_10727d9de413186a@hookshot-fe2-pe1-prd.aws.github.net.mail>
----==_mimepart_51c57cbc3aae6_10727d9de41316be
Date: Sat, 22 Jun 2013 03:30:20 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <51c57cbc3b82f_10727d9de41317c2-P8FJ25gi/wisHj0ehI8gLCqyDsTP4bNorxkAB0y/[email protected]>

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

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

  Log Message:
  -----------
  Revise Controller_Rest to require an "entity" param for POST requests.


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

  Changed paths:
    R modules/gallery/tests/Data_Rest_Test.php
    R modules/gallery/tests/Items_Rest_Test.php
    A modules/gallery/tests/Rest_Data_Test.php
    A modules/gallery/tests/Rest_Items_Test.php

  Log Message:
  -----------
  Rename two REST test classes in the gallery module.

--HG--
rename : modules/gallery/tests/Data_Rest_Test.php => modules/gallery/tests/Rest_Data_Test.php
rename : modules/gallery/tests/Items_Rest_Test.php => modules/gallery/tests/Rest_Items_Test.php


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

  Changed paths:
    M modules/gallery/tests/Item_Model_Test.php
    R modules/gallery/tests/Item_Rest_Test.php
    M modules/gallery/tests/Rest_Data_Test.php
    M modules/gallery/tests/Rest_Items_Test.php

  Log Message:
  -----------
  Fix class names for renamed tests, and move all other REST-related tests here.
None of these tests are edited yet - just a direct cut'n'paste.


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

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

  Log Message:
  -----------
  Fix how Rest_Items::post_entity() deals with parent.


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

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

  Log Message:
  -----------
  Revise how Controller_Rest::action_post() catches exceptions.


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

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

  Log Message:
  -----------
  Fix how Rest_Items handles defaulting to the root item for GET.
We shouldn't check the method here... among other reasons, it screws up testing.
So, use Rest::get_response() instead.


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

  Changed paths:
    M modules/gallery/tests/Rest_Data_Test.php
    M modules/gallery/tests/Rest_Items_Test.php

  Log Message:
  -----------
  Rewrite Rest_Data_Test and Rest_Items_Test for new REST API.


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

  Changed paths:
    M modules/gallery/classes/Gallery/Rest/Items.php
    R modules/gallery/tests/Data_Rest_Test.php
    M modules/gallery/tests/Item_Model_Test.php
    R modules/gallery/tests/Item_Rest_Test.php
    R modules/gallery/tests/Items_Rest_Test.php
    A modules/gallery/tests/Rest_Data_Test.php
    A modules/gallery/tests/Rest_Items_Test.php
    M modules/rest/classes/RestAPI/Controller/Rest.php

  Log Message:
  -----------
  Merge pull request #426 from shadlaws/fixes_20130622

Fixes 20130622


Compare: https://github.com/gallery/gallery3/compare/8c89f998472d...21eafb0fc393

----==_mimepart_51c57cbc3aae6_10727d9de41316be
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_51c57cbc3aae6_10727d9de41316be
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_51c57cbc3aae6_10727d9de41316be--