aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replacing several request.matchdict['media'] -> media_slug ... shorter!Christopher Allan Webber2013-02-261-2/+2
| | | | | | Thanks for pointing this out, Elrond ;) This commit sponsored by Gerardo Joven Valdivia. Thank you!
* Media URLs with ids in them are now like /u/cwebber/m/id:4112/ rather than ↵Christopher Allan Webber2013-02-262-18/+27
| | | | | | | | /u/cwebber/m/4112/ This avoids some potential name collision issues. This commit sponsored by Asokan Pichai. Thank you!
* Stylistic cleanups to some urlgen calls.Christopher Allan Webber2013-02-261-4/+4
| | | | This commit sponsored by Stephane Berube. Thank you!
* Small PEP-8 compliance fix.Christopher Allan Webber2013-02-261-3/+3
| | | | This commit sponsored by Mats Sjöberg. Thanks!
* Import sqlalchemy's and_ and use it in our select statementChristopher Allan Webber2013-02-261-2/+3
| | | | This commit sponsored by Hans-Jörg Dollansky. Thank you!
* And of course, we need to actually commit at the end of a migration.Christopher Allan Webber2013-02-261-0/+3
| | | | This commit sponsored by Tamas Kemenczy. Thanks, Tamas!
* Dope'ily missed .count() on the query where we're countingChristopher Allan Webber2013-02-251-1/+1
| | | | | | Thanks for catching, Elrond. This commit sponsored by Graham King. Thank you!
* Supplying migrations for a bold new era of mediagoblin entry slugsChristopher Allan Webber2013-02-251-0/+54
| | | | | | | | | | | | | | | | Okay, that's a totally confusing statement, but the docstring of this migration summarizes it well: Entries without slugs now display differently in the url like: /u/cwebber/m/id=251/ ... because of this, we should back-convert: - entries without slugs should be converted to use the id, if possible, to make old urls still work - slugs with = (or also : which is now also not allowed) to have those stripped out (small possibility of breakage here sadly) This commit sponsored by John Sullivan. Thanks johnsu01! :)
* You can now set the PASTE_CONFIG environment variable to control logging setupChristopher Allan Webber2013-02-251-0/+5
| | | | | | | | So this should work: PASTE_CONFIG=/path/to/paste_foo.ini ./lazycelery.sh Thanks to Laurent Fournier for sponsoring this commit!
* Removing stray character from pythonsnake's doc change and filling commentChristopher Allan Webber2013-02-241-2/+3
| | | | This commit sponsored by Johannes Knabbe. Thank you!
* Fix bug 461pythonsnake2013-02-241-0/+3
|
* Improved dropdown styling, part deuxJef van Schendel2013-02-242-12/+22
|
* Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinJef van Schendel2013-02-241-0/+4
|\
| * Changing the order so that config_spec.ini is mentioned after ↵Christopher Allan Webber2013-02-241-4/+4
| | | | | | | | | | | | mediagoblin_local.ini This commit sponsored by Matteo Settenvini. Thanks!
| * 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
| | |
* | | Improved dropdown stylingJef van Schendel2013-02-242-21/+15
|/ /
* | 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
|\ \