Commit graph

50 commits

Author SHA1 Message Date
Jan Dittberner b5714f2af3 bump version number, add release to changelog 2015-02-01 22:19:18 +01:00
Jan Dittberner 251e8a54f6 add version number to gnuviechadmin
- add __version__ to gnuviechadmin/__init__.py
- change docs/conf.py to use version number from gnuviechadmin
- add gnuviechadmin.context_processors.version_info to add
  gnuviechadmin_version to template context
- add version and technology links to templates/base.html footer
- add CSS styles for footer formatting
2015-02-01 22:15:40 +01:00
Jan Dittberner 1bee80044c enable translations for contact form 2015-02-01 20:58:53 +01:00
Jan Dittberner 52b6dd5845 add contact_form link in top navigation
- add contact_form URLs to gnuviechadmin.urls
- set href of contact link to 'contact_form'
2015-02-01 19:37:13 +01:00
Jan Dittberner f9e4e67cf6 add context processing for contact_form views 2015-02-01 19:34:41 +01:00
Jan Dittberner 42f3ed7f06 define DEFAULT_FROM_EMAIL in production settings 2015-02-01 19:34:12 +01:00
Jan Dittberner 2b0f1f9f89 add imprint as flatpage
- add flatpages app to gnuviechadmin.settings.base.DJANGO_APPS
- add imprint handling to gnuviechadmin.context_processors.navigation, remove
  unused about page handling
- add URL 'imprint' to gnuviechadmin.urls
- replace link 'about' in template base.html with 'imprint'
- add templates for flatpages
- add german translation for imprint and contact navigation links
2015-02-01 16:39:01 +01:00
Jan Dittberner 3f07ddb062 configure local logging
- add log formatters 'verbose' and 'simple' to gnuviechadmin.settings.base
- add loggers and handler in gnuviechadmin.settings.local
2015-02-01 14:59:36 +01:00
Jan Dittberner 81b9bc163b mark active menu item as active 2015-02-01 14:58:32 +01:00
Jan Dittberner 210d1e122c add links to webmail, phpmyadmin and phppgadmin
- add new links dropdown to top navigation in template base.html
- add new settings GVA_LINK_WEBMAIL, GVA_LINK_PHPMYADMIN and
  GVA_LINK_PHPPGADMIN to gnuviechadmin.settings.base
- implement gnuviechadmin.context_processors.navigation to add links to
  request context of non-AJAX requests
