aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages
Commit message (Collapse)AuthorAgeFilesLines
* Make Comment posted! translatable.Aaron Williamson2011-10-041-1/+1
|
* Added a check to prevent blank messages from being posted.Aaron Williamson2011-10-031-5/+10
|
* Finished splitting util.py into separate files.Aaron Williamson2011-10-011-3/+4
|
* Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-012-2/+2
| | | | tools/[file].py
* Use media.url_for_self() instead of generating itElrond2011-09-091-3/+2
| | | | | | Some places used to generate the URL for a media entry on their own instead of calling media.url_for_self() to do that. The later handles missing slugs better.
* Updating the confirm delete form: checkboxes shouldn't be required, make ↵Christopher Allan Webber2011-09-051-2/+2
| | | | translatable
* Page Redesign to Delete confirmation pageShawn Khan2011-09-052-5/+3
|
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-014-4/+4
|
* Caution the admins about deleting the users' media though.Christopher Allan Webber2011-08-301-0/+8
|
* Feature #403 - Ability to delete media entries - Fixes according to feedbackJoar Wandborg2011-08-303-4/+41
| | | | | | | | | | * 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.
* I think confirm_delete deserves a url like /confirm-delete/ rather than ↵Christopher Allan Webber2011-08-291-2/+3
| | | | | | /confirm/ Adjusting appropriately.
* Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'Christopher Allan Webber2011-08-282-1/+3
|\ | | | | | | | | | | | | Conflicts: mediagoblin/edit/views.py mediagoblin/templates/mediagoblin/user_pages/media.html mediagoblin/user_pages/routing.py
| * + 'confirm' section for confirmation dialoguesMark Holmquist2011-08-222-1/+3
| | | | | | | | | | + implemented delete functionality * fixed several instances of 'must be an instance of unicode, not str'
* | Merge branch 'master' into jwandborg-f482_media_attachmentsChristopher Allan Webber2011-08-223-11/+69
|\| | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/forms.py mediagoblin/edit/views.py mediagoblin/submit/views.py mediagoblin/templates/mediagoblin/user_pages/media.html
| * Use render_404 EVERYWHERE!Christopher Allan Webber2011-08-201-7/+8
| |
| * Processing panel viewChristopher Allan Webber2011-08-142-2/+56
| | | | | | | | Now you can view your failed and in-process media items!
| * Minor change to indentationChristopher Allan Webber2011-08-101-2/+2
| |
| * Ooops! We should do a fake ugettext passthrough here also.Christopher Allan Webber2011-08-101-1/+1
| |
| * Removing a tab. This is a tab-free zone!Christopher Allan Webber2011-08-101-1/+1
| |
| * Converting all forms to use the "fake/null" gettext conversion functionChristopher Allan Webber2011-08-101-3/+6
| | | | | | | | | | Gettext doesn't actually get run right in the form but we do need to wrap the strings in _() so stuff extracts :)
* | Feature #482 - Media attachments -Joar Wandborg2011-08-222-3/+7
|/ | | | | * Moved attachment uploading to separate view * Support for multiple attachments!
* For no good reason, I feel like 15 is a good number of default feed items.Christopher Allan Webber2011-07-311-1/+1
|
* Tweaks import lines switching \ for ( ).Will Kahn-Greene2011-07-301-2/+2
|
* Adds license headerWill Kahn-Greene2011-07-301-0/+17
|
* Give useful verification information on users that need to verify their emailChristopher Allan Webber2011-07-281-2/+6
|
* Updated `MediaCommentForm.field_comment` => `MediaCommentForm.comment_content`Joar Wandborg2011-07-072-22/+23
| | | | * Also changed file encoding of `user_pages/forms.py` from dos to unix.
* Issue #431 - Prevent comment link expiry - Added functionality for comment ↵Joar Wandborg2011-07-073-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | linking * `media.html` * Changed comment textarea handle from `comment` => `field_comment` * Active comment is hilighted with the CSS class name `comment_active` and also with the hyperlink anchor #comment * Changed media.html so that pagination always uses Route('mediagoblin.user_pages.media_home') as base_url * `user_pages/forms.py` * Renamed MediaComment form field `comment` => `field_comment` * `user_pages/routing.py` * Added route for `/u/joar/m/123..456/c/234..567/`, points to `media_home` * `user_pages/views.py` * `media_home` now checks if the request contains a comment id parameter then acts accordingly with pagination whether to call it with a `jump_to_id` or not. * `media_post_comment` - Updated MediaCommentForm field name `comment` => `field_comment` * `util.py` * `redirect` now supports querystring arguments. - NOT USED (should we keep it? I think so, it might be useful, sometime [don't call me a code hoarder]). * `Pagination.__init__` now accepts one further argument, the `jump_to_id`. It assist the comment linking functionality in finding and returning the proper page for a comment. This feature will work for all kinds of objects. It might not be optimal, but it is well functional :)
* Make pagination on user profile point to the user galleryChristopher Allan Webber2011-07-021-0/+5
| | | | | | This required a couple of changes: - making a new render_pagination macro - switching things over to use that
* Issue #362 - Simple comments - Changes based on feedback recieved from ↵Joar Wandborg2011-07-011-3/+5
| | | | | | | | | | | | #mediagoblin * `db.models` - Removed `MediaEntry.get_comments()` and replaced it with a helper which just returns a cursor for the comments query * `media.html` - Added `{% set comment_author = comment.author() %}` * `user_pages.views` - media_home() now passes `MediaEntry.get_comments()` directly to `Pagination`, handles pagination for comments. * Added `MEDIA_COMMENTS_PER_PAGE` to define the number of comments per page in the `media_home()` view.
* Excitedly send a user a message that their comment was posted.Christopher Allan Webber2011-06-291-0/+6
|
* Use the cleaned_markdown_conversion method instead of doing that manuallyChristopher Allan Webber2011-06-291-8/+5
|
* Issue #362 - Added new `wtforms.Form`; `MediaCommentForm()`Joar Wandborg2011-06-291-0/+21
| | | | | * ADDED `MediaCommentForm` is a form for `MediaComment` user entry and posting.
* Issue #362 - Updated `mediagoblin.user_pages.views` to handle new "Simple ↵Joar Wandborg2011-06-291-7/+44
| | | | | | | | | comments" feature * ADDED `media_post_comment(request)` which creates `MediaComments` from POST requests * UPDATED `media_home(request, media, **kwargs)` now passes `comments`, `pagination` and `comments_form` to `media.html`
* Issue #362 - Added a route to MediaComment POST handlerJoar Wandborg2011-06-291-1/+4
|
* Merge remote branch 'remotes/jwandborg/issue_363'Christopher Allan Webber2011-06-191-2/+2
|\ | | | | | | | | Conflicts: setup.py
| * Added Markdown rendering for `media_entry`Joar Wandborg2011-06-121-2/+2
| |
* | user_gallery controller calls render_to_reponsecfdv2011-06-161-9/+6
| |
* | adds routing.py and view.py changescfdv2011-06-162-0/+32
|/
* I have a strong preference for aligning all parameters in a function call.Christopher Allan Webber2011-06-051-2/+4
|
* Reformat render_to_response callsElrond2011-06-051-8/+8
| | | | | 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-12/+8
|
* Mount media editing under /u/{username}/m/{media}/edit/Christopher Allan Webber2011-06-041-0/+2
|
* modified atomfeed feature, corrected spacing, url generation, routing idBernhard Keller2011-05-232-1/+37
|
* Update all the views so that they use the uploader reference insteadChristopher Allan Webber2011-05-221-1/+1
| | | | of uploader embedding
* This check is redundant now that it's handled by the decorator.Christopher Allan Webber2011-05-201-4/+0
|
* Make sure that a MediaEntry does belong to this appropriate user inChristopher Allan Webber2011-05-201-2/+2
| | | | 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-202-10/+5
|
* One more mild styling tweakChristopher Allan Webber2011-05-191-3/+4
|