aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/decorators.py
Commit message (Collapse)AuthorAgeFilesLines
* require_active_login now redirect's to user's homepage if not email verifiedChristopher Allan Webber2011-07-291-2/+3
|
* Move InvalidId to db.utilElrond2011-06-201-2/+1
| | | | | | Instead of import InvalidId from the low level bson module, first import it in our db.util wrapper and second import it from pymongo.errors.
* Create redirect shortcut and use it aroundElrond2011-06-051-3/+3
| | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic.
* Merge remote branch 'upstream/master'Elrond2011-06-021-3/+6
|\ | | | | | | | | Conflicts: mediagoblin/templates/mediagoblin/user_pages/media.html
| * Just adjusting some spacing so we don't go over 80 charsChristopher Allan Webber2011-05-311-2/+4
| |
| * Fixed bug where someone who wasn't logged in was asked to verifyAleksandar Micovic2011-05-311-4/+5
| | | | | | | | their emails.
| * Added a temporary verification page informing the user they needAleksandar Micovic2011-05-301-1/+1
| | | | | | | | to authenticate.
* | Starting "edit" functionality.Elrond2011-05-261-0/+20
|/ | | | | This adds a link to the "edit" form, the form, the view for displaying the form and that's about it.
* Update all the views so that they use the uploader reference insteadChristopher Allan Webber2011-05-221-2/+2
| | | | of uploader embedding
* Make sure that a MediaEntry does belong to this appropriate user inChristopher Allan Webber2011-05-201-5/+17
| | | | the decorator. (Thanks Elrond)
* Cosmetic changes: removed an unused import, stripped some trailing whitespace.Christopher Allan Webber2011-05-201-1/+1
|
* MediaEntry slugs usable in URLs, & decorator that grabs media from the requestChristopher Allan Webber2011-05-201-0/+26
|
* Adjusting spacing a little bitChristopher Allan Webber2011-05-201-1/+1
|
* pass in page number in uses_pagination view via keyword argument so ordering ↵Christopher Allan Webber2011-05-201-1/+1
| | | | doesn't matter.
* Reorganizing the uses_pagination decorator a little and having it passChristopher Allan Webber2011-05-191-4/+2
| | | | in the page number to the view
* moved check for correct page values into decorator for view functionBernhard Keller2011-05-191-0/+19
|
* we should check for request.user['status'] not request.user['session'], clearly.Christopher Allan Webber2011-04-231-1/+1
|
* Provide a next= url when we require logging inChristopher Allan Webber2011-04-231-1/+3
|
* New requires_active_login decorator!Christopher Allan Webber2011-04-191-0/+44