Commit graph

123 commits

Author SHA1 Message Date
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
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
8cf6aab643 add admin site link for staff in base template 2015-01-17 16:14:55 +01:00
9fa1944c31 add german translation
- add django.po for apps and templates
- add locale directory to LOCALE_PATHS setting
2015-01-17 16:06:25 +01:00
2bc278ae92 implement login and logout
- add LogoutView to dashboard app
- define logout URL pattern
- only use login view from django.contrib.auth.views instead of including all
  auth URLs
- change base template to support login/logout
- add template dashboard/user_dashboard.html
2015-01-17 15:42:47 +01:00
1deed46d34 add templates for anonymous user dashboard and login 2015-01-17 14:05:04 +01:00
8a29e4001c add dashboard app
- add new dashboard app providing dashboards for anonymous and logged in users
- cleanup gnuviechadmin.urls:
  - import dashboard.urls and include dashboard_urls at URL root
  - import authentication urls and include them below /auth
  - remove generated commented code
2015-01-17 14:05:04 +01:00
8884b8b042 add django-crispy-forms
- add django-crispy-forms to requirements
- add crispy_forms app to settings.base
- add CRISPY_TEMPLATE_PACK setting to settings.base
2015-01-17 14:05:04 +01:00
961a2f471b add migration for managemails ordering 2015-01-17 14:05:04 +01:00
19390d369a add admin list filtering and ordering for mail addresses and mailboxes 2015-01-17 12:25:54 +01:00
ba39e3f765 set database password at the appropriate place 2015-01-10 18:43:43 +01:00
780a670565 remove username argument from delete_pgsql_database call 2015-01-09 19:38:30 +01:00
1af553c1fa remove username argument of pgsqltasks.tasks.delete_pgsql_database 2015-01-09 19:37:12 +01:00
706a4ef177 fix documentation issues
- add autotask directives for pgsqltasks and mysqltasks
- remove duplicate Celery_ link target
2015-01-04 22:47:14 +01:00
6edbe17a3b make userdbs admin work properly
* add userdbs app docstring
* add userdbs.app.UserdbsAppConfig
* implement userdbs.admin.DatabaseUserCreationForm,
  userdbs.admin.UserDatabaseCreationForm, userdbs.admin.DatabaseUserAdmin,
  userdbs.admin.UserDatabaseAdmin
* add docstrings to userdbs.models
* rename userdbs.models.DatabaseUserManager._get_next_username to
  _get_next_dbuser_name
* fix format string issues in userdbs.models.DatabaseUserManager and
  userdbs.UserDatabaseManager._get_next_dbname
* delete related databases in userdbs.models.UserDatabase.delete
2015-01-04 22:35:55 +01:00
be4ea9cc77 add initial migration for userdbs 2015-01-04 20:24:56 +01:00
8697f84381 add admin and a bit of documentation 2015-01-04 20:23:49 +01:00
3eef84d373 add new incomplete userdbs app 2015-01-04 20:22:58 +01:00
e7ae0054b5 add mysqltasks and pgsqltasks with placeholders for the real tasks 2015-01-04 18:06:44 +01:00
ab50907b97 set default locale to en-us to avoid translated migrations 2015-01-04 17:56:38 +01:00
0a17528c0c add migration for verbose_name and verbose_name_plural in osusers.models.User 2015-01-04 17:54:59 +01:00
60301eea46 switch to gvacommon.celeryrouters.GvaRouter 2015-01-01 22:35:55 +01:00
2e2d906f09 Merge commit '546441d49920caf43eb7d33976c2d71ae85f16d5'
* commit '546441d49920caf43eb7d33976c2d71ae85f16d5':
  unify routers, add support for mysql and pgsql tasks
2015-01-01 22:34:38 +01:00
6bf65bba3b use taskresults app and delete_ldap_group task 2014-12-29 15:57:03 +01:00
a336af46c2 add taskresults app to handle celery task results 2014-12-29 15:55:57 +01:00
9b4bef0050 add new task delete_ldap_group 2014-12-29 15:22:52 +01:00
f2b8af39a0 define celery timezone, restrict celery content to json 2014-12-29 12:57:02 +01:00
d4e62bf6f3 add german translation 2014-12-27 22:58:57 +01:00
0df67e7154 document osusers code 2014-12-27 22:44:27 +01:00
18e47d73b4 add customer field to osusers.models.User
- allow association of os users to Django users (customers)
- adapt admin forms
- add migration
2014-12-27 19:26:16 +01:00
39fd326ac2 allow generated password for new osusers
- change osusers.admin.UserCreationForm to allow empty password input which
  triggers the creation of a new password
2014-12-27 18:28:37 +01:00
54b99281e3 call create/delete mailbox tasks when saving/deleting mailboxes 2014-12-27 16:31:43 +01:00
505b9c934b use celery routers from gvacommon 2014-12-27 14:12:48 +01:00
17ca226dc0 Add 'gnuviechadmin/gvacommon/' from commit 'e29646a94714d516d52272fc83d9a15bbc21e488'
git-subtree-dir: gnuviechadmin/gvacommon
git-subtree-mainline: 92c6b39e12
git-subtree-split: e29646a947
2014-12-27 14:09:34 +01:00
92c6b39e12 implement automatic creation of mailbox names
- create mailbox name when saving new mailboxes in admin
- add MailboxManager that implement get_next_mailbox_name as manager for
  Mailbox
2014-12-27 00:24:05 +01:00