Commit Graph
4459 Commits
Author SHA1 Message Date
Chad Kieffer e232c39fe5 Rename g-pager to g-paginator after the recent pagination update. 2009-11-18 18:51:18 -07:00
Bharat Mediratta 350f6b5876 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-18 11:26:34 -08:00
Bharat Mediratta 670312ff10 For album pagination, don't let the last_visible_position exceed the
total.  Fixes ticket #903.
2009-11-18 11:26:19 -08:00
Tim Almdal 5b579ffdcb Remove the image_block_installer class as it does nothing, except erroneous set the version number to 2. 2009-11-18 11:14:50 -08:00
Tim Almdal fc41d09134 Revert "Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file."
This reverts commit 4fe5801c88.
2009-11-18 10:54:01 -08:00
Tim Almdal 4fe5801c88 Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file. 2009-11-18 10:34:39 -08:00
Tim Almdal 3f600d46e4 Update the xss golden file so tests pass. 2009-11-18 08:53:35 -08:00
Chad Kieffer 9d45cc040d Flip the breadcrumb separator and play slideshow button for RTL languages. 2009-11-17 22:48:10 -07:00
Chad Kieffer 3aa7a3fcda Address RTL issues reported in ticket #869. Placement of checkboxes and radio buttons and sidebar block management lists. 2009-11-17 22:32:25 -07:00
Chad Kieffer d2752775fa Finalized RTL adjustments for Superfish. Submenus now appear to the left, instead of the right. Drop shadow and arrows adjusted accordingly. Added -rtl version of the superfish arrows. 2009-11-17 20:13:56 -07:00
Bharat Mediratta 7c2c77f3c1 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-17 15:53:30 -08:00
Chad Kieffer 9ae9dabe68 Initial RTL submenu arrow adjustments for Superfish. Submenus still appear to the right, instead of the left, and this might not be possible to fix without hacking Superfish JS itself. 2009-11-17 16:48:01 -07:00
Bharat Mediratta b8e94302bd Tweak load_themes() to match exactly "/admin" or the "/admin/" prefix,
but not just the "/admin" prefix because that breaks if you add an
image like "admin_photostream".
2009-11-17 15:36:02 -08:00
Chad Kieffer 42ce291d58 Stop overlap of g2_import messages and info icon in the background. Fixes #765. 2009-11-17 15:25:22 -07:00
Chad Kieffer 2762987a43 Float short-form elements to the right for rtl. 2009-11-17 15:20:14 -07:00
Chad Kieffer 401c9c21e1 White-space fix and quoting update. 2009-11-17 15:16:40 -07:00
Bharat Mediratta 1067e68292 Redesign the way that we consider page types to create buckets of page
types, and a subtype for specifics.  Currently the top level bucket

   collection, item, other

Here are the core subtypes so far:

   collection: album, search, tag
   item: movie, photo
   other: login, reset, comment-fragment, comment

It's legal to create new page_subtypes whenever you want.  Use the
appropriate page_type to get the coarse grain behavior that you want.
2009-11-17 14:04:45 -08:00
Chad Kieffer 2935816fb3 Swap sides for rounded corners for short forms when RTL language is in use. 2009-11-17 14:07:21 -07:00
Bharat Mediratta ade642cff4 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-16 14:57:35 -08:00
Bharat Mediratta 78b6da12aa Make sure that we have a valid resource from the server side before we
fetch its url.  Fixes ticket #888.
2009-11-16 14:57:24 -08:00
Tim Almdal bf4c518bb5 Store the directory, files and translation cache in the gallery3 cache instead of trying to store it in the task. It is possible with lots of modules and lots of incoming translations to go beyond the 64K limit in the task context. Possible fix for #886. 2009-11-16 14:25:25 -08:00
Tim Almdal 2e4d29e7dd If an empty array is passed into set method, then make sure the tag value being stored in the database is null, not "Array" 2009-11-16 14:23:29 -08:00
Tim Almdal 14f1fc30b5 Use some hacky css to get the buttons alighned properly. Fixes ticket #880. 2009-11-16 07:49:17 -08:00
Chad Kieffer 2d6f5cda6c Merge branch 'master' of github.com:gallery/gallery3 2009-11-15 23:28:10 -07:00
Chad Kieffer 33d2a2481e MInor message-block padding fixes in general and specifically for organize. 2009-11-15 23:27:37 -07:00
Chad Kieffer 18f5481252 Merge branch 'master' of github.com:gallery/gallery3 2009-11-15 22:58:02 -07:00
Bharat Mediratta 41e3dba65a Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-15 21:57:27 -08:00
Chad Kieffer f4ad53d28b Be a bit more explicit in the application of the album icon. Apply it as a class to the span to hopefully make it's purpose a bit more obvious. 2009-11-15 22:57:27 -07:00
Bharat Mediratta 08b127e9a4 Revert "Switch to new CoolIris slideshow. It doesn't fix the problems, but it"
This reverts commit 2d7693b2f3.

