Beispiel #1
0
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

name = 'colab_taiga'
verbose_name = 'Taiga Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_taiga.urls',
    'prefix': '^taiga/',
}

menu_title = _('taiga')

url = colab_url_factory('taiga')

# Extra data to be exposed to plugin app config
extra = {}

menu_urls = (
    url(display=_('Dashboard'), viewname='taiga',
        kwargs={'path': ''}, auth=False),
    url(display=_('My Projects'), viewname='taiga',
        kwargs={'path': 'projects'}, auth=True),
    url(display=_('Profile'), viewname='taiga',
        kwargs={'path': 'profile'}, auth=True),
)
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

name = 'colab_discourse_plugin'
verbose_name = 'Colab Discourse Plugin Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_discourse_plugin.urls',
    'prefix': '^colab_discourse_plugin/',
}

menu_title = _('colab_discourse_plugin')

url = colab_url_factory('colab_discourse_plugin')

# Extra data to be exposed to plugin app config
extra = {}

menu_urls = (
# Example of menu URL:
#    url(display=_('Public Projects'), viewname='colab_discourse_plugin',
#        kwargs={'path': 'public/projects'}, auth=False),

# Example of authenticated user menu URL:
#    url(display=_('Profile'), viewname='colab_discourse_plugin',
#        kwargs={'path': 'profile'}, auth=True),
)
Beispiel #3
0
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

name = 'colab_mezuro'
verbose_name = 'Mezuro Plugin'

upstream = 'http://localhost:3000/mezuro/'
# middlewares = []
extra = {'processor_address': 'http://localhost:8082',
         'configurations_address': 'http://localhost:8083'}

urls = {
    'include': 'colab_mezuro.urls',
    'prefix': '^mezuro/',
}

menu_title = _('Code Quality')

url = colab_url_factory('mezuro')

menu_urls = (
    url(display=_('Projects'), viewname='mezuro',
        kwargs={'path': 'projects'}, auth=False),
    url(display=_('Repositories'), viewname='mezuro',
        kwargs={'path': 'repositories'}, auth=False),
    url(display=_('Configurations'), viewname='mezuro',
        kwargs={'path': 'kalibro_configurations'}, auth=False),
    url(display=_('Reading Groups'), viewname='mezuro',
        kwargs={'path': 'reading_groups'}, auth=False),
)
Beispiel #4
0
# Uncomment the following line if your gitlab is using
#   SSL with a self-signed certificate
# verify_ssl = False

#middlewares = []

urls = {
    'include': 'colab_gitlab.urls',
    'prefix': '^gitlab',
    'login': '******',
}

menu_title = _('Code')

url = colab_url_factory('gitlab')

