[gallery/gallery3] d180ab: Unify "(items|albums|photos|movies)/show" to "item...
GitHub <noreply-9UaJU3cA/F/[email protected]> Sat, 04 May 2013 09:23:05 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <518535e9ef28_16f61211e10650ea@hookshot-fe1-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: d180ab52edd200cfecf708f65243e874e9392c75
https://github.com/gallery/gallery3/commit/d180ab52edd200cfecf708f65243e874e9392c75
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
M application/bootstrap.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
M modules/gallery/classes/Gallery/Controller/Movies.php
M modules/gallery/classes/Gallery/Controller/Photos.php
Log Message:
-----------
Unify "(items|albums|photos|movies)/show" to "items/show".
- the three views are still made the same way, but triplicated(!) code is gone.
- "items/show/<id>" finds the item and does a 301 redirect to the canonical URL.
- bootstrap routing is much cleaner.
Commit: 532d3cc03ce9261a9abc003cb4f3e7ba6ca521ee
https://github.com/gallery/gallery3/commit/532d3cc03ce9261a9abc003cb4f3e7ba6ca521ee
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
R modules/gallery/classes/Controller/Movies.php
R modules/gallery/classes/Controller/Photos.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
R modules/gallery/classes/Gallery/Controller/Movies.php
R modules/gallery/classes/Gallery/Controller/Photos.php
M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
Log Message:
-----------
Unify "(albums|photos|movies)/edit" to "items/edit".
- removed a *ton* of triplicated code.
- put all edit-related i18n strings in one place (nice for standardization!).
- removed Controller_Photos and Controller_Movies completely.
Commit: dbefd2646aa92ca3ed646789fbbf0fc851fbc186
https://github.com/gallery/gallery3/commit/dbefd2646aa92ca3ed646789fbbf0fc851fbc186
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
M modules/gallery/classes/Gallery/Controller/Items.php
Log Message:
-----------
Add some comments for each function in Controller_Items.
Commit: 6b2dcdc90528c9b4f7b76342f26ac8536f97e77e
https://github.com/gallery/gallery3/commit/6b2dcdc90528c9b4f7b76342f26ac8536f97e77e
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
M modules/gallery/classes/Gallery/Item.php
M modules/image_block/classes/ImageBlock/Controller/ImageBlock.php
Log Message:
-----------
Move Controller_Albums::get_display_context() to Controller_Items.
Commit: d6572e685d410e5a7687a88d0f55a55e420ada60
https://github.com/gallery/gallery3/commit/d6572e685d410e5a7687a88d0f55a55e420ada60
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
Log Message:
-----------
Move "albums/add" to "items/add".
Commit: a33d807662976d0afb46672407994ff85437df31
https://github.com/gallery/gallery3/commit/a33d807662976d0afb46672407994ff85437df31
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
R modules/gallery/classes/Controller/Albums.php
R modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
Log Message:
-----------
Move Controller_Albums::get_siblings() to Controller_Items.
No more separate (and largely duplicated) Movies/Photos/Albums controllers!
Commit: b44af765dbd9e2769394652de2404e447de6aca9
https://github.com/gallery/gallery3/commit/b44af765dbd9e2769394652de2404e447de6aca9
Author: Shad Laws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-05-04 (Sat, 04 May 2013)
Changed paths:
M application/bootstrap.php
R modules/gallery/classes/Controller/Albums.php
R modules/gallery/classes/Controller/Movies.php
R modules/gallery/classes/Controller/Photos.php
R modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Items.php
R modules/gallery/classes/Gallery/Controller/Movies.php
R modules/gallery/classes/Gallery/Controller/Photos.php
M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
M modules/gallery/classes/Gallery/Item.php
M modules/image_block/classes/ImageBlock/Controller/ImageBlock.php
Log Message:
-----------
Merge pull request #349 from shadlaws/fixes_20130504_part3
Fixes 20130504 part3
Compare: https://github.com/gallery/gallery3/compare/65607212274a...b44af765dbd9
------------------------------------------------------------------------------
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 ]