[gallery/gallery3] b4184f: Reformat Formo preambles to match Gallery's style ...

GitHub <noreply-9UaJU3cA/F/[email protected]> Thu, 02 May 2013 09:38:52 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <5182969cc24a0_34f3b43e1c43271@hookshot-fe3-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: b4184fa082b973b423bcc314b8c4f7309c3db08d
      https://github.com/gallery/gallery3/commit/b4184fa082b973b423bcc314b8c4f7309c3db08d
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-05-02 (Thu, 02 May 2013)

  Changed paths:
    M modules/formo/classes/Formo.php
    M modules/formo/classes/Formo/Core/Driver.php
    M modules/formo/classes/Formo/Core/Driver/Button.php
    M modules/formo/classes/Formo/Core/Driver/Checkbox.php
    M modules/formo/classes/Formo/Core/Driver/Checkboxes.php
    M modules/formo/classes/Formo/Core/Driver/Datalist.php
    M modules/formo/classes/Formo/Core/Driver/File.php
    M modules/formo/classes/Formo/Core/Driver/Form.php
    M modules/formo/classes/Formo/Core/Driver/Group.php
    M modules/formo/classes/Formo/Core/Driver/Input.php
    M modules/formo/classes/Formo/Core/Driver/ORM/Kohana.php
    M modules/formo/classes/Formo/Core/Driver/Radios.php
    M modules/formo/classes/Formo/Core/Driver/Select.php
    M modules/formo/classes/Formo/Core/Driver/Textarea.php
    M modules/formo/classes/Formo/Core/Formo.php
    M modules/formo/classes/Formo/Core/Innards.php
    M modules/formo/classes/Formo/Driver.php
    M modules/formo/classes/Formo/Driver/Button.php
    M modules/formo/classes/Formo/Driver/Checkbox.php
    M modules/formo/classes/Formo/Driver/Checkboxes.php
    M modules/formo/classes/Formo/Driver/Datalist.php
    M modules/formo/classes/Formo/Driver/File.php
    M modules/formo/classes/Formo/Driver/Form.php
    M modules/formo/classes/Formo/Driver/Group.php
    M modules/formo/classes/Formo/Driver/Input.php
    M modules/formo/classes/Formo/Driver/ORM/Kohana.php
    M modules/formo/classes/Formo/Driver/Radios.php
    M modules/formo/classes/Formo/Driver/Select.php
    M modules/formo/classes/Formo/Driver/Textarea.php
    M modules/formo/classes/Formo/Innards.php

  Log Message:
  -----------
  Reformat Formo preambles to match Gallery's style (in sync with gallery3-vendor).


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

  Changed paths:
    M modules/gallery/classes/Gallery/Access.php
    M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
    M modules/gallery/classes/Gallery/Hook/GalleryTask.php
    M modules/gallery/tests/ORM_MPTT_Test.php

  Log Message:
  -----------
  Clean up ORM calls: "->limit(1)->find_all()->current()" is just "->find()"
@see ORM::_load_result() and ORM::find().


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

  Changed paths:
    M modules/gallery/classes/Gallery/View/Theme.php

  Log Message:
  -----------
  Revise Gallery_View_Theme::thumb_proportion().
- replace "->count_all()" check with "->loaded()", which removes one DB query.
- if no dimension is specified, use children instead of unordered_children.


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

  Changed paths:
    M modules/gallery/classes/Gallery/Model/Item.php
    M modules/gallery/classes/Gallery/View/Theme.php

  Log Message:
  -----------
  Use ORM::$_sorting to set default sorting, remove $item->unsorted_children.


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

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

  Log Message:
  -----------
  ORM_MPTT pointer changes: fix bug with "descendants", make "parents" simpler.


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

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

  Log Message:
  -----------
  Clean up Model_Item::valid_parent(), remove references to MPTT pointers.
@todo: try to eliminate the other ones, too... IMHO, we should leave the MPTT
pointer magic all in ORM_MPTT and use things like descendants/parents elsewhere.


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

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

  Log Message:
  -----------
  Ensure that the Model_Item default sorting is reset after save(), too.


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

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

  Log Message:
  -----------
  Remove direct array dereferencing in unit tests - only works for PHP 5.4+.
