Commit Graph

342 Commits

Author SHA1 Message Date
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
Jan Dittberner 0baee51d19 introduce new settings for groups and upload server 2015-01-24 16:22:09 +01:00
Jan Dittberner 68c0bfbb4e implement osusers.forms.ChangeOsUserPasswordForm
- implement new form for password changes
- use osusers.forms.PASSWORD_MISMATCH_ERROR in osusers.admin
- add autogenerated documentation
2015-01-24 16:21:47 +01:00
Jan Dittberner 3a9110dc30 refactor dashboard.views.UserDashboardView
- use gvacommon.viewmixins.StaffOrSelfLoginRequiredMixin instead of custom
  implementation
2015-01-24 16:12:23 +01:00
Jan Dittberner dd7a40a019 generate documentation for gvacommon.viewmixins 2015-01-24 15:42:20 +01:00
Jan Dittberner 6490b71c2b Merge commit '3c4d34cce56dfb75e0e4115c3938ce5b2e6efd83' into feature/set_sftp_password
* commit '3c4d34cce56dfb75e0e4115c3938ce5b2e6efd83':
  implement viewmixins.StaffOrSelfLoginRequiredMixin
2015-01-24 15:41:37 +01:00
Jan Dittberner 3c4d34cce5 implement viewmixins.StaffOrSelfLoginRequiredMixin 2015-01-24 15:38:08 +01:00
Jan Dittberner 888a2463c4 create system user when creating a new hosting package 2015-01-22 00:20:06 +01:00
Jan Dittberner d4f68a155c fix some test issues 2015-01-22 00:19:16 +01:00
Jan Dittberner 680f091cba incomplete create_hosting_package view
- add staff user view create_hosting_package
- add hostingpackages.forms.CreateHostingPackageForm
- add hostingpackages.views.CreateHostingPackage
- add link for staff users on user_dashboard page
- add url pattern
- TODO: implement saving the hosting package, update docs
2015-01-20 00:51:05 +01:00
Jan Dittberner 9890248e80 fix issue with mailbox count calculation
- use 0 if no mailbox option is assigned to the hosting package
2015-01-20 00:49:19 +01:00
Jan Dittberner f211b535cf remove unused LogoutView and corresponding url pattern 2015-01-20 00:47:24 +01:00
Jan Dittberner d78bad06b7 add docstrings to managemails.models 2015-01-19 23:00:01 +01:00
Jan Dittberner 35eceb3307 add task stub for ldaptasks.tasks.set_ldap_user_password 2015-01-19 22:43:29 +01:00
Jan Dittberner 42b5652bdc update changelog 2015-01-19 21:56:48 +01:00
Jan Dittberner 41af99561c adapt documentation to changed module structure 2015-01-19 21:54:13 +01:00