Commit graph

330 commits

Author SHA1 Message Date
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
Jan Dittberner 5b41d93898 refactor osusers.tasks into fileservertasks and ldaptasks 2015-01-19 21:44:57 +01:00
Jan Dittberner 12b95881ec add a list of planned features and development ideas
- TODO: setup an issue tracker
2015-01-19 20:43:31 +01:00
Jan Dittberner efd5edd55f Merge branch 'feature/hostingpackages'
* feature/hostingpackages:
  remove newline at EOF
  add changelog entry for hosting package information on user dashboard
  render hosting package table on user dashboard
  implement get_context_data for UserDashboardView
  add CustomerHostingPackage information aggration methods
  fix foreign key for CustomerMailboxOption
  mention hostingpackages app in changelog
  add hostingpackages api doc
  add hostingpackages app to INSTALLED_APPS
  Add new hostingpackages app
2015-01-18 16:26:33 +01:00
Jan Dittberner 7ab58575eb remove newline at EOF 2015-01-18 16:25:41 +01:00
Jan Dittberner 30aa09c0af Merge branch 'master' into feature/hostingpackages
* master:
  load Font Mfizz in base template head
  add userdb template tags
  add Font Mfizz from http://mfizz.com/oss/font-mfizz

merged docs/changelog.rst
2015-01-18 16:24:53 +01:00
Jan Dittberner 8ffa22cc07 add changelog entry for hosting package information on user dashboard 2015-01-18 16:22:00 +01:00
Jan Dittberner d7d41d2fd9 render hosting package table on user dashboard 2015-01-18 16:20:47 +01:00
Jan Dittberner d34f3596ae implement get_context_data for UserDashboardView
- expose user's hosting packages in UserDashboardView.get_context_data
2015-01-18 16:19:28 +01:00
Jan Dittberner 0e32aff544 add CustomerHostingPackage information aggration methods
- add get_disk_space, get_used_mailboxes, get_mailboxes and get_database
  methods for hostingpackages.models.CustomerHostingPackage
2015-01-18 16:14:47 +01:00
Jan Dittberner c72d711d35 load Font Mfizz in base template head 2015-01-18 16:07:06 +01:00
Jan Dittberner 4c8b173e95 add userdb template tags
- add changelog entry
- add generated documentation for userdbs.templatetags.userdb
- add userdb template tags db_type_icon_class and db_type_name
- remove empty userdbs.views
2015-01-18 16:05:29 +01:00
Jan Dittberner 56675f6c4d add Font Mfizz from http://mfizz.com/oss/font-mfizz 2015-01-18 16:01:24 +01:00