Commit graph

94 commits

Author SHA1 Message Date
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
be4ea9cc77 add initial migration for userdbs 2015-01-04 20:24:56 +01:00
8697f84381 add admin and a bit of documentation 2015-01-04 20:23:49 +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
0a17528c0c add migration for verbose_name and verbose_name_plural in osusers.models.User 2015-01-04 17:54:59 +01:00
60301eea46 switch to gvacommon.celeryrouters.GvaRouter 2015-01-01 22:35:55 +01:00
2e2d906f09 Merge commit '546441d49920caf43eb7d33976c2d71ae85f16d5'
* commit '546441d49920caf43eb7d33976c2d71ae85f16d5':
  unify routers, add support for mysql and pgsql tasks
2015-01-01 22:34:38 +01:00
6bf65bba3b use taskresults app and delete_ldap_group task 2014-12-29 15:57:03 +01:00
a336af46c2 add taskresults app to handle celery task results 2014-12-29 15:55:57 +01:00
9b4bef0050 add new task delete_ldap_group 2014-12-29 15:22:52 +01:00
f2b8af39a0 define celery timezone, restrict celery content to json 2014-12-29 12:57:02 +01:00
d4e62bf6f3 add german translation 2014-12-27 22:58:57 +01:00
0df67e7154 document osusers code 2014-12-27 22:44:27 +01:00
18e47d73b4 add customer field to osusers.models.User
- allow association of os users to Django users (customers)
- adapt admin forms
- add migration
2014-12-27 19:26:16 +01:00
39fd326ac2 allow generated password for new osusers
- change osusers.admin.UserCreationForm to allow empty password input which
  triggers the creation of a new password
2014-12-27 18:28:37 +01:00
54b99281e3 call create/delete mailbox tasks when saving/deleting mailboxes 2014-12-27 16:31:43 +01:00
505b9c934b use celery routers from gvacommon 2014-12-27 14:12:48 +01:00
17ca226dc0 Add 'gnuviechadmin/gvacommon/' from commit 'e29646a94714d516d52272fc83d9a15bbc21e488'
git-subtree-dir: gnuviechadmin/gvacommon
git-subtree-mainline: 92c6b39e12
git-subtree-split: e29646a947
2014-12-27 14:09:34 +01:00
92c6b39e12 implement automatic creation of mailbox names
- create mailbox name when saving new mailboxes in admin
- add MailboxManager that implement get_next_mailbox_name as manager for
  Mailbox
2014-12-27 00:24:05 +01:00
8f5812ff29 repair mailbox creation admin 2014-12-27 00:05:14 +01:00
dad9849b48 remove attribute readonly_fields from UserAdmin 2014-12-26 22:38:02 +01:00
57a0d848c9 remove unused import 2014-12-26 21:48:09 +01:00
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
2428a39f19 add stub tasks for file system operations 2014-12-25 18:05:42 +01:00
e877087127 make user and group management more robust
- remove TaskResultInline and subclasses
- add custom perform_delete_selected action to UserAdmin and GroupAdmin
- properly clean asynchronous tasks in rabbitmq
- wrap user operations in transactions
2014-12-22 20:07:11 +01:00
6984033444 wrap UserManager.create_user in a transaction 2014-12-17 22:19:44 +01:00
e73e46da3f update to Django 1.7, remove south_migrations, fix tests 2014-12-17 21:22:37 +01:00
d5b0382f88 update South to 1.0.1, rename migrations to south_migrations 2014-12-17 21:08:14 +01:00
2204f7df43 add osusers.tests.test_tasks.LdapRouterTest 2014-06-01 23:22:13 +02:00
f01c3dbabb remove empty osusers/views.py 2014-06-01 23:14:16 +02:00
55f77c8e17 Merge branch 'feature/osusers_admin_tests' 2014-06-01 23:11:34 +02:00
fa5f296c0f add test for UserCreationForm.save_m2m 2014-06-01 23:10:26 +02:00
0a48619f3c implement osusers.tests.test_admin.DeleteTaskResultAdminTest 2014-06-01 23:05:58 +02:00
6b36cc95ff really test that update_taskstatus is called 2014-06-01 23:05:28 +02:00
266794d447 add osusers.tests.test_admin.GroupAdminTest 2014-06-01 22:53:38 +02:00
338b575983 add type check 2014-06-01 22:53:29 +02:00
b9d39f31a4 rename test class names from Test* to *Test 2014-06-01 22:41:42 +02:00
09f72fc091 add osusers.tests.test_admin.UserAdminTest 2014-06-01 22:37:43 +02:00
3db6b99a00 add osuser.tests.test_admin.UserCreationFormTest 2014-06-01 22:20:28 +02:00
5cc86b4790 change osusers.admin.UserCreationForm.save_m2m
- replace pass with a doc string to explain why this method does nothing
2014-06-01 22:18:16 +02:00
773dbea0fe implement osusers.tests.test_admin.TaskResultInlineTest 2014-06-01 22:01:04 +02:00
a95c5044bd remove unused gnuviechadmin.celery.debug_task 2014-06-01 21:29:39 +02:00
a663093433 make sure to not execute LDAP task 2014-06-01 21:28:24 +02:00
15ba5bd653 remove empty managemails.views 2014-06-01 18:32:47 +02:00
32de6257d3 add test for managemails.models.Mailbox.__str__ 2014-06-01 18:29:41 +02:00
3407a5ed24 add tests for managemails.admin 2014-06-01 18:25:30 +02:00
33e7fb29af remove empty domains.views 2014-06-01 16:45:37 +02:00
6a931ad21c add test for domains admin 2014-06-01 16:44:42 +02:00