Commit graph

18 commits

Author SHA1 Message Date
df9800b827 add tests for osusers.models.UserManager 2014-06-01 14:43:42 +02:00
c45e93be03 add tests for Group and GroupManager 2014-06-01 11:56:42 +02:00
7d9224db63 implement tests for TaskResult
- implement TaskResultTest and TaskResultManagerTest
2014-06-01 11:25:30 +02:00
8cec71fe1f add test for osusers.models.Shadow.__str__ 2014-06-01 01:45:50 +02:00
b9dd34d527 add initial osusers unit tests 2014-06-01 01:36:50 +02:00
e8285518a3 fix small group handling bugs
- use create_grouptaskresult instead of create for creating
  GroupTaskResult
- use group.gid instead of non-existing group.id
2014-06-01 00:33:42 +02:00
59783e986d implement classes for tracking task status 2014-05-30 21:46:10 +02:00
865f54ab67 use primitive fields instead of models for tasks
- modify osusers.tasks and osusers.models to avoid serialization of full
  models for celery tasks and use the required fields only
2014-05-30 18:39:51 +02:00
6a40a5eded pass groupname only to delete_ldap_group_if_empty 2014-05-30 17:18:42 +02:00
6eb74f5b79 add more ldap tasks
- add custom celery router osusers.tasks.LdapRouter
- add tasks add_ldap_user_to_group, delete_ldap_group_if_empty,
  delete_ldap_user and remove_ldap_user_from_group
- implement osusers.models.Group.save and osusers.models.Group.delete
- implement save, delete and set_password methods in osusers.models.User
- implement save and delete methods in osusers.models.AdditionalGroup
2014-05-30 17:10:22 +02:00
1e717556ba refine ldap create commands
- define gnuviechadmin.settins.base.CELERY_ROUTES to properly route ldap tasks
- return dummy values from osusers.tasks
- add billiard, kombu and pytz to requirements/base.txt
2014-05-30 12:17:04 +02:00
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
5db6223bc0 introduce new app domains
- generate domains app
- duplicate managemails.models.MailDomain as domains.models.MailDomain
- add domains app to gnuviechadmin.settings.base.LOCAL_APPS
- repair managemails.tests.test_models
- fix handling of empty results in osusers.models.GroupManager.get_next_gid and
  osusers.models.UserManager.get_next_uid
2014-05-25 14:53:58 +02:00
e132c9a56c add user creation manager code
- add OSUSER_* settings
- add UserManager, GroupManager and ShadowManager for user creation
2014-05-25 00:55:02 +02:00
a85ad4e420 improve osusers model classes
- add __str__ methods
- add verbose names and help texts
2014-05-24 23:40:54 +02:00
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
9edbe6c898 add support for additional groups 2014-05-24 21:53:49 +02:00
1082128f22 add osusers app 2014-05-24 21:28:33 +02:00