Commit graph

382 commits

Author SHA1 Message Date
1f485e6b29 implement websites.models.Website.delete
- implement delete method and let it call these tasks:
  - disable_web_vhost
  - delete_web_vhost_config
  - delete_file_website_hierarchy
  - delete_web_php_fpm_pool_config if this was the last website of the
    user
2015-01-27 18:42:07 +01:00
be1e7bd27f implement website.models.Website.save
- implement save method and let it call these tasks:
  - create_web_php_fpm_pool_config if the user has no website yet
  - create_file_website_hierarchy
  - create_web_vhost_config
  - enable_web_vhost
2015-01-27 18:40:22 +01:00
7c9509c159 implement domain name validation
- implement domains.forms.relative_domain_validator
- use the validator for domain field validation in
  domains.forms.CreateHostingDomainForm
- use the validator for subdomain field validation in
  websites.forms.AddWebsiteForm
2015-01-27 16:41:44 +01:00
7da5cfe406 implement website deletion
- implement websites.views.DeleteWebsite
- add URL pattern 'delete_website' to websites.urls
- add template website_confirm_delete.html
- add link from hostingpackage page to 'delete_website'
- add changelog entry
2015-01-27 16:26:10 +01:00
5ad32e6894 link from hostingpackage detail view to 'add_website' 2015-01-26 22:53:57 +01:00
711a96212c implement adding websites
- implement websites.models.Website
- add migration
- implement websites.views.AddWebsite
- implement websites.forms.AddWebsiteForm
- define URL pattern 'add_website' in websites.urls
- register Website model in websites.admin
- add templates websites/base.html and websites/website_create.html
- add german translation for new strings
- add website URLs to gnuviechadmin.urls
- add websites to INSTALLED_APPS
- add changelog entry
2015-01-26 22:49:16 +01:00
cff35dd408 define User.is_sftp_user and fix minor template issues 2015-01-26 21:49:22 +01:00
b98b05220f make manage.py executable 2015-01-26 21:45:27 +01:00
7fbeb668da add wildcard parameter to create_web_vhost_config task 2015-01-26 21:36:24 +01:00
ba85ad8ad9 add django generated websites app 2015-01-26 21:00:52 +01:00
57d4b128f5 add webtasks interface
- add webtasks interface code
- add webtasks to generated code documentation
- add webtasks and fileservertasks to INSTALLED_APPS
2015-01-26 20:58:43 +01:00
24b4bab0b0 update to fileservertasks interface 0.4.0 version 2015-01-26 18:10:08 +01:00
7360b33eca Merge commit 'd31c1d0fbf02bde5d4dc2be24762d872da64935f'
* commit 'd31c1d0fbf02bde5d4dc2be24762d872da64935f':
  add new route 'web' for web server configuration
2015-01-26 15:44:04 +01:00
d31c1d0fbf add new route 'web' for web server configuration 2015-01-26 15:43:05 +01:00
5972560b77 release 0.8.0
This release provides new features to create and delete user databases and to
 set database user passwords.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUxjmhAAoJEA15HcjXN8HZub0H/0/x5dgb4MjbhCxGhfWNM/mU
 v5P0TKf1uNtzRPOEjEkqPd8omf0jX5E50QZcG4j0DSwzOyzokzrnFTLTEfVATikO
 YOj6QDEp1N8MrpYkJj6LQMm1G3ABfoDEbkxwymrRvMlft7ohvfHDCw9qRIJTqyM6
 mUy+kRGljrGMzaEMG4qLptWyWGHL+3tVLPoMtBLj9bzd9ItjYRvZ7rPQ9dvhHVHe
 gA6wLFF9DSZKqAMZGEPN2XpVg5b3QH2JSoqGVuhhlaxFVnj50QJVENfB3TCvU584
 zOK1wPZK+SwICShKQDnon6FuflusB/Li2ejjyOolYshgipRN2Hzrh+sFZoPozwc=
 =rSKu
 -----END PGP SIGNATURE-----

Merge tag '0.8.0'

release 0.8.0

This release provides new features to create and delete user databases and to
set database user passwords.

* tag '0.8.0':
  add release version in changelog, update conf.py
2015-01-26 13:57:10 +01:00
3b248f650c Merge branch 'release/0.8.0' into production
* release/0.8.0:
  add release version in changelog, update conf.py
  add german translation for new strings
  implement user database deletion
  improve table layout on hosting package detail page
  implement database user password change
  link from hostingpackages details to add_userdatabase
  implement setup of new user databases
  add combined method for creating databases with users
  performance optimizations for hosting package detail view
  move HostingPackageAndCustomerMixin to gvawebcore.views
2015-01-26 13:56:15 +01:00
ec1796e269 add release version in changelog, update conf.py 2015-01-26 13:56:08 +01:00
9c998509eb Merge branch 'feature/setup_userdbs'
* feature/setup_userdbs:
  add german translation for new strings
  implement user database deletion
  improve table layout on hosting package detail page
  implement database user password change
  link from hostingpackages details to add_userdatabase
  implement setup of new user databases
  add combined method for creating databases with users
  performance optimizations for hosting package detail view
  move HostingPackageAndCustomerMixin to gvawebcore.views
