[gallery/gallery3] 5409b4: Relax access for Controller_Rest_Comments::post_en...

GitHub <noreply-9UaJU3cA/F/[email protected]> Thu, 13 Jun 2013 15:14:37 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <51ba444d92afb_2b6d124bde0693b7@hookshot-fe4-pe1-prd.aws.github.net.mail>
----==_mimepart_51ba444d91163_2b6d124bde0691e9
Date: Thu, 13 Jun 2013 15:14:37 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <51ba444d920a7_2b6d124bde0692de-P8FJ25gi/wgiTvQdHE1nICqyDsTP4bNorxkAB0y/[email protected]>

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

  Changed paths:
    M modules/comment/classes/Comment/Controller/Rest/Comments.php

  Log Message:
  -----------
  Relax access for Controller_Rest_Comments::post_entity() to match std UI.


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

  Changed paths:
    M modules/comment/classes/Comment/Comment.php
    M modules/comment/classes/Comment/Controller/Comments.php
    M modules/comment/classes/Comment/Controller/Rest/Comments.php
    M modules/comment/views/comment/block.html.php

  Log Message:
  -----------
  Add item argument to Comment::can_comment() to ensure we can view the item, too.


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

  Changed paths:
    M modules/gallery/classes/Gallery/Controller/UserProfile.php
    M modules/gallery/classes/Gallery/Identity.php

  Log Message:
  -----------
  Move Controller_UserProfile::_can_view_profile_pages($user) -->
Identity::can_view_profile($user).  Now REST can use the same check.


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

  Changed paths:
    M modules/comment/classes/Comment/Controller/Rest/Comment.php
    A modules/gallery/classes/Controller/Rest/User.php
    M modules/gallery/classes/Gallery/Controller/Rest/Item.php
    A modules/gallery/classes/Gallery/Controller/Rest/User.php

  Log Message:
  -----------
  Add Controller_Rest_User, and use it for an item's owner and a comment's author.


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

  Changed paths:
    M modules/comment/classes/Comment/Comment.php
    M modules/comment/classes/Comment/Controller/Comments.php
    M modules/comment/classes/Comment/Controller/Rest/Comment.php
    M modules/comment/classes/Comment/Controller/Rest/Comments.php
    M modules/comment/views/comment/block.html.php
    A modules/gallery/classes/Controller/Rest/User.php
    M modules/gallery/classes/Gallery/Controller/Rest/Item.php
    A modules/gallery/classes/Gallery/Controller/Rest/User.php
    M modules/gallery/classes/Gallery/Controller/UserProfile.php
    M modules/gallery/classes/Gallery/Identity.php

  Log Message:
  -----------
  Merge pull request #406 from shadlaws/fixes_20130613_4

Fixes 20130613 4


Compare: https://github.com/gallery/gallery3/compare/1fc3a7ae62f1...1e90a1d82720

----==_mimepart_51ba444d91163_2b6d124bde0691e9
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_51ba444d91163_2b6d124bde0691e9
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_51ba444d91163_2b6d124bde0691e9--