Commit graph

156 commits

Author SHA1 Message Date
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
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
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
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
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
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
2c170ebcc1 update to font-awesome 4.3.0 2015-01-24 22:29:02 +01:00
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
8a84c9660a add MailDomain.get_mailaddresses and mailaddresses property 2015-01-24 21:01:37 +01:00
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
75e4892835 add admin site support for hosting domains 2015-01-24 19:24:33 +01:00
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
a3e3e2a76f add missing german translations 2015-01-24 18:27:12 +01:00
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
0d08d9876b implement CustomerHostingPackageDetails view 2015-01-24 16:25:18 +01:00
0baee51d19 introduce new settings for groups and upload server 2015-01-24 16:22:09 +01:00
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
3a9110dc30 refactor dashboard.views.UserDashboardView
- use gvacommon.viewmixins.StaffOrSelfLoginRequiredMixin instead of custom
  implementation
2015-01-24 16:12:23 +01:00
6490b71c2b Merge commit '3c4d34cce56dfb75e0e4115c3938ce5b2e6efd83' into feature/set_sftp_password
* commit '3c4d34cce56dfb75e0e4115c3938ce5b2e6efd83':
  implement viewmixins.StaffOrSelfLoginRequiredMixin
2015-01-24 15:41:37 +01:00
888a2463c4 create system user when creating a new hosting package 2015-01-22 00:20:06 +01:00
d4f68a155c fix some test issues 2015-01-22 00:19:16 +01:00
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
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
f211b535cf remove unused LogoutView and corresponding url pattern 2015-01-20 00:47:24 +01:00
d78bad06b7 add docstrings to managemails.models 2015-01-19 23:00:01 +01:00
35eceb3307 add task stub for ldaptasks.tasks.set_ldap_user_password 2015-01-19 22:43:29 +01:00
41af99561c adapt documentation to changed module structure 2015-01-19 21:54:13 +01:00
5b41d93898 refactor osusers.tasks into fileservertasks and ldaptasks 2015-01-19 21:44:57 +01:00
7ab58575eb remove newline at EOF 2015-01-18 16:25:41 +01:00
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
d7d41d2fd9 render hosting package table on user dashboard 2015-01-18 16:20:47 +01:00
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
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
c72d711d35 load Font Mfizz in base template head 2015-01-18 16:07:06 +01:00
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
56675f6c4d add Font Mfizz from http://mfizz.com/oss/font-mfizz 2015-01-18 16:01:24 +01:00
95e15806c6 fix foreign key for CustomerMailboxOption 2015-01-18 16:00:18 +01:00
4f2ebbae63 add hostingpackages api doc
- add to docs/code.rst toctree
- add new docs/code/hostingpackages.rst containing the autodoc directives
- document undocumented code in hostingpackages app
- update translation templates
2015-01-18 13:37:21 +01:00
12455e2d99 add hostingpackages app to INSTALLED_APPS 2015-01-18 13:22:31 +01:00
9f63fbbb5d Add new hostingpackages app
- implement models for hosting packages, hosting options and customer
  specific variants
- implement admin interface
- add documentation
2015-01-18 13:22:06 +01:00
8fd75d5486 define proper allauth production settings 2015-01-18 00:47:59 +01:00
e121c9bf3d load jquery and html5shim with same URL schema as the rest of the site 2015-01-18 00:28:47 +01:00
8ab15e7680 remove empty tests module 2015-01-17 23:27:03 +01:00
9d1e315fb4 add socialaccount connections link to user dropdown 2015-01-17 23:09:09 +01:00
92b6e8a8cb add templates for allauth 2015-01-17 23:08:41 +01:00
7d6e0386d8 restructure base html to display properly on small devices 2015-01-17 22:05:47 +01:00
d906b9e497 add font-awesome link and put account actions in a dropdown 2015-01-17 21:42:13 +01:00
35016faba0 add font-awesome css and fonts 2015-01-17 21:41:32 +01:00
ab313a2a66 add allauth configuration and message tags 2015-01-17 17:50:59 +01:00
286c477efc add allauth settings and URLs 2015-01-17 16:28:19 +01:00