[gallery/gallery3] f44051: Fix two other hardcoded instances of "Item" in ORM...

GitHub <noreply-9UaJU3cA/F/[email protected]> Fri, 03 May 2013 07:30:09 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <5183c9f11c48e_7a9289fe187455a@hookshot-fe4-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: f44051209438e9a68901ea74553101e3dd3364ad
      https://github.com/gallery/gallery3/commit/f44051209438e9a68901ea74553101e3dd3364ad
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

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

  Log Message:
  -----------
  Fix two other hardcoded instances of "Item" in ORM_MPTT.


  Commit: 0de1210e741f0aa9852efd34bbd6c73078e955ed
      https://github.com/gallery/gallery3/commit/0de1210e741f0aa9852efd34bbd6c73078e955ed
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M modules/gallery/tests/File_Structure_Test.php

  Log Message:
  -----------
  Fix File_Structure_Test - look for "Unittest_TestCase", not "Unittest_Testcase"


  Commit: a5892aff610111d5190a195a2285c3859dba2c37
      https://github.com/gallery/gallery3/commit/a5892aff610111d5190a195a2285c3859dba2c37
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M modules/akismet/tests/Akismet_Test.php
    M modules/comment/tests/Comment_Event_Test.php
    M modules/comment/tests/Comment_Helper_Test.php
    M modules/comment/tests/Comment_Model_Test.php
    M modules/exif/tests/Exif_Test.php
    M modules/gallery/orphans/DrawForm_Test.php
    M modules/gallery/tests/Albums_Controller_Test.php
    M modules/gallery/tests/Breadcrumb_Test.php
    M modules/gallery/tests/Cache_Test.php
    M modules/gallery/tests/Controller_Auth_Test.php
    M modules/gallery/tests/Data_Rest_Test.php
    M modules/gallery/tests/Database_Test.php
    M modules/gallery/tests/Debug_Test.php
    M modules/gallery/tests/File_Proxy_Controller_Test.php
    M modules/gallery/tests/File_Structure_Test.php
    M modules/gallery/tests/Gallery_Graphics_Helper_Test.php
    M modules/gallery/tests/Gallery_I18n_Test.php
    M modules/gallery/tests/Gallery_Installer_Test.php
    M modules/gallery/tests/Graphics_Helper_Test.php
    M modules/gallery/tests/Html_Helper_Test.php
    M modules/gallery/tests/Inflector_Test.php
    M modules/gallery/tests/Item_Model_Test.php
    M modules/gallery/tests/Item_Rest_Helper_Test.php
    M modules/gallery/tests/Items_Rest_Helper_Test.php
    M modules/gallery/tests/Legal_File_Helper_Test.php
    M modules/gallery/tests/Locales_Helper_Test.php
    M modules/gallery/tests/Menu_Test.php
    M modules/gallery/tests/Movie_Helper_Test.php
    M modules/gallery/tests/Num_Helper_Test.php
    M modules/gallery/tests/ORM_MPTT_Test.php
    M modules/gallery/tests/Photo_Helper_Test.php
    M modules/gallery/tests/Photos_Controller_Test.php
    M modules/gallery/tests/SafeString_Test.php
    M modules/gallery/tests/Sendmail_Test.php
    M modules/gallery/tests/System_Helper_Test.php
    M modules/gallery/tests/Url_Security_Test.php
    M modules/gallery/tests/Valid_Test.php
    M modules/gallery/tests/Var_Test.php
    M modules/gallery/tests/Xss_Security_Test.php
    M modules/purifier/tests/Purifier_Test.php
    M modules/rest/tests/Rest_Controller_Test.php
    M modules/tag/tests/Tag_Item_Rest_Helper_Test.php
    M modules/tag/tests/Tag_Rest_Helper_Test.php
    M modules/tag/tests/Tag_Test.php
    M modules/tag/tests/Tags_Rest_Helper_Test.php
    M modules/user/tests/No_Direct_ORM_Access_Test.php
    M modules/user/tests/User_Groups_Test.php
    M modules/user/tests/User_Installer_Test.php
    M modules/watermark/tests/Admin_Watermarks_Controller_Test.php

  Log Message:
  -----------
  Change "Unittest_Testcase" --> "Unittest_TestCase"  (49 places).


  Commit: e575780eb58c0304dfac26760701d7cc07e0539f
      https://github.com/gallery/gallery3/commit/e575780eb58c0304dfac26760701d7cc07e0539f
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Model/Item.php
    M modules/gallery/classes/Gallery/ORM.php
    M modules/gallery/classes/Gallery/ORM/MPTT.php
    M modules/gallery/classes/Gallery/View/Theme.php
    M modules/gallery/tests/Item_Model_Test.php

  Log Message:
  -----------
  Re-add the ORM::$_sorting change, add ORM::sorting() for external access.
