Jan Dittberner
37b18a17af
Update German translation
...
This commit updates the German translation files and adds missing
translations.
2016-01-29 11:07:41 +01:00
Jan Dittberner
0a0524f1f0
Add tests for userdbs.views.ChangeDatabaseUserPassword
...
This commit adds tests for the ChangeDatabaseUserPassword view.
2016-01-29 10:03:24 +00:00
Jan Dittberner
1f700fc06a
Add tests for userdbs.views.DeleteUserDatabase
...
This commit adds tests for the DeleteUserDatabase view and improves the
grammar of flash messages of the userdbs.views module.
2016-01-29 09:40:14 +00:00
Jan Dittberner
e6c38b632b
Add test for userdbs.views.AddUserDatabase
...
This commit adds tests for userdbs.views.AddUserDatabase, the view
itself has been modified so that it is only reachable when the hosting
package actually has database options available.
2016-01-28 16:17:50 +01:00
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
c9a9fa11b2
Refactor userdbs app to use signals
...
This commit isolates the celery task invocations of the userdbs app into
signal handlers. All celery interaction is now asynchronously handled in
userdbs.signals.
2015-12-07 00:23:07 +00:00
Jan Dittberner
1649e4592e
Add tests for userdbs app
...
This commit adds a set of unit tests for the userdbs app. Some tests
will fail because a refactoring to signals comes with the next commit.
2015-12-07 00:22:13 +00:00
Jan Dittberner
b11055807f
Clean PEP8 violations
2015-11-22 14:03:47 +00:00
Jan Dittberner
742f0d0e33
update translations, add new strings
2015-01-27 19:08:13 +01:00
Jan Dittberner
065a97665b
add german translation for new strings
2015-01-26 13:52:55 +01:00
Jan Dittberner
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
Jan Dittberner
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
Jan Dittberner
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
Jan Dittberner
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
Jan Dittberner
4c8b173e95
add userdb template tags
...
- add changelog entry
- add generated documentation for userdbs.templatetags.userdb
- add userdb template tags db_type_icon_class and db_type_name
- remove empty userdbs.views
2015-01-18 16:05:29 +01:00
Jan Dittberner
8ab15e7680
remove empty tests module
2015-01-17 23:27:03 +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
ba39e3f765
set database password at the appropriate place
2015-01-10 18:43:43 +01:00
Jan Dittberner
780a670565
remove username argument from delete_pgsql_database call
2015-01-09 19:38:30 +01:00
Jan Dittberner
6edbe17a3b
make userdbs admin work properly
...
* add userdbs app docstring
* add userdbs.app.UserdbsAppConfig
* implement userdbs.admin.DatabaseUserCreationForm,
userdbs.admin.UserDatabaseCreationForm, userdbs.admin.DatabaseUserAdmin,
userdbs.admin.UserDatabaseAdmin
* add docstrings to userdbs.models
* rename userdbs.models.DatabaseUserManager._get_next_username to
_get_next_dbuser_name
* fix format string issues in userdbs.models.DatabaseUserManager and
userdbs.UserDatabaseManager._get_next_dbname
* delete related databases in userdbs.models.UserDatabase.delete
2015-01-04 22:35:55 +01:00
Jan Dittberner
be4ea9cc77
add initial migration for userdbs
2015-01-04 20:24:56 +01:00
Jan Dittberner
8697f84381
add admin and a bit of documentation
2015-01-04 20:23:49 +01:00
Jan Dittberner
3eef84d373
add new incomplete userdbs app
2015-01-04 20:22:58 +01:00