[gallery/gallery3] eeb652: Use "$this->response->body($foo)" instead of "prin...
GitHub <noreply-9UaJU3cA/F/[email protected]> Fri, 19 Apr 2013 02:25:47 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <51710d9b5d3fc_20e4d9e14670a5@hookshot-fe3-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: eeb6520cbb2bf2268e20ded4f76a963479bdf68f
https://github.com/gallery/gallery3/commit/eeb6520cbb2bf2268e20ded4f76a963479bdf68f
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-19 (Fri, 19 Apr 2013)
Changed paths:
M modules/akismet/classes/Akismet/Controller/Admin/Akismet.php
M modules/comment/classes/Comment/Controller/Admin/Comments.php
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/g2_import/classes/G2Import/Controller/Admin/G2Import.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/Languages.php
M modules/gallery/classes/Gallery/Controller/Admin/Maintenance.php
M modules/gallery/classes/Gallery/Controller/Admin/Modules.php
M modules/gallery/classes/Gallery/Controller/Admin/Movies.php
M modules/gallery/classes/Gallery/Controller/Admin/Sidebar.php
M modules/gallery/classes/Gallery/Controller/Admin/ThemeOptions.php
M modules/gallery/classes/Gallery/Controller/Admin/Themes.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Login.php
M modules/gallery/classes/Gallery/Controller/Movies.php
M modules/gallery/classes/Gallery/Controller/Packager.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/Reauthenticate.php
M modules/gallery/classes/Gallery/Controller/Upgrader.php
M modules/gallery/classes/Gallery/Controller/Uploader.php
M modules/gallery/classes/Gallery/Controller/UserProfile.php
M modules/gallery/classes/Gallery/Controller/WelcomeMessage.php
M modules/gallery_unittest/classes/GalleryUnittest/Controller/GalleryUnittest.php
M modules/organize/classes/Organize/Controller/Organize.php
M modules/recaptcha/classes/Recaptcha/Controller/Admin/Recaptcha.php
M modules/rest/classes/Rest/Controller/Rest.php
M modules/rss/classes/Rss/Controller/Rss.php
M modules/search/classes/Search/Controller/Search.php
M modules/server_add/classes/ServerAdd/Controller/Admin/ServerAdd.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/Password.php
M modules/user/classes/User/Controller/Users.php
M modules/watermark/classes/Watermark/Controller/Admin/Watermarks.php
Log Message:
-----------
Use "$this->response->body($foo)" instead of "print $foo" in controllers (100 places).
Commit: 4161c8d8eb398a58b28141cd6adde8042669294a
https://github.com/gallery/gallery3/commit/4161c8d8eb398a58b28141cd6adde8042669294a
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-19 (Fri, 19 Apr 2013)
Changed paths:
M modules/gallery/views/admin/themes.html.php
M modules/gallery/views/gallery/permissions_browse.html.php
M modules/server_add/views/server_add/tree_dialog.html.php
Log Message:
-----------
Remove "print" from a few views, too.
Commit: 8f5f4a28a5505dede2e6958b12ae297c0e893669
https://github.com/gallery/gallery3/commit/8f5f4a28a5505dede2e6958b12ae297c0e893669
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-19 (Fri, 19 Apr 2013)
Changed paths:
M modules/comment/classes/Comment/Controller/Admin/ManageComments.php
M modules/comment/classes/Comment/Controller/Comments.php
M modules/g2_import/classes/G2Import/Controller/Admin/G2Import.php
R modules/gallery/classes/Ajax.php
R modules/gallery/classes/Gallery/Ajax.php
M modules/gallery/classes/Gallery/Controller/Admin.php
M modules/gallery/classes/Gallery/Controller/Admin/AdvancedSettings.php
M modules/gallery/classes/Gallery/Controller/Admin/Languages.php
M modules/gallery/classes/Gallery/Controller/Admin/Maintenance.php
M modules/gallery/classes/Gallery/Controller/Admin/Modules.php
M modules/gallery/classes/Gallery/Controller/Admin/Sidebar.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
M modules/gallery/classes/Gallery/Controller/L10nClient.php
M modules/gallery/classes/Gallery/Controller/Login.php
M modules/gallery/classes/Gallery/Controller/Movies.php
M modules/gallery/classes/Gallery/Controller/Photos.php
M modules/gallery/classes/Gallery/Controller/Quick.php
M modules/gallery/classes/Gallery/Controller/Reauthenticate.php
M modules/gallery/classes/Gallery/Controller/Uploader.php
M modules/gallery/classes/Gallery/Controller/UserProfile.php
R modules/gallery/classes/Gallery/JSON.php
A modules/gallery/classes/Gallery/Response.php
R modules/gallery/classes/JSON.php
A modules/gallery/classes/Response.php
M modules/organize/classes/Organize/Controller/Organize.php
M modules/server_add/classes/ServerAdd/Controller/Admin/ServerAdd.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/Tags.php
M modules/user/classes/User/Controller/Admin/Users.php
M modules/user/classes/User/Controller/Password.php
M modules/user/classes/User/Controller/Users.php
M modules/watermark/classes/Watermark/Controller/Admin/Watermarks.php
Log Message:
-----------
Put reponse-related JSON::reply() and Ajax::response() in Response class override.
- move the functions to the class override.
- revise the direct header and print calls in the functions to Response methods.
- add optional flag to json method to use text/plain (iframe compat - see #2022).
- use optional flag in Controller_Admin_Watermarks to clean up json calls.
- change 78 JSON::reply calls to response->json.
- change 3 Ajax::response calls to response->ajax.
- remove JSON and Ajax helpers.
Commit: 665942ccb60d02945b5c48295414bba082e50714
https://github.com/gallery/gallery3/commit/665942ccb60d02945b5c48295414bba082e50714
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-19 (Fri, 19 Apr 2013)
Changed paths:
M modules/rest/classes/Rest/Controller/Rest.php
M modules/rest/classes/Rest/Rest.php
Log Message:
-----------
Revise rest controller to send Response object to Rest::reply().
This gives Rest::reply() the ability to use the Response methods.
Commit: 6c2d21534be9d1ae344cfaba871f3252369535c2
https://github.com/gallery/gallery3/commit/6c2d21534be9d1ae344cfaba871f3252369535c2
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-19 (Fri, 19 Apr 2013)
Changed paths:
M modules/akismet/classes/Akismet/Controller/Admin/Akismet.php
M modules/comment/classes/Comment/Controller/Admin/Comments.php
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/g2_import/classes/G2Import/Controller/Admin/G2Import.php
R modules/gallery/classes/Ajax.php
R modules/gallery/classes/Gallery/Ajax.php
M modules/gallery/classes/Gallery/Controller/Admin.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/Languages.php
M modules/gallery/classes/Gallery/Controller/Admin/Maintenance.php
M modules/gallery/classes/Gallery/Controller/Admin/Modules.php
M modules/gallery/classes/Gallery/Controller/Admin/Movies.php
M modules/gallery/classes/Gallery/Controller/Admin/Sidebar.php
M modules/gallery/classes/Gallery/Controller/Admin/ThemeOptions.php
M modules/gallery/classes/Gallery/Controller/Admin/Themes.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
M modules/gallery/classes/Gallery/Controller/L10nClient.php
M modules/gallery/classes/Gallery/Controller/Login.php
M modules/gallery/classes/Gallery/Controller/Movies.php
M modules/gallery/classes/Gallery/Controller/Packager.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/Reauthenticate.php
M modules/gallery/classes/Gallery/Controller/Upgrader.php
M modules/gallery/classes/Gallery/Controller/Uploader.php
M modules/gallery/classes/Gallery/Controller/UserProfile.php
M modules/gallery/classes/Gallery/Controller/WelcomeMessage.php
R modules/gallery/classes/Gallery/JSON.php
A modules/gallery/classes/Gallery/Response.php
R modules/gallery/classes/JSON.php
A modules/gallery/classes/Response.php
M modules/gallery/views/admin/themes.html.php
M modules/gallery/views/gallery/permissions_browse.html.php
M modules/gallery_unittest/classes/GalleryUnittest/Controller/GalleryUnittest.php
M modules/organize/classes/Organize/Controller/Organize.php
M modules/recaptcha/classes/Recaptcha/Controller/Admin/Recaptcha.php
M modules/rest/classes/Rest/Controller/Rest.php
M modules/rest/classes/Rest/Rest.php
M modules/rss/classes/Rss/Controller/Rss.php
M modules/search/classes/Search/Controller/Search.php
M modules/server_add/classes/ServerAdd/Controller/Admin/ServerAdd.php
M modules/server_add/classes/ServerAdd/Controller/ServerAdd.php
M modules/server_add/views/server_add/tree_dialog.html.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/Password.php
M modules/user/classes/User/Controller/Users.php
M modules/watermark/classes/Watermark/Controller/Admin/Watermarks.php
Log Message:
-----------
Merge pull request #300 from shadlaws/response_update
Response updates.
Compare: https://github.com/gallery/gallery3/compare/946d48b28f84...6c2d21534be9
------------------------------------------------------------------------------
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 ]