Commit Graph
5668 Commits
Author SHA1 Message Date
Chad Kieffer 65e97fda48 Move context menu to gallery.common 2009-08-11 00:40:14 -06:00
Chad Kieffer 99d7a0c0db Make each context menu button clickable from side-to-side 2009-08-11 00:33:15 -06:00
Chad Kieffer a10c309c36 Replace tabs w/ spaces. 2009-08-11 00:28:38 -06:00
Chad Kieffer 3e3bbd5d2e Merge branch 'master' of git@github.com:bharat/gallery3 2009-08-11 00:15:04 -06:00
Bharat Mediratta cbba45fffc Create the concept of an "ajax link" and use it for thumbnail rotation
and album covers in the context menu.

Notes:
- This requires context_menu() to have a CSS selector that refers to the
  <img> that we're operating on, otherwise we don't know how to find the
  thumbnail, etc.
- Create Menu_Element_Ajax_Link which has an ajax_handler attribute
  that contains a snippet of JS that we're going to run when the ajax
  call returns.
- Add $.gallery_replace_image in gallery.common.js
- Add lib/gallery.ajax.js which can be used to ajaxify any link, and have
  ui.init.js in the themes call that on all .gAjaxLink elements.
2009-08-10 23:07:50 -07:00
Chad Kieffer e3a58b76c1 Return .each() to work with more than an individual photo. 2009-08-10 23:11:31 -06:00
Bharat Mediratta 790545ac97 Add missing semicolons. 2009-08-10 10:49:50 -07:00
Bharat Mediratta 351532d858 Fix indentation. 2009-08-10 10:07:54 -07:00
Bharat Mediratta f7a23e0a9c Fix up context menus a bit.
- Update digibug_event::context_menu() to take the actual item
- Change gallery::context_menu() to not require the page_type as an argument
2009-08-09 23:08:35 -07:00
Chad Kieffer cea1d4f1f3 Forgot to commit the css for the resize photo view context menu. 2009-08-09 23:32:53 -06:00
Chad Kieffer c85d9b41d9 First stab at context menu for resize. It's quirky and needs work. 2009-08-09 23:12:25 -06:00
Chad Kieffer 24e29b0b68 Rename fit_image to fit_photo for consistency. 2009-08-09 23:10:02 -06:00
Chad Kieffer 69b7b1803a Move hover effect to a function. 2009-08-09 23:08:18 -06:00
Chad Kieffer a961211f56 Move the get photo filter out to it's own function for re-use. Docblock cleanup. 2009-08-09 22:51:21 -06:00
Chad Kieffer 13546d0be7 Fixed case 2009-08-09 13:59:48 -06:00
Chad Kieffer 85afa537df Add jquery ui print icon class to menu 2009-08-09 13:56:39 -06:00
Bharat Mediratta 1c4e1344c6 Update photo_menu() and context_menu() to work with recent menu changes. 2009-08-09 12:14:17 -07:00
Chad Kieffer 6404e75a0b Merge branch 'master' of git@github.com:bharat/gallery3 2009-08-09 13:02:35 -06:00
Chad Kieffer 1231e095c8 Keep image placement from shifting on hover, set gHoverItem height properly. 2009-08-09 12:46:17 -06:00
Bharat Mediratta d3ea304f7d Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branch 2009-08-09 11:13:41 -07:00
Chad Kieffer de00a4ac39 Explicitly use gValign class rather than first child. 2009-08-09 11:40:39 -06:00
Chad Kieffer 2f4c4a3f70 Rename resizeImage gallery_fit_image to follow convention. Move the function to gallery.common.js. 2009-08-09 11:31:31 -06:00
Tim Almdal 39d0098038 Enable microthumbnail selection 2009-08-09 09:00:10 -07:00
Chad Kieffer ea17a51148 Merge branch 'master' of git@github.com:bharat/gallery3 2009-08-09 09:51:40 -06:00
Tim Almdal ebb44b05a2 Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-09 08:43:18 -07:00
Bharat Mediratta 5c25973ee8 Require a valid url for users. Fixes ticket #612. 2009-08-09 00:02:17 -07:00
Tim Almdal dafe222994 Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-08 21:29:13 -07:00
Bharat Mediratta 12f25a7e55 Fix the after_install loader to immediately open the "Welcome to
Gallery 3!" dialog, but not immediately open the "change your
password" dialog.
2009-08-08 21:26:55 -07:00
Tim Almdal 78b9754563 Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-08 21:22:51 -07:00
Bharat Mediratta 7aac471b82 Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branch
Conflicts:
	modules/gallery/js/quick.js
