summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-08-05Revert "Allow a theme to override the page refresh mechanism. Create a new"Tim Almdal
This reverts commit 1f014aae6c16bbda62d8f5937180f11ccb0eb1b1.
2009-07-31Simplify getViewportSize function to use the jQuery height and width functionsTim Almdal
2009-07-30Move the getViewportSize method to gallery.common.jsTim Almdal
2009-07-27Allow a theme to override the page refresh mechanism. Create a newTim Almdal
javascript lib (gallery.reload.js) which defines the functions gallery_reload() and gallery_location(new_location). They just do a window.location.reload() and window.location = new_location. This change breaks the assumption that all themes will handle page reloads the same and allows the theme to customize the page refresh.
2009-07-11Don't close the dialog window after we successfully complete anBharat Mediratta
action. The expectation is that we're going to reload the page (or redirect to a new url). If we close the dialog, then we can trigger the onhover for items we've just deleted causing errors. Simplify the API while we're at it by getting rid of the no-longer-used on_success argument to openDialog() This fixes #528.
2009-06-29Ticket 86 (addendum) - Guard against themes that don't define MSG_CANCEL and ↵Andy Staudacher
add the message to admin_default as well.
2009-06-29Fix for ticket 86 - Make Cancel button in doalogs localizable.Andy Staudacher
2009-06-28Use Number() instead of toFixed().. FF 3.x doesn't seem to like toFixed() on ↵Bharat Mediratta
native types.
2009-06-22Strip carriage returnsBharat Mediratta
2009-06-22Strip carriage returnsBharat Mediratta
2009-06-20Update jquery-ui to 1.7.2Bharat Mediratta
2009-06-20Update to 1.4.2Bharat Mediratta
2009-06-20Update to 1.2.7Bharat Mediratta
2009-06-20Reapply the change from aaac2441241df5565b4fa1562065a387e56578e1 whereBharat Mediratta
we comment out the code that prevents the file uploader code from aborting when there are input elements named "submit".
2009-06-20Updated jquery.form to a9c8862544aa3dde81c0aa1554edce148b31742d (2.28)Bharat Mediratta
2009-06-16Move the show_full_size code into gallery/lib so that it's generallyBharat Mediratta
available to themes that want to use it. It should probably eventually be generalized away from just being for full sized images, but it's a step in the right direction. Fixes ticket #427.
2009-06-14Move jquery local scroll module from default theme to lib, only load it if ↵Chad Kieffer
viewing photo view. White space cleanup, removed debug print from template.
2009-06-08Keep status messages. Users click away and may miss them, especially with ↵Chad Kieffer
tasks which take longer to complete.
2009-06-04Remove console.log() calls, they break some browsersBharat Mediratta
2009-05-26Refresh of SWFUpload 2.2.0.1 (functionally the same as before)Bharat Mediratta
2009-05-26Fixed docblock referenceChad Kieffer
2009-05-26Split out re-used JavaScript for common functions (messages, valign), panel ↵Chad Kieffer
toggle, and forms to external files.
2009-05-01Updated to jQuery 1.3.2, needs to be pushed upstream.Chad Kieffer
2009-04-16Add the ui.jquery selectable plugin by copying the new vendor version to trunkTim Almdal
2009-04-06Update SWFUpload to v2.2.0.1Bharat Mediratta
2009-03-26Guard the calling of the form closing event so its not called if thereTim Almdal
is no form.
2009-03-24Add a "form_closing" custom event to the dialog processing. ThisTim Almdal
allows the form in the dialog todo custom processing when the form closes. For example, the server_add dialog (next commit) uses this callback to determine if the upload task was cancelled and display a warning message when the page reloads. Usage: $("#gServerAdd form").bind("form_closing", function(target){...});
2009-03-18Added rotate cc and ccw icons to themeroller theme and css to default theme, ↵Chad Kieffer
applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this.
2009-03-17Remove windows line endingsBharat Mediratta
2009-03-17Updated lib/swfupload to SWFUpload v2.2.0 Beta 5Bharat Mediratta
2009-03-17Switch from using SimpleUploader to using swfUpload as our flash basedBharat Mediratta
uploader. This is modeled on http://codex.gallery2.org/Gallery3:Upload_UX but is not yet complete. Notes: * Changed #gProgressBar to .gProgressBar to support multiple progress bars on the same page * Added a bunch of CSS to the "needs a home" section in themes/default/css/screen.css
2009-03-08Pass on_success through to ajaxify_dialog, resolving an bug createdBharat Mediratta
in r20302.
2009-03-06Fix for ticket #130Tim Almdal
1) Shuffled code around to create a on_form_loaded function 2) Check for a data.reset string in the json return. If it exists and is a function then call. The idea being that if there is an error we might have to reset some jquery widget initialization.
2009-03-06Include the ui.tabs.css in the theme css fileTim Almdal
2009-03-06Update jquery-ui to 1.7 and include the tab libraryTim Almdal
2009-03-04rename jquery.autocomplete.pack.jsTim Almdal
2009-03-04Move the autocomplete js and css files to libTim Almdal
2009-02-25Add support MP4 movies also. Flowplayer supports them and can streamBharat Mediratta
them using the h264streaming plugin. Everything else is a fairly minor change.
2009-02-23Added fix i18n todo item for cancel linkChad Kieffer
2009-02-22Add Cancel link next to submit buttons in dialogs. Apply button style to ↵Chad Kieffer
buttons in dialogs.
2009-02-22Very basic movie support. You can upload a FLV file, we use ffmpeg toBharat Mediratta
extract a thumbnail out of it and if you click through we show it using flowplayer.
2009-02-12Added jQuery UI Accordion widget. Updated vendor branch README.Chad Kieffer
2009-02-10Set one of 3 dialog widths keying off of form's CSS width value: 300px, ↵Chad Kieffer
500px, or $(window).width() -100. Tested in IE 6, 7, 8 and looks good. Also, remove titlebar from progress bar dialogs.
2009-02-09Dialogs don't need to be resizeable, at least not yet.Chad Kieffer
2009-02-08Copy Superfish 1.4.8 from the vendor branchBharat Mediratta
2009-02-08Fix dialogs in IE7 so that they appear. The sizes are still wrong, though.Bharat Mediratta
2009-02-08Let the theme control overlay opacity for dialogs. Chad Kieffer
2009-02-08Removed duplicated images from vendor move.Chad Kieffer
2009-02-08Move jQuery UI ThemeRoller css and images to lib. Should simplify future ↵Chad Kieffer
updates, keep default theme directories clean.
2009-02-07Updated jQuery UI in lib to 1.6rc6. Removed opacity settings in openDialog, ↵Chad Kieffer
refactored showLoading() a bit.