summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-02-23Merge pull request #158 from shadlaws/fix_2012Bharat Mediratta
#2012 - Clean up gallery.in_place_edit.js.
2013-02-23Merge pull request #161 from shadlaws/jquery_ui_1_10_1Bharat Mediratta
Update jQuery-UI from v1.10.0 to v1.10.1
2013-02-23Merge pull request #160 from shadlaws/fix_2014Bharat Mediratta
#2014 - Clean up gallery.ajax.js.
2013-02-23Update jQuery-UI from v1.10.0 to v1.10.1shadlaws
2013-02-23#2014 - Clean up gallery.ajax.js.shadlaws
- prepend "data-" in front of non-standard attr to be more standards compliant. - fix formatting.
2013-02-23#2013 - Clean up gallery.panel.js (formatting only)shadlaws
- fixed whitespaces
2013-02-23#2013 - Clean up gallery.panel.js.shadlaws
- prepend "data-" in front of non-standard attr to be more standards compliant.
2013-02-23#2012 - Clean up gallery.in_place_edit.js (formatting only)shadlaws
- removed extra leading whitespaces
2013-02-23#2012 - Clean up gallery.in_place_edit.js.shadlaws
- removed extend similar to previous jQuery updates (doesn't work the same with jQuery 1.4+)
2013-02-18Context menus are fixed! This should be fully compatible with older themesshadlaws
since only gallery.common.js is modified. Now that I understand the problem and the fix, I'm not sure I can explain why it *used* to work with older jQuery...
2013-02-17Fix up autocomplete for admin_server_add - found and fixed some bugsBharat Mediratta
in gallery_autocomplete when "multiple" isn't set. Fixed some harmless syntax issues that js2-mode helpfully pointed out.
2013-02-16Context menu dialog box problem: better, but still not working.shadlaws
- removed fake attr settings (possible compatibility issue with newer jQuery) - replaced with extra class - fixed formatting - still doesn't work: addClass works, but hasClass always returns false when function runs again
2013-02-15Fixed formatting in gallery.dialog.js (no functional changes).shadlaws
2013-02-15Dialog sizing, titles, and z-index. This should ensure the small <500px dialogsshadlaws
are correct, all titles are correctly sized, and the dialog boxes go to the top for older themes, too.
2013-02-14Merge pull request #141 from shadlaws/jquery_19_dialog_sizingBharat Mediratta
Dialog centering, sizing, etc. seem to be fixed!
2013-02-13Fix Cancel link positioning, fix watermark error reply (seems to have ↵shadlaws
already been broken in v3.0.4...)
2013-02-13Dialog centering, sizing, etc. seem to be fixed! Well, *if* they come from ↵shadlaws
a link/menu. If they come from a context menu, they're still really broken.
2013-02-12Changing 2 library names back to (less-standardized) original names.shadlaws
json2.js -> json2-min.js ; jquery.localScroll.js -> jquery.localscroll.js While this is irrelevant for Wind, changing the filenames back to what we used to have ensures that we don't break contributed themes. --HG-- rename : lib/jquery.localScroll.js => lib/jquery.localscroll.js
2013-02-12Merge pull request #137 from shadlaws/jquery_19_success_xhrBharat Mediratta
Updated success callbacks for gallery.panel.js and gallery.dialog.js
2013-02-12Formatting: cleaned up extra lines, whitespaces, converted tabs to spaces, etc.shadlaws
2013-02-12Updated success callbacks for gallery.panel.js and gallery.dialog.js - no ↵shadlaws
longer need to save xhr ahead of success. Tested and seems to work well, even with watermarks on Chrome (previously an issue).
2013-02-12Updated json.js libraryshadlaws
- json.js 2012/10/08 - used non-minified to be consistent with other libraries - updated filename in page.html.php call
2013-02-12Finished jQuery library updates, current for 2013/02/12.shadlaws
- jquery.js 1.9.1 (2013/02/04) - jquery.cookie.js 1.3.1 (2013/01/30) - jquery.scrollTo.js 1.4.5 (2012/12/14) - jquery.localScroll.js 1.2.8b (2012/09/21) Note: jquery.jeditable.js and jquery.MultiFile.js still removed, as they are no longer used.
2013-02-05force the dialog to the top of the pageBharat Mediratta
2013-02-03No need to do the eval anymore.Bharat Mediratta
2013-02-03Super first pass:Bharat Mediratta
- jQuery 1.90 - jQuery UI 1.10 - Superfish 1.5.1 (minus all plugins) - jQuery Form 3.26.0-2013.01.28 Deleted all other jQuery plugins for now. - Reworked autocomplete to use the latest jQuery code. - Deleted references to $.browser.msie, no longer supported - Basic CSS support for autocomplete - lots more work needed there
2012-07-23Update Flowplayer to 3.2.12 along with all associated files. AlsoBharat Mediratta
switch over to the byte-range version of pseudostreaming, let's see if that works better than what we have currently. Fixes #1899.
2012-06-05Do a better job of displaying errors to the user on AJAX failuresBharat Mediratta
in dialogs. Fixes #236.
2012-06-05Do a better job of escaping filenames when uploading. Fixes #1881.Bharat Mediratta
2012-05-19Create an ajax response framework that inserts <meta> tags to guardBharat Mediratta
against UTF-7, and create a $.gallery_autocomplete variant of jQuery's autocomplete that expects the first line to be a <meta> tag and discards it. More complete fix for #1871.
2011-11-05added if (nh < 1) { var nh = 0; } Ian
to start album upper border not as nh = -n
2011-04-23Add iPad/iPhone support for video playbackAndy Lindeman
* Resolves #1634
2011-04-22Patch jQuery UI to fix drag-and-drop events in IE9Andy Lindeman
* Fixes #1642
2011-04-22Created apple-touch-icon and added to wind and admin_wind themes.Chad Kieffer
2011-03-05When we're not auto-fitting the image, pin it to the top of the page.Bharat Mediratta
This way small images on pages with a ton of comments don't get pushed way down. Fixes #1626.
2011-02-24Revert overeager escaping introduced inBharat Mediratta
https://github.com/gallery/gallery3/commit/bb35aefffbc287efc9823abd4b0e451b86c37378 in an attempt to resolve #797. Fixes #1640.
2011-01-11Use Math.round() instead of Number() to convert floating point numbersBharat Mediratta
to integer. Fixes overflow probelm that causes #1490. Thanks to nkinkade for the fix.
2011-01-10Use CSS not JS to determine the full size of the full size overlay. Fixes ↵Bharat Mediratta
#1541.
2010-12-29Add a minified version of json2.js from ↵Bharat Mediratta
https://github.com/douglascrockford/JSON-js/blob/master/json2.js by Douglas Crockford at 8d11dc6950eafc7d01f141ce91d4f585caa29f3b. Fixes #1351.
2010-09-20Move the image files into the themes. Leave the favicon and logo in lib/images.Tim Almdal
2010-09-19When the lib/gallery.common.css was combined, the image urls did not point ↵Tim Almdal
to the correct location. So lets fix that up. But first undo the reverts: 93d1a8103e757a87fb006f2389f0ee24497367a7 "Revert 'Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway.'" f14290f34f097f525a56bc00070b73fba1fb8e2c "Revert 'Clean up white space'" ff8ee5bdfcc0d35e14f3124d349625814ec8771a "Revert 'Add some whitespace.'"
2010-09-18Revert "Move the contents of lib/gallery.common.css into ↵Bharat Mediratta
themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway." This reverts commit 42517041753d460c337a2086c0346018ad582e8d.
2010-09-15Move the contents of lib/gallery.common.css into themes/wind/css/screen.php ↵Tim Almdal
and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway.
2010-09-11Fix two bugs with the context menu:Bharat Mediratta
1) Prevent it from "bouncing" which happens when we queue up a lot of open and close events. Stop any running animations before starting new ones. This fixes #1340. 2) Prevent a bug that's not really visible to the user where we wind up re-initializing a context menu over and over which results in us binding tons of hover events. I don't think this causes any serious damage, but it's probably not good.
2010-09-11Refactor $.fn.gallery_context_menu() to store some variables insteadBharat Mediratta
of using CSS selector lookups for every operation. I assume (but have not verified) that this is more efficient.
2010-09-09Vertically realign thumbnails after rotation so that they stayBharat Mediratta
centered. Partial fix for #1354.
2010-09-09Replace the hook function hack I introduced inBharat Mediratta
cbba45fffc7368280e9529f55e108d0080175b6a with a namespaced jQuery custom event. This is way more portable.
2010-09-04Fix full size dimensions after rotating an image on the photo view page.Bharat Mediratta
The photo view page caches the dimensions of the full size and then renders it in Javascript. But after rotation, those dimensions are no longer valid. Create a new function on the items controller that returns the appropriate dimensions, then add a hook on $.gallery_replace_image and implement the hook on the photo view page to have it make an async call to get the new dimensions. Fixes ticket #1317
2010-08-25Close any open dialogs before opening a new one. Fixes ticket #1295.Bharat Mediratta
2010-08-24Delete old SWFupload code. We replaced it with uploadify ages ago.Bharat Mediratta