- add ORM::sorting() to provide an API for handling ORM::$_sorting.
- use ORM::sorting() in ORM_MPTT to set sorting of children and descendants.
- add Model_Item::_set_sorting() to set sorting based on item's data.
- use Model_Item::_set_sorting() in __construct() and save() to set/reset it.
- remove Model_Item overloading of children/descendants.
- remove Model_Item unordered_children completely, revise View_Theme to match.
- revise Item_Model_Test, which now passes!


  Commit: 946a1d44231be737445bbe5b6f146a76f5502bb3
      https://github.com/gallery/gallery3/commit/946a1d44231be737445bbe5b6f146a76f5502bb3
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M modules/gallery/tests/Formo_Test.php

  Log Message:
  -----------
  Revise Formo unit test (no longer namespacing fields) - passes!


  Commit: b47953bb56b0ef9da70725cee74882815b4965f1
      https://github.com/gallery/gallery3/commit/b47953bb56b0ef9da70725cee74882815b4965f1
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

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

  Log Message:
  -----------
  Change name of Formo/ORM driver callback (no external API changes).


  Commit: 9f05319b9fc9b1439abb4e1f63dc4a91780f2628
      https://github.com/gallery/gallery3/commit/9f05319b9fc9b1439abb4e1f63dc4a91780f2628
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M modules/formo/classes/Formo/Core/Formo.php

  Log Message:
  -----------
  Update Formo - fix a bug to make 'template_ext' config work with render_opt().


  Commit: 6217845b708ecb53734a6952f24ca7be4ec0131e
      https://github.com/gallery/gallery3/commit/6217845b708ecb53734a6952f24ca7be4ec0131e
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Controller/Albums.php
    M modules/gallery/classes/Gallery/Controller/Quick.php
    M modules/gallery/classes/Gallery/Hook/GalleryEvent.php

  Log Message:
  -----------
  Big rewrite of album edit form.
