kitsune/apps/upload
James Socol 78df39ade8 Create a permission to delete attachments to answers. [bug 600176]
Adds the default permissions for upload.imageattachment and switches the
views to check for the correct permission. Also ensures that del_image_async
returns JSON and improves test coverage of that view.
2011-03-03 14:54:34 -05:00
..
templates/upload Create a permission to delete attachments to answers. [bug 600176] 2011-03-03 14:54:34 -05:00
tests Create a permission to delete attachments to answers. [bug 600176] 2011-03-03 14:54:34 -05:00
__init__.py [578520] Add preliminary support for uploading images and basic tests. Use ImageAttachments and generate thumbnails on upload. 2010-07-28 14:12:35 -07:00
forms.py [619382] Use _lazy() when doing things at import time (more specifically, when outside the scope of a request). Always pass unicode strings to it to avoid later surprises where things were expecting unicode. Use the name "_lazy" consistently wherever we're doing lazy translation. 2010-12-20 17:22:07 -08:00
models.py [bug 634345] Upgrade Django to 1.2.5, fix backwards incompatible changes, and flag some AJAX POSTs for update. 2011-03-02 17:41:43 -05:00
storage.py [bug 596116] Rename uploaded files to something in ascii. 2010-12-20 15:00:06 -08:00
tasks.py [bug 624427] Avoid IOError due to race between image deletion and thumbnail generation. 2011-02-10 13:06:09 -08:00
urls.py [578520] Delete images and upload with no JS, thumbnail generation and ImageAttachments. 2010-07-28 14:13:01 -07:00
utils.py [bug 617387] More flexible API for generating image thumbnails. Keep it simple. 2011-01-11 11:24:28 -08:00
views.py Create a permission to delete attachments to answers. [bug 600176] 2011-03-03 14:54:34 -05:00