2014-12-27 22:44:45 +01:00
|
|
|
******************
|
|
|
|
Code documentation
|
|
|
|
******************
|
|
|
|
|
|
|
|
.. index:: Django
|
|
|
|
|
|
|
|
gva is implemented as `Django`_ project and provides a frontend for
|
|
|
|
administrators and customers.
|
|
|
|
|
|
|
|
.. _Django: https://www.djangoproject.com/
|
|
|
|
|
|
|
|
|
|
|
|
The project module :py:mod:`gnuviechadmin`
|
|
|
|
==========================================
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`celery <gnuviechadmin.celery>`
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.celery
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`urls <gnuviechadmin.urls>`
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.urls
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`wsgi <gnuviechadmin.wsgi>`
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.wsgi
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`settings <gnuviechadmin.settings>`
|
|
|
|
-------------------------------------------
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.settings
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`base <gnuviechadmin.settings.base>`
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.settings.base
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`local <gnuviechadmin.settings.local>`
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.settings.local
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`production <gnuviechadmin.settings.production>`
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.settings.production
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`test <gnuviechadmin.settings.test>`
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. automodule:: gnuviechadmin.settings.test
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`gvacommon`
|
|
|
|
===================
|
|
|
|
|
|
|
|
This module is imported from a separate git project via git subtree and
|
|
|
|
provides some functionality that is common to all gnuviechadmin subprojects.
|
|
|
|
|
|
|
|
.. automodule:: gvacommon
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`celeryrouters <gvacommon.celeryrouters>`
|
|
|
|
-------------------------------------------------
|
|
|
|
|
|
|
|
.. automodule:: gvacommon.celeryrouters
|
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`managemails` app
|
|
|
|
=========================
|
|
|
|
|
|
|
|
.. automodule:: managemails
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`admin <managemails.admin>`
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
.. automodule:: managemails.admin
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`models <managemails.models>`
|
|
|
|
-------------------------------------
|
|
|
|
|
|
|
|
.. automodule:: managemails.models
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
2015-01-04 20:19:48 +01:00
|
|
|
:py:mod:`mysqltasks` app
|
|
|
|
========================
|
|
|
|
|
|
|
|
.. automodule:: mysqltasks
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`tasks <mysqltasks.tasks>`
|
|
|
|
----------------------------------
|
|
|
|
|
|
|
|
.. automodule:: mysqltasks.tasks
|
|
|
|
|
|
|
|
|
2014-12-27 22:44:45 +01:00
|
|
|
:py:mod:`osusers` app
|
|
|
|
=====================
|
|
|
|
|
|
|
|
.. automodule:: osusers
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`admin <osusers.admin>`
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
.. automodule:: osusers.admin
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`apps <osusers.apps>`
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
.. automodule:: osusers.apps
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`models <osusers.models>`
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
.. automodule:: osusers.models
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`tasks <osusers.tasks>`
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
.. automodule:: osusers.tasks
|
|
|
|
|
|
|
|
.. autotask:: osusers.tasks.add_ldap_user_to_group
|
|
|
|
.. autotask:: osusers.tasks.create_file_mailbox
|
|
|
|
.. autotask:: osusers.tasks.create_ldap_group
|
|
|
|
.. autotask:: osusers.tasks.create_ldap_user
|
|
|
|
.. autotask:: osusers.tasks.delete_file_mail_userdir
|
|
|
|
.. autotask:: osusers.tasks.delete_file_mailbox
|
|
|
|
.. autotask:: osusers.tasks.delete_file_sftp_userdir
|
2014-12-29 15:22:52 +01:00
|
|
|
.. autotask:: osusers.tasks.delete_ldap_group
|
2014-12-27 22:44:45 +01:00
|
|
|
.. autotask:: osusers.tasks.delete_ldap_group_if_empty
|
|
|
|
.. autotask:: osusers.tasks.delete_ldap_user
|
|
|
|
.. autotask:: osusers.tasks.remove_ldap_user_from_group
|
|
|
|
.. autotask:: osusers.tasks.setup_file_mail_userdir
|
|
|
|
.. autotask:: osusers.tasks.setup_file_sftp_userdir
|
2014-12-29 15:55:57 +01:00
|
|
|
|
|
|
|
|
2015-01-04 20:19:48 +01:00
|
|
|
:py:mod:`pgsqltasks` app
|
|
|
|
========================
|
|
|
|
|
|
|
|
.. automodule:: pgsqltasks
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`tasks <pgsqltasks.tasks>`
|
|
|
|
----------------------------------
|
|
|
|
|
|
|
|
.. automodule:: pgsqltasks.tasks
|
|
|
|
|
|
|
|
|
2014-12-29 15:55:57 +01:00
|
|
|
:py:mod:`taskresults` app
|
|
|
|
=========================
|
|
|
|
|
|
|
|
.. automodule:: taskresults
|
|
|
|
|
|
|
|
:py:mod:`admin <taskresults.admin>`
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
.. automodule:: taskresults.admin
|
|
|
|
|
|
|
|
:py:mod:`management.commands <taskresults.management.commands>`
|
|
|
|
---------------------------------------------------------------
|
|
|
|
|
|
|
|
.. automodule:: taskresults.management.commands
|
|
|
|
|
|
|
|
:py:mod:`fetch_taskresults <taskresult.management.commands.fetch_taskresults>`
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. automodule:: taskresults.management.commands.fetch_taskresults
|
|
|
|
|
|
|
|
:py:mod:`models <taskresults.models>`
|
|
|
|
-------------------------------------
|
|
|
|
|
|
|
|
.. automodule:: taskresults.models
|
2015-01-04 20:22:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`userdbs` app
|
|
|
|
=====================
|
|
|
|
|
|
|
|
.. automodule:: userdbs
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`admin <userdbs.admin>`
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
.. automodule:: userdbs.admin
|
|
|
|
|
|
|
|
|
|
|
|
:py:mod:`models <userdbs.models>`
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
.. automodule:: userdbs.models
|