summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-14Merge pull request #213 from shadlaws/fix_2058Bharat Mediratta
#2058 - Separate uploader logic into Kohana-, Item-Model-, and Uploadify-specific functions.
2013-03-14#2058 - Separate uploader logic into Kohana-, Item-Model-, and ↵shadlaws
Uploadify-specific functions. - Added _process_upload() to handle upload file validation with Kohana. - Added _add_item() to handle item creation and validation with the item model (and logs). - Removed these pieces from add_photo(), which is now rather Uploadify-specific. - Used $_FILES to get filename instead of assuming it's substr(basename($tmp_name), 10). - No net functional changes - works just like before.
2013-03-14Automated update of .build_number to 401 for branch masterAutomatic Build Number Updater
Last update: ef554a34e88141a1fee0a695a00337747a303580 (1 commits ago) [ci skip]
2013-03-14Merge pull request #218 from shadlaws/fix_2062Bharat Mediratta
#2062 - Fix extra/missing spaces in search query.
2013-03-14#2062 - Fix extra/missing spaces in search query.shadlaws
- Every to-be-concatenated string now begins with 1 space and ends with 0 spaces.
2013-03-13Automated update of .build_number to 400 for branch masterAutomatic Build Number Updater
Last update: 23564554f2c81b6b72682eee1a26f0153cd55598 (1 commits ago) [ci skip]
2013-03-13Merge pull request #202 from shadlaws/fix_2051Bharat Mediratta
#2051 - Revise how Gallery_View returns combined JS and CSS.
2013-03-13Automated update of .build_number to 399 for branch masterAutomatic Build Number Updater
Last update: 11d886406418908f5163a8d4ba737424d6d28755 (1 commits ago) [ci skip]
2013-03-13Merge pull request #216 from shadlaws/fix_2061Bharat Mediratta
#2061 - Remove Uploadify from add_photo_form/add_photo_form_completed events.
2013-03-13Automated update of .build_number to 398 for branch masterAutomatic Build Number Updater
Last update: 8b457bf39b51495706a6be501f93f80bbd6d1fef (1 commits ago) [ci skip]
2013-03-13Merge pull request #214 from shadlaws/fix_2059Bharat Mediratta
#2059 - Add album name sanitizing similar to photo/movie filename sanitizing
2013-03-13#2061 - Remove Uploadify from add_photo_form/add_photo_form_completed events.shadlaws
- Added code around event calls in uploader to add Uploadify-specific JS to update the inputs. - Removed Uploadify JS from tag_event. Now it's uploader-agnostic. - Refactored tag_event autocomplete code (no functional changes).
2013-03-13#2059 - Add album name sanitizing similar to photo/movie filename sanitizing.shadlaws
- added legal_file::sanitize_dirname(), analogous to sanitize_filename. - revised item model to use new function when adding or updating an album. - added some legal_file unit tests. - revised some item model unit tests.
2013-03-12Automated update of .build_number to 397 for branch masterAutomatic Build Number Updater
Last update: 94ac5521521309d81cafeb44b3ed5d8ff3527cc8 (1 commits ago) [ci skip]
2013-03-12Merge pull request #209 from shadlaws/fix_2057Bharat Mediratta
#2057 - Revise item name and slug validation - backslashes, refactor, error messages.
2013-03-12Automated update of .build_number to 396 for branch masterAutomatic Build Number Updater
Last update: cb8a63bb483742e86af9afd4e931b36638131317 (2 commits ago) [ci skip]
2013-03-12Merge pull request #210 from shadlaws/fix_2055_2056Bharat Mediratta
#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).
2013-03-12Merge pull request #211 from shadlaws/fix_2054Bharat Mediratta
#2054 - Revise albums_form_add.js: update for new jQuery, refactor.
2013-03-12#2051 - Revise how Gallery_View returns combined JS and CSS.shadlaws
Changed Gallery_View's JS and CSS combining to: - have get_combined() combine all groups if called without arguments. - ensure the "core" group is combined first. - always put links where get_combined() is called, even if combining is disabled (otherwise the order isn't preserved). - add key as cache buster when combining is disabled. - make "LOOKING FOR YOUR CSS/JAVASCRIPT..." comments in get_combined(), not in the theme itself. Also, revised xss_data.txt golden file (line number changes only).
2013-03-12#2057 - Revise item name and slug validation - backslashes, refactor, error ↵shadlaws
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
2013-03-12#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).shadlaws
- 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.
2013-03-12#2054 - Revise albums_form_add.js: update for new jQuery, refactor.shadlaws
- 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
2013-03-11Automated update of .build_number to 395 for branch masterAutomatic Build Number Updater
Last update: b10d175d9c31200c2b87d281585f1c24a0bf238c (1 commits ago) [ci skip]
2013-03-11Merge pull request #201 from shadlaws/fix_2049Bharat Mediratta
#2049 - Fix issues with ports other than http/80 or https/443.
2013-03-11Automated update of .build_number to 394 for branch masterAutomatic Build Number Updater
Last update: 7fbe5f0ab1cfec496473cea59d0e91191aa9bd00 (1 commits ago) [ci skip]
2013-03-11Merge branch 'master' of github.com:gallery/gallery3Automatic Build Number Updater
2013-03-11Merge pull request #204 from jozefs/issue1838Bharat Mediratta
#1838 - thumb_proportion should have a minimum size.
2013-03-11Automated update of .build_number to 393 for branch masterAutomatic Build Number Updater
Last update: c36a4e6bbdb08e122b354754030d65b9c220083f (1 commits ago) [ci skip]
2013-03-11Merge pull request #207 from shadlaws/fix_siblings_callbackBharat Mediratta
Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.
2013-03-11Automated update of .build_number to 392 for branch masterAutomatic Build Number Updater
Last update: ff5f386320b150fe3e33440c0dba4c71bc1830ef (1 commits ago) [ci skip]
2013-03-11Merge pull request #206 from shadlaws/fix_2050Bharat Mediratta
#2050 - Update Admin_View to handle events like Theme_View.
2013-03-11Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.shadlaws
I wonder if this could be causing some random issues I see on the forums...
2013-03-11#2049 - Fix issues with ports other than http/80 or https/443.shadlaws
- get SERVER_PORT and add to SERVER_NAME if it's not http/80 or https/443
2013-03-11Automated update of .build_number to 391 for branch masterAutomatic Build Number Updater
Last update: 24e720b48ea7ca8892374431727d42d9d1eac486 (1 commits ago) [ci skip]
2013-03-11Merge pull request #205 from shadlaws/fix_2053Bharat Mediratta
#2053 - Change all .bind() to .on() for jQuery future-proofing.
2013-03-11Automated update of .build_number to 390 for branch masterAutomatic Build Number Updater
Last update: 5c137b655ba525da08e0a5d8eeeb5e9224651aaf (1 commits ago) [ci skip]
2013-03-11Merge pull request #203 from shadlaws/fix_2052Bharat Mediratta
#2052 - Revise gallery.show_full_size.js: update for new jQuery, refactor.
2013-03-11Automated update of .build_number to 389 for branch masterAutomatic Build Number Updater
Last update: 2478bb06fde719598e090908a8f08396adb81517 (1 commits ago) [ci skip]
2013-03-11Merge pull request #200 from shadlaws/fix_2048Bharat Mediratta
#2048 - Remove unneeded jquery.autocomplete.css/js inclusions.
2013-03-11Automated update of .build_number to 388 for branch masterAutomatic Build Number Updater
Last update: 4d631a4cad515984fd202fbaa124b6a01f156379 (1 commits ago) [ci skip]
2013-03-11Merge pull request #199 from shadlaws/unit_test_fix_20130310Bharat Mediratta
Follow-on fix: if tests throw an exception, don't throw another by calling an undefined variable.
2013-03-11#2053 - Change all .bind() to .on() for jQuery future-proofing.shadlaws
- on/off are preferred to bind/unbind, live/die, and delegate/undelegate in jQuery 1.7+ - they're likely on the road toward deprecation, so let's replace them now.
2013-03-11Themes can choose child thumbnail when asking for proportion.Jozef Selesi
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
2013-03-11Themes can set minimum thumbnail size when calculating proportions.Jozef Selesi
This prevents broken item rendering when thumbnails are smaller than the theme design allows. Trac-Ticket: #1838
2013-03-11#2052 - Revise gallery.show_full_size.js: update for new jQuery, refactor.shadlaws
- fixed for new jQuery. - removed unnecessary CSS. - fixed bug where small images would get oversized when the window was resized. - refactored a few other things.
2013-03-11#2050 - Update Admin_View to handle events like Theme_View.shadlaws
- changed Admin_View event handling to reflect that of Theme_View (gallery_theme gets called first, admin theme gets called last, debug mode isn't called for body_attributes and gets g-clear-fix)
2013-03-10#2048 - Remove unneeded jquery.autocomplete.css/js inclusions.shadlaws
- removed autocomplete.css/js calls in server_add, tag, and g2_import. - revised xss_data.txt golden file (line number changes only).
2013-03-10Follow-on fix: if tests throw an exception, don't throw another by calling ↵shadlaws
an undefined variable.
2013-03-09Automated update of .build_number to 387 for branch masterAutomatic Build Number Updater
Last update: e2cc29a61a0cb2c60e015841af983d3a6572a9d9 (1 commits ago) [ci skip]
2013-03-09Merge pull request #196 from shadlaws/fix_2046Bharat Mediratta
#2046 - Change Gallery over to using MediaElementJS as its movie player