menu_urls = (
    url(display=_('Public Projects'), viewname='gitlab',
        kwargs={'path': 'public/projects'}, auth=False),
    url(display=_('Profile'), viewname='gitlab',
        kwargs={'path': 'profile'}, auth=True),
    url(display=_('New Project'), viewname='gitlab',
        kwargs={'path': 'projects/new'}, auth=True),
    url(display=_('Projects'), viewname='gitlab',
        kwargs={'path': 'dashboard/projects'}, auth=True),
    url(display=_('Groups'), viewname='gitlab',
        kwargs={'path': 'profile/groups'}, auth=True),
    url(display=_('Issues'), viewname='gitlab',
        kwargs={'path': 'dashboard/issues'}, auth=True),
    url(display=_('Merge Requests'), viewname='gitlab',
from colab.plugins.utils.menu import colab_url_factory

name = "colab_spb"
verbose_name = "SPB Plugin"

middlewares = ['colab_spb.middleware.ForceLangMiddleware']

urls = {"include": "colab_spb.urls",
        "prefix": '^spb/',}

url = colab_url_factory('colab_spb')
name = 'colab_noosfero'
verbose_name = 'Noosfero Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_noosfero.urls',
    'prefix': '^social',
    'login': '******',
}

menu_title = _('Social')

url = colab_url_factory('noosfero')

menu_urls = (
    url(display=_('Users'),
        viewname='noosfero',
        kwargs={'path': 'search/people'},
        auth=False),
    url(display=_('Communities'),
        viewname='noosfero',
        kwargs={'path': 'search/communities'},
        auth=False),
    url(display=_('Control Panel'),
        viewname='noosfero',
        kwargs={'path': 'myprofile/~/'},
        auth=True),
)
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

# Noosfero plugin - Put this in plugins.d/noosfero.py to actiate ##
# from django.utils.translation import ugettext_lazy as _
# from colab.plugins.utils.menu import colab_url_factory

name = "colab_noosfero"
verbose_name = "Noosfero Plugin"

upstream = "localhost"
# middlewares = []

urls = {"include": "colab_noosfero.urls", "prefix": "^social", "login": "******"}

menu_title = _("Social")

url = colab_url_factory("noosfero")

menu_urls = (
    url(display=_("Users"), viewname="noosfero", kwargs={"path": "search/people"}, auth=False),
    url(display=_("Communities"), viewname="noosfero", kwargs={"path": "search/communities"}, auth=False),
    url(display=_("Control Panel"), viewname="noosfero", kwargs={"path": "myprofile/~/"}, auth=True),
)
Beispiel #8
0
from colab.plugins.utils.menu import colab_url_factory

name = "noosfero"
verbose_name = "Noosfero"
private_token = "ef9a334177c620b68e75a89844e8a402"

upstream = 'http://localhost/social/'

urls = {
    "include": "noosfero.urls",
    "prefix": '^social/',
    "namespace": "social"
}

url = colab_url_factory('social')
Beispiel #9
0
from colab.plugins.utils.menu import colab_url_factory

verbose_name = "SPB Plugin"
urls = {
    "include": "colab_spb.urls",
    "prefix": '^spb/',
    "namespace": "colab_spb"
}

url = colab_url_factory('colab_spb')
Beispiel #10
0
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

name = '{{ app_name }}'
verbose_name = '{{ app_name_verbose }} Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': '{{ app_name }}.urls',
    'prefix': '^{{ app_name }}/',
}

menu_title = _('{{ app_name }}')

url = colab_url_factory('{{ app_name }}')

# Extra data to be exposed to plugin app config
extra = {}

menu_urls = (
# Example of menu URL:
#    url(display=_('Public Projects'), viewname='{{ app_name }}',
#        kwargs={'path': 'public/projects'}, auth=False),

# Example of authenticated user menu URL:
#    url(display=_('Profile'), viewname='{{ app_name }}',
#        kwargs={'path': 'profile'}, auth=True),
)
Beispiel #11
0
# Uncomment the following line if your gitlab is using
#   SSL with a self-signed certificate
# verify_ssl = False

#middlewares = []

urls = {
    'include': 'colab_gitlab.urls',
    'prefix': '^gitlab',
    'login': '******',
}

menu_title = _('Code')

url = colab_url_factory('gitlab')

menu_urls = (
    url(display=_('Public Projects'),
        viewname='gitlab',
        kwargs={'path': 'public/projects'},
        auth=False),
    url(display=_('Profile'),
        viewname='gitlab',
        kwargs={'path': 'profile'},
        auth=True),
    url(display=_('New Project'),
        viewname='gitlab',
        kwargs={'path': 'projects/new'},
        auth=True),
    url(display=_('Projects'),
Beispiel #12
0
from colab.plugins.utils.menu import colab_url_factory

# Gitlab plugin - Put this in plugins.d/gitlab.py to actiate ##
# from django.utils.translation import ugettext_lazy as _
# from colab.plugins.utils.menu import colab_url_factory

name = 'colab_superarchives'
verbose_name = 'Super Archives'

# upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_superarchives.urls',
    'prefix': '^archives/',
}

menu_title = _('Groups')

url = colab_url_factory('archives')

menu_urls = (url(display=_('Groups'), viewname='thread_list', auth=False), )

# Imported settings from colab
LOCALE_PATHS = ('colab_superarchives/locale', )

# Super Archives
SUPER_ARCHIVES_PATH = '/var/lib/mailman/archives/private'
SUPER_ARCHIVES_EXCLUDE = []
SUPER_ARCHIVES_LOCK_FILE = '/var/lock/colab/import_emails.lock'
# Gitlab plugin - Put this in plugins.d/gitlab.py to actiate ##
# from django.utils.translation import ugettext_lazy as _
# from colab.plugins.utils.menu import colab_url_factory

name = 'colab_superarchives'
verbose_name = 'Super Archives'

# upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_superarchives.urls',
    'prefix': '^archives/',
}

