Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Cloudfiles copy memory efficient too (#419) | Sebastian Spaeth | 2013-03-02 | 1 | -0/+48 |
| | | | | | | | | | | | | | | | | It seems that (our implementation of) cloudfiles.write() takes all existing data and appends write(data) to it, sending the full monty over the wire everytime. This would of course absolutely kill chunked writes with some O(1^n) performance and bandwidth usage. So, override this method and use the Cloudfile's "send" interface instead. Also make the Cloudfile file wrapper an iterator that allows us to simply do "for data in cloudfile:" which will stream the data in a memory-efficient way. DO NOTE THAT THIS PATCH IS COMPLETELY UNTESTED DUE TO LACK OF SETUP PLEASE REVIEW AND VERIFY. | ||||
* | Fixed hidden fields in oauth client authorization | Joar Wandborg | 2013-03-02 | 2 | -5/+4 |
| | | | | | | Removed the translation marking and passed in empty strings to avoid WTForms automagically creating the labels from the field names (i.e. client_id => 'Client Id'). | ||||
* | Do not encode the next kwarg twice | Joar Wandborg | 2013-03-02 | 1 | -1/+1 |
| | |||||
* | Turn "License preference" into a normal field. | Elrond | 2013-03-02 | 1 | -6/+3 |
| | | | | | | | | | | | | instead of rendering it by hand, use the normal field rendering tools. Old: [choose box] License preference New: License preference [choose box] This will be your default license on upload forms. | ||||
* | Fix some media page redirects in media_collect. | Elrond | 2013-03-01 | 1 | -3/+3 |
| | | | | Use .slug_or_id instead of only .id. | ||||
* | Fixup _("...") % (...) in media_collect. | Elrond | 2013-03-01 | 1 | -6/+6 |
| | | | | | | | Get some messages translated. Bad: _("..." % (...)) Good: _("...") % (...) | ||||
* | MediaGoblin not really anything to do with FooCorp anymore. | Christopher Allan Webber | 2013-02-27 | 1 | -15/+0 |
| | |||||
* | Fixing translations stuff for command line tools and such. | Christopher Allan Webber | 2013-02-27 | 1 | -2/+7 |
| | | | | | | | | | | | We had switched mg_globals to have the default translations set to None so that it would be set up by the mediagoblin app later. However, this would mean that things like scripts would try to call gettext and error out. Thanks to Tumulte for catching this. This commit sponsored by Aurimas Fišeras. Thank you! | ||||
* | Simplifying the test for whether or not a user and slug combo exists. | Christopher Allan Webber | 2013-02-27 | 1 | -3/+1 |
| | | | | | | | Thanks to tchernobog for catching this (it was breaking on postgres) and Elrond for the suggestion on how to fix it. This commit sponsored by Caleb Cooper. Thanks Caleb! | ||||
* | Removing html5shiv for not complying with its own licenses and racism | Christopher Allan Webber | 2013-02-26 | 4 | -28/+0 |
| | | | | | | | | | | Issues of racism seem to have been resolved and removed from upstream, but make having this as a dependency somewhat uncomfortable: https://github.com/aFarkas/html5shiv/issues/91 Regardless, at the time of writing the project doesn't comply with its own license... it states to be dual licensed under MIT and GPLv2 but distributes neither of these licenses with its source. | ||||
* | Allow media managers without sniff_handler | Joar Wandborg | 2013-02-27 | 1 | -1/+2 |
| | |||||
* | Copying the license from the jquery repository rather than the generic MIT one. | Christopher Allan Webber | 2013-02-26 | 1 | -1/+2 |
| | | | | | Damned MIT and BSD licenses encouraging modification by every project makes compliance annoying. | ||||
* | Simplifying the "id:" url detection, per Elrond's suggestion. | Christopher Allan Webber | 2013-02-26 | 1 | -11/+9 |
| | | | | | | As pointed out, we didn't need that nested if. This commit sponsored by Paul Kuriakose. Thank you! | ||||
* | Replacing several request.matchdict['media'] -> media_slug ... shorter! | Christopher Allan Webber | 2013-02-26 | 1 | -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 Webber | 2013-02-26 | 2 | -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 Webber | 2013-02-26 | 1 | -4/+4 |
| | | | | This commit sponsored by Stephane Berube. Thank you! | ||||
* | Small PEP-8 compliance fix. | Christopher Allan Webber | 2013-02-26 | 1 | -3/+3 |
| | | | | This commit sponsored by Mats Sjöberg. Thanks! | ||||
* | Import sqlalchemy's and_ and use it in our select statement | Christopher Allan Webber | 2013-02-26 | 1 | -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 Webber | 2013-02-26 | 1 | -0/+3 |
| | | | | This commit sponsored by Tamas Kemenczy. Thanks, Tamas! | ||||
* | Dope'ily missed .count() on the query where we're counting | Christopher Allan Webber | 2013-02-25 | 1 | -1/+1 |
| | | | | | | Thanks for catching, Elrond. This commit sponsored by Graham King. Thank you! | ||||
* | Supplying migrations for a bold new era of mediagoblin entry slugs | Christopher Allan Webber | 2013-02-25 | 1 | -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 setup | Christopher Allan Webber | 2013-02-25 | 1 | -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 comment | Christopher Allan Webber | 2013-02-24 | 1 | -2/+3 |
| | | | | This commit sponsored by Johannes Knabbe. Thank you! | ||||
* | Fix bug 461 | pythonsnake | 2013-02-24 | 1 | -0/+3 |
| | |||||
* | Improved dropdown styling, part deux | Jef van Schendel | 2013-02-24 | 2 | -12/+22 |
| | |||||
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Jef van Schendel | 2013-02-24 | 1 | -0/+4 |
|\ | |||||
| * | Changing the order so that config_spec.ini is mentioned after ↵ | Christopher Allan Webber | 2013-02-24 | 1 | -4/+4 |
| | | | | | | | | | | | | mediagoblin_local.ini This commit sponsored by Matteo Settenvini. Thanks! | ||||
| * | Merge remote-tracking branch 'refs/remotes/pythonsnake/581_config' | Christopher Allan Webber | 2013-02-24 | 1 | -0/+4 |
| |\ | |||||
| | * | Mention mediagoblin/config_spec.ini | pythonsnake | 2013-02-13 | 1 | -0/+4 |
| | | | |||||
* | | | Improved dropdown styling | Jef van Schendel | 2013-02-24 | 2 | -21/+15 |
|/ / | |||||
* | | Merge remote-tracking branch 'refs/remotes/pythonsnake/629_autoplay' | Christopher Allan Webber | 2013-02-24 | 2 | -1/+6 |
|\ \ | |||||
| * | | Fix bug 629 | pythonsnake | 2013-02-10 | 2 | -1/+6 |
| |/ | |||||
* | | Renaming "extrahead" template hooks to "head". | Christopher Allan Webber | 2013-02-24 | 4 | -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 Webber | 2013-02-24 | 1 | -0/+7 |
| | | | | | | | | | | | | easily. This commit sponsored by Moritz Berberich. Thank you! | ||||
* | | Add owner to list of collections. | Elrond | 2013-02-24 | 1 | -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. | Elrond | 2013-02-24 | 4 | -9/+9 |
| | | | | | | | | Also remove some useless whitespace while at it. | ||||
* | | Use the media id for attachmemt editing. | Elrond | 2013-02-24 | 4 | -20/+23 |
| | | | | | | | | And remove some stray white space from the output. | ||||
* | | Committing extracted and compiled translations | Christopher Allan Webber | 2013-02-23 | 56 | -2621/+3060 |
| | | |||||
* | | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2013-02-23 | 1 | -26/+27 |
| | | |||||
* | | Fix stray comma in listings.views.atom_feed | Joar Wandborg | 2013-02-22 | 1 | -1/+1 |
| | | |||||
* | | Added some empty templates | Joar Wandborg | 2013-02-22 | 4 | -0/+54 |
| | | | | | | | | | | - Make it possible for site owners to hook into base.html without tainting the repository. | ||||
* | | simplified get_useful | András Veres-Szentkirályi | 2013-02-22 | 1 | -6/+1 |
| | | |||||
* | | use dict.iteritems() instead of dict.items() | András Veres-Szentkirályi | 2013-02-22 | 1 | -1/+1 |
| | | |||||
* | | use list expression instead of 3-deep for | András Veres-Szentkirályi | 2013-02-22 | 1 | -7/+2 |
| | | |||||
* | | simplified clean_exif | András Veres-Szentkirályi | 2013-02-22 | 1 | -6/+2 |
| | | |||||
* | | close file properly and remove unneeded variable | András Veres-Szentkirályi | 2013-02-22 | 1 | -6/+2 |
| | | |||||
* | | typofix in comment | András Veres-Szentkirályi | 2013-02-22 | 1 | -1/+1 |
| | | |||||
* | | use key in dict instead of key in dict.keys() | András Veres-Szentkirályi | 2013-02-22 | 1 | -1/+1 |
| | | |||||
* | | removed unused import cgi.FieldStorage | András Veres-Szentkirályi | 2013-02-22 | 1 | -1/+0 |
| | | |||||
* | | removed unused import re | András Veres-Szentkirályi | 2013-02-22 | 1 | -1/+0 |
| | |