Commit graph

13 commits

Author SHA1 Message Date
Jan Dittberner 0df67e7154 document osusers code 2014-12-27 22:44:27 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner dad9849b48 remove attribute readonly_fields from UserAdmin 2014-12-26 22:38:02 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner e73e46da3f update to Django 1.7, remove south_migrations, fix tests 2014-12-17 21:22:37 +01:00
Jan Dittberner 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
Jan Dittberner 59783e986d implement classes for tracking task status 2014-05-30 21:46:10 +02:00
Jan Dittberner caab322beb implement user creation in osusers.admin
- add osusers.admin.UserCreationForm
- add dummy osusers.tasks implementation with create_ldap_group and
  create_ldap_user
- fix UserManager.get_next_username
- add proper transaction handling in UserManager.create_user
- add calls to create_ldap_user and create_ldap_group to
  UserManager.create_user
2014-05-25 23:35:14 +02:00
Jan Dittberner 9d447cac0b improve osusers admin interface
- set user uid to readonly
- set shadow password readonly
- set can_delete on shadow to False
2014-05-24 23:15:14 +02:00
Jan Dittberner 9edbe6c898 add support for additional groups 2014-05-24 21:53:49 +02:00
Jan Dittberner 1082128f22 add osusers app 2014-05-24 21:28:33 +02:00