2b989799ab
refactor osusers password forms
...
- use PasswordModelFormMixin from gvawebcore instead of own implementation in
ChangeOsUserPasswordForm
- change import for PASSWORD_MISMATCH_ERROR
2015-01-25 12:02:31 +01:00
a3e3e2a76f
add missing german translations
2015-01-24 18:27:12 +01:00
150366a524
plug users and hosting packages together
...
- document new feature in changelog
- add autogenerated documentation for osusers.urls and osusers.views
- add osuser URLs to gnuviechadmin.urls
- implement get_absolute_url in hostingpackages.models.CustomerHostingPackage
- use set_ldap_user_password instead of create_ldap_user for existing OS users
in osusers.models.User.set_password
- add URL pattern set_osuser_password in osusers.urls
- implement osusers.views.SetOsUserPassword to set the password of an existing
operating system user
- link to hosting package detail view on user dashboard
- add template hostingpackages/customerhostingpackage_detail.html
- add template osusers/user_setpassword.html
2015-01-24 16:26:32 +01:00
68c0bfbb4e
implement osusers.forms.ChangeOsUserPasswordForm
...
- implement new form for password changes
- use osusers.forms.PASSWORD_MISMATCH_ERROR in osusers.admin
- add autogenerated documentation
2015-01-24 16:21:47 +01:00
d4f68a155c
fix some test issues
2015-01-22 00:19:16 +01:00
5b41d93898
refactor osusers.tasks into fileservertasks and ldaptasks
2015-01-19 21:44:57 +01:00
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
0a17528c0c
add migration for verbose_name and verbose_name_plural in osusers.models.User
2015-01-04 17:54:59 +01:00
6bf65bba3b
use taskresults app and delete_ldap_group task
2014-12-29 15:57:03 +01:00
9b4bef0050
add new task delete_ldap_group
2014-12-29 15:22:52 +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
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
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
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
a663093433
make sure to not execute LDAP task
2014-06-01 21:28:24 +02:00
842e207acc
complete coverage for osusers.models
...
- add tests for AdditionalGroups methods save, delete and __str__
- add TaskResultTest.test_update_taskstatus_finished
2014-06-01 16:30:14 +02:00
c270a6087e
add osusers.tests.test_models.ShadowTest
2014-06-01 16:09:30 +02:00
20f5686d85
add ShadowManagerTest
2014-06-01 15:42:32 +02:00
b37e44ccfd
add tests for osusers.models.User
...
- fix task name in Group.delete
- remove duplicate task from User.delete
- adapt osusers.tests.test_models.GroupTest.test_delete
- add tests to UserTest
- test_save
- test_delete_only_user
- test_delete_additional_groups
2014-06-01 15:26:01 +02:00
ceeffb6d1c
refactor UserManager.create_user
...
- remove duplicate create_ldap_group task
- create Shadow in User.set_password if necessary
- add test UserManagerTest.test_create_user_tasks for group task
2014-06-01 15:03:15 +02:00
83562ba2bf
implement test for User.set_password, add Shadow.set_password
2014-06-01 14:51:33 +02:00
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