Commit graph

420 commits

Author SHA1 Message Date
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
385838580b implement contact form
- implement contact_form.forms.ContactForm
- implement contact_form.views.ContactFormView and
  contact_form.views.ContactSuccessView
- add new URL patterns 'contact_form' and 'contact_success' in
  contact_form.urls
- add contact_form templates base.html, contact_form.html, contact_form.txt,
  contact_form_subject.txt and contact_success.html
- add german translation for new strings
- add contact_form to .coveragerc
- add generated code documentation for contact_form app
- add changelog entry
2015-02-01 19:33:53 +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
cea780a9b2 fix issues with changed URLs
- sort all_hosting_packages before hosting_packages
- allow _ in user names
- only display hosting link if user is authenticated
2015-02-01 15:14:26 +01:00
5d19120bbf add new german translation strings 2015-02-01 15:09:10 +01:00
2d4282194f add new view CustomerHostingPackageList
- create view hostingpackages.views.CustomerHostingPackageList to display a
  specific customer's hosting packages
- add docstring to view AllCustomerHostingPackageList
- add URL pattern 'hosting_packages' to hostingpackages.urls
- restructure hostingpackages URL patterns to remove useless parts
- add template hostingpackages/customerhostingpackage_list.html
- change links in template base.html to link to 'hosting_packages'
2015-02-01 15:04:04 +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
551fd0eeab release 0.10.0
- ssh keys feature and lots of code fixes
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUzYmxAAoJEA15HcjXN8HZqfgIAMVVCmzQBMc3Wh8MxO4FGsPL
 Dh75HzG+02bwnEz/dpz/Ugdfe8PbA6nEaQbNCvVspgGcYHQsS8hU341GI5/LHXpc
 l895c6S3C0j8XzIE2BSyyYmaE6Y11k1neNugVIIBWF60sTwUnO3MUYX5L8UmKtST
 qr+mUNria4OIRT5wADVYt52k8SeEuvBlKATHNSS3Ejrz+gJo8WH3NfCz0D7h3EJn
 pz8/GSy8XBnbVgrpPBjAqTfCEwzRZRFaM9KtypOs84fVGy7VKdpG9Tvnzg1JfBQm
 K3LoTvDtWyi/Z5SOhjq6lBzr/2GL0npp3nhTHOr0b9jjNRALqGFxi/69NcJ9AsQ=
 =Lazi
 -----END PGP SIGNATURE-----

Merge tag '0.10.0'

release 0.10.0

- ssh keys feature and lots of code fixes

* tag '0.10.0':
  update docs version, add release to changelog
2015-02-01 03:04:43 +01:00
630d46b595 Merge branch 'release/0.10.0' into production
* release/0.10.0:
  update docs version, add release to changelog
  fix taskresults.tests
  add german translation for new strings
  add docstrings, restrict queryset of osusers.views
  implement caching for get_hosting_package
  add list, delete and edit comment of SSH public keys
  add view osusers.views.AddSshPublicKey
  repair osusers.tests.test_admin
  define readonly fields and own delete action for SSH key admin
  trigger tasks on SshPublicKey save and delete
  add administration form and admin class for SshPublicKey
  implement SshPublicKey model, manager and tests
  document HTML improvements
  use bootstrap alert classes for messages
  add api for set_file_ssh_authorized_keys task
  adapt comments to gvafile server side
  update Django version to 1.7.4
2015-02-01 03:03:58 +01:00
08045cee4e update docs version, add release to changelog 2015-02-01 03:03:50 +01:00
0e32d162f7 fix taskresults.tests 2015-02-01 03:01:29 +01:00
0714d55902 Merge branch 'feature/ssh-keys'
* feature/ssh-keys:
  add german translation for new strings
  add docstrings, restrict queryset of osusers.views
  implement caching for get_hosting_package
  add list, delete and edit comment of SSH public keys
  add view osusers.views.AddSshPublicKey
  repair osusers.tests.test_admin
  define readonly fields and own delete action for SSH key admin
  trigger tasks on SshPublicKey save and delete
  add administration form and admin class for SshPublicKey
  implement SshPublicKey model, manager and tests
