Themes can set minimum thumbnail size when calculating proportions.

This prevents broken item rendering when thumbnails are smaller than the
theme design allows.

Trac-Ticket: #1838
Themes can choose child thumbnail when asking for proportion.

This helps themes better calculate an item's container size, for cases
when the first item significantly differs in size from the rest.

Trac-Ticket: #1838
#2049 - Fix issues with ports other than http/80 or https/443.
- get SERVER_PORT and add to SERVER_NAME if it's not http/80 or https/443
Automated update of .build_number to 393 for branch master
Last update: c36a4e6bbdb08e122b354754030d65b9c220083f (1 commits ago)
[ci skip]
Merge pull request #204 from jozefs/issue1838

#1838 - thumb_proportion should have a minimum size.
Merge branch 'master' of github.com:gallery/gallery3
Automated update of .build_number to 394 for branch master
Last update: 7fbe5f0ab1cfec496473cea59d0e91191aa9bd00 (1 commits ago)
[ci skip]
Merge pull request #201 from shadlaws/fix_2049

#2049 - Fix issues with ports other than http/80 or https/443.
Automated update of .build_number to 395 for branch master
Last update: b10d175d9c31200c2b87d281585f1c24a0bf238c (1 commits ago)
[ci skip]
#2054 - Revise albums_form_add.js: update for new jQuery, refactor.
- changed "change" event to "input" to catch cut'n'paste
- kept "keyup" event for old IE compatibility
- removed code duplication by using $(this) and combining events using .on()
- replaced attr("value",...) with val()
- added quotes around input names
#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).
- changed .attr("value", [value]) to .val([value]) for new jQuery.
- changed .keyup(handler) to .on("input keyup", handler) to fire on mouse-only cut'n'paste.
#2057 - Revise item name and slug validation - backslashes, refactor, error messages.
- disallowed backslashes in item validation.
- refactored the validation logic in the item model a bit.
- added no_backslash error messages in edit album/photo/movie forms.
- fixed error messages in add album forum (some missing, some text different from edit)
- added unit tests
- updated to v58 to correct any existing backslashes in item names
Merge pull request #211 from shadlaws/fix_2054

#2054 - Revise albums_form_add.js: update for new jQuery, refactor.
Merge pull request #210 from shadlaws/fix_2055_2056

#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).
Automated update of .build_number to 396 for branch master
Last update: cb8a63bb483742e86af9afd4e931b36638131317 (2 commits ago)
[ci skip]
Merge pull request #209 from shadlaws/fix_2057

#2057 - Revise item name and slug validation - backslashes, refactor, error messages.
Automated update of .build_number to 397 for branch master
Last update: 94ac5521521309d81cafeb44b3ed5d8ff3527cc8 (1 commits ago)
[ci skip]
- Add gallery_shutdown callback
- Remove extra post-routing code from index.php for now - it's recorded as a todo in the doc
- Tweak gallery module routes
Merge branch 'master' into kohana_3

Conflicts:
	system/helpers/url.php
Move fundamental controller/action route back into bootstrap
Don't call Request::factory() twice, that messes up internals.