aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * uses standard functions instead of form filters and fixes taglist defaultCaleb Forbes Davis V2011-07-121-3/+4
| | | | | | | | | | | | | | | | | | - seems simpler to use the same tag field processing procedures on media submit and edit, so now processing with a regular function instead of a form filter. Filters run on form load and post by default. - moved tags to sidebar - taglist defaults to [] instead of None - adds case sensitivity toggle
| * displays the tags on edit correctly nowCaleb Forbes Davis V2011-07-121-1/+1
| | | | | | | | | | | | | | | | -before it was running the tags field through the submit filter. that was kind of dumb -removes the filter function from the edit form -adds unicode syntax in the filter function -uses split correctly when saving the edited tags to mongodb
| * adds filter function to parse and clean tags field inputCaleb Forbes Davis V2011-07-121-2/+3
| | | | | | | | | | - for some reason the tags are showing up in the media edit form with u'..' and surrounded with []. I don't know why, grr
| * F360(tagging) - adds tag fields for submission, edit and displayCaleb Forbes Davis V2011-07-081-1/+4
| |
* | Use cleaned_markdown_conversion in both cases in edit/views.pyChristopher Allan Webber2011-07-141-11/+6
| |
* | Markdown-enable user bio (Feature 410)Aaron Williamson2011-07-101-0/+4
| |
* | bug #404 - corrects querystring variable name in redirectCaleb Forbes Davis V2011-07-071-1/+1
|/
* Merge remote branch ↵Christopher Allan Webber2011-07-061-2/+2
|\ | | | | | | | | | | | | 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit' Conflicts: mediagoblin/edit/views.py
| * edit profile submit redirects to user home pageCaleb Forbes Davis V2011-07-061-1/+3
| |
* | Switching single-quoted strings to double-quote to avoid escaping the ↵Christopher Allan Webber2011-07-031-2/+2
| | | | | | | | apostrophe.. :)
* | 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
* 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-181-3/+4
| | | | | | | | fixes usage of objects. still need to display the data on user page
* | baby step towards enabling profile editscfdv2011-06-181-0/+20
|/ | | | | | | | | | | | | | | 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
|
* 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-021-0/+15
|
* Handle Exceptions from save(); Move may_edit_mediaElrond2011-06-021-10/+5
| | | | | | | | 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-021-2/+2
| | | | | 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-261-0/+23
This adds a link to the "edit" form, the form, the view for displaying the form and that's about it.