Commit Graph
1557 Commits
Author SHA1 Message Date
Tim Almdal adf338f2c1 Added t(...) around some display strings that were overlooked. 2009-02-22 16:14:58 +00:00
Tim Almdal eece67611e Added "flv" to the list of the supported files 2009-02-22 16:14:10 +00:00
Chad Kieffer 1aa21cb2ab Need to have next/previous in place in a disabled state to maintain pager layout. 2009-02-22 08:20:08 +00:00
Chad Kieffer 9b73213693 Add Cancel link next to submit buttons in dialogs. Apply button style to buttons in dialogs. 2009-02-22 08:05:15 +00:00
Chad Kieffer 9344141231 Minor fixes to gAlbumGrid and gPager 2009-02-22 07:32:38 +00:00
Bharat Mediratta baff63b70b Very basic movie support. You can upload a FLV file, we use ffmpeg to
extract a thumbnail out of it and if you click through we show it
using flowplayer.
2009-02-22 05:21:44 +00:00
Chad Kieffer e6836d8a5e Apply button styles to pager buttons and position in consistent locations. 2009-02-22 02:09:48 +00:00
Bharat Mediratta e84aa77237 Fix load_themes() to actually look up the right themes to use. Thanks to Blake Turner. 2009-02-22 00:57:54 +00:00
Bharat Mediratta 2505bd1579 Hardcode extensions instead of using Image::$allowed_types because we
don't support TIFF files.  TIFF files are not viewable directly in
most browsers
2009-02-21 20:58:02 +00:00
Tim Almdal 855eadb92f Standardize the html id of the progress bar to gProgressBar 2009-02-21 16:54:23 +00:00
Tim Almdal b6f0d17565 Change the name of the model from exif_info to exif_record So item
deletes won't fail.
2009-02-21 16:41:35 +00:00
Tim Almdal 5c30510ac4 Correct the layout of the feed so that the image shows up in the body
of the message in the feed reader.
2009-02-21 07:04:25 +00:00
Tim Almdal c2fa42cf6c Implementation of local import module. Still need work on better
status messages.
2009-02-21 02:28:19 +00:00
Tim Almdal af2f7f2c56 Use Image::$allowed_types instead of array(IMAGETYPE_GIF,
IMAGETYPE_JPEG, IMAGETYPE_PNG) as IMAGETYPE_GIF, IMAGETYPE_JPEG and
IMAGETYPE_PNG are not defined as constants
2009-02-20 19:04:58 +00:00
Tim Almdal 2b047aaca9 Change #Breadcrumbs to a css class. This allows the formatting to be
used multiple times on the same page. (For example in a dialog box
such as in jhilden's upload mockup)
2009-02-20 14:11:33 +00:00
Chad Kieffer 5dcf2794c5 Fixes to comment admin buttons. 2009-02-20 07:10:20 +00:00
Tim Almdal 8b2c05afc0 1) Rename the module media_rss to rss
2) Protect the fullsize image with a permission check
3) Added a content:encoded element to each item which allows the image to show up in the body of the feed.
2009-02-19 15:24:17 +00:00
Andy Staudacher 237656f6c8 Differentiate between available and installed languages. Provide admin UI to install languages.
See: https://apps.sourceforge.net/trac/gallery/ticket/75 (first step for this task)
2009-02-19 08:48:14 +00:00
Andy Staudacher d47e4c9b43 Adding a l10n scanner - scans for t() and t2() calls, inserts the extracted messages into incoming_translations.
See: https://apps.sourceforge.net/trac/gallery/ticket/74
2009-02-19 07:20:26 +00:00
Bharat Mediratta dcc42328b1 Fix indentation. 2009-02-19 01:50:38 +00:00
Bharat Mediratta d3752437b9 Add a 'finish' button which dismisses the dialog and refreshes the current page 2009-02-18 07:33:38 +00:00
Bharat Mediratta e24de87096 Urlencode the user agent, else it doesn't get passed through properly.
This fixes the uploader on FF/Linux (and probably other platforms).
2009-02-18 07:20:50 +00:00
Jakob Hilden 87ad71c985 added mkdir command to error message if "var" is not found, for people that don't know how to create a folder on unix 2009-02-17 21:49:57 +00:00
Bharat Mediratta 82ccbba124 Move private key generation into the installer so that we're not
generating it lazily.
2009-02-17 07:03:40 +00:00
Bharat Mediratta ae06ad3a41 Update to new Polar Rose API. 2009-02-17 06:03:47 +00:00
Andy Staudacher 6a8b80d892 Adding a private key. Based on Drupal 6's drupal_get_private_key() method. 2009-02-17 05:30:24 +00:00
Bharat Mediratta a5b17647a6 Fix url to SimpleUploader.swf for IE 2009-02-17 05:27:26 +00:00
Bharat Mediratta 9ac6ed5a82 Swap positions of rotation buttons so that that they're more intuitive 2009-02-17 05:11:39 +00:00
Bharat Mediratta 96c6121f4a Add more localized strings 2009-02-17 05:11:05 +00:00
Bharat Mediratta d8dd435b6d Updated to upstream r9.
Log: changed uploader to not wait for complete event before moving to
next download; fixes to reset progress bar itemRenderer properly when
renderers get reused
2009-02-17 04:44:42 +00:00
Bharat Mediratta 3684cff972 Ignore the unique timestamp value that upload::save() prepends to temp filenames. 2009-02-15 23:04:26 +00:00
Bharat Mediratta bcea2a6228 Hide the menu until we can superfish it so that we don't see the
unstyled list appear which causes the page layout to flicker.
2009-02-15 22:52:01 +00:00
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