aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit
Commit message (Collapse)AuthorAgeFilesLines
* Caution an admin when they're editing someone else's media.Christopher Allan Webber2011-07-031-0/+8
|
* uses new 'username' variable in querystring to specify the user to editCaleb Forbes Davis V2011-07-031-2/+15
| | | | | | | | | Previously, this view only allowed editing of the logged-in user. Now you can specify the user to edit in the querystring. If you are an admin the view allows you to edit any user's profile, with a warning message. The warning only shows up if the admin is editing another user's profile. Make sure to pass the username to this view at every step in the process
* Bug #404 - Successful profile edit is successful!Caleb Forbes Davis V2011-07-011-1/+5
| | | | user is notified of successful profile edit w/o extra navigation
* Several small UI changes to edit profile page: moved header, changed form ↵Jef van Schendel2011-06-221-3/+3
| | | | wording, changed css class
* I don't think we need the username to be part of the profile editing URLChristopher Allan Webber2011-06-211-1/+1
|
* Adding an extra space between function definitionsChristopher Allan Webber2011-06-211-0/+1
|
* Merge remote-tracking branch 'origin/master' into is315cfdv2011-06-201-2/+11
|\
| * Made changes according to http://bugs.foocorp.net/issues/363#note-5Joar Wandborg2011-06-151-4/+6
| |
| * Added Markdown rendering for `media_entry`Joar Wandborg2011-06-121-1/+8
| |
* | enables entering user details including website url and biocfdv2011-06-182-5/+5
| | | | | | | | fixes usage of objects. still need to display the data on user page
* | baby step towards enabling profile editscfdv2011-06-183-0/+29
|/ | | | | | | | | | | | | | | adds * url and bio fields to database * form for editing the user profile * route to the edit profile controller * view for the profile editing page * template for the profile editing page * link to edit profile in the welcome page still needs * thorough inspection to see if it makes sense * tests * ?
* I have a strong preference for aligning all parameters in a function call.Christopher Allan Webber2011-06-051-1/+2
|
* Create redirect shortcut and use it aroundElrond2011-06-051-5/+3
| | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic.
* Reformat render_to_response callsElrond2011-06-051-5/+4
| | | | | Just a simple indentation and ordering change, no functional change.
* Create render_to_reponse and use it everywhere.Elrond2011-06-051-5/+4
| | | | Just a shortcut for Response(render_template(...))
* Moving all views over to using util.render_template()!Christopher Allan Webber2011-06-041-5/+4
|
* Mount media editing under /u/{username}/m/{media}/edit/Christopher Allan Webber2011-06-041-2/+2
|
* Let's redirect back to the media homepage using the slug instead of the idChristopher Allan Webber2011-06-041-1/+1
|
* I shouldn't have removed the .save() entirely :)Christopher Allan Webber2011-06-041-0/+1
|
* 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.