aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'refs/remotes/pythonsnake/581_config'Christopher Allan Webber2013-02-241-0/+4
|\
| * Mention mediagoblin/config_spec.inipythonsnake2013-02-131-0/+4
| |
* | Merge remote-tracking branch 'refs/remotes/pythonsnake/629_autoplay'Christopher Allan Webber2013-02-242-1/+6
|\ \
| * | Fix bug 629pythonsnake2013-02-102-1/+6
| |/
* | Renaming "extrahead" template hooks to "head".Christopher Allan Webber2013-02-244-5/+5
| | | | | | | | | | | | As Elrond points out, the "extra" is implied by it being a hook! This commit sponsored by Andrew Fustini. Thanks, Drew!
* | extra_head template hook. This will allow plugins to add extra js/css more ↵Christopher Allan Webber2013-02-241-0/+7
| | | | | | | | | | | | easily. This commit sponsored by Moritz Berberich. Thank you!
* | Add owner to list of collections.Elrond2013-02-241-11/+7
| | | | | | | | | | | | | | When listing the collections, that a media is contained in, also show the owner of the collection. Also simplify the whole looping a lot.
* | Use media.id for collecting media too.Elrond2013-02-244-9/+9
| | | | | | | | Also remove some useless whitespace while at it.
* | Use the media id for attachmemt editing.Elrond2013-02-244-20/+23
| | | | | | | | And remove some stray white space from the output.
* | Committing extracted and compiled translationsChristopher Allan Webber2013-02-2356-2621/+3060
| |
* | Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2013-02-231-26/+27
| |
* | Fix stray comma in listings.views.atom_feedJoar Wandborg2013-02-221-1/+1
| |
* | Added some empty templatesJoar Wandborg2013-02-224-0/+54
| | | | | | | | | | - Make it possible for site owners to hook into base.html without tainting the repository.
* | simplified get_usefulAndrás Veres-Szentkirályi2013-02-221-6/+1
| |
* | use dict.iteritems() instead of dict.items()András Veres-Szentkirályi2013-02-221-1/+1
| |
* | use list expression instead of 3-deep forAndrás Veres-Szentkirályi2013-02-221-7/+2
| |
* | simplified clean_exifAndrás Veres-Szentkirályi2013-02-221-6/+2
| |
* | close file properly and remove unneeded variableAndrás Veres-Szentkirályi2013-02-221-6/+2
| |
* | typofix in commentAndrás Veres-Szentkirályi2013-02-221-1/+1
| |
* | use key in dict instead of key in dict.keys()András Veres-Szentkirályi2013-02-221-1/+1
| |
* | removed unused import cgi.FieldStorageAndrás Veres-Szentkirályi2013-02-221-1/+0
| |
* | removed unused import reAndrás Veres-Szentkirályi2013-02-221-1/+0
| |
* | removed unnecessary collection lookupAndrás Veres-Szentkirályi2013-02-221-4/+0
| |
* | removed unused import NotFoundAndrás Veres-Szentkirályi2013-02-221-1/+1
| |
* | Changing name for atom feed view to be more generic than tags.Christopher Allan Webber2013-02-222-3/+4
| | | | | | | | This commit sponsored by Ben Hutchings. Thanks, Ben!
* | Integrate all atom feed in templateSebastian Spaeth2013-02-221-0/+11
| | | | | | | | | | | | | | Embed the atom feed link in the root template (most recent media page) for easier discovery. Delete the (listings/all.html) template as contributed in commit 195e79098b5 as it was unused and the feed is essentially showing the most recent media anyway.
* | Adding an Atom RSS feed for all media on the serverSebastian Spaeth2013-02-222-10/+19
| | | | | | | | Go to /atom/ in your browser to see it.
* | Create wtforms_util.render_label(_p) and use it around.Elrond2013-02-226-11/+23
| | | | | | | | | | | | - This makes many places more readable. - Gives us translation in two places. - Allows easier changing of labels in a central place.
* | Use wtforms_util.render_field_div more in media_collect.htmlElrond2013-02-221-13/+3
| | | | | | | | | | | | If we have to render fields individually, we still can use wtforms_util.render_field_div for each field. Makes things much smaller and readable.
* | Merge remote-tracking branch 'aleksej/632_config_spec_comment_typo'Christopher Allan Webber2013-02-211-1/+1
|\ \
| * | correct typo in a comment in config_spec.iniAleksej2013-02-101-1/+1
| |/
* | Remove "translation legos" and linkify the tag to more generic tag listingChristopher Allan Webber2013-02-211-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By "translation legos" I mean having multiple strings to be translated appended together. This isn't a good idea because you can't assume that syntax will work together in the same way in another language, so you may be making things hard or impossible for translators. Between this and the last commit, this means that tags now link to user tagged media specifically, and if people want a more general tag listing, they can click on the tag link to get to a more general listing. I feel this is a good and intuitive route to handling this. This sponsored commit brought to you by Debarshi Ray! Thank you!
* | Making the tags on media pages point to the user's tag listing specifically.Christopher Allan Webber2013-02-212-7/+11
| | | | | | | | This commit sponsored by Torsten Meissner. Thanks, Torsten!
* | Fixing user gallery tags filter to be on slug rather than name.Christopher Allan Webber2013-02-211-1/+1
| | | | | | | | This commit sponsored by Kat Walsh. Thanks, Kat!
* | Merge remote-tracking branch 'refs/remotes/spaetz/WIP/user_tag_gallery'Christopher Allan Webber2013-02-213-5/+18
|\ \
| * | Implement user's tag filtered gallery pageSebastian Spaeth2013-01-213-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | tags used to be global, you could only browse media by tag for all users. This patch implements a view that allows us to browse only a user's tagged media. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* | | plugins/api: fix for cross origin requestsRunar Petursson2013-02-201-1/+2
| | | | | | | | | | | | | | | | | | The response headers were never getting set because of a bug in the 7c552c0 commit. This expands the loop into a more readable form and results in the headers getting set.
* | | Fix some small bits in base.html.Elrond2013-02-191-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add a trailing slash to the mediagoblin.org URL. (The string changed anyway, so translations are not affected more than already.) 2. Order was wrong for those two at the end (old version): {% endblock mediagoblin_body %} </div> 3. Fix some little indenting issues. 4. Remove some useless space from the output.
* | | Merge remote-tracking branch 'pythonsnake/537_version'Elrond2013-02-192-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | * pythonsnake/537_version: Added "version" before the version Fix bug 537
| * | | Added "version" before the versionpythonsnake2013-02-111-1/+1
| | | |
| * | | Fix bug 537pythonsnake2013-02-102-1/+3
| | |/ | |/|
* | | Fix deleting media with attachments.Elrond2013-02-183-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If one deletes a media with attachments, there have been various problems: 1) If the file in the storage did not exist any more (maybe because due to a previous deletion attempt?), the error propagation failed, because the wrong thing was gathered. 2) The attachment database entries were not deleted. Using cascade for this, for now. Also add a simple unit test, that tests both by having a broken attachment on a media.
* | | Fix errors in collection viewsJoar Wandborg2013-02-181-0/+5
| | | | | | | | | | | | When a collection does not exist, render the 404 page.
* | | Change from email format in tag URI to domain formatJoar Wandborg2013-02-131-2/+2
| | | | | | | | | | | | Also fixed a bug (thanks pyflakes)
* | | Address concerns in Issue #543Joar Wandborg2013-02-131-8/+10
| | | | | | | | | | | | | | | | | | | | | - Fixed PEP-008 issues. - Removed .user-{user} from the tag URI and put it before the domain, such as {user}@{host} instead. - Use year from collection.created instead of current year.
* | | Add markdown notice to collection description.Elrond2013-02-132-10/+3
| | | | | | | | | | | | | | | | | | Use wtforms_util.render_field_div on the collection description, so that the markdown notice in the wtform is actually rendered to html.
* | | Fixing MANIFEST.in: graft expects one directory per lineChristopher Allan Webber2013-02-101-1/+2
| | |
* | | Updating MANIFEST.in for more files... trying to make this work on pypi :)Christopher Allan Webber2013-02-101-4/+7
| | |
* | | Tuned logging and added comments to 511 fixJoar Wandborg2013-02-101-3/+22
| | |
* | | Fixed issue #511.pythonsnake2013-02-101-4/+12
|/ /