2015-02-01 02:30:43 +01:00
01a0fa2fa4 add german translation for new strings 2015-02-01 02:30:30 +01:00
5ad3ba1631 add docstrings, restrict queryset of osusers.views 2015-02-01 02:11:41 +01:00
5e1f34c9d8 implement caching for get_hosting_package 2015-02-01 02:11:07 +01:00
832a611602 add list, delete and edit comment of SSH public keys
- add sshkeys to hostingpackage detail view context
- implement new osusers.forms.EditSshPublicKeyCommentForm
- implement new views ListSshPublicKeys, DeleteSshPublicKey and
  EditSshPublicKeyComment
- add new URL patterns 'list_ssh_keys', 'edit_ssh_key_comment' and
  'delete_ssh_key'
- link from hosting package detail view to 'list_ssh_keys' when there are
  SSH keys assigned to the shown hosting package
- add new templates osusers/sshpublickey_list.html,
  osusers/sshpublickey_confirm_delete.html and
  osusers/sshpublickey_edit_comment
- add operating system user output to template
  osusers/sshpublickey_create.html
- add changelog entry
2015-02-01 01:55:09 +01:00
0c7bb79109 add view osusers.views.AddSshPublicKey
- implement new form osusers.forms.AddSshPublicKeyForm
- move message texts from osusers.admin to osusers.forms
- add new view osusers.views.AddSshPublicKey
- add new URL patter 'add_ssh_key' to osusers.urls
- add new template osusers/sshpublickey_create.html
- link from hosting package detail template to 'add_ssh_key'
- add changelog entry for new feature
2015-02-01 00:44:31 +01:00
79b460c4a6 repair osusers.tests.test_admin
- fix test code
- fix error in set_ldap_user_password stub
2015-02-01 00:08:04 +01:00
b993053d2a define readonly fields and own delete action for SSH key admin
- implement custom perform_delete_selected action for SshPublicKeyAdmin that
  ensures that the authorized_keys files of all affected users are rebuilt
  after deleting keys
- implement custom get_actions to replace the default delete_selected action
  with the custom perform_delete_selected
- define get_readonly_fields to make sure that the key algorithm and data
  cannot be changed
2015-02-01 00:08:04 +01:00
7dd4c78345 trigger tasks on SshPublicKey save and delete
- implement save and delete methods in osusers.models.SshPublicKey that trigger
  set_file_ssh_authorized_keys
- add new test methods to osusers.tests.test_models.SshPublicKeyTest
2015-02-01 00:08:04 +01:00
0080fe7e78 add administration form and admin class for SshPublicKey 2015-02-01 00:08:04 +01:00
20359681db implement SshPublicKey model, manager and tests
- implement osusers.models.SshPublicKey and osusers.models.SshPublicKeyManager
- fix broken osusers.models.tests.test_models
- add new test classes SshPublicKeyManagerTest and SshPublicKeyTest
- add migration for SshPublicKey model
2015-02-01 00:07:56 +01:00
9fa351f801 document HTML improvements 2015-01-31 14:29:07 +01:00
d921acd686 use bootstrap alert classes for messages 2015-01-31 13:30:48 +01:00
f0c8336708 add api for set_file_ssh_authorized_keys task 2015-01-29 23:05:16 +01:00
33e78bcb69 adapt comments to gvafile server side 2015-01-29 21:03:55 +01:00
99980767da update Django version to 1.7.4 2015-01-29 17:05:53 +01:00
3b000b3d81 release 0.9.0
- implement adding websites with integration of gvaweb and gvafile tasks
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUx9WKAAoJEA15HcjXN8HZ2XgIANRNQCkTJ6OLjuleYzVdqqmj
 KET3wJ8D1ERWCVVMNebadFd0VH8oPlJrp4/BLiiH+CInSC83MslixIS2ftCB9bsl
 n38eywhCEuKvwW0y9JAN8U4z6xkodlWX7ke87q6D0JE3DyMp+gZkZx7zPlqppNzm
 UGGBWl05ouW5/9wVkn741uqwSrLUOZQCacahRZ+yZpmGTo25q442zmdwAOR9ECkr
 1wxWwV2VoOFu+DnUwafhfyEhKPokFr6UIIbHApF/LhhhwSds5G4fjLGMdkpxSZaf
 HLmKT06hickIXcSTu9RVFtXtw1Lgp9Z8xjmwE6Wnh0Pkg8yiR3vb6zlyBdg9iFo=
 =Ltav
 -----END PGP SIGNATURE-----

