[gallery/gallery3] d3364c: Fix up (more) typos: $module->name --> $module_nam...

GitHub <noreply-9UaJU3cA/F/[email protected]> Mon, 22 Apr 2013 03:46:37 -0700
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <5175150d3d3f5_1cf911ede20765b2@hookshot-fe5-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: d3364ca47a5aee24a9879b111a16e4dd859fab67
      https://github.com/gallery/gallery3/commit/d3364ca47a5aee24a9879b111a16e4dd859fab67
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/BlockManager.php
    M modules/gallery/classes/Gallery/Module.php

  Log Message:
  -----------
  Fix up (more) typos: $module->name --> $module_name


  Commit: a34bc0a138caf9e603561279205e21357dec1948
      https://github.com/gallery/gallery3/commit/a34bc0a138caf9e603561279205e21357dec1948
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

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

  Log Message:
  -----------
  Add to ORM::_initialize() override to set foreign model names if not defined.


  Commit: f18a9badf6d488e5349e2b5c2b1c39d9681adf72
      https://github.com/gallery/gallery3/commit/f18a9badf6d488e5349e2b5c2b1c39d9681adf72
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

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

  Log Message:
  -----------
  Fix typo in Gallery class: "allowed" --> "$allowed"


  Commit: 7e9a7e03a13251831086ad5f3c3f8249c6ddd735
      https://github.com/gallery/gallery3/commit/7e9a7e03a13251831086ad5f3c3f8249c6ddd735
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

  Changed paths:
    M installer/install.sql
    M modules/gallery/classes/Gallery/Hook/GalleryInstaller.php
    M modules/gallery/module.info

  Log Message:
  -----------
  Upgrade gallery module to v59 to rebuild var .htaccess files for new FileProxy routing.


  Commit: c271f19d36ab30ee7a98f1f46899a6ca27012639
      https://github.com/gallery/gallery3/commit/c271f19d36ab30ee7a98f1f46899a6ca27012639
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

  Changed paths:
    M modules/gallery/classes/Gallery/Hook/GalleryTask.php

  Log Message:
  -----------
  Revise GalleryTask to call Access::update_htaccess_files() only once per album.


  Commit: e94a6f47dd358b388c4a0a419989b41addbf772f
      https://github.com/gallery/gallery3/commit/e94a6f47dd358b388c4a0a419989b41addbf772f
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

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

  Log Message:
  -----------
  Big arg() / arg_required() / arg_optional() rewrite.
