Commit graph

353 commits

Author SHA1 Message Date
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
7360b33eca Merge commit 'd31c1d0fbf02bde5d4dc2be24762d872da64935f'
* commit 'd31c1d0fbf02bde5d4dc2be24762d872da64935f':
  add new route 'web' for web server configuration
2015-01-26 15:44:04 +01:00
d31c1d0fbf add new route 'web' for web server configuration 2015-01-26 15:43:05 +01:00
5972560b77 release 0.8.0
This release provides new features to create and delete user databases and to
 set database user passwords.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUxjmhAAoJEA15HcjXN8HZub0H/0/x5dgb4MjbhCxGhfWNM/mU
 v5P0TKf1uNtzRPOEjEkqPd8omf0jX5E50QZcG4j0DSwzOyzokzrnFTLTEfVATikO
 YOj6QDEp1N8MrpYkJj6LQMm1G3ABfoDEbkxwymrRvMlft7ohvfHDCw9qRIJTqyM6
 mUy+kRGljrGMzaEMG4qLptWyWGHL+3tVLPoMtBLj9bzd9ItjYRvZ7rPQ9dvhHVHe
 gA6wLFF9DSZKqAMZGEPN2XpVg5b3QH2JSoqGVuhhlaxFVnj50QJVENfB3TCvU584
 zOK1wPZK+SwICShKQDnon6FuflusB/Li2ejjyOolYshgipRN2Hzrh+sFZoPozwc=
 =rSKu
 -----END PGP SIGNATURE-----

Merge tag '0.8.0'

release 0.8.0

This release provides new features to create and delete user databases and to
set database user passwords.

* tag '0.8.0':
  add release version in changelog, update conf.py
2015-01-26 13:57:10 +01:00
3b248f650c Merge branch 'release/0.8.0' into production
* release/0.8.0:
  add release version in changelog, update conf.py
  add german translation for new strings
  implement user database deletion
  improve table layout on hosting package detail page
  implement database user password change
  link from hostingpackages details to add_userdatabase
  implement setup of new user databases
  add combined method for creating databases with users
  performance optimizations for hosting package detail view
  move HostingPackageAndCustomerMixin to gvawebcore.views
2015-01-26 13:56:15 +01:00
ec1796e269 add release version in changelog, update conf.py 2015-01-26 13:56:08 +01:00
9c998509eb Merge branch 'feature/setup_userdbs'
* feature/setup_userdbs:
  add german translation for new strings
  implement user database deletion
  improve table layout on hosting package detail page
  implement database user password change
  link from hostingpackages details to add_userdatabase
  implement setup of new user databases
  add combined method for creating databases with users
  performance optimizations for hosting package detail view
  move HostingPackageAndCustomerMixin to gvawebcore.views
2015-01-26 13:53:02 +01:00
065a97665b add german translation for new strings 2015-01-26 13:52:55 +01:00
64e3f97330 implement user database deletion
- modify userdbs.models.UserDatabase.delete to perform deletion of database
  user if it has no other databases assigned
- implement userdbs.views.DeleteUserDatabase
- add URL pattern 'delete_userdatabase' to userdbs.urls
- add template userdbs/userdatabase_confirm_delete.html
- add link to 'delete_userdatabase' on hosting package detail page
- add changelog entry
2015-01-26 13:42:09 +01:00
d5eccafea7 improve table layout on hosting package detail page
- add CSS classes for table column width
- use same CSS class for same type of column in domain, mailbox and database
  tables
2015-01-26 13:38:26 +01:00
fd6449dff1 implement database user password change
- implement userdbs.forms.ChangeDatabaseUserPasswordForm
- implement userdbs.views.ChangeDatabaseUserPassword
- add URL pattern 'change_dbuser_password' to userdbs.urls
- add template userdbs/databaseuser_setpassword.html
- link from hostingpackage detail template to 'change_dbuser_password'
- add changelog entry
2015-01-26 12:39:42 +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
0e1a84826d implement setup of new user databases
- implement userdbs.forms.AddUserDatabaseForm
- implement userdbs.views.AddUserDatabase
- add new URL pattern 'add_userdatabase' in userdbs.urls
- add templates userdbs/base.html and userdbs/userdatabase_create.html
- add generated code documentation for new modules
2015-01-26 12:06:03 +01:00
2447f558e4 add combined method for creating databases with users
- implement userdbs.models.UserDatabaseManager.create_userdatabase_with_user to
  setup a new database with a new database user in one step
2015-01-26 12:05:07 +01:00
f3168ffdb7 performance optimizations for hosting package detail view
- prefetch database objects in CustomerHostingPackageDetails.get_context_data
- use prefetched data in template hostingpackage/customerhostingpackage_detail.html
- mention optimization in changelog
2015-01-26 12:04:43 +01:00
638a6f6712 move HostingPackageAndCustomerMixin to gvawebcore.views 2015-01-26 10:33:01 +01:00
7bc26b261c release 0.7.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUxV8cAAoJEA15HcjXN8HZZD4H/A5dWE9UnD0R9WdnnVuFex4r
 MA99O6+a3Vl8XXpZErSjFg37j9lZ1vRn7we+mXl0irxfnGqlCUtazACZbN+yfcbM
 f84b0xTOaid28ytbohJxJaPNm/CxejhRKpLieIr2hIWFuk/LK1fsm/9pkjifk80o
 KhS5q8jTchuy7v9juhrrGRwvKSHRY9daMyQbTo67KgK+ugTjIh+YIYF81tQiHPdq
 yPxRlpymSYtkUEieUOIXZhfKQUoZaaCd41xi3M68qGf3zRMJt2zTLHHjrQlz3ulD
 zDpj5FZidptGsbtiKZLxt32Kg85Zcs/zKxbEi8SNXQJQhLDRcPmEOOkpXHShmDk=
 =h92O
 -----END PGP SIGNATURE-----

Merge tag '0.7.0'

release 0.7.0

* tag '0.7.0':
  add release version in changelog, update conf.py
2015-01-25 22:24:50 +01:00
82255ae140 Merge branch 'release/0.7.0' into production
* release/0.7.0: (35 commits)
  add release version in changelog, update conf.py
  add german translation for new strings
  link to mailaddress functionality
  implement mail address target editing
  implement mail address deletion
  add verbose name to MailAddress fields
  update to bootstrap 3.3.2
  implement managemails.Views.AddMailAddress
  add german translation for new strings
  add feature description and bugfixes to changelog
  implement adding options to hosting packages
  implement hosting package option choice view
  implement password change for mailboxes
  enable mailbox creation
  implement create_mailbox functionality
  add changelog entry for refactoring
  refactor osusers password forms
  implement new module gvawebcore to provide common code
  update german translation
  add feature remark in changelog, add domains code docs
  ...
2015-01-25 22:24:33 +01:00