summaryrefslogtreecommitdiff
path: root/modules/gallery/models
AgeCommit message (Expand)Author
2011-04-25Fix a bug introduced in 526859d9605d137ebe053ecbd80f46ca6a331194 whereBharat Mediratta
2011-04-22Do simple transliteration when converting filenames to slugs, but checkBharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-09Moved item_Model::get_position() method to the Item helper. It now calls the...Jérémy Subtil
2011-01-05Keep Item_Model::scale_dimensions from upscaling. Fixes #1579.Bharat Mediratta
2011-01-03Removed accidental whitespaceJoe7
2011-01-03Keep view counters of all item types accurateJoe7
2010-12-16Improve Item_Model::as_restful_array() to take an array of fields soBharat Mediratta
2010-12-15Consolidate all the random code into a random helper that offers:Bharat Mediratta
2010-12-15Use mt_rand() instead of rand() since it provides better portability.Bharat Mediratta
2010-12-14Move photo/movie file extension validation into the model. Fixes #1524.Bharat Mediratta
2010-11-18Fix a bug where simultaneous deletes of the same item can result in itBharat Mediratta
2010-11-09Tie the image cachebuster to the file mtime instead ofBharat Mediratta
2010-11-06Create item_before_create and item_before_update events, and makeBharat Mediratta
2010-10-31Deal in integers when doing aspect ratio operations. Fixes #1470.Bharat Mediratta
2010-10-25All modules should be named Xxx_Core for extensibility. Fixes #1458.Bharat Mediratta
2010-09-23Fix a bug introduced recently inBharat Mediratta
2010-09-12Rename the class to Item_Model_Core so that it can be overloaded.Bharat Mediratta
2010-09-11Uniqify the name and slug when we move an item to a new location withBharat Mediratta
2010-09-07Return the size in bytes of the thumb, resize and full file.Bharat Mediratta
2010-09-07The G2 import sets the sort_order to "asc"/"desc" butBharat Mediratta
2010-09-06Add "web_url" with the url to the web version of the item. Fixes ticket #1341.Bharat Mediratta
2010-08-25Null out Item_Model::$data_file in Item_Model::save() when we'reBharat Mediratta
2010-08-14Always use the data resource to return thumbs, resizes and full sizes.Bharat Mediratta
2010-08-09Use the data_rest implementation to proxy access to rawBharat Mediratta
2010-08-07Add the ability to replace the source data file in Item_Model::save().Bharat Mediratta
2010-07-29We don't care about the name and slug for the root album so don't bother enfo...Bharat Mediratta
2010-07-10Accept extension .m4v as video/mp4Romain LE DISEZ
2010-06-17Fix for ticket #1117 align videos to the center.Tim Almdal
2010-06-17Scale a movie to the resize size so that it doesn't overflow into the sidebar.Tim Almdal
2010-06-15Revert "Add a "convert_ids" parameter to Item_Model::as_restful_array(), which"Bharat Mediratta
2010-06-09Revert the "preserve_ids" global query parameter. We decided that it was aBharat Mediratta
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