summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2009-03-04Delete test(), it should never have been checked in.Bharat Mediratta
2009-03-03Use the gallery root directory on the batch::operation call whenTim Almdal
generating random albums and images
2009-03-03Create a proxy event (gallery_event) which is called when the requestTim Almdal
is completing.
2009-03-03Add the ability for modules to define hooks. The challenge is thatTim Almdal
when the hooks are run, we haven't added all the installed modules to the path, So if a module defines a hook it will never be run. This change runs any module defined hooks as part of the gallery initialization.
2009-03-03Remove the === false and === true checksTim Almdal
I really mean it this time
2009-03-03Refactored the batch Api: 1) created a small batch helper class:Tim Almdal
Starting a batch call batch::operation(name, item). In the case of adding photos name = add and item is the parent of the new items. When the operation is finished the batch::end_operation(name) is called. operation and end_operation events are called. Handlers (i.e. item_created) can call batch::in_progress(name) to determine if a batch is being processed.
2009-03-03If backticks (`) are used to delimit the name of the table inTim Almdal
database, Kohana gets confused an appends the prefix outside of the back ticks
2009-03-01Simplify the batch api by having the core event handlers forTim Almdal
start_batch and end_batch add and remove the batch id from the session. Modules wishing to do batch processing, just need to fire the start_batch and end_batch events. Other modules that need to be aware of batches (i.e. notifications) just check the session for "batch_id".
2009-02-28The scaffolding, simple_uploader and local_import now call two newTim Almdal
events: start_add_batch and end_add_batch. The parameter is a batch id which is generated on the first add request. The protocol is call the add_photo as many times as required and then call finish when done. Also renamed the add method in local_import to add_photo so it is consistent with simple_uploader
2009-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
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-27Replace the string [table_name] with {$prefix}table_name. SlowlyTim Almdal
working through setting up the database access to support table prefixes. (Ticket#68) Before going ahead, just wanted to check this approach... whatcha think?
2009-02-27Remove commented codeTim Almdal
Correct unbalanced brackets
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-26Removed raw update sql and replaced it with Database::update(...)Tim Almdal
calls. (ticket #68)
2009-02-26Remove the commented line $parent->$movie->parent() as the $parentTim Almdal
object was passed in as a parameter.
2009-02-26Use the Database::update function instead of a raw SQL queryTim Almdal
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-26Make theme details its own page so that we can wrap it in a div andBharat Mediratta
give it a title.
2009-02-26Change quote style.Bharat Mediratta
2009-02-26Minor cleanups.Bharat Mediratta
2009-02-26Minor style changes.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 for ticket #98.Tim Almdal
The problem was that item::delete was deleting the parent album
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-23Changing from binary(16) to char(32) as translation message key.Andy Staudacher
Although less efficient as a storage / transmission / comparison format, it's friendlier on the eyes and universally supported.
2009-02-23Better yet, rename gallery2.png to just gallery.png. Reference logo from ↵Chad Kieffer
scaffold too.
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-23Replace the word "item" in display text with photo/album/movie asBharat Mediratta
appropriate. We shouldn't be saying "item" to the user.
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-22If the album_cover_item_id points to a missing item (unlikely but possible) ↵Bharat Mediratta
just treat it like it was missing and continue
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-22Added t(...) around some display strings that were overlooked.Tim 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-191) Rename the module media_rss to rssTim Almdal
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-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-19Adding a l10n scanner - scans for t() and t2() calls, inserts the extracted ↵Andy Staudacher
messages into incoming_translations. See: https://apps.sourceforge.net/trac/gallery/ticket/74
2009-02-19Fix indentation.Bharat Mediratta
2009-02-18Add a 'finish' button which dismisses the dialog and refreshes the current pageBharat Mediratta
2009-02-18Urlencode the user agent, else it doesn't get passed through properly.Bharat Mediratta
This fixes the uploader on FF/Linux (and probably other platforms).