Commit b13054e8f6f783e66e742eb2d932096ff76a4fd3

Authored by Sergio Oliveira
1 parent 432a5e30

Removed mezuro from plugins

Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
colab/plugins/mezuro/__init__.py
... ... @@ -1,3 +0,0 @@
1   -
2   -
3   -default_app_config = 'colab.plugins.mezuro.apps.MezuroPluginAppConfig'
colab/plugins/mezuro/admin.py
... ... @@ -1,3 +0,0 @@
1   -# from django.contrib import admin
2   -
3   -# Register your models here.
colab/plugins/mezuro/apps.py
... ... @@ -1,7 +0,0 @@
1   -
2   -from ..utils.apps import ColabPluginAppConfig
3   -
4   -
5   -class MezuroPluginAppConfig(ColabPluginAppConfig):
6   - name = 'colab.plugins.mezuro'
7   - verbose_name = 'Mezuro Plugin'
colab/plugins/mezuro/diazo.xml
... ... @@ -1,18 +0,0 @@
1   -<rules
2   - xmlns="http://namespaces.plone.org/diazo"
3   - xmlns:css="http://namespaces.plone.org/diazo/css"
4   - xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5   -
6   - <before theme-children="/html/head" content-children="/html/head" />
7   - <before css:theme-children="#main-content" css:content-children="body" />
8   -
9   - <merge attributes="class" css:theme="body" css:content="body" />
10   -
11   - <!-- Add mezuro properties -->
12   - <merge attributes="data-page" css:theme="body" css:content="body" />
13   - <merge attributes="data-project-id" css:theme="body" css:content="body" />
14   -
15   - <drop css:content=".navbar" /> <!-- Mezuro's navbar links are part of Colab's menu -->
16   - <drop css:theme="script[src$='bootstrap.min.js']" /> <!-- Fixes top menu dropdown by removing Colab's bootstrap JS -->
17   - <drop css:theme="script[src*='jquery']:not([src*='cookie']):not([src*='debouncedresize'])" /> <!-- Fixes accordion conflict by removing Colab's JQuery. But keeps the JS for cookie and debouncedresize -->
18   -</rules>
colab/plugins/mezuro/migrations/__init__.py
colab/plugins/mezuro/models.py
... ... @@ -1,3 +0,0 @@
1   -# from django.db import models
2   -
3   -# Create your models here.
colab/plugins/mezuro/templates/proxy/mezuro.html
... ... @@ -1 +0,0 @@
1   -{% extends 'base.html' %}
colab/plugins/mezuro/tests.py
... ... @@ -1,3 +0,0 @@
1   -# from django.test import TestCase
2   -
3   -# Create your tests here.
colab/plugins/mezuro/urls.py
... ... @@ -1,7 +0,0 @@
1   -from django.conf.urls import patterns, url
2   -from .views import MezuroProxyView
3   -
4   -urlpatterns = patterns('',
5   - # Gitlab URLs
6   - url(r'^(?P<path>.*)$', MezuroProxyView.as_view(), name='mezuro'),
7   -)
colab/plugins/mezuro/views.py
... ... @@ -1,7 +0,0 @@
1   -
2   -from colab.plugins.views import ColabProxyView
3   -
4   -
5   -class MezuroProxyView(ColabProxyView):
6   - app_label = 'mezuro'
7   - diazo_theme_template = 'proxy/mezuro.html'
colab/urls.py
... ... @@ -21,7 +21,6 @@ urlpatterns = patterns(&#39;&#39;,
21 21 url(r'^colab/admin/', include(admin.site.urls)),
22 22  
23 23 url(r'^archives/', include('colab.super_archives.urls')),
24   - url(r'^mezuro/', include('colab.plugins.mezuro.urls')),
25 24  
26 25 url(r'', include('colab.plugins.urls')),
27 26 )
... ...