Custom Query (1173 matches)
Results (301 - 303 of 1173)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #110 | wontfix | Direct Beaker integration | ||
| Description |
We should bundle Beaker directly into GNU MediaGoblin. Right now it's set up as middleware in server.ini, but this isn't ideal for the following reasons: - Beaker is in no way optional middleware. It's absolutely essential for launching the application. - Things like ./bin/gmg shell don't give you a fully functioning application because they just read mediagoblin.ini which doesn't contain information on how to set up Beaker, so it is never set up - We need to have a paste config in order to launch tests - Complicates writing scripts that interface with mediagoblin So here's a solution. - Create a ['beaker'] section in mediagoblin.ini and mediagoblin/config\_spec.ini - Add a utility to create the beaker instance based on the ['beaker'] section of the config - Use that utility in MediaGoblinApp.**init**() and push it into mg\_globals |
|||
| #254 | fixed | Directories in queue are not deleted automatically | ||
| Description |
There are empty directories left in user\_dev/media/queue/media\_entries/ after files are uploaded. |
|||
| #5512 | fixed | Disable Mozilla Persona plugin | ||
| Description |
Mozilla Persona has been decommissioned. We should disable or remove the built-in Persona plugin. I like the idea of disabling it but leaving it there, so we have more examples of plugins. But I'd also be okay with just removing it altogether. Here's something I had in mind for disabling the plugin. diff --git a/mediagoblin/plugins/persona/__init__.py b/mediagoblin/plugins/persona/__init__.py
index 8fab726ae..2b8928c6b 100644
--- a/mediagoblin/plugins/persona/__init__.py
+++ b/mediagoblin/plugins/persona/__init__.py
@@ -25,10 +25,21 @@ from mediagoblin.tools import pluginapi
from mediagoblin.tools.staticdirect import PluginStatic
from mediagoblin.tools.translate import pass_to_ugettext as _
+from mediagoblin.init import ImproperlyConfigured
+
PLUGIN_DIR = os.path.dirname(__file__)
def setup_plugin():
+ """
+ Mozilla Persona has been decommissioned. This plugin exists for
+ historical reasons and serves as an example of an authentication
+ plugin.
+ """
+ raise ImproperlyConfigured(
+ _('Mozilla Persona has been decommissioned. MediaGoblin cannot '
+ 'be started with the Persona plugin enabled.'))
+
config = pluginapi.get_config('mediagoblin.plugins.persona')
routes = [
|
|||
