aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/submit/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Feature #409 - Submitting an image should redirect you back to user'sJoar Wandborg2011-07-031-1/+5
| | | | | | | | | | | page w/ a message * Successful submission redirects to the logged in user's page (your own, presumably). * "Woohoo! Submitted!" is launched into the tube of session messages to appear on next pageload. If you're not aborting in the window of 210ms it takes for the client to respond to the 302 and load the logged in user's/your page that is, YMMV.
* Adds util.cleaned_markdown_conversion() and uses it in the submission processChristopher Allan Webber2011-06-191-10/+8
| | | | | | This simplifies the markdown processing & html cleaning of descritions and etc by providing a wrapper function that we can use in multiple locations.
* 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-0/+7
|
* Merge remote branch 'remotes/gandaro/324-bad-media-types'Christopher Allan Webber2011-06-061-1/+4
|\
| * add changes in mediagoblin/submit/views.pyJakob Kramer2011-06-021-1/+4
| |
* | I have a strong preference for aligning all parameters in a function call.Christopher Allan Webber2011-06-051-3/+4
| |
* | Create redirect shortcut and use it aroundElrond2011-06-051-5/+2
| | | | | | | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic.
* | Reformat render_to_response callsElrond2011-06-051-7/+5
| | | | | | | | | | Just a simple indentation and ordering change, no functional change.
* | Create render_to_reponse and use it everywhere.Elrond2011-06-051-8/+6
| | | | | | | | Just a shortcut for Response(render_template(...))
* | Moving all views over to using util.render_template()!Christopher Allan Webber2011-06-041-9/+6
|/
* Update all the views so that they use the uploader reference insteadChristopher Allan Webber2011-05-221-1/+1
| | | | of uploader embedding
* Generate unique slugs for newly submitted images.Aaron Williamson2011-05-131-0/+3
|
* On image submission, do not require title. If none entered, default to filename.Aaron Williamson2011-05-121-3/+5
|
* Fix description submission in form handlingSebastian Spaeth2011-05-091-1/+1
| | | | | | | | | When we submitted an image the description would remain empty. THis was because of some weird typo in form handling. Get an attribute with .get('description') and not with .get(['description']). With this patch, descriptions actually go into the database. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Process media! Successfully!Christopher Allan Webber2011-05-061-2/+5
|
* Properly require files when users submitChristopher Allan Webber2011-04-231-32/+40
|
* Submission of image works :)Christopher Allan Webber2011-04-231-4/+3
| | | | /me pours some sparkling grape juice
* Enclose queue_file writing in with statement so that it's closed correctly.Christopher Allan Webber2011-04-231-1/+2
|
* submit_start written in a way that, by golly, you'd think maybe it'd workChristopher Allan Webber2011-04-231-0/+44
|
* Start of the submit view, but not much there quite yet.Christopher Allan Webber2011-04-191-0/+37