summaryrefslogtreecommitdiff
path: root/modules/gallery/models
AgeCommit message (Expand)Author
2010-06-08Add a "can_edit" field to the Item_Model's REST output. It'sBharat Mediratta
2010-06-07Add a "preserve_ids" global query parameter for REST requests thatBharat Mediratta
2010-06-07Add a "convert_ids" parameter to Item_Model::as_restful_array(), whichBharat Mediratta
2010-05-14Fix-ups for d98b85f7d3142676e6b4f407a18ed81564823f88Bharat Mediratta
2010-04-07Merge branch 'master' into bharat_devTim Almdal
2010-04-04Fix a bug where if the file name is composed of entirely illegalBharat Mediratta
2010-04-04REST changes: Allow PUT and POST requests to modify members, notBharat Mediratta
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-02-07Create the concept of a "failed authentication" as semanticallyBharat Mediratta
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-30Prevent brute force login attacks by reducing login attempts to 1 perBharat 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