Merge branch 'release/0.11.2' into production

* release/0.11.2:
  bump version number, add release to changelog
  fix mail forwarding setup bug
  improve documentation
This commit is contained in:
Jan Dittberner 2015-02-06 11:21:12 +01:00
commit a298548244
8 changed files with 41 additions and 31 deletions

View file

@ -1,10 +1,17 @@
=============
gnuviechadmin gnuviechadmin
============= -------------
Customer center for gnuviech servers. This is the GNUViech Admin Customer Center for gnuviech servers.
GNUViech Admin is a suite of tools for server management used for hosting
customer management at `Jan Dittberner IT-Consulting & -Solutions
<http://www.gnuviech-server.de>`_.
Gnuviechadmin is based on Django_ and Celery_ Gnuviechadmin is based on Django_ and Celery_
.. _Django: https://djangoproject.com/ .. _Django: https://djangoproject.com/
.. _Celery: http://www.celeryproject.com/ .. _Celery: http://www.celeryproject.com/
The project page for gnuviechadmin is at http://dev.gnuviech-server.de/gva. If
you find some problem or have some feature suggestions you can post a new
ticket in our issue tracker on the project page.

View file

@ -1,6 +1,11 @@
Changelog Changelog
========= =========
* :release:`0.11.2 <2015-02-06>`
* :bug:`-` fix wrong variable name in
managemails.models.MailAddress.set_forward_addresses and typo in
managemails.forms.EditMailAddressForm
* :release:`0.11.1 <2015-02-01>` * :release:`0.11.1 <2015-02-01>`
* :bug:`-` fix translation of contact form by using ugettext_lazy and adding * :bug:`-` fix translation of contact form by using ugettext_lazy and adding
contact_form to INSTALLED_APPS contact_form to INSTALLED_APPS

View file

@ -1,4 +1,11 @@
Deploy Deploy
======== ======
This is where you describe how the project is deployed in production. The production deployment for gnuviechadmin is performed using saltstack and
consists of the following steps:
* installation of native dependencies
* setup of a virtualenv
* installation of gnuviechadmin production dependencies inside the virtualenv
* setup of uwsgi application for the web interface
* setup of nginx with certificates and UWSGI support

View file

@ -1,19 +1,8 @@
Development ideas and planned features Development ideas and planned features
====================================== ======================================
* password reset for * add pure redirect websites
* add management for rewrite rules
- OS users * add accounts without SFTP (for pure mail hosting)
- mailboxes * allow generation of Key and CSR, add upload of certificates for HTTPS sites
* add XMPP management
* add ssh key management for sftp users
* link to phpmyadmin and phppgadmin
* link to webmail
* list mail domains
* CRUD for mailboxes
* CRUD for mail addresses

View file

@ -3,20 +3,22 @@
You can adapt this file completely to your liking, but it should at least You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive. contain the root `toctree` directive.
=========================================
Welcome to gnuviechadmin's documentation!
=========================================
.. include:: ../README.rst .. include:: ../README.rst
License License
======= -------
gnuviechadmin is licensed under the terms of the MIT license: gnuviechadmin is licensed under the terms of the MIT license:
.. include:: ../LICENSE.txt .. include:: ../LICENSE.txt
:literal: :literal:
Welcome to gnuviechadmin's documentation! Contents
========================================= --------
Contents:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
@ -30,7 +32,7 @@ Contents:
Indices and tables Indices and tables
================== ------------------
* :ref:`genindex` * :ref:`genindex`
* :ref:`modindex` * :ref:`modindex`

View file

@ -1,3 +1,3 @@
from gnuviechadmin.celery import app as celery_app from gnuviechadmin.celery import app as celery_app
__version__ = '0.11.1' __version__ = '0.11.2'

View file

@ -290,5 +290,5 @@ class EditMailAddressForm(forms.ModelForm, MailAddressFieldMixin):
self.instance.set_mailbox(data['mailbox'], commit) self.instance.set_mailbox(data['mailbox'], commit)
elif data['mailbox_or_forwards'] == MAILBOX_OR_FORWARDS.forwards: elif data['mailbox_or_forwards'] == MAILBOX_OR_FORWARDS.forwards:
targets = [part.strip() for part in data['forwards'].split(',')] targets = [part.strip() for part in data['forwards'].split(',')]
self.instance.set_foward_addresses(targets, commit) self.instance.set_forward_addresses(targets, commit)
return self.instance return self.instance

View file

@ -209,13 +209,13 @@ class MailAddress(ActivateAbleMixin, TimeStampedModel, models.Model):
mafwd = MailAddressForward(mailaddress=self, target=target) mafwd = MailAddressForward(mailaddress=self, target=target)
if commit: if commit:
mafwd.save() mafwd.save()
retval.append(item) retval.append(mafwd)
else: else:
for target in addresses: for target in addresses:
mafwd = MailAddressForward(mailaddress=self, target=target) mafwd = MailAddressForward(mailaddress=self, target=target)
if commit: if commit:
mafwd.save() mafwd.save()
retval.append(item) retval.append(mafwd)
return retval return retval