Commit Graph
785 Commits
Author SHA1 Message Date
Bharat Mediratta 515c081f79 Add support MP4 movies also. Flowplayer supports them and can stream
them using the h264streaming plugin.  Everything else is a fairly
minor change.
2009-02-25 05:27:29 +00:00
Tim Almdal 585ea81957 Fix for ticket #98.
The problem was that item::delete was deleting the parent album
2009-02-24 19:52:01 +00:00
Andy Staudacher c5964c74cd Fix i18n create table sql (forgot to change core_install.php) 2009-02-24 06:10:40 +00:00
Andy Staudacher e031957354 File structure style fixes 2009-02-24 05:54:19 +00:00
Tim Almdal b40f25cbed Remove debugging information 2009-02-23 22:37:49 +00:00
Tim Almdal c0049dce03 1) Optimize the loop in graphics::generate so it uses the $ops as the
key and path.  This way it won't try to generate a resize for movies.
2) Changed the options on the ffmpeg command in movie::extract_image
so we actually see a frame not the black one that starts the movie.
2009-02-23 17:13:58 +00:00
Andy Staudacher 8bba897a46 Changing from binary(16) to char(32) as translation message key.
Although less efficient as a storage / transmission / comparison format, it's friendlier on the eyes and universally supported.
2009-02-23 06:33:10 +00:00
Chad Kieffer 51591c9669 Better yet, rename gallery2.png to just gallery.png. Reference logo from scaffold too. 2009-02-23 05:55:29 +00:00
Chad Kieffer 3bba61b733 Removed hybrid album view link. Not used, probably won't be part of core. 2009-02-23 01:55:40 +00:00
Bharat Mediratta 37d3254d8c Remove debug code, thanks Andrew Slayman! 2009-02-23 01:36:54 +00:00
Bharat Mediratta ca5bba0964 Replace the word "item" in display text with photo/album/movie as
appropriate.  We shouldn't be saying "item" to the user.
2009-02-23 00:25:51 +00:00
Bharat Mediratta f924cd66ac Remove the $item from the various graphics functions, that was a bad
idea.  Instead convert movies to jpeg before doing any
transformations, which keeps the graphics functions clean and abstract
and dealing solely with image types.  Lighter/simpler solution.
2009-02-22 23:55:47 +00:00
Bharat Mediratta ffbab952c6 If the album_cover_item_id points to a missing item (unlikely but possible) just treat it like it was missing and continue 2009-02-22 23:54:48 +00:00
Bharat Mediratta 3a8439d7b5 Hardcode all movie mime types to video/x-flv cause that's all we support now anyway 2009-02-22 23:53:44 +00:00
Tim Almdal 95fc61c9a8 Standardize to uppercase DESC in the order by method calls 2009-02-22 17:36:58 +00:00
Tim Almdal adf338f2c1 Added t(...) around some display strings that were overlooked. 2009-02-22 16:14:58 +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
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
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
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
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
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 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
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 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 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
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
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
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