Commit graph

391 commits

Author SHA1 Message Date
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
7bce88e18a Merge tag '0.2.1'
release 0.2.1

* tag '0.2.1':
2014-12-17 22:33:22 +01:00
55a1e05d8c Merge branch 'release/0.2.1' into production
* release/0.2.1:
  update docs
  wrap UserManager.create_user in a transaction
  update dependencies
  update to Django 1.7, remove south_migrations, fix tests
  update South to 1.0.1, rename migrations to south_migrations
2014-12-17 22:33:12 +01:00
05bc040856 update docs 2014-12-17 22:31:43 +01:00
6984033444 wrap UserManager.create_user in a transaction 2014-12-17 22:19:44 +01:00
11baf6bace update dependencies 2014-12-17 21:40:08 +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
6e1148dfb6 Release 0.2.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCAAGBQJTi5w6AAoJEA15HcjXN8HZ4noH/j4J3GQepMQ2VYU8857kKDWx
 N5xVEw2wjcE4Jm8Ke2s9gk0LrHpO+Aanm9gVu3uCdgGPwM15IPWsrIAGhBbj/DZ3
 nODLaVmRrSkVDbNM238aE/8qAZ08LzsGA9Se1hSginn5CkTnovvF7oU7RRpoP5mN
 Yis37F5Uzz3Km2+hgMuoHx28cCS1gmrCfZUIPOyr3kyD/3WIcgue3pQazRAg6a0y
 zkUT+pATiifNlGLCkLjV2PpQgLaFFuIKOSG0KDsPYWRP2Zn7jyfCx62hSYVdfhx0
 v/Smz2DwMAXkJ5DQSP//Qg7sZKAscwNAJutZ+ITQgwW2EHpYb/hazoy4H7iYWeY=
 =5fcr
 -----END PGP SIGNATURE-----

Merge tag '0.2.0'

Release 0.2.0
2014-06-01 23:33:52 +02:00
f6e7519c51 Merge branch 'release/0.2.0' into production 2014-06-01 23:33:31 +02:00
4be6b9ec3c bump version number, add release to changelog 2014-06-01 23:32:59 +02:00
ae65cdc100 Merge branch 'feature/complete_osusers_test_coverage' 2014-06-01 23:25:09 +02:00
d8c0984b05 update changelog 2014-06-01 23:24:38 +02: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
e56fdf5e80 Merge branch 'feature/managemails_tests' 2014-06-01 18:33:59 +02:00
d47f964cbc update changelog 2014-06-01 18:32:59 +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
b4a5e6c86b Merge branch 'feature/domains_tests' 2014-06-01 16:47:47 +02:00
6197728330 update changelog 2014-06-01 16:47:37 +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
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
d82146987e update changelog, document test process
- fix headline in index.rst
- add release 0.1 in changelog and add two more features
- add tests.rst documenting how to run the test suite and how to check test
  coverage
2014-06-01 12:07:18 +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
79ced4a7e7 add mock to local and test requirements 2014-06-01 11:25:10 +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