| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
during migrations
This commit sponsored by Andrzej Prochyra. Thanks!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't let people who aren't the authors of a collection from adding
things to it (handled by forcing the user check in the query)
- request url in case invalid collection selected fixed
- collection_item.author doesn't yet exist; removing the selection
(we might want multiple people to be able to edit a collection in
the future but that future does not yet exist; as Elrond said,
remove this "false hope")
Thanks to Elrond to pointing out these issues.
And thanks to David Kindler for sponsoring this commit!
|
|
|
|
|
| |
.. that accidentally got included due to not testing the video media
type in the unit tests.
|
|
|
|
|
|
|
| |
- Added wrap_wsgi, celery_setup, celery_logging_setup hooks
- Updated raven plugin docs
- Updated production considerations docs
- Added raven logging setup
|
|
|
|
|
|
| |
Check for CELERY_CONFIG_MODULE before we import raven.contrib.celery. It
seems that the import otherwise sets up the celery client before we get
to pass it our mediagoblin-specific settings.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
.. wrapper. Also added some logging - A .warn() for the legacy .write()
method and a .debug() for the new copy_local_to_storage()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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').
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Use .slug_or_id instead of only .id.
|
|
|
|
|
|
|
| |
Get some messages translated.
Bad: _("..." % (...))
Good: _("...") % (...)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Damned MIT and BSD licenses encouraging modification by every project
makes compliance annoying.
|
|
|
|
|
|
| |
As pointed out, we didn't need that nested if.
This commit sponsored by Paul Kuriakose. Thank you!
|
|
|
|
|
|
| |
Thanks for pointing this out, Elrond ;)
This commit sponsored by Gerardo Joven Valdivia. Thank you!
|
|
|
|
|
|
|
|
| |
/u/cwebber/m/4112/
This avoids some potential name collision issues.
This commit sponsored by Asokan Pichai. Thank you!
|
|
|
|
| |
This commit sponsored by Stephane Berube. Thank you!
|
|
|
|
| |
This commit sponsored by Mats Sjöberg. Thanks!
|
|
|
|
| |
This commit sponsored by Hans-Jörg Dollansky. Thank you!
|
|
|
|
| |
This commit sponsored by Tamas Kemenczy. Thanks, Tamas!
|
|
|
|
|
|
| |
Thanks for catching, Elrond.
This commit sponsored by Graham King. Thank you!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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! :)
|
|
|
|
|
|
|
|
| |
So this should work:
PASTE_CONFIG=/path/to/paste_foo.ini ./lazycelery.sh
Thanks to Laurent Fournier for sponsoring this commit!
|
|
|
|
| |
This commit sponsored by Johannes Knabbe. Thank you!
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
mediagoblin_local.ini
This commit sponsored by Matteo Settenvini. Thanks!
|
| |\ |
|
| | | |
|
|/ / |
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
As Elrond points out, the "extra" is implied by it being a hook!
This commit sponsored by Andrew Fustini. Thanks, Drew!
|
| |
| |
| |
| |
| |
| | |
easily.
This commit sponsored by Moritz Berberich. Thank you!
|
| |
| |
| |
| |
| |
| |
| | |
When listing the collections, that a media is contained in,
also show the owner of the collection.
Also simplify the whole looping a lot.
|
| |
| |
| |
| | |
Also remove some useless whitespace while at it.
|
| |
| |
| |
| | |
And remove some stray white space from the output.
|
| | |
|