- made 90% of the edit form identical to the add form (and tweaked add to match).
- made it work for ajax and non-ajax.
- changed menu and context menu links.
- removed Controller_Quick::form_edit() as it's now unnecessary.
- @todo: update photo and movie edit forms to match.
- @todo: fix item_edit_form and item_edit_form_completed events.


  Commit: cc1a8accba38db93fee13d63cd1824ab6070709b
      https://github.com/gallery/gallery3/commit/cc1a8accba38db93fee13d63cd1824ab6070709b
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M application/bootstrap.php
    M modules/comment/views/comment/block.html.php
    M modules/gallery/views/gallery/user_profile.html.php

  Log Message:
  -----------
  Change remaining "form/(add|edit)" routes, remove them from bootstrap.


  Commit: be74c010f95ee682a6a01a6a346898e3a060c16e
      https://github.com/gallery/gallery3/commit/be74c010f95ee682a6a01a6a346898e3a060c16e
  Author: Shad Laws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-03 (Fri, 03 May 2013)

  Changed paths:
    M application/bootstrap.php
    M modules/akismet/tests/Akismet_Test.php
    M modules/comment/tests/Comment_Event_Test.php
    M modules/comment/tests/Comment_Helper_Test.php
    M modules/comment/tests/Comment_Model_Test.php
    M modules/comment/views/comment/block.html.php
    M modules/exif/tests/Exif_Test.php
    M modules/formo/classes/Formo/Core/Formo.php
    M modules/gallery/classes/Gallery/Controller/Albums.php
    M modules/gallery/classes/Gallery/Controller/Quick.php
    M modules/gallery/classes/Gallery/Formo/Driver/ORM/Kohana.php
    M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
    M modules/gallery/classes/Gallery/Model/Item.php
    M modules/gallery/classes/Gallery/ORM.php
    M modules/gallery/classes/Gallery/ORM/MPTT.php
    M modules/gallery/classes/Gallery/View/Theme.php
    M modules/gallery/orphans/DrawForm_Test.php
    M modules/gallery/tests/Albums_Controller_Test.php
    M modules/gallery/tests/Breadcrumb_Test.php
    M modules/gallery/tests/Cache_Test.php
    M modules/gallery/tests/Controller_Auth_Test.php
    M modules/gallery/tests/Data_Rest_Test.php
    M modules/gallery/tests/Database_Test.php
    M modules/gallery/tests/Debug_Test.php
    M modules/gallery/tests/File_Proxy_Controller_Test.php
    M modules/gallery/tests/File_Structure_Test.php
    M modules/gallery/tests/Formo_Test.php
    M modules/gallery/tests/Gallery_Graphics_Helper_Test.php
    M modules/gallery/tests/Gallery_I18n_Test.php
    M modules/gallery/tests/Gallery_Installer_Test.php
    M modules/gallery/tests/Graphics_Helper_Test.php
    M modules/gallery/tests/Html_Helper_Test.php
    M modules/gallery/tests/Inflector_Test.php
    M modules/gallery/tests/Item_Model_Test.php
    M modules/gallery/tests/Item_Rest_Helper_Test.php
    M modules/gallery/tests/Items_Rest_Helper_Test.php
    M modules/gallery/tests/Legal_File_Helper_Test.php
    M modules/gallery/tests/Locales_Helper_Test.php
    M modules/gallery/tests/Menu_Test.php
    M modules/gallery/tests/Movie_Helper_Test.php
    M modules/gallery/tests/Num_Helper_Test.php
    M modules/gallery/tests/ORM_MPTT_Test.php
    M modules/gallery/tests/Photo_Helper_Test.php
    M modules/gallery/tests/Photos_Controller_Test.php
    M modules/gallery/tests/SafeString_Test.php
    M modules/gallery/tests/Sendmail_Test.php
    M modules/gallery/tests/System_Helper_Test.php
    M modules/gallery/tests/Url_Security_Test.php
    M modules/gallery/tests/Valid_Test.php
    M modules/gallery/tests/Var_Test.php
    M modules/gallery/tests/Xss_Security_Test.php
    M modules/gallery/views/gallery/user_profile.html.php
    M modules/purifier/tests/Purifier_Test.php
    M modules/rest/tests/Rest_Controller_Test.php
    M modules/tag/tests/Tag_Item_Rest_Helper_Test.php
    M modules/tag/tests/Tag_Rest_Helper_Test.php
    M modules/tag/tests/Tag_Test.php
    M modules/tag/tests/Tags_Rest_Helper_Test.php
    M modules/user/tests/No_Direct_ORM_Access_Test.php
    M modules/user/tests/User_Groups_Test.php
    M modules/user/tests/User_Installer_Test.php
    M modules/watermark/tests/Admin_Watermarks_Controller_Test.php

  Log Message:
  -----------
  Merge pull request #341 from shadlaws/fixes_20130503_part2

Fixes 20130503 part2


Compare: https://github.com/gallery/gallery3/compare/ab670799fc0f...be74c010f95e

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2

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