- add generated documentation for gnuviechadmin.context_processors
- add changelog entry
2015-02-01 13:16:45 +01:00
Jan Dittberner d921acd686 use bootstrap alert classes for messages 2015-01-31 13:30:48 +01:00
Jan Dittberner 711a96212c implement adding websites
- implement websites.models.Website
- add migration
- implement websites.views.AddWebsite
- implement websites.forms.AddWebsiteForm
- define URL pattern 'add_website' in websites.urls
- register Website model in websites.admin
- add templates websites/base.html and websites/website_create.html
- add german translation for new strings
- add website URLs to gnuviechadmin.urls
- add websites to INSTALLED_APPS
- add changelog entry
2015-01-26 22:49:16 +01:00
Jan Dittberner 57d4b128f5 add webtasks interface
- add webtasks interface code
- add webtasks to generated code documentation
- add webtasks and fileservertasks to INSTALLED_APPS
2015-01-26 20:58:43 +01:00
Jan Dittberner 486c07d27d link from hostingpackages details to add_userdatabase
- add database URLs to gnuviechadmin.urls
- add link in template hostingpackages/customerhostingpackage_detail.html
- add changelog entry for new feature
2015-01-26 12:07:56 +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 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 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 0baee51d19 introduce new settings for groups and upload server 2015-01-24 16:22:09 +01:00
Jan Dittberner 888a2463c4 create system user when creating a new hosting package 2015-01-22 00:20:06 +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 12455e2d99 add hostingpackages app to INSTALLED_APPS 2015-01-18 13:22:31 +01:00
Jan Dittberner 8fd75d5486 define proper allauth production settings 2015-01-18 00:47:59 +01:00
Jan Dittberner ab313a2a66 add allauth configuration and message tags 2015-01-17 17:50:59 +01:00
Jan Dittberner 286c477efc add allauth settings and URLs 2015-01-17 16:28:19 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 3eef84d373 add new incomplete userdbs app 2015-01-04 20:22:58 +01:00
Jan Dittberner e7ae0054b5 add mysqltasks and pgsqltasks with placeholders for the real tasks 2015-01-04 18:06:44 +01:00
Jan Dittberner ab50907b97 set default locale to en-us to avoid translated migrations 2015-01-04 17:56:38 +01:00
Jan Dittberner 60301eea46 switch to gvacommon.celeryrouters.GvaRouter 2015-01-01 22:35:55 +01:00
Jan Dittberner a336af46c2 add taskresults app to handle celery task results 2014-12-29 15:55:57 +01:00
Jan Dittberner f2b8af39a0 define celery timezone, restrict celery content to json 2014-12-29 12:57:02 +01:00
Jan Dittberner 505b9c934b use celery routers from gvacommon 2014-12-27 14:12:48 +01:00
Jan Dittberner 0b6ac2a478 create directories for new users
- use new file tasks to create SFTP and mail base directories for users
- use json serializer as default
- remove TaskResult classes that don't provide any significant benefit
2014-12-26 15:10:36 +01:00
Jan Dittberner 2428a39f19 add stub tasks for file system operations 2014-12-25 18:05:42 +01:00
Jan Dittberner e73e46da3f update to Django 1.7, remove south_migrations, fix tests 2014-12-17 21:22:37 +01:00
Jan Dittberner a95c5044bd remove unused gnuviechadmin.celery.debug_task 2014-06-01 21:29:39 +02:00
Jan Dittberner 0c5706d886 use YAML for celery serialization
- add CELERY_ACCEPT_CONTENT, CELERY_TASK_SERIALIZER and
  CELERY_RESULT_SERIALIZER in gnuviechadmin.settings.base
- add pyaml to requirements/base.txt
2014-05-30 18:36:26 +02:00
Jan Dittberner 6eb74f5b79 add more ldap tasks
- add custom celery router osusers.tasks.LdapRouter
- add tasks add_ldap_user_to_group, delete_ldap_group_if_empty,
  delete_ldap_user and remove_ldap_user_from_group
- implement osusers.models.Group.save and osusers.models.Group.delete
- implement save, delete and set_password methods in osusers.models.User
- implement save and delete methods in osusers.models.AdditionalGroup
2014-05-30 17:10:22 +02:00
Jan Dittberner 1e717556ba refine ldap create commands
- define gnuviechadmin.settins.base.CELERY_ROUTES to properly route ldap tasks
- return dummy values from osusers.tasks
- add billiard, kombu and pytz to requirements/base.txt
2014-05-30 12:17:04 +02:00
Jan Dittberner 86b8f03704 add celery configuration to settings 2014-05-25 23:35:06 +02:00
Jan Dittberner 97634bb36a add celery app to project 2014-05-25 23:34:27 +02:00
Jan Dittberner 5db6223bc0 introduce new app domains
- generate domains app
- duplicate managemails.models.MailDomain as domains.models.MailDomain
- add domains app to gnuviechadmin.settings.base.LOCAL_APPS
- repair managemails.tests.test_models
- fix handling of empty results in osusers.models.GroupManager.get_next_gid and
  osusers.models.UserManager.get_next_uid
2014-05-25 14:53:58 +02:00
Jan Dittberner e132c9a56c add user creation manager code
- add OSUSER_* settings
- add UserManager, GroupManager and ShadowManager for user creation
2014-05-25 00:55:02 +02:00
Jan Dittberner 1082128f22 add osusers app 2014-05-24 21:28:33 +02:00
Jan Dittberner 7e49bd3039 add first tests, add .coveragerc, ignore coverage files 2014-05-24 13:38:08 +02:00
Jan Dittberner 46a65b5624 streamline settings
- use get_env_variable and other two scoops best practice
- add managemails to INSTALLED_APPS
2014-05-18 20:26:31 +02:00
Jan Dittberner 8e19d3630d auto generated project 2014-05-18 00:07:32 +02:00