[gallery/gallery3] b1d5b7: Move generate-title-if-missing code to Model_Item.
GitHub <noreply-9UaJU3cA/F/[email protected]> Thu, 02 May 2013 14:45:06 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <5182de62b2def_760cd89e10839ad@hookshot-fe2-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: b1d5b79f55e03c733c7a59c1cf53acbc97388b96
https://github.com/gallery/gallery3/commit/b1d5b79f55e03c733c7a59c1cf53acbc97388b96
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/Controller/Uploader.php
M modules/gallery/classes/Gallery/Item.php
M modules/gallery/classes/Gallery/Model/Item.php
M modules/gallery/tests/Item_Model_Test.php
M modules/gallery/tests/Item_Test.php
M modules/server_add/classes/ServerAdd/Controller/ServerAdd.php
Log Message:
-----------
Move generate-title-if-missing code to Model_Item.
- add code to Model_Item::create(), similar to how generate-slug-if-missing.
- remove same code from server_add, uploader, and add albums form.
- add trim() to Item::convert_filename_to_title() to avoid titles like " ".
- revise Item_Model_Test to reflect changes.
- add to Item_Test to reflect changes.
Commit: 1f03d033dc4be5892c57bfd71cc553995de4cad6
https://github.com/gallery/gallery3/commit/1f03d033dc4be5892c57bfd71cc553995de4cad6
Author: Shad Laws <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/Controller/Uploader.php
M modules/gallery/classes/Gallery/Item.php
M modules/gallery/classes/Gallery/Model/Item.php
M modules/gallery/tests/Item_Model_Test.php
M modules/gallery/tests/Item_Test.php
M modules/server_add/classes/ServerAdd/Controller/ServerAdd.php
Log Message:
-----------
Merge pull request #339 from shadlaws/auto_title_20130502
Move generate-title-if-missing code to Model_Item.
Compare: https://github.com/gallery/gallery3/compare/a45b19eba9f2...1f03d033dc4b
------------------------------------------------------------------------------
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 ]