summaryrefslogtreecommitdiff
path: root/modules/gallery/models
AgeCommit message (Expand)Author
2010-01-27Convert back to using ORM::factory(..., $id) instead of calling where().Bharat Mediratta
2010-01-27Prevent accidentally deleting the root album.Bharat Mediratta
2010-01-26Specialize the album cover id check to allow the root album to have noBharat Mediratta
2010-01-25Always keep the original around when updating existing items, becauseBharat Mediratta
2010-01-20Whitespace.Bharat Mediratta
2010-01-20Stop using MY_ORM::original(). It's got very odd semantics and we areBharat Mediratta
2010-01-19Fix some validation checks to check to see if the original was loadedBharat Mediratta
2010-01-19Move data initialization into the constructor so that it happensBharat Mediratta
2010-01-19Make video/x-flv a valid movie mime_typeBharat Mediratta
2010-01-18Update valid_parent() to disallow moving an item inside its own hierarchy.Bharat Mediratta
2010-01-18Fix renaming in save() by moving the actual rename action underBharat Mediratta
2010-01-18In valid_name, don't query on the id if it's null.Bharat Mediratta
2010-01-17Make set_data_file() chainable.Bharat Mediratta
2010-01-17Get rid of internal_only designation -- it's too hard to enforce cleanly.Bharat Mediratta
2010-01-17Move rules entirely down into validate() so that we can be moreBharat Mediratta
2010-01-16PHPdoc.Bharat Mediratta
2010-01-16Don't forget to save when we make insignificant chagnes only.Bharat Mediratta
2010-01-16Make movie creation use model based validation. Move movie relatedBharat Mediratta
2010-01-16Check for illegal extensions in valid_name()Bharat Mediratta
2010-01-16Convert photo uploading over to the new model based validationBharat Mediratta
2010-01-16Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2010-01-16Don't pass MY_ORM::original() to update event handlers, since afterBharat Mediratta
2010-01-15Validate the model type.Bharat Mediratta
2010-01-15Move model business logic out of album::create() and intoBharat Mediratta
2010-01-15Move setting Item_Model::rand_key into Item_Model::save() since it'sBharat Mediratta
2010-01-15Use $value in valid_xxx() functions instead of the member field. They're equ...Bharat Mediratta
2010-01-14Begin the process of converting to model based validation. RightBharat Mediratta
2010-01-04Change uppercase NULL to lowercase null to match the gallery3 style guideTim Almdal
2010-01-04Another K2.4 holder over... We had, when checking for position, ->where(, "="...Tim Almdal
2010-01-02Add a cache buster to the resize and file urls. This fixes ticketBharat Mediratta
2010-01-02Take precautions against deleting var/albums, var/thumbs or var/resizes.Bharat Mediratta
2009-12-22The default value for $offset should always be null (according to theBharat Mediratta
2009-12-18Convert a database query.Bharat Mediratta
2009-12-16Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-12-16Adjust for the fact that movies have JPG thumbnails. Fixes ticketBharat Mediratta
2009-12-13Convert some database calls.Bharat Mediratta
2009-11-26Convert some more Database::instance() calls to db::build() form.Bharat Mediratta
2009-11-26ORM::find_all() now uses null as the default value for offset.Bharat Mediratta
2009-11-26Overload Database_Builder to add merge_where() which takes predefinedBharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
2009-11-26ORM::$rules now has a special meaning. Use $form_rules for ourBharat Mediratta
2009-11-25ORM::orderby -> ORM::order_byBharat Mediratta
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
2009-11-06Make sure the position method works for both ascending and descending sort or...Tim Almdal
2009-11-04Modified the so that a where clause can be passed into item::get_position. W...Tim Almdal
2009-10-30Log an alert when we can't load a user.Bharat Mediratta
2009-10-27Refix #812, by removing the decoding in file_proxy instead of not encoding in...Tim Almdal
2009-10-27Don't url encode the components of the relative_path_cache as we they refer t...Tim Almdal
2009-10-24Merge branch 'master' into talmdal_devTim Almdal
2009-10-24When an item is renamed or move insure that the target file name doesn't exis...Tim Almdal