mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
- Audit: finalize MainCfDiagnosis API - Doc: document Diagnosis models - Doc: remove hacky imports and replace them with autodoc mock imports - Views: add `email_` prefix to email server templates - Apache: delete unnecessary directives (robots tag, cookie header etc.)
20 lines
685 B
Python
20 lines
685 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
from django.urls import path
|
|
from plinth.utils import non_admin_view
|
|
from stronghold.decorators import public
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
path('apps/email_server/', views.EmailServerView.as_view(), name='index'),
|
|
path('apps/email_server/security', views.TLSView.as_view()),
|
|
path('apps/email_server/domains', views.DomainView.as_view()),
|
|
|
|
path('apps/email_server/my_mail',
|
|
non_admin_view(views.MyMailView.as_view()), name='my_mail'),
|
|
path('apps/email_server/my_aliases',
|
|
non_admin_view(views.AliasView.as_view())),
|
|
|
|
path('apps/email_server/config.xml', public(views.XmlView.as_view())),
|
|
]
|