Commit Graph

457 Commits

Author SHA1 Message Date
Jan Dittberner 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
Jan Dittberner 638a6f6712 move HostingPackageAndCustomerMixin to gvawebcore.views 2015-01-26 10:33:01 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 0e6f1b9f17 add release version in changelog, update conf.py 2015-01-25 22:24:10 +01:00
Jan Dittberner 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
Jan Dittberner 78728c59e6 add german translation for new strings 2015-01-25 22:22:09 +01:00
Jan Dittberner 682977277e link to mailaddress functionality 2015-01-25 22:13:11 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner af27400077 add verbose name to MailAddress fields 2015-01-25 19:01:01 +01:00
Jan Dittberner f9ce3929f7 update to bootstrap 3.3.2 2015-01-25 18:54:07 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner fbb0755446 add german translation for new strings 2015-01-25 15:51:29 +01:00
Jan Dittberner e14be4a905 add feature description and bugfixes to changelog 2015-01-25 15:46:17 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 6cb61ea105 add changelog entry for refactoring 2015-01-25 12:08:30 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 1ab832b94a update german translation 2015-01-25 00:58:31 +01:00
Jan Dittberner c6bb05a6c3 Merge branch 'feature/customer_domains'
* feature/customer_domains:
  add feature remark in changelog, add domains code docs
  implement hosting domain creation
  add domain creation form and model code
  update changelog to mention the new feature
  add link hosting package list templates
  add new views to hostingpackages app
  setup template structure for hosting package
  add more properties to CustomerHostingPackage
  update to font-awesome 4.3.0
  add model features to hostingpackages
  add MailDomain.get_mailaddresses and mailaddresses property
  improve managemails app
  add generated documentation for domains app
  add admin site support for hosting domains
  implement model changes
2015-01-25 00:43:50 +01:00
Jan Dittberner 266598a43e add feature remark in changelog, add domains code docs 2015-01-25 00:43:10 +01:00
Jan Dittberner 1690cace4d implement hosting domain creation
- implement domains.views.CreateHostingDomain
- define new URL create_hosting_domain in domains.urls
- add domains app URLs to gnuviechadmin.urls
- add templates domains/base.html and domains/hostingdomain_create.html
- link from hostingpackage detail page to domain creation view
2015-01-25 00:40:43 +01:00
Jan Dittberner 8615394c2f add domain creation form and model code
- implement domains.forms.CreateHostingDomainForm
- implement domains.models.HostingDomainManager.create_for_hosting_package that
  takes care of creating the necessary database objects for hosting domains
  assigned to a hosting package
2015-01-25 00:38:42 +01:00
Jan Dittberner 110b3d03f2 Merge branch 'feature/admin_customer_list' into feature/customer_domains
* feature/admin_customer_list:
  update changelog to mention the new feature
  add link hosting package list templates
  add new views to hostingpackages app
2015-01-24 23:40:23 +01:00
Jan Dittberner 2b062edf68 update changelog to mention the new feature 2015-01-24 23:40:03 +01:00
Jan Dittberner bf91664f6e add link hosting package list templates
- add link to hosting package list for staff users in top navigation
- add new template hostingpackages/customerhostingpackage_admin_list.html
2015-01-24 23:37:20 +01:00
Jan Dittberner 4bffa5ec62 add new views to hostingpackages app
- rename CreateHostingPackage to CreateCustomerHostingPackage
- add new CreateHostingPackage that allows to select a customer
- rename CreateHostingPackageForm to CreateCustomerHostingPackageForm
- add new CreateHostingPackageForm that has a customer field
- add new URL pattern create_hosting_package, rename existing pattern to
  create_customer_hosting_package
- modify template dashboard/user_dashboard to use the correct URL name
2015-01-24 23:34:15 +01:00
Jan Dittberner 7991d2bf4f setup template structure for hosting package
- add panels for hosting package options, domains, mailboxes and databases
- list existing objects assigned to the hosting package
2015-01-24 22:33:09 +01:00
Jan Dittberner 0def7e3a7b add more properties to CustomerHostingPackage
- add get_hostingoptions method and property hostingoptions
- add get_package_space method to determine disk space provided by the
  hosting package itself
- add get_databases_flat and property databases to get a list of databases
  assigned to the hosting package
- add may_add_database to determine whether additional databases are allowed
  by the hosting package's options
2015-01-24 22:29:57 +01:00
Jan Dittberner 2c170ebcc1 update to font-awesome 4.3.0 2015-01-24 22:29:02 +01:00
Jan Dittberner 03e5c74d7a add model features to hostingpackages
- add properties mailboxes, used_mailbox_count, mailbox_count and
  may_add_mailbox to CustomerHostingPackage class
