summaryrefslogtreecommitdiff
path: root/modules/unit_test
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-16 00:51:31 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-16 00:51:31 -0800
commitbf085a1a176f32546f86988049e0c3f809842ce7 (patch)
tree61e758059ddf0f53e008e43cb6c2956b02e12906 /modules/unit_test
parentd7eb102312a02907fbd26064714dc98f3e016103 (diff)
Convert photo uploading over to the new model based validation
approach. - Rearrange Simple_Uploader_Controller::add_photo() to validate the form early in the process, and switch to using model based validation. - Move thumbnail generation into gallery_event::item_created() so that it's decoupled from the model. - Delete photo::create() and move all of its logic into Item_Model::save(). - Add Item_Model::$data_file to track the data file associated with new movies and photos. - Do some cleanup on the validation callbacks -- it turns out the 2nd argument is the field name not the value.
Diffstat (limited to 'modules/unit_test')
0 files changed, 0 insertions, 0 deletions