aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages
Commit message (Collapse)AuthorAgeFilesLines
...
* Removing the raw string-nessChristopher Allan Webber2011-05-131-1/+1
|
* Improve user homepageSebastian Spaeth2011-05-121-9/+16
| | | | | | | | | | | | | 1) Only consider user's with 'status': 'active'. We don't want to display unconfirmed/blocked users, right? 2) Actually query user's media in the view and display on their home page. 3) Throw an error 404 if we don't find a valid user, rather than saying, "User not found" (from within the template). 4) Pass in medias as media_entries to remain compatible with the 'root' page. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* URLs should end in trailing slashes, or slash redirection doesn't workChristopher Allan Webber2011-05-111-3/+3
|
* 404 appropriately hereChristopher Allan Webber2011-05-101-4/+4
|
* Implement simple media detail pageSebastian Spaeth2011-05-103-0/+76
This patch creates a "homepage" for each media. The URL is /u/<username>/m/<objID>. On it we display the media and some details. It is ugly and lacking some stuff but it works. The only thing left to do is to throw an 404 error if the <username> and the media uploader don't correspond. - Also create a user "home page" while at it. It is merely a place holder for now though. - Link from the entries on the homepage, to the media pages, so we actually find them. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>