- use new properties in template dashboard/user_dashboard.html
2015-01-24 22:26:27 +01:00
Jan Dittberner 8a84c9660a add MailDomain.get_mailaddresses and mailaddresses property 2015-01-24 21:01:37 +01:00
Jan Dittberner e04132bd24 improve managemails app
- add managemails.apps to give a more meaningful title in the admin site
- add verbose names to MailAddressMailbox fields
- implement managemails.models.Mailbox.get_mailaddresses and a corresponding
  property mailaddresses
2015-01-24 20:58:20 +01:00
Jan Dittberner 47abaa6d62 add generated documentation for domains app 2015-01-24 19:25:58 +01:00
Jan Dittberner 75e4892835 add admin site support for hosting domains 2015-01-24 19:24:33 +01:00
Jan Dittberner 0c291f0510 implement model changes
- add new domains.apps.AppConfig to allow translatable app description for
  domains app
- link domains to a customer
- extract common functionality from domains.models.MailDomain into abstract
  domains.models.DomainBase
- add separate domains.models.HostingDomain to allow for generic external
  domains
- add new hostingpackages.models.CustomerHostingPackageDomain to assign hosting
  domains to hosting packages
2015-01-24 19:10:58 +01:00
Jan Dittberner a3e3e2a76f add missing german translations 2015-01-24 18:27:12 +01:00
Jan Dittberner a44689d9c4 release 0.6.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUw7trAAoJEA15HcjXN8HZ7CIIAKybBN8Cqp+AcQ+y231d+bQu
 FDNyhy6//VuJF2ma1Mcx+mVvySctQzJCOtDRqkR45R5TdvPMfmIxXQILvhoG2Awo
 xgebSZOxKHoPvS6NLyAZV6Gv6/DF1l4Y2wyKROYafkds5wIyV7iv2QO6wbOEZbkQ
 lAoHWUEi5RnLm9Z1KBc4sEERGpXwjmSqFCVw1jdHCFP8rHhklzwvrHjUzY0YKUSn
 q2zdpkwMKABR1TXOQ88hTS83iDXSgXdB5m4Dc+QBIM3bz7bSf97PHEkqMnwmQ0eQ
 XV673gXQczQySl6rMm8H4JqhxmA1f2rjWWXeA9WCYweqNOfQbksK9sqYDkDLNcs=
 =WyWZ
 -----END PGP SIGNATURE-----

Merge tag '0.6.0'

release 0.6.0

* tag '0.6.0':
  define version number, mark version in changelog
2015-01-24 16:34:08 +01:00
Jan Dittberner b27dfd5d68 Merge branch 'release/0.6.0' into production
* release/0.6.0: (32 commits)
  define version number, mark version in changelog
  plug users and hosting packages together
  implement CustomerHostingPackageDetails view
  introduce new settings for groups and upload server
  implement osusers.forms.ChangeOsUserPasswordForm
  refactor dashboard.views.UserDashboardView
  generate documentation for gvacommon.viewmixins
  implement viewmixins.StaffOrSelfLoginRequiredMixin
  create system user when creating a new hosting package
  fix some test issues
  incomplete create_hosting_package view
  fix issue with mailbox count calculation
  remove unused LogoutView and corresponding url pattern
  add docstrings to managemails.models
  add task stub for ldaptasks.tasks.set_ldap_user_password
  update changelog
  adapt documentation to changed module structure
  refactor osusers.tasks into fileservertasks and ldaptasks
  add a list of planned features and development ideas
  remove newline at EOF
  ...
2015-01-24 16:33:54 +01:00
Jan Dittberner 5583870caa define version number, mark version in changelog 2015-01-24 16:33:32 +01:00
Jan Dittberner f55886f1fe Merge branch 'feature/set_sftp_password'
* feature/set_sftp_password:
  plug users and hosting packages together
  implement CustomerHostingPackageDetails view
  introduce new settings for groups and upload server
  implement osusers.forms.ChangeOsUserPasswordForm
  refactor dashboard.views.UserDashboardView
  generate documentation for gvacommon.viewmixins
  implement viewmixins.StaffOrSelfLoginRequiredMixin
2015-01-24 16:32:12 +01:00
Jan Dittberner 150366a524 plug users and hosting packages together
- document new feature in changelog
- add autogenerated documentation for osusers.urls and osusers.views
- add osuser URLs to gnuviechadmin.urls
- implement get_absolute_url in hostingpackages.models.CustomerHostingPackage
- use set_ldap_user_password instead of create_ldap_user for existing OS users
  in osusers.models.User.set_password
- add URL pattern set_osuser_password in osusers.urls
- implement osusers.views.SetOsUserPassword to set the password of an existing
  operating system user
- link to hosting package detail view on user dashboard
- add template hostingpackages/customerhostingpackage_detail.html
- add template osusers/user_setpassword.html
2015-01-24 16:26:32 +01:00
Jan Dittberner 0d08d9876b implement CustomerHostingPackageDetails view 2015-01-24 16:25:18 +01:00