2015-01-26 13:53:02 +01:00
065a97665b add german translation for new strings 2015-01-26 13:52:55 +01:00
64e3f97330 implement user database deletion
- modify userdbs.models.UserDatabase.delete to perform deletion of database
  user if it has no other databases assigned
- implement userdbs.views.DeleteUserDatabase
- add URL pattern 'delete_userdatabase' to userdbs.urls
- add template userdbs/userdatabase_confirm_delete.html
- add link to 'delete_userdatabase' on hosting package detail page
- add changelog entry
2015-01-26 13:42:09 +01:00
d5eccafea7 improve table layout on hosting package detail page
- add CSS classes for table column width
- use same CSS class for same type of column in domain, mailbox and database
  tables
2015-01-26 13:38:26 +01:00
fd6449dff1 implement database user password change
- implement userdbs.forms.ChangeDatabaseUserPasswordForm
- implement userdbs.views.ChangeDatabaseUserPassword
- add URL pattern 'change_dbuser_password' to userdbs.urls
- add template userdbs/databaseuser_setpassword.html
- link from hostingpackage detail template to 'change_dbuser_password'
- add changelog entry
2015-01-26 12:39:42 +01:00
486c07d27d link from hostingpackages details to add_userdatabase
- add database URLs to gnuviechadmin.urls
- add link in template hostingpackages/customerhostingpackage_detail.html
- add changelog entry for new feature
2015-01-26 12:07:56 +01:00
0e1a84826d implement setup of new user databases
- implement userdbs.forms.AddUserDatabaseForm
- implement userdbs.views.AddUserDatabase
- add new URL pattern 'add_userdatabase' in userdbs.urls
- add templates userdbs/base.html and userdbs/userdatabase_create.html
- add generated code documentation for new modules
2015-01-26 12:06:03 +01:00
2447f558e4 add combined method for creating databases with users
- implement userdbs.models.UserDatabaseManager.create_userdatabase_with_user to
  setup a new database with a new database user in one step
2015-01-26 12:05:07 +01:00
f3168ffdb7 performance optimizations for hosting package detail view
- prefetch database objects in CustomerHostingPackageDetails.get_context_data
- use prefetched data in template hostingpackage/customerhostingpackage_detail.html
- mention optimization in changelog
2015-01-26 12:04:43 +01:00
638a6f6712 move HostingPackageAndCustomerMixin to gvawebcore.views 2015-01-26 10:33:01 +01:00
7bc26b261c release 0.7.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUxV8cAAoJEA15HcjXN8HZZD4H/A5dWE9UnD0R9WdnnVuFex4r
 MA99O6+a3Vl8XXpZErSjFg37j9lZ1vRn7we+mXl0irxfnGqlCUtazACZbN+yfcbM
 f84b0xTOaid28ytbohJxJaPNm/CxejhRKpLieIr2hIWFuk/LK1fsm/9pkjifk80o
 KhS5q8jTchuy7v9juhrrGRwvKSHRY9daMyQbTo67KgK+ugTjIh+YIYF81tQiHPdq
 yPxRlpymSYtkUEieUOIXZhfKQUoZaaCd41xi3M68qGf3zRMJt2zTLHHjrQlz3ulD
 zDpj5FZidptGsbtiKZLxt32Kg85Zcs/zKxbEi8SNXQJQhLDRcPmEOOkpXHShmDk=
 =h92O
 -----END PGP SIGNATURE-----

Merge tag '0.7.0'

release 0.7.0

* tag '0.7.0':
  add release version in changelog, update conf.py
2015-01-25 22:24:50 +01:00
82255ae140 Merge branch 'release/0.7.0' into production
* release/0.7.0: (35 commits)
  add release version in changelog, update conf.py
  add german translation for new strings
  link to mailaddress functionality
  implement mail address target editing
  implement mail address deletion
  add verbose name to MailAddress fields
  update to bootstrap 3.3.2
  implement managemails.Views.AddMailAddress
  add german translation for new strings
  add feature description and bugfixes to changelog
  implement adding options to hosting packages
  implement hosting package option choice view
  implement password change for mailboxes
  enable mailbox creation
  implement create_mailbox functionality
  add changelog entry for refactoring
  refactor osusers password forms
  implement new module gvawebcore to provide common code
  update german translation
  add feature remark in changelog, add domains code docs
  ...
2015-01-25 22:24:33 +01:00
0e6f1b9f17 add release version in changelog, update conf.py 2015-01-25 22:24:10 +01:00
3eda45150f Merge branch 'feature/mailaddress_setup'
* feature/mailaddress_setup:
  add german translation for new strings
  link to mailaddress functionality
  implement mail address target editing
  implement mail address deletion
  add verbose name to MailAddress fields
  update to bootstrap 3.3.2
  implement managemails.Views.AddMailAddress