Still can't do ["foo => ["bar", "baz"]] or $foo->bar()["baz"] in 5.3... <sigh>.


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

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

  Log Message:
  -----------
  Update Formo - fix a bug where $field->get("val") wasn't working.


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

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

  Log Message:
  -----------
  Build a ORM-saving driver for Formo.  This makes add/edit forms a snap.


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

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

  Log Message:
  -----------
  Big rewrite of album add form.
- squashed 2 routes (albums/form_add and albums/create) to one (albums/add).
- made it work for ajax as well as non-ajax
- used new ORM-saving Formo driver.


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

  Changed paths:
    M application/bootstrap.php

  Log Message:
  -----------
  Fix bugs with item_url routing in bootstrap - we can now find non-root items.


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

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

  Log Message:
  -----------
  Update Formo - make Formo::load() work for non-namespaced forms with groups.


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

  Changed paths:
    M modules/gallery/config/formo.php

  Log Message:
  -----------
  Turn off Formo namespacing.  This makes input fields easier to reference in js.


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

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

  Log Message:
  -----------
  Formatting fix - get rid of stray tab in recent commit.


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

  Changed paths:
    M application/bootstrap.php
    M modules/formo/classes/Formo.php
    M modules/formo/classes/Formo/Core/Driver.php
    M modules/formo/classes/Formo/Core/Driver/Button.php
    M modules/formo/classes/Formo/Core/Driver/Checkbox.php
    M modules/formo/classes/Formo/Core/Driver/Checkboxes.php
    M modules/formo/classes/Formo/Core/Driver/Datalist.php
    M modules/formo/classes/Formo/Core/Driver/File.php
    M modules/formo/classes/Formo/Core/Driver/Form.php
    M modules/formo/classes/Formo/Core/Driver/Group.php
    M modules/formo/classes/Formo/Core/Driver/Input.php
    M modules/formo/classes/Formo/Core/Driver/ORM/Kohana.php
    M modules/formo/classes/Formo/Core/Driver/Radios.php
    M modules/formo/classes/Formo/Core/Driver/Select.php
    M modules/formo/classes/Formo/Core/Driver/Textarea.php
    M modules/formo/classes/Formo/Core/Formo.php
    M modules/formo/classes/Formo/Core/Innards.php
    M modules/formo/classes/Formo/Driver.php
    M modules/formo/classes/Formo/Driver/Button.php
    M modules/formo/classes/Formo/Driver/Checkbox.php
    M modules/formo/classes/Formo/Driver/Checkboxes.php
    M modules/formo/classes/Formo/Driver/Datalist.php
    M modules/formo/classes/Formo/Driver/File.php
    M modules/formo/classes/Formo/Driver/Form.php
    M modules/formo/classes/Formo/Driver/Group.php
    M modules/formo/classes/Formo/Driver/Input.php
    M modules/formo/classes/Formo/Driver/ORM/Kohana.php
    M modules/formo/classes/Formo/Driver/Radios.php
    M modules/formo/classes/Formo/Driver/Select.php
    M modules/formo/classes/Formo/Driver/Textarea.php
    M modules/formo/classes/Formo/Innards.php
    A modules/gallery/classes/Formo/Driver/ORM/Kohana.php
    M modules/gallery/classes/Gallery/Access.php
    M modules/gallery/classes/Gallery/Controller/Albums.php
    A modules/gallery/classes/Gallery/Formo/Driver/ORM/Kohana.php
    M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
    M modules/gallery/classes/Gallery/Hook/GalleryTask.php
    M modules/gallery/classes/Gallery/Model/Item.php
    M modules/gallery/classes/Gallery/ORM/MPTT.php
    M modules/gallery/classes/Gallery/View/Theme.php
    M modules/gallery/config/formo.php
    M modules/gallery/tests/File_Structure_Test.php
    M modules/gallery/tests/Item_Model_Test.php
    M modules/gallery/tests/Item_Rest_Helper_Test.php
    M modules/gallery/tests/ORM_MPTT_Test.php

  Log Message:
  -----------
  Merge pull request #338 from shadlaws/fixes_20130502

Fixes 20130502


Compare: https://github.com/gallery/gallery3/compare/c356b81c77e8...a45b19eba9f2

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

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