menu_title = _('Groups')

url = colab_url_factory('archives')

menu_urls = (
    url(display=_('Groups'), viewname='thread_list', auth=False),
)

# Imported settings from colab
LOCALE_PATHS = ('colab_superarchives/locale',)

# Super Archives
SUPER_ARCHIVES_PATH = '/var/lib/mailman/archives/private'
SUPER_ARCHIVES_EXCLUDE = []
SUPER_ARCHIVES_LOCK_FILE = '/var/lock/colab/import_emails.lock'
# Noosfero plugin - Put this in plugins.d/noosfero.py to actiate ##
# from django.utils.translation import ugettext_lazy as _
# from colab.plugins.utils.menu import colab_url_factory

name = 'colab_noosfero'
verbose_name = 'Noosfero Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_noosfero.urls',
    'prefix': 'social',
}

menu_title = _('Social')

url = colab_url_factory('noosfero')

menu_urls = (
    url(display=_('Users'), viewname='noosfero',
        kwargs={'path': '/search/people'}, auth=False),
    url(display=_('Communities'), viewname='noosfero',
        kwargs={'path': '/search/communities'}, auth=False),
    url(display=_('Profile'), viewname='noosfero',
        kwargs={'path': '/profile/~/'}, auth=True),
    url(display=_('Control Panel'), viewname='noosfero',
        kwargs={'path': '/myprofile/~/'}, auth=True),

)
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

name = 'colab_wikilegis_plugin'
verbose_name = 'Colab Wikilegis Plugin Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': 'colab_wikilegis_plugin.urls',
    'prefix': '^colab_wikilegis_plugin/',
}

menu_title = _('colab_wikilegis_plugin')

url = colab_url_factory('colab_wikilegis_plugin')

# Extra data to be exposed to plugin app config
extra = {}

menu_urls = (
# Example of menu URL:
#    url(display=_('Public Projects'), viewname='colab_wikilegis_plugin',
#        kwargs={'path': 'public/projects'}, auth=False),

# Example of authenticated user menu URL:
#    url(display=_('Profile'), viewname='colab_wikilegis_plugin',
#        kwargs={'path': 'profile'}, auth=True),
)
Beispiel #16
0
from django.utils.translation import ugettext_lazy as _
from colab.plugins.utils.menu import colab_url_factory

name = '{{ app_name }}'
verbose_name = '{{ app_name_verbose }} Plugin'

upstream = 'localhost'
# middlewares = []

urls = {
    'include': '{{ app_name }}.urls',
    'prefix': '^{{ app_name }}/',
}

menu_title = _('{{ app_name }}')

url = colab_url_factory('{{ app_name }}')

# Extra data to be exposed to plugin app config
extra = {}

menu_urls = (
    # Example of menu URL:
    #    url(display=_('Public Projects'), viewname='{{ app_name }}',
    #        kwargs={'path': 'public/projects'}, auth=False),

    # Example of authenticated user menu URL:
    #    url(display=_('Profile'), viewname='{{ app_name }}',
    #        kwargs={'path': 'profile'}, auth=True),
)