Commit Graph

1525 Commits

Author SHA1 Message Date
Chad Kieffer
d04dbadfa1 Apply buttons to comment moderation and action buttons, beginnings of a photo stream carousel block in admin dashboard. 2009-02-15 22:36:51 +00:00
Bharat Mediratta
6c59a19677 Get rid of InstallException and handle exceptions from create_admin()
properly.
2009-02-15 09:14:03 +00:00
Bharat Mediratta
0e3df4e5d2 Fix pluralized text. 2009-02-15 08:12:48 +00:00
Bharat Mediratta
590a4677f3 Tweak EXIF extraction code to be more robust.
* Create Exif_Record_Model to track whether we've scanned the EXIF
  data for this photo or not.  This allows us to track photos that
  don't have EXIF data (and won't have any Exif_Keys)

* Blow away old Exif_Keys when extracting, else we hit unique
  index constraints.

* exif::_get_stats() -- before it was running the task forever
2009-02-15 08:08:22 +00:00
Bharat Mediratta
eb3e2359a7 Fix up some text 2009-02-15 08:04:26 +00:00
Bharat Mediratta
4cdd3ae0de Allow rotation for photos, not albums (duh) 2009-02-15 04:38:21 +00:00
Chad Kieffer
7c0655bb36 Bring the default theme's header visually closer to the admin_default's header. 2009-02-15 03:18:48 +00:00
Bharat Mediratta
5757fdbda8 If we're deleting an album cover, null it out in the parent. 2009-02-15 00:58:14 +00:00
Bharat Mediratta
d8049cf711 Album cover fixes. Don't bomb in generate if we can't load the album
cover (it might be deleted and we forgot to update the
album_cover_item_id column).  Also, exclude albums with missing
album_cover_item_id's from the dirty query.
2009-02-15 00:57:19 +00:00
Bharat Mediratta
9e08285c00 Say hello to the new Flash based uploader, courtesy of Eric Zelermyer.
This requires a little trickery to proxy the session id and user agent
through the ActionScript code so that we can assume the same session
in the uploader.  It's also using its own path to add photos since
we'll want to have a slightly different protocol for dealing with
responses (as opposed to JSON or HTML).

A work in progress for sure, but it's already better than what we had before.?\024
2009-02-14 23:03:09 +00:00
Bharat Mediratta
b7e75a191c Truncate url to 255 chars 2009-02-14 22:44:58 +00:00
Bharat Mediratta
3bfe4a07bd Fix rewritten urls to handle query params properly. This was breaking
code like:
  url::site("albums/3?page=2")
