Commit graph

39 commits

Author SHA1 Message Date
Jan Dittberner 085b126416 Update to Django 1.9
- update all dependencies
- fix deprecation warnings and errors for Django 1.9 compatibility
2015-12-19 20:11:23 +01:00
Jan Dittberner b11055807f Clean PEP8 violations 2015-11-22 14:03:47 +00:00
Jan Dittberner d5bba7a22d asynchronous refactoring
- don't execute celery tasks directly
- introduce optional parameters to fileserver tasks to allow chaining
- handle user/group/key create and delete tasks in new osusers.signals
  class
- adapt unit tests
- change TaskResults model to store the task signatures
- generalize the local settings' logging configuration
2015-10-12 00:23:31 +02: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 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 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 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 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 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 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 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 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