aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug 681 - Comments from reviewing the new video mergeJoar Wandborg2011-12-061-5/+1
| | | | | | | | | | | | in mediagoblin.media_types and submodules - Moved VideoThumbnailer.errors initialization to VideoThumbnailer.__init__ - Cleaned up the image.processing imports - Removed default ``None`` from get_media_manager(_media_type) in mediagoblin.views - Removed media_types import - Removed sys import, and passing of sys to root.html template
* Merge branch 'video_gstreamer-only'Joar Wandborg2011-11-211-2/+6
|\ | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py
| * Multimedia refractoring, and added video thumbnail supportJoar Wandborg2011-10-051-2/+6
| |
* | Merge remote-tracking branch 'remotes/nyergler/pep8-ification'Christopher Allan Webber2011-11-131-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py
| * | Whitespace and formatting cleanup.Nathan Yergler2011-10-011-0/+1
| |/ | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* / Finished splitting util.py into separate files.Aaron Williamson2011-10-011-1/+2
|/
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* Make index page paginatedChristopher Allan Webber2011-08-011-5/+11
|
* Updated spacings in code for better readabilityRasmus Larsson2011-07-091-1/+1
|
* Added configuration variable to toggle registrations, if disabled the ↵Rasmus Larsson2011-07-091-1/+3
| | | | registration page redirects to index and no link to register is shown
* Made a simple template rendering view and switched a bunch of code over to ↵Christopher Allan Webber2011-06-051-2/+11
| | | | using it
* I have a strong preference for aligning all parameters in a function call.Christopher Allan Webber2011-06-051-1/+2
|
* Reformat render_to_response callsElrond2011-06-051-3/+3
| | | | | Just a simple indentation and ordering change, no functional change.
* Create render_to_reponse and use it everywhere.Elrond2011-06-051-6/+3
| | | | Just a shortcut for Response(render_template(...))
* Moving all views over to using util.render_template()!Christopher Allan Webber2011-06-041-5/+5
|
* Clean unused imports (found by pyflakes).Elrond2011-05-181-7/+2
|
* Move ObjectId, DESCENDING to db.utilElrond2011-05-181-2/+1
| | | | | | We used to import those from pymongo and mongokit directly. We should import them from a single place. So let's try db.util for this.
* Move models into new db/ directoryElrond2011-05-181-1/+1
| | | | | | | | The database is a central point of interest/discussion. Represent that by its own directory. This will surely become more interesting when we have migrations for example.
* Show images in reverse submit orderSebastian Spaeth2011-05-161-1/+2
| | | | | | | Fixes bug #327. Just do a .sort('created', DESCENDING) on Media when showing them to show the latest first. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Generate unique slugs for newly submitted images.Aaron Williamson2011-05-131-0/+1
|
* Removing this horrifying submission test stuff from way back whenChristopher Allan Webber2011-05-101-45/+0
|
* Implement simple media detail pageSebastian Spaeth2011-05-101-2/+2
| | | | | | | | | | | | | | | | | 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>
* Actually display submitted stuff on the mainpage. Crappy, but working!Christopher Allan Webber2011-05-061-1/+5
|
* Adds initial root pageWill Kahn-Greene2011-04-301-1/+5
| | | | | This adds an initial root page that's ugly as sin, but makes it easier to test what exists so far (e.g. register, login, submit pictures).
* Changes Mediagoblin -> MediaGoblin.Will Kahn-Greene2011-04-131-1/+1
|
* Where did this o come from.Christopher Allan Webber2011-04-021-1/+1
|
* Added copyright noticesMatt Lee2011-03-271-0/+16
|
* A testing submit view that doesn't work but is getting closer to working.Christopher Allan Webber2011-03-271-4/+16
|
* Still totally useless but at least it writes to the databaseChristopher Allan Webber2010-07-181-1/+7
|
* Starting with the test submit view using wtformsChristopher Allan Webber2010-07-181-0/+32
|
* Initial mediagoblin structureChristopher Allan Webber2010-07-171-0/+4