2009-02-14 22:28:20 +00:00
Bharat Mediratta
410aabf124 exif_data -> exif_keys
This was breaking delete.
2009-02-14 22:25:36 +00:00
Bharat Mediratta
2ee995fcc7 If the page number is out of range, redirect to the nearest page.
This fixes a bug where deleting the last photo on a page would take
you to a 404.
2009-02-14 22:25:12 +00:00
Bharat Mediratta
2ec347a3ae Fix indentation. 2009-02-14 19:32:00 +00:00
Bharat Mediratta
e5f5f48243 Minor text tweak 2009-02-13 08:00:12 +00:00
Tim Almdal
2295d74879 Continue to replace raw sql with Database method calls. As per ticket #68 2009-02-13 06:57:16 +00:00
Tim Almdal
7ea06ccbcb Fix error if theme item is not supplied. 2009-02-13 06:36:02 +00:00
Chad Kieffer
5dad40b1ae Ticket #2. Tighten up search results UI. 2009-02-13 03:21:19 +00:00
Chad Kieffer
985a324ec7 Fixed short form button style. 2009-02-13 02:10:38 +00:00
Tim Almdal
ac06fcd26c Remove the Database::query call for deletes and updated and use
Database::delete or Database::update instead
2009-02-12 21:44:55 +00:00
Tim Almdal
0cf2423bbe Update the color on the remove watch icon 2009-02-12 21:11:47 +00:00
Tim Almdal
0836f507f2 Corrected indentation 2009-02-12 16:17:20 +00:00
Tim Almdal
fc08012e5d Add a maintenace task to extract the EXIF data from images
Changed exif to EXIF in comments
2009-02-12 16:14:52 +00:00
Tim Almdal
2df75c11fb Correct typo in variable name 2009-02-12 14:02:11 +00:00
Andy Staudacher
50b783e3a5 Change i18n message key to include the plural form (to ensure that it's truly unique). 2009-02-12 07:11:24 +00:00
Chad Kieffer
9bbe8053c7 Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page. 2009-02-12 07:07:11 +00:00
Chad Kieffer
d487558369 Fixed gViewMenu button issues. Fixed major admin_default theme issues, content now clears the menu. Added IE-specific stylesheet to admin theme. 2009-02-12 04:25:43 +00:00
Andy Staudacher
886fd07bc2 Adding locale::display_name(). 2009-02-12 03:01:52 +00:00
Andy Staudacher
989c24dc99 Move l10n enable/disable option to Options menu.
Only available to admins at this point.
2009-02-12 02:51:44 +00:00
Chad Kieffer
c69b483e34 Added jQuery UI Accordion widget. Updated vendor branch README. 2009-02-12 01:19:03 +00:00
Tim Almdal
6adf661ca7 Change the size of the text and and some odd/even coloring. Hopefully
some one will be so disgusted with these colors, they will change them :-).
2009-02-12 01:12:33 +00:00
Tim Almdal
fbfa2336f9 Bag the whole idea of a tab widget containing summary and detail
information and just go straight to the detail.
2009-02-12 00:52:44 +00:00
Tim Almdal
37a1cca520 Well, exif dialog displays and will show the summary information.
However, The text needs to be scaled or the size of the box needs to
be managed such that there is nowrapping.  The columns need to be
styled for odd and even.  And I can't get tabbing to work.  If you
click on details tab nothing happens and i don't know what I've done
wrong. Addition input is appreciated.
2009-02-11 17:42:05 +00:00
Chad Kieffer
d739d1ea46 Button mania continues. Make edit and delete user/group links buttons, buttons, buttons! 2009-02-11 05:35:11 +00:00
Jakob Hilden
b00bad39e6 improvements on the tag admin 2009-02-11 04:38:02 +00:00
Tim Almdal
2ad81a21db I know we are going to replace it it, but in the interim, changed the
color of the watch icon to match the others.
2009-02-10 16:41:59 +00:00
Tim Almdal
19f29fb1d6 Exif data is now collected when an image is added. 2009-02-10 16:28:50 +00:00
Bharat Mediratta
9ad072b33f Simplification pass that preserves almost all functionality (except
default_country) but removes a lot of the code.
2009-02-10 09:10:55 +00:00
Bharat Mediratta
0f2ec1ef19 Rename 'Language Settings' -> 'Language' since it's under the Settings menu anyway 2009-02-10 09:09:27 +00:00
Bharat Mediratta
afa1805f15 Remove redundant "Gallery" 2009-02-10 08:32:33 +00:00
Bharat Mediratta
0782cbe78f single -> double quotes. 2009-02-10 08:30:37 +00:00
Bharat Mediratta
df9268d80a remove leading slash from Forge url. 2009-02-10 08:29:24 +00:00
Chad Kieffer
c2eace3e59 Reduce width of add user and group forms. 2009-02-10 06:12:32 +00:00
Andy Staudacher
b2f20ff766 style fixes (style for method names, style for vars in locale.php) 2009-02-10 06:12:16 +00:00
Chad Kieffer
fc162362de Set one of 3 dialog widths keying off of form's CSS width value: 300px, 500px, or $(window).width() -100. Tested in IE 6, 7, 8 and looks good. Also, remove titlebar from progress bar dialogs. 2009-02-10 05:48:55 +00:00
Andy Staudacher
62f3724acb Adding UI for site language selection and user language preference. 2009-02-10 05:37:42 +00:00
Bharat Mediratta
fe5240730a Show the translation dashboard on admin pages also. 2009-02-10 05:12:31 +00:00
Bharat Mediratta
0b315b6fed Normalize a few things to our standard. 2009-02-10 05:05:11 +00:00
Bharat Mediratta
079a518334 convert ' to " to match our HTML standards. 2009-02-10 05:00:29 +00:00