2015-01-25 22:22:15 +01:00
78728c59e6 add german translation for new strings 2015-01-25 22:22:09 +01:00
682977277e link to mailaddress functionality 2015-01-25 22:13:11 +01:00
5429055f0d implement mail address target editing
- extract common code into managemails.forms.MailAddressFieldMixin
- move code from forms into managemails.models.MailAddress
- implement managemails.models.MailboxManager.unused and unused_or_own
- implement managemails.forms.EditMailAddressForm
- add managemails.views.EditMailAddress
- add URL pattern 'edit_mailaddress' to managemails.urls
- add template managemails/mailaddress_edit.html
- add changelog entry
2015-01-25 22:12:03 +01:00
bebcad8c86 implement mail address deletion
- implement managemails.views.DeleteMailAddress
- add get_context_data to AddMailAddress to add customer to template context
- add URL pattern 'delete_mailaddress' to managemails.urls
- add template hostingpackages/customerhostingpackage_detail.html
- add entry to changelog
2015-01-25 19:03:58 +01:00
af27400077 add verbose name to MailAddress fields 2015-01-25 19:01:01 +01:00
f9ce3929f7 update to bootstrap 3.3.2 2015-01-25 18:54:07 +01:00
1d69bb22dc implement managemails.Views.AddMailAddress
- implement managemails.forms.multiple_email_validator
- implement managemails.forms.AddMailAddressForm
- implement managemails.views.AddMailAddress
- add URL pattern 'add_mailaddress' to managemails.urls
- add template managemails/mailaddress_create.html
- add changelog entry
2015-01-25 18:20:51 +01:00
3271690841 Merge branch 'feature/add_hosting_options'
* feature/add_hosting_options:
  add german translation for new strings
  add feature description and bugfixes to changelog
  implement adding options to hosting packages
  implement hosting package option choice view
2015-01-25 15:53:19 +01:00
fbb0755446 add german translation for new strings 2015-01-25 15:51:29 +01:00
e14be4a905 add feature description and bugfixes to changelog 2015-01-25 15:46:17 +01:00
0fc823a305 implement adding options to hosting packages
- fix unique constraints on CustomerDiskSpaceOption and
  CustomerUserDatabaseOption to allow multiple options from the same template
  for hosting packages
- fix disk space calculation in CustomerHostingPackage
- implement hostingpackages forms AddDiskspaceOptionForm, AddMailboxOptionForm,
  AddUserDatabaseOptionForm
- implement hostingpackages.views.AddHostingOption
- add new URL pattern add_hosting_option to hostingpackages.urls
- add template hostingpackages/add_hosting_option.html
- link items on hostingpackages/customerhostingpackage_option_choices.html to
  add_hosting_option
2015-01-25 15:15:39 +01:00
9815bd1f5b implement hosting package option choice view
- implement new hostingpackages.views.HostingOptionChoices
- add URL pattern 'hosting_option_choices' to hostingpackages.urls
- add template hostingpackages/customerhostingpackage_option_choices.html
- link from hostingpackages/customerhostingpackage_detail.html to
  'hosting_package_choices'
2015-01-25 14:04:32 +01:00
353ea7ad90 Merge branch 'feature/mailaccount_setup'
* feature/mailaccount_setup:
  implement password change for mailboxes
  enable mailbox creation
  implement create_mailbox functionality
  add changelog entry for refactoring
  refactor osusers password forms
  implement new module gvawebcore to provide common code
2015-01-25 12:54:25 +01:00
2e4efe7839 implement password change for mailboxes
- implement managemails.forms.ChangeMailboxPasswordForm
- extract code for determining hosting package and customer from URL into
  HostingPackageAndCustomerMixin
- implement managemails.views.ChangeMailboxPassword
- add new URL pattern 'change_mailbox_password' to managemails.urls
- add template managemails/mailbox_setpassword.html
- link from template hostingpackages/customerhostingpackage_detail.html to
  change_mailbox_password
- add german translation for new strings
- document new feature in changelog
2015-01-25 12:49:31 +01:00
d1119331d8 enable mailbox creation
- add managemails.urls to gnuviechadmin.urls
- add link to create_mailbox to customerhostingpackage_detail.html template
- document feature in changelog
2015-01-25 12:16:18 +01:00
449af174ec implement create_mailbox functionality
- implement managemails.forms.CreateMailboxForm
- implement managemails.views.CreateMailbox
- add url pattern 'create_mailbox' to managemails.urls
- add templates managemails/base.html and managemails/mailbox_create.html
- add german translation
- add generated code documentation
2015-01-25 12:10:17 +01:00
6cb61ea105 add changelog entry for refactoring 2015-01-25 12:08:30 +01:00
2b989799ab refactor osusers password forms
- use PasswordModelFormMixin from gvawebcore instead of own implementation in
  ChangeOsUserPasswordForm
- change import for PASSWORD_MISMATCH_ERROR
2015-01-25 12:02:31 +01:00
9883db6fa2 implement new module gvawebcore to provide common code
- add gvawebcore.forms.PasswordModelFormMixin
- add generated documentation
- add german translation
2015-01-25 12:00:30 +01:00