Merge tag '0.9.0'

release 0.9.0

- implement adding websites with integration of gvaweb and gvafile tasks

* tag '0.9.0':
  add release version in changelog, update conf.py
2015-01-27 19:14:40 +01:00
e718c472e8 Merge branch 'release/0.9.0' into production
* release/0.9.0:
  add release version in changelog, update conf.py
  add changelog entry
  mark bugs as major to include them in 0.7.0 changelog
  update translations, add new strings
  add code documentation for websites app
  implement websites.models.Website.delete
  implement website.models.Website.save
  implement domain name validation
  implement website deletion
  link from hostingpackage detail view to 'add_website'
  implement adding websites
  define User.is_sftp_user and fix minor template issues
  make manage.py executable
  add wildcard parameter to create_web_vhost_config task
  add django generated websites app
  add webtasks interface
  update to fileservertasks interface 0.4.0 version
  add new route 'web' for web server configuration
2015-01-27 19:13:59 +01:00
35a784300f add release version in changelog, update conf.py 2015-01-27 19:13:41 +01:00
020cca9bd3 Merge branch 'feature/website_setup'
* feature/website_setup:
  add changelog entry
  mark bugs as major to include them in 0.7.0 changelog
  update translations, add new strings
  add code documentation for websites app
  implement websites.models.Website.delete
  implement website.models.Website.save
  implement domain name validation
  implement website deletion
  link from hostingpackage detail view to 'add_website'
  implement adding websites
  define User.is_sftp_user and fix minor template issues
  make manage.py executable
  add wildcard parameter to create_web_vhost_config task
  add django generated websites app
  add webtasks interface
  update to fileservertasks interface 0.4.0 version
2015-01-27 19:12:04 +01:00
8d3f9582ef add changelog entry 2015-01-27 19:09:46 +01:00
b92bb9ac9a mark bugs as major to include them in 0.7.0 changelog 2015-01-27 19:09:21 +01:00
742f0d0e33 update translations, add new strings 2015-01-27 19:08:13 +01:00
5322e00345 add code documentation for websites app 2015-01-27 18:51:04 +01:00
1f485e6b29 implement websites.models.Website.delete
- implement delete method and let it call these tasks:
  - disable_web_vhost
  - delete_web_vhost_config
  - delete_file_website_hierarchy
  - delete_web_php_fpm_pool_config if this was the last website of the
    user
2015-01-27 18:42:07 +01:00
be1e7bd27f implement website.models.Website.save
- implement save method and let it call these tasks:
  - create_web_php_fpm_pool_config if the user has no website yet
  - create_file_website_hierarchy
  - create_web_vhost_config
  - enable_web_vhost
2015-01-27 18:40:22 +01:00
7c9509c159 implement domain name validation
- implement domains.forms.relative_domain_validator
- use the validator for domain field validation in
  domains.forms.CreateHostingDomainForm
- use the validator for subdomain field validation in
  websites.forms.AddWebsiteForm
2015-01-27 16:41:44 +01:00
7da5cfe406 implement website deletion
- implement websites.views.DeleteWebsite
- add URL pattern 'delete_website' to websites.urls
- add template website_confirm_delete.html
- add link from hostingpackage page to 'delete_website'
- add changelog entry
2015-01-27 16:26:10 +01:00
5ad32e6894 link from hostingpackage detail view to 'add_website' 2015-01-26 22:53:57 +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
cff35dd408 define User.is_sftp_user and fix minor template issues 2015-01-26 21:49:22 +01:00
b98b05220f make manage.py executable 2015-01-26 21:45:27 +01:00
7fbeb668da add wildcard parameter to create_web_vhost_config task 2015-01-26 21:36:24 +01:00
ba85ad8ad9 add django generated websites app 2015-01-26 21:00:52 +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
24b4bab0b0 update to fileservertasks interface 0.4.0 version 2015-01-26 18:10:08 +01:00