aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit
Commit message (Collapse)AuthorAgeFilesLines
...
* Find out if such a slug exists via a query instead of via a .save() callChristopher Allan Webber2011-06-031-12/+19
|
* Add GNU headers to new *.pyElrond2011-06-022-0/+31
|
* Handle Exceptions from save(); Move may_edit_mediaElrond2011-06-022-10/+13
| | | | | | | | Turn .save() excpetions into a HTTPConflict. Not nice, but at least the user gets the error. Until there is a proper way to validate things and get nice errors. Move may_edit_media() to lib.py, as it's not a view.
* Prepare for moving /edit/ under /u/.../edit/Elrond2011-06-022-3/+3
| | | | | To make moving the whole thing under /u/ easier, prepare to pass in the {user} needed for that.
* Check for edit permission.Elrond2011-06-021-0/+13
| | | | | You need to own the media, or be an admin to use the edit form. As simple as that, for now.
* "edit": Finally implement saving.Elrond2011-05-271-1/+12
| | | | | | Currently no checks. Probably not so good. And especially, every logged in user currently can edit the data for any other user's media.
* Starting "edit" functionality.Elrond2011-05-264-0/+72
This adds a link to the "edit" form, the form, the view for displaying the form and that's about it.