diff --git a/colab/plugins/mezuro/__init__.py b/colab/plugins/mezuro/__init__.py new file mode 100644 index 0000000..b937315 --- /dev/null +++ b/colab/plugins/mezuro/__init__.py @@ -0,0 +1 @@ +default_app_config = 'colab.plugins.mezuro.apps.ProxyMezuroAppConfig' \ No newline at end of file diff --git a/colab/plugins/mezuro/admin.py b/colab/plugins/mezuro/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/colab/plugins/mezuro/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/colab/plugins/mezuro/apps.py b/colab/plugins/mezuro/apps.py new file mode 100644 index 0000000..c4c5436 --- /dev/null +++ b/colab/plugins/mezuro/apps.py @@ -0,0 +1,6 @@ +from django.utils.translation import ugettext_lazy as _ +from ..utils.apps import ColabProxiedAppConfig + +class ProxyMezuroAppConfig(ColabProxiedAppConfig): + name = 'colab.plugins.mezuro' + verbose_name = 'Mezuro Proxy' diff --git a/colab/plugins/mezuro/diazo.xml b/colab/plugins/mezuro/diazo.xml new file mode 100644 index 0000000..34ffbbe --- /dev/null +++ b/colab/plugins/mezuro/diazo.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + diff --git a/colab/plugins/mezuro/migrations/__init__.py b/colab/plugins/mezuro/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/colab/plugins/mezuro/migrations/__init__.py diff --git a/colab/plugins/mezuro/models.py b/colab/plugins/mezuro/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/colab/plugins/mezuro/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/colab/plugins/mezuro/templates/proxy/mezuro.html b/colab/plugins/mezuro/templates/proxy/mezuro.html new file mode 100644 index 0000000..21f5da2 --- /dev/null +++ b/colab/plugins/mezuro/templates/proxy/mezuro.html @@ -0,0 +1 @@ +{% extends 'base.html' %} diff --git a/colab/plugins/mezuro/tests.py b/colab/plugins/mezuro/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/colab/plugins/mezuro/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/colab/plugins/mezuro/urls.py b/colab/plugins/mezuro/urls.py new file mode 100644 index 0000000..c203869 --- /dev/null +++ b/colab/plugins/mezuro/urls.py @@ -0,0 +1,7 @@ +from django.conf.urls import patterns, url +from .views import MezuroProxyView + +urlpatterns = patterns('', + # Gitlab URLs + url(r'^(?P.*)$', MezuroProxyView.as_view(), name='mezuro'), +) diff --git a/colab/plugins/mezuro/views.py b/colab/plugins/mezuro/views.py new file mode 100644 index 0000000..5c5570d --- /dev/null +++ b/colab/plugins/mezuro/views.py @@ -0,0 +1,5 @@ +from ..utils.views import ColabProxyView + +class MezuroProxyView(ColabProxyView): + app_label = 'mezuro' + diazo_theme_template = 'proxy/mezuro.html' -- libgit2 0.21.2