summaryrefslogtreecommitdiff
path: root/core/helpers
AgeCommit message (Collapse)Author
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68)
2009-02-27* Refactor task management methods from admin_maintenance.php toTim Almdal
task.php * Added a owner_id field to the task database * Modified the admin maintenace to show the owner of the task <<**** Requires a reinstallation of core ****>>
2009-02-26Update to image_block based on bharat's feedbackTim Almdal
1) move the rand_key column into core 2) don't do a max rand, just try to a get a random number less than the current random number if that doesn't successd look the other way
2009-02-26Remove the commented line $parent->$movie->parent() as the $parentTim Almdal
object was passed in as a parameter.
2009-02-26Fix thumbnail and resize generation for photos. the variable $type hadTim Almdal
never been set, so it was never equal to "photo" so no thumbnails were generated.
2009-02-26Added a check to insure that the resize or thumbs image files do notTim Almdal
exists. As per ticket #109
2009-02-26Support adding custom header/footer text to themes via admin/theme_detailsBharat Mediratta
2009-02-26Change quote style.Bharat Mediratta
2009-02-26Make scaffold into a menu, move translation option into it and shortenBharat Mediratta
it so that it fits on one line.
2009-02-25Add support MP4 movies also. Flowplayer supports them and can streamBharat Mediratta
them using the h264streaming plugin. Everything else is a fairly minor change.
2009-02-24Fix i18n create table sql (forgot to change core_install.php)Andy Staudacher
2009-02-24File structure style fixesAndy Staudacher
2009-02-23Remove debugging informationTim Almdal
2009-02-231) Optimize the loop in graphics::generate so it uses the $ops as theTim Almdal
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-23Removed hybrid album view link. Not used, probably won't be part of core.Chad Kieffer
2009-02-23Remove debug code, thanks Andrew Slayman!Bharat Mediratta
2009-02-22Remove the $item from the various graphics functions, that was a badBharat Mediratta
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-22Hardcode all movie mime types to video/x-flv cause that's all we support now ↵Bharat Mediratta
anyway
2009-02-22Standardize to uppercase DESC in the order by method callsTim Almdal
2009-02-22Very basic movie support. You can upload a FLV file, we use ffmpeg toBharat Mediratta
extract a thumbnail out of it and if you click through we show it using flowplayer.
2009-02-22Fix load_themes() to actually look up the right themes to use. Thanks to ↵Bharat Mediratta
Blake Turner.
2009-02-19Differentiate between available and installed languages. Provide admin UI to ↵Andy Staudacher
install languages. See: https://apps.sourceforge.net/trac/gallery/ticket/75 (first step for this task)
2009-02-19Fix indentation.Bharat Mediratta
2009-02-17Move private key generation into the installer so that we're notBharat Mediratta
generating it lazily.
2009-02-17Adding a private key. Based on Drupal 6's drupal_get_private_key() method.Andy Staudacher
2009-02-15Fix up some textBharat Mediratta
2009-02-15Album cover fixes. Don't bomb in generate if we can't load the albumBharat Mediratta
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-14Say hello to the new Flash based uploader, courtesy of Eric Zelermyer.Bharat Mediratta
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-14Truncate url to 255 charsBharat Mediratta
2009-02-14Fix rewritten urls to handle query params properly. This was breakingBharat Mediratta
code like: url::site("albums/3?page=2")
2009-02-14Fix indentation.Bharat Mediratta
2009-02-13Minor text tweakBharat Mediratta
2009-02-13Continue to replace raw sql with Database method calls. As per ticket #68Tim Almdal
2009-02-12Remove the Database::query call for deletes and updated and useTim Almdal
Database::delete or Database::update instead
2009-02-12Adding locale::display_name().Andy Staudacher
2009-02-12Move l10n enable/disable option to Options menu.Andy Staudacher
Only available to admins at this point.
2009-02-10Simplification pass that preserves almost all functionality (exceptBharat Mediratta
default_country) but removes a lot of the code.
2009-02-10Rename 'Language Settings' -> 'Language' since it's under the Settings menu ↵Bharat Mediratta
anyway
2009-02-10style fixes (style for method names, style for vars in locale.php)Andy Staudacher
2009-02-10Adding UI for site language selection and user language preference.Andy Staudacher
2009-02-10Show the translation dashboard on admin pages also.Bharat Mediratta
2009-02-10Move site default_locale into DB (vars) and add a per user locale preference.Andy Staudacher
There's no UI to select the locale yet.
2009-02-09Add local localization functionality. Local = no means to upload / download ↵Andy Staudacher
translations to a translation server yet. - Added an outgoing_translations table to store translations from the local translation UI. - I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority. - Not handling plural strings in the translations UI yet.
2009-02-09Adding translation UI. Not backed by any model yet (submissions are ignored).Andy Staudacher
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166).
2009-02-08Properly implement changing the thumbnail and resized image sizes byBharat Mediratta
updating the graphics rules as appropriate.
2009-02-08Change mark_all_dirty to mark_dirty and specify what we want to mark dirty. ↵Bharat Mediratta
This will be useful for Admin_Theme_Details
2009-02-08A better fix for the problem with special characters (this simple 2Tim Almdal
line change replaces r19995, r19998-r20001 (thanks Bharat)
2009-02-08rollback r20001-r19998, r19995. This may require a reinstallTim Almdal
2009-02-08Implement the "additional options" part of the quick menu. It's onlyBharat Mediratta
for albums, because we don't currently have additional options for photos yet.
2009-02-07Remove the try/catch as it was being fixed twiceTim Almdal