Commit Graph

11 Commits

Author SHA1 Message Date
Bharat Mediratta
6ceb10424b Don't allow albums/photos/movies to end in "." because it risks
securit issues (and so Kohana won't route them, see
http://dev.kohanaphp.com/issues/684).

Partial fix for ticket #248.
2009-05-16 22:20:16 +00:00
Bharat Mediratta
33f1187220 Don't allow the various ::create() methods to take "/" in the name. 2009-05-16 03:48:56 +00:00
Bharat Mediratta
5495037a3d Gee it's May already. Update copyright to 2009. 2009-05-13 20:04:58 +00:00
Bharat Mediratta
a83db20fe2 Fix minor correctness issues 2009-03-17 18:09:21 +00:00
Tim Almdal
1fc2307fab rollback r20001-r19998, r19995. This may require a reinstall 2009-02-08 02:21:28 +00:00
Tim Almdal
90277704a2 Changed the way album and photo creation guards against duplicate
names.
Added similiar code to insure that path names are not duplicated.
2009-02-07 18:12:06 +00:00
Bharat Mediratta
5713e3c66e Change photo::create() and album::create() to take ORM instances
instead of ids.
2008-12-23 04:36:09 +00:00
Bharat Mediratta
fc7b78492b Separate thumbnails out into var/thumbs. This clears up some ambiguity in Item_Model and simplifies
file_proxy.  It also means we can stop munging file names in the var/resizes hierarchy.

In the process, rename "thumbnail" to "thumb" everywhere in honor of
Chad (well, ok because it's shorter)..
2008-12-17 04:45:35 +00:00
Tim Almdal
103bd8e8d2 Add the original item height and width to the item table 2008-11-19 22:45:30 +00:00
Bharat Mediratta
89bb3c42f7 Update the unit test for mime types. Can't test it right now because routing is broken for the test framework so we have to fix that first. 2008-11-19 03:39:12 +00:00
Bharat Mediratta
223cba531e Rename tests to make room for controller tests
Album_Test -> Album_Helper_Test
  Photo_Test -> Photo_Helper_Test
2008-11-09 23:49:09 +00:00