- K3 controller actions neatly take things from Request (param, query, post, url)
and put them in Response (headers, body, send_file), so arg should follow suit
instead of being in the Controller class.
- arg_required() is used 92 times and arg() just 1 time, so the syntax should
favor the much more common case.
- move Controller::arg_required() to Request::arg().
- move Controller::arg() to Request::arg_optional().
- allow both functions to return full arrays
(logically, arg() requires something to be there and arg_optional() doesn't).
- move args array initialization to Controller::_init_args().
- add $force argument to _init_args() to allow a forced re-initialization.
- fix bug where no args would map to array(0 => "") instead of array().


  Commit: fab3c85a539c78c3d2266e5b51223d4df3aabe8d
      https://github.com/gallery/gallery3/commit/fab3c85a539c78c3d2266e5b51223d4df3aabe8d
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

  Changed paths:
    M modules/comment/classes/Comment/Controller/Admin/ManageComments.php
    M modules/comment/classes/Comment/Controller/Comments.php
    M modules/exif/classes/Exif/Controller/Exif.php
    M modules/gallery/classes/Gallery/Controller/Admin/AdvancedSettings.php
    M modules/gallery/classes/Gallery/Controller/Admin/Dashboard.php
    M modules/gallery/classes/Gallery/Controller/Admin/Graphics.php
    M modules/gallery/classes/Gallery/Controller/Admin/Maintenance.php
    M modules/gallery/classes/Gallery/Controller/Admin/Themes.php
    M modules/gallery/classes/Gallery/Controller/Admin/UpgradeChecker.php
    M modules/gallery/classes/Gallery/Controller/Albums.php
    M modules/gallery/classes/Gallery/Controller/Combined.php
    M modules/gallery/classes/Gallery/Controller/Items.php
    M modules/gallery/classes/Gallery/Controller/Movies.php
    M modules/gallery/classes/Gallery/Controller/Permissions.php
    M modules/gallery/classes/Gallery/Controller/Photos.php
    M modules/gallery/classes/Gallery/Controller/Quick.php
    M modules/gallery/classes/Gallery/Controller/Uploader.php
    M modules/gallery/classes/Gallery/Controller/UserProfile.php
    M modules/image_block/classes/ImageBlock/Controller/ImageBlock.php
    M modules/notification/classes/Notification/Controller/Notification.php
    M modules/organize/classes/Organize/Controller/Organize.php
    M modules/rss/classes/Rss/Controller/Rss.php
    M modules/server_add/classes/ServerAdd/Controller/ServerAdd.php
    M modules/tag/classes/Tag/Controller/Admin/Tags.php
    M modules/tag/classes/Tag/Controller/Tag.php
    M modules/tag/classes/Tag/Controller/Tags.php
    M modules/user/classes/User/Controller/Admin/Users.php
    M modules/user/classes/User/Controller/Users.php

  Log Message:
  -----------
  Change 92 calls to arg_required() and 1 call to arg() to reflect changes.


  Commit: 51ab2148b99f1ea914be412f4d73cb9438b5d8b4
      https://github.com/gallery/gallery3/commit/51ab2148b99f1ea914be412f4d73cb9438b5d8b4
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-22 (Mon, 22 Apr 2013)

  Changed paths:
    M installer/install.sql
    M modules/comment/classes/Comment/Controller/Admin/ManageComments.php
    M modules/comment/classes/Comment/Controller/Comments.php
    M modules/exif/classes/Exif/Controller/Exif.php
    M modules/gallery/classes/Gallery/BlockManager.php
    M modules/gallery/classes/Gallery/Controller.php
    M modules/gallery/classes/Gallery/Controller/Admin/AdvancedSettings.php
    M modules/gallery/classes/Gallery/Controller/Admin/Dashboard.php
    M modules/gallery/classes/Gallery/Controller/Admin/Graphics.php
    M modules/gallery/classes/Gallery/Controller/Admin/Maintenance.php
    M modules/gallery/classes/Gallery/Controller/Admin/Themes.php
    M modules/gallery/classes/Gallery/Controller/Admin/UpgradeChecker.php
    M modules/gallery/classes/Gallery/Controller/Albums.php
    M modules/gallery/classes/Gallery/Controller/Combined.php
    M modules/gallery/classes/Gallery/Controller/Items.php
    M modules/gallery/classes/Gallery/Controller/Movies.php
    M modules/gallery/classes/Gallery/Controller/Permissions.php
    M modules/gallery/classes/Gallery/Controller/Photos.php
    M modules/gallery/classes/Gallery/Controller/Quick.php
    M modules/gallery/classes/Gallery/Controller/Uploader.php
    M modules/gallery/classes/Gallery/Controller/UserProfile.php
    M modules/gallery/classes/Gallery/Gallery.php
    M modules/gallery/classes/Gallery/Hook/GalleryInstaller.php
    M modules/gallery/classes/Gallery/Hook/GalleryTask.php
    M modules/gallery/classes/Gallery/Module.php
    M modules/gallery/classes/Gallery/ORM.php
    M modules/gallery/classes/Gallery/Request.php
    M modules/gallery/module.info
    M modules/image_block/classes/ImageBlock/Controller/ImageBlock.php
    M modules/notification/classes/Notification/Controller/Notification.php
    M modules/organize/classes/Organize/Controller/Organize.php
    M modules/rss/classes/Rss/Controller/Rss.php
    M modules/server_add/classes/ServerAdd/Controller/ServerAdd.php
    M modules/tag/classes/Tag/Controller/Admin/Tags.php
    M modules/tag/classes/Tag/Controller/Tag.php
    M modules/tag/classes/Tag/Controller/Tags.php
    M modules/user/classes/User/Controller/Admin/Users.php
    M modules/user/classes/User/Controller/Users.php

  Log Message:
  -----------
  Merge pull request #309 from shadlaws/arg_20130421

Move arg to Request, fix ORM, fix typos, add .htaccess updates


Compare: https://github.com/gallery/gallery3/compare/1cf27a6aa547...51ab2148b99f

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

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