summaryrefslogtreecommitdiff
path: root/core/helpers
AgeCommit message (Collapse)Author
2009-05-02Rename core helper to gallery helper to indicate that it's more of an ↵Bharat Mediratta
app-wide helper. 'core' doesn't make as much sense
2009-05-02Create item helper and move move_item(), remove_album_cover() andBharat Mediratta
make_album_cover() functions into it.
2009-05-02Move make_album_cover and remove_album_cover out of Item_Model andBharat Mediratta
into the core helper. Clean up interactions so that when we remove an album cover we pick a new one, or clean out the old album cover if there are no other choices.
2009-05-01Forgot these when i created the make_album_cover methodTim Almdal
2009-04-29Refactor the creation and removal of the album covers intoTim Almdal
make_album_cover and remove_album_cover methods in Item_Model. Usage: $photo->make_album_cover() $album->remove_album_cover()
2009-04-22Throw an exception in graphics::resize() if the input file is emptyBharat Mediratta
2009-04-22Refactor the move functionality into a helper function so it can beTim Almdal
called from organize
2009-04-18whitespace cleanupBharat Mediratta
2009-04-17Be graceful if exec() is disabledBharat Mediratta
2009-04-12changed order of form fields in photo and album forms so that the confusing ↵Jakob Hilden
"name" field is not on top anymore changed "name" label to "Filename" for photos and "Directory Name" for albums
2009-04-12Fix indentation.Bharat Mediratta
2009-04-09Fix the spelling of "appearance_menu" and update user_menu so that theBharat Mediratta
user/groups admin menu option appears again.
2009-04-08Fixes issues with Server Add:Tim Almdal
1) Fixes Ticket #208 2) Fixes Ticket #190 3) Fixes an unticketed issue where two items could collide when creating the thumbnail and/or resize. For example, loading a.flv and a.jpg would have generated the same thumbnail image. This change adds a random value to the name to avoid conflicts. 4) Added item::__set() to clear the relative path if the name changes
2009-04-06Fix up the quick-edit code on the photos page. Everything but "move"Bharat Mediratta
is implemented. Can't do move easily because it's tricky to handle the post-move redirect.
2009-04-06Rework the links section of the "Welcome to Gallery3" block so thatBharat Mediratta
the links work and it's more helpful. In the process, rename the Presentation menu to be Appearance because that makes more sense to me (and at least one other user who wrote about it on -devel).
2009-04-05Don't do graphics detection in core_installer::install() because thatBharat Mediratta
gets run at scaffolding::package() time, not on the target machine. Instead, create a core module variable to trigger running graphics::choose_default_toolkit() on the first admin login after install. Fixes ticket #206.
2009-04-05Add a weight column to the items model. Change the album ordering toTim Almdal
use this as the default instead of id. This prepares the way for manual reordering in the organize functionality.
2009-04-02Completely task-ify the localization scanning code and restore theBharat Mediratta
incoming_translation key cache. The only part of this that is not broken down is the l10n_client::fetch_updates() part.
2009-03-31Add quick edit pane to resize images, ticket #189Chad Kieffer
2009-03-26Convert language updates over to task form. It's still very rough,Bharat Mediratta
the task only has one step from zero to 100.
2009-03-26Replace iterators with stack based scanner, which we can serialize into the ↵Bharat Mediratta
task context.
2009-03-26Normalize code style.Bharat Mediratta
2009-03-26Convert the L10n scanner from a library to a helper.Bharat Mediratta
In order to make the class static, I had to remove the index cache. I'll restore that and cache the index keys in the task context in a subsequent change. For now, I've put in a @todo to add the caching back in.
2009-03-26Revert r20492Tim Almdal
2009-03-26Normalize exception format.Bharat Mediratta
2009-03-26Fix typo, whitespace.Bharat Mediratta
2009-03-25Fix for ticket #184. Set the default album sort order to "Title"Tim Almdal
2009-03-25Remove debug line.Bharat Mediratta
2009-03-24change version from "3.0 Alpha 3" to "3.0 pre-beta svn"Bharat Mediratta
2009-03-21Refactor all translation strings that have ambiguous placeholders.Andy Staudacher
E.g. "%link_startClick here%link_end" is now '<a href="%url">Click here</a>'. Note: This isn't always the best solution. E.g. consider "Foo <a href='%url' class='gDialogLink'>bar</a>." Now the translator has to deal with preserving CSS classes too...
2009-03-20Set our version to 3.0 Alpha 3 and add 'logs' as a dir we create at install timeBharat Mediratta
2009-03-19Rejigger the way we do reinstalls while Kohana is running.Bharat Mediratta
core_installer::install() now takes an $initial_install param that allows us to enforce that we're doing a clean install. Use this in both the scaffolding and the unit test code. Greatly simplify the scaffolding uninstall/reinstall code.
2009-03-18Fix for ticket #153. The sort column was not not initialized forTim Almdal
movies or photos. Turns out that when you go to delete, ORM tries to check for children and apply the sort order.
2009-03-18Fix failed unit test: private methods are required to begin with an ↵Tim Almdal
underscore(_)
2009-03-18Remove trailing ?>Tim Almdal
2009-03-18Remove semi-colons from single sql statements and correct anoterTim Almdal
instance of {items` which won't get prefixed properly
2009-03-18Functional l10n_client / server interaction:Andy Staudacher
- Get / verify API Key from l10n server - Submit translations - Fetch translations / updates Reference: Tasks: 75, 76, 55 TODO: Move out of core (and a series of other tasks).
2009-03-17Treat calls to install() with TEST_MODE set to be initial installs. At ↵Bharat Mediratta
least for now.
2009-03-16Switch the locale::$locales data structure to be an array instead of aBharat Mediratta
stdClass because we're not allowed to asort() stdClass objects in PHP 5.2.6.
2009-03-16Set the sort_column and sort_order for the root albumBharat Mediratta
2009-03-16Oops, fix a typo.Bharat Mediratta
2009-03-16Get rid of the extra robust code we had in here to make theBharat Mediratta
scaffolding work when the Gallery wasn't installed yet. Now we force users through the installer.
2009-03-16Initialize $result in get_html()Bharat Mediratta
2009-03-16Don't count on the uri having 3 components; that breaks on newer versions of ↵Bharat Mediratta
PHP.
2009-03-16Illegal use of $this in static function site(). Replace with $theme.Bharat Mediratta
2009-03-16Thin down the scaffolding code so that all that is there is the testTim Almdal
data creation and the packaging code. The rest ofthe functionality is either no longer required, or moved to the developer module (MPTT Tree). Also provide checking for the active user to be an admin.
2009-03-15Move the start/stop translating menu item to the admin menuTim Almdal
2009-03-15Move profiling and debugging out of the scaffolding and into theTim Almdal
developer module.
2009-03-14style fixesBharat Mediratta
2009-03-14Invert the check for https vs http.Tim Almdal