Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace media.get_uploader()._id by media.uploader | Elrond | 2011-12-24 | 1 | -3/+3 |
| | | | | | | media.get_uploader()._id loads a complete user object without actually needing it, because media.uploader already has the id! | ||||
* | Dot-Notation for Users.is_admin | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.username | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Update the delete item to use the _id after all... it's the safest way. | Christopher Allan Webber | 2011-12-05 | 1 | -1/+1 |
| | | | | See http://bugs.foocorp.net/issues/695 | ||||
* | Merge remote-tracking branch ↵ | Christopher Allan Webber | 2011-12-04 | 1 | -2/+1 |
|\ | | | | | | | | | | | | | | | | | 'remotes/lorochka85/bug852_use_media_slug_instead_of_id' Conflicts: mediagoblin/decorators.py mediagoblin/templates/mediagoblin/user_pages/media.html mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html | ||||
| * | Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin | lora | 2011-11-19 | 1 | -5/+5 |
| |\ | |||||
| * | | issue 582: use media.slug instead of media.id | lora | 2011-11-19 | 1 | -2/+1 |
| | | | |||||
* | | | Rename MediaEntry.uploader() to .get_uploader() | Elrond | 2011-11-22 | 1 | -1/+1 |
| |/ |/| | | | | | | | | | | | | | The .uploader() method conflicts with the uploader database field. As we're moving to .FIELD for db field access, this is a relevant conflict. So renaming .uploader() to .get_uploader() | ||||
* | | Dot-Notation for "_id" | Elrond | 2011-11-15 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Note: Migrations can't use "Dot Notation"! Migrations run on pymongo, not mongokit. So they can't use the "Dot Notation". This isn't really a big issue, as migrations are anyway quite mongo specific. | ||||
* | | Merge remote-tracking branch 'remotes/nyergler/pep8-ification' | Christopher Allan Webber | 2011-11-13 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py | ||||
| * | | Whitespace and formatting cleanup. | Nathan Yergler | 2011-10-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, = | ||||
* | | | i592: Use full path in various places | Elrond | 2011-10-03 | 1 | -1/+1 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running mediagoblin in a sub path on a web server, most things inside mediagoblin need the "inside path", but when generating URLs for the webbrowser, full paths are needed. urlgen and routes already do that. Some (mostly pagination and login) need the URL of the current page. They used request.path_info. But this is the "inside" path, not the full. So now there is request.full_path and its used in various places. | ||||
* | | Finished splitting util.py into separate files. | Aaron Williamson | 2011-10-01 | 1 | -1/+1 |
|/ | |||||
* | 508. Updates copyright/license information | Will Kahn-Greene | 2011-09-01 | 1 | -1/+1 |
| | |||||
* | Also allow admins to delete other users' media. | Christopher Allan Webber | 2011-08-30 | 1 | -15/+6 |
| | |||||
* | Feature #403 - Ability to delete media entries - Fixes according to feedback | Joar Wandborg | 2011-08-30 | 1 | -0/+26 |
| | | | | | | | | | | * Moved `mediagoblin.confirm` stuff to `mediagoblin.user_pages`, templates too. * Removed route extension for `mediagoblin.confirm` * Created `delete_media_files` which deletes all media files on the public_store when the entry is deleted * Created a new decorator to check if a user has the permission to delete an entry. | ||||
* | Use render_404 EVERYWHERE! | Christopher Allan Webber | 2011-08-20 | 1 | -8/+8 |
| | |||||
* | require_active_login now redirect's to user's homepage if not email verified | Christopher Allan Webber | 2011-07-29 | 1 | -2/+3 |
| | |||||
* | Move InvalidId to db.util | Elrond | 2011-06-20 | 1 | -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 around | Elrond | 2011-06-05 | 1 | -3/+3 |
| | | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic. | ||||
* | Merge remote branch 'upstream/master' | Elrond | 2011-06-02 | 1 | -3/+6 |
|\ | | | | | | | | | Conflicts: mediagoblin/templates/mediagoblin/user_pages/media.html | ||||
| * | Just adjusting some spacing so we don't go over 80 chars | Christopher Allan Webber | 2011-05-31 | 1 | -2/+4 |
| | | |||||
| * | Fixed bug where someone who wasn't logged in was asked to verify | Aleksandar Micovic | 2011-05-31 | 1 | -4/+5 |
| | | | | | | | | their emails. | ||||
| * | Added a temporary verification page informing the user they need | Aleksandar Micovic | 2011-05-30 | 1 | -1/+1 |
| | | | | | | | | to authenticate. | ||||
* | | Starting "edit" functionality. | Elrond | 2011-05-26 | 1 | -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 instead | Christopher Allan Webber | 2011-05-22 | 1 | -2/+2 |
| | | | | of uploader embedding | ||||
* | Make sure that a MediaEntry does belong to this appropriate user in | Christopher Allan Webber | 2011-05-20 | 1 | -5/+17 |
| | | | | the decorator. (Thanks Elrond) | ||||
* | Cosmetic changes: removed an unused import, stripped some trailing whitespace. | Christopher Allan Webber | 2011-05-20 | 1 | -1/+1 |
| | |||||
* | MediaEntry slugs usable in URLs, & decorator that grabs media from the request | Christopher Allan Webber | 2011-05-20 | 1 | -0/+26 |
| | |||||
* | Adjusting spacing a little bit | Christopher Allan Webber | 2011-05-20 | 1 | -1/+1 |
| | |||||
* | pass in page number in uses_pagination view via keyword argument so ordering ↵ | Christopher Allan Webber | 2011-05-20 | 1 | -1/+1 |
| | | | | doesn't matter. | ||||
* | Reorganizing the uses_pagination decorator a little and having it pass | Christopher Allan Webber | 2011-05-19 | 1 | -4/+2 |
| | | | | in the page number to the view | ||||
* | moved check for correct page values into decorator for view function | Bernhard Keller | 2011-05-19 | 1 | -0/+19 |
| | |||||
* | we should check for request.user['status'] not request.user['session'], clearly. | Christopher Allan Webber | 2011-04-23 | 1 | -1/+1 |
| | |||||
* | Provide a next= url when we require logging in | Christopher Allan Webber | 2011-04-23 | 1 | -1/+3 |
| | |||||
* | New requires_active_login decorator! | Christopher Allan Webber | 2011-04-19 | 1 | -0/+44 |