Commit graph

67 commits

Author SHA1 Message Date
3c5d02776a Update Django and gvacommon dependencies
This commit updates the Django dependency version to 1.9.2 and gvacommon
to 0.3.0 that provides gvacommon.settings_utils.get_env_variable. The
gnuviechadmin.settings.base module now uses this implementation instead
of an own copy and the corresponding test has been removed too.
2016-02-01 22:27:05 +00:00
6c606034b3 Add docstrings from gvaldap settings 2016-01-31 23:22:07 +01:00
3d95a9f61a Switch result backend to redis
The AMQP result backend proved as impractical, this commit switches to
redis instead. The redis server is setup on the webinterface host but
can be configured on another host.
2016-01-31 21:50:49 +01:00
9d843c920a Add docstring to gnuviechadmin.settings.base 2016-01-31 21:50:11 +01:00
eda20937dc Use separate test vhost for celery queues 2016-01-31 21:46:14 +01:00
2018520646 Start changelog for next release
This commit updates the changelog, switches to git code browsing for the
release links and uses correct semantic versioning.
2016-01-29 14:21:43 +00:00
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
1b30b1a38c Define logging for tests 2015-12-07 00:24:23 +00:00
fb1f31a9bc Fix flake8 warnings
This commit fixes all warnings created by flake8 by removing unused
imports and variable assignments. Some wrongly indented lines are now
indented correctly.
2015-12-05 13:47:41 +00:00
f2c3f64a87 Use MD5PasswordHasher for tests
This commit changes the password hasher for test runs to the
MD5PasswordHasher to speed up password hashing during test runs.
2015-11-28 19:00:03 +00:00
b11055807f Clean PEP8 violations 2015-11-22 14:03:47 +00:00
be0531ec30 Add test for gnuviechadmin.celery
This commit adds a refactoring for gnuviechadmin.celery to make the
installed apps detection testable. The test is added in
gnuviechadmin.tests.test_celery. Debug code in gnuviechadmin.urls is no
excluded from coverage reporting.
2015-11-22 14:31:04 +01:00
7bcb0d3100 Add tests for gnuviechadmin.context_processors
This commit adds new tests for the gnuviechadmin.context_processors
module. The module gnuviechadmin.tests has been moved into a separate
directory for a more clear structure.
2015-11-22 13:13:42 +00:00
660ffa9de9 bump version to new development version 2015-10-12 18:42:14 +00:00
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
4c81502b8e bump version number, add release version to changelog 2015-02-21 20:59:09 +01:00
9cab636351 bump version number, add release to changelog 2015-02-06 11:20:47 +01:00
b5714f2af3 bump version number, add release to changelog 2015-02-01 22:19:18 +01:00
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
1bee80044c enable translations for contact form 2015-02-01 20:58:53 +01:00
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
f9e4e67cf6 add context processing for contact_form views 2015-02-01 19:34:41 +01:00
42f3ed7f06 define DEFAULT_FROM_EMAIL in production settings 2015-02-01 19:34:12 +01:00
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
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
81b9bc163b mark active menu item as active 2015-02-01 14:58:32 +01:00
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
d921acd686 use bootstrap alert classes for messages 2015-01-31 13:30:48 +01:00
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
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
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
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
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
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
0baee51d19 introduce new settings for groups and upload server 2015-01-24 16:22:09 +01:00
888a2463c4 create system user when creating a new hosting package 2015-01-22 00:20:06 +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
12455e2d99 add hostingpackages app to INSTALLED_APPS 2015-01-18 13:22:31 +01:00
8fd75d5486 define proper allauth production settings 2015-01-18 00:47:59 +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
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
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
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
60301eea46 switch to gvacommon.celeryrouters.GvaRouter 2015-01-01 22:35:55 +01:00
a336af46c2 add taskresults app to handle celery task results 2014-12-29 15:55:57 +01:00