summaryrefslogtreecommitdiff
path: root/modules/gallery/models/item.php
AgeCommit message (Expand)Author
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-19Fix the resize_url and file_url in as_restful_array()Bharat Mediratta
2010-02-19Correct the view_fillsize permission to view_full. In addition, change the na...Tim Almdal
2010-02-15return the absolute url not the relative for the full size, resize and thumb ...Tim Almdal
2010-02-14Remove the dirty flags from the information returned from the rest request fo...Tim Almdal
2010-02-12Revert "1) Add a depth parameter to retrieving an item thru the rest api"Bharat Mediratta
2010-02-121) Add a depth parameter to retrieving an item thru the rest apiTim Almdal
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
2010-01-31Elide data that isn't useful from the REST array.Bharat Mediratta
2010-01-30Add Item_Model::as_restful_array() for convenience.Bharat Mediratta
2010-01-29Strongly type the argument list to the model::validate method.Tim Almdal
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