The new slideshow is not ready yet (sorry Belboz99!)
2009-11-15 21:56:55 -08:00
Chad Kieffer fb2c365d8f Fix outstanding issues in the organize dialog. Tighten up the layout a bit so that more microthumbs will display. 2009-11-15 22:55:09 -07:00
Andy Staudacher b64729bfbe Fix ticket 890 (related to 879): Don't double-escape menu labels on the comment admin screen. 2009-11-15 19:46:12 -08:00
Andy Staudacher 0733dc37fd Merge commit 'upstream/master'
Conflicts:

	modules/gallery/tests/xss_data.txt
2009-11-15 19:44:47 -08:00
Chad Kieffer dcfa74e2d9 Merge branch 'master' of github.com:gallery/gallery3 2009-11-15 20:43:48 -07:00
Bharat Mediratta 9379308f91 Xss data update 2009-11-15 19:36:02 -08:00
Bharat Mediratta e0f4e6500d Use text::alternate() instead of hand-rolled even/odd code. 2009-11-15 19:34:44 -08:00
Bharat Mediratta 64ef86a8ee Updated xss data. 2009-11-15 19:27:35 -08:00
Bharat Mediratta 731ff800cd Use 'git ls-files' instead of glob() so that we only check files known
to Git.  This means that local files which we choose to exclude from
git don't have to follow the same permission model.
2009-11-15 19:20:43 -08:00
Bharat Mediratta 5a27ce7e8f Save/restore $_SERVER before/after tests to avoid contamination.
Fix albums/photos tests to make sure we're really getting the
  HTTP_REFERER back.
2009-11-15 19:10:56 -08:00
Bharat Mediratta d12555de9a Don't show resizes for albums, only for photos.
Fixes ticket #893.
2009-11-15 18:54:12 -08:00
Bharat Mediratta d7b13ee167 Try to keep users from leaving the upgrade page, or running the
upgrade twice.

1) Disable the "Upgrade all" link once clicked
2) Put up a "upgrade in progress" link to show that there's something
   happening.

Fixes ticket #837.
2009-11-15 17:12:26 -08:00
Chad Kieffer de3bfac2ec Fixed indenting. 2009-11-15 18:02:20 -07:00
Bharat Mediratta 3481c8b58f Change "confirmation" to "dialog" in preparation for putting up a
"we're working, stay tuned" message.
2009-11-15 16:21:45 -08:00
Bharat Mediratta 9e5714aee8 Tweak upgrader html and css so that we set opacity properly for rows
that are done, and disable the upgrade link when there're no actions
to take.
2009-11-15 16:14:30 -08:00
Bharat Mediratta 6ec81006e7 Fix a bug where we were using <? ?> tags in css to figure out whether we
should gray out an element.
2009-11-15 16:02:39 -08:00
Bharat Mediratta 9df591c774 Close the confirmation box with a fade, instead of a slide. 2009-11-15 15:35:10 -08:00
Bharat Mediratta bf2b25ce32 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-15 15:29:39 -08:00
Bharat Mediratta 5df00737c9 Fix a couple of errors in the refctored paginator code:
1) We weren't showing previous page links for albums when we should have
2) We needed to wrap the results of url::merge() in url::site() so that we
   generate server-relative urls.
2009-11-15 15:24:49 -08:00
jhilden c63a073cd6 CSS change that not a whole dialog box has the move cursors, but only the title bar (e.g. in the simple uploader) 2009-11-15 10:12:40 -05:00
Chad Kieffer 11f5560713 Merge branch 'master' of github.com:gallery/gallery3 2009-11-15 00:38:59 -07:00
Chad Kieffer a6f1d3ad44 Remove g-dialog-link from special groups delete button (registered users, everybody), it's supposed to be disabled. Updated wording of headings and instructions. 2009-11-14 23:31:14 -07:00