2009-08-08 20:56:06 -07:00
Bharat Mediratta c9f5000e65 Improve the graphics toolkit detection code so that properly
identifies situations where its restricted by open_basedir.

We now track more informatoin about the toolkit including the version
and any errors we encountered while doing the detection so that we can
provide more info downstream.  This makes graphics::detect_toolkits()
a little heavier, but that's ok because it should not be called very
often.

In the process, refactor the controller and view hierarchy so that
it's a little more straightforward in the code.

Fixes ticket #616.
2009-08-08 20:31:16 -07:00
Chad Kieffer 9fa4e89725 Fixed typo. Dialog links still broken. Now, wiht more speling! 2009-08-08 20:39:19 -06:00
Tim Almdal 1c5b04a2c5 Fix the problem where the login page and edit permission pages were
supersized based on ly last commit.
2009-08-08 16:26:34 -07:00
Tim Almdal e4fb6959af Forgot to save this one before committing the last two times... duh. Completes the conversion from using 1 to true for the immediate paramter to gallery_dialog 2009-08-08 16:18:33 -07:00
Tim Almdal aac06342b3 Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-08 16:11:28 -07:00
Tim Almdal e04675470b Forgot to save this file when i changed the value from 1 to true 2009-08-08 16:01:20 -07:00
Tim Almdal ae428a7e21 remove a debug statement left over from previous commit 2009-08-08 15:52:04 -07:00
Tim Almdal 35c6bc3cfa Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-08 15:48:13 -07:00
Tim Almdal cb1ae141bb Create an new option 'immediate' and if set to true then don't try to set up click events, but just show the dialog. Also remove the destroy method and put all the cleanup into the dialog close handler 2009-08-08 15:46:53 -07:00
Bharat Mediratta 6641fec60d Use the same pager layout as we do in photo.html.php. 2009-08-08 14:37:55 -07:00
Bharat Mediratta 7863aa16f9 Update tags module to notify modules when items related to a tag are
affected.  Practically speaking this means that we'll reindex items
when tags are added or removed from them.

API change:
  Remove item_related_updated_batch event.

Rationale:
  While this is an efficient event, it requires module developers to
  support two event APIs for staying up to date and increases the
  likelihood that they'll forget one and have data corruption.  Force
  them all through the slower but more reliable pipe, for now.  We
  can always try to improve efficiency by using the batch_start and
  batch_stop events.
2009-08-08 14:30:21 -07:00
Chad Kieffer 3a8f1f4262 Cleanup context menu styles a bit 2009-08-08 13:20:00 -06:00
Chad Kieffer 00098b4d14 Handle icon markup and styles in content menu before applying album grid hover affect. Dialog link's in context menu are broken currently 2009-08-08 11:59:32 -06:00
Chad Kieffer ed6302a0ad Merge branch 'master' of git@github.com:bharat/gallery3 2009-08-08 01:14:51 -06:00
Chad Kieffer 6357f3332b Added basic context menu affects and styles. Simplified some of the action labels in the menu. 2009-08-08 01:14:22 -06:00
Tim Almdal 685b1ddf88 Enhance how the organize dialog degrades if the browser window is not optimal 2009-08-07 21:40:35 -07:00
Tim Almdal 7b0ea229b8 Make the organize dialog open properly in IE8, Chrome and FF. For some reason (probably a timing thing) the height of the contents was not being set correctly in FF. So we just hard code an estimate of the size of the Draw handle, and message areas. 2009-08-07 17:07:04 -07:00
Tim Almdal 85d07d0f90 Merge branch 'master' of git@github.com:talmdal/gallery3 2009-08-07 13:52:55 -07:00
Tim Almdal 10c98a3944 Merge branch 'master' of git://github.com/gallery/gallery3
Conflicts:
	lib/gallery.common.js
	lib/gallery.dialog.js
	modules/organize/js/organize.js
	modules/organize/js/organize_init.js
2009-08-07 13:52:30 -07:00
Bharat Mediratta 828f6add50 Remove stray js-breaking "#" symbol that I accidentally added in 63ddac5d 2009-08-07 13:17:56 -07:00