Commit Graph

457 Commits

Author SHA1 Message Date
Jason Gerard DeRose
20fa90cfb6 Some small cleanup on Environment, filled in docstrings 2008-10-14 00:39:23 -06:00
Jason Gerard DeRose
149912d0e7 Added ldap.get_user_dn() method 2008-10-14 00:38:17 -06:00
Jason Gerard DeRose
446037fd60 Added Object.get_dn() method; added corresponding unit tests 2008-10-13 23:26:24 -06:00
Jason Gerard DeRose
22669f1fc2 CLI.run_interactive() now uses Param.cli_name instead of Param.name for prompts and errors 2008-10-13 22:00:18 -06:00
Jason Gerard DeRose
2357360e2a Command.params are now sorted the same way as Object.params (make user-add prompt for first, last before login) 2008-10-13 21:53:03 -06:00
Jason Gerard DeRose
b6dcd183a6 CLI now maps Param.cli_name to Param.name 2008-10-13 20:31:10 -06:00
Jason Gerard DeRose
8674086b85 Param now takes cli_name kwarg that sets Param.cli_name attribute 2008-10-13 17:24:23 -06:00
Jason Gerard DeRose
367143adf3 Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2 2008-10-13 15:39:14 -06:00
Rob Crittenden
6d2705b363 Implement user lock and unlock 2008-10-13 17:17:00 -04:00
Rob Crittenden
19465318ce Fix up a comment 2008-10-13 15:17:31 -04:00
Rob Crittenden
fc9f057792 Initial implementation of password policy 2008-10-13 15:01:08 -04:00
Rob Crittenden
0ebaad6462 Do a more specific search for the user 2008-10-13 14:59:48 -04:00
Rob Crittenden
361a379ff9 We should be registering Commands, not Methods 2008-10-13 14:58:31 -04:00
Rob Crittenden
399b3794fb Raise the right exceptions 2008-10-13 14:58:08 -04:00
Jason Gerard DeRose
225e2b0c93 Added CrudBackend abstract class defining generic CRUD API 2008-10-13 09:50:29 -06:00
Rob Crittenden
39ad5ccffa Stub out delegations
Add ACI class
2008-10-11 00:49:05 -04:00
Rob Crittenden
250734aea5 Fix syntax error 2008-10-10 14:38:09 -04:00
Rob Crittenden
75bad44c27 Enable the verbose flag to pass thru xmlrpc 2008-10-10 05:23:00 -04:00
Rob Crittenden
42cdca3e83 Use new options handler 2008-10-10 03:40:52 -04:00
Rob Crittenden
dbe49423ab Start service principal plugin 2008-10-10 03:36:57 -04:00
Rob Crittenden
5d2a99925d Implement group-mod 2008-10-10 03:36:57 -04:00
Rob Crittenden
8a97b3e8a8 Implement group-del 2008-10-10 03:36:57 -04:00
Rob Crittenden
5c07d97865 Slight change to how exceptions are handled 2008-10-10 03:36:57 -04:00
Rob Crittenden
83bb41faeb Mechanism to convert from xmlrpclib.Fault to an IPAError exception
Include slew of new exceptions, not all of which are used yet
2008-10-10 03:36:56 -04:00
Rob Crittenden
672c07566d Implement user-del
rename is_user_unique() to user_exists()
2008-10-10 03:36:56 -04:00
Rob Crittenden
3e505cc908 Remove some dead code 2008-10-10 03:36:56 -04:00
Jason Gerard DeRose
87390665f6 crud.Add.get_args() and get_options() now yield static values in takes_args, takes_options after the automagic ones 2008-10-09 11:33:35 -06:00
Jason Gerard DeRose
887016e69d Base Command.execute() method now raises NotImplementedError; updated unit tests 2008-10-08 18:18:13 -06:00
Jason Gerard DeRose
b7fe92f44f Reorganized Command methods so it is easier to understand and added lots of docstrings 2008-10-08 18:01:22 -06:00
Jason Gerard DeRose
bc9edbfdf6 Changed sub-package docstrings in tests/ to make consintent with other packages 2008-10-08 01:30:52 -06:00
Jason Gerard DeRose
b246dbabcf PEP 257: cleaned up docstrings in test_ipa_types.py 2008-10-08 01:24:39 -06:00
Jason Gerard DeRose
048678fc77 Fixed two PEP 257 violations I missed in test_plugable.py 2008-10-08 01:00:44 -06:00
Jason Gerard DeRose
ad2cd6560b PEP 257: cleaned up docstrings in test_frontend.py 2008-10-08 00:58:53 -06:00
Jason Gerard DeRose
33648655fe PEP 257: cleaned up docstrings in test_errors.py 2008-10-08 00:41:08 -06:00
Jason Gerard DeRose
7599beb693 Restructured test_crud.py around new CrudChecker base class 2008-10-08 00:17:32 -06:00
Jason Gerard DeRose
f5ea3b1bb9 Made docstrings in test_crud.py contistent with rest 2008-10-07 23:36:58 -06:00
Jason Gerard DeRose
0d2b5a8892 PEP 257: cleaned up docstrings in test_config.py 2008-10-07 23:31:40 -06:00
Jason Gerard DeRose
9bff91fc08 PEP 257: cleaned up docstrings in test_cli.py 2008-10-07 23:29:42 -06:00
Jason Gerard DeRose
97634e18c7 PEP 257: cleaned up docstrings in test_plugable.py 2008-10-07 23:20:00 -06:00
Jason Gerard DeRose
ac9597ddcb Renamed webui-cherry.py, simple-server.py to lite-webui.py, lite-xmlrpc.py respectively 2008-10-07 23:01:11 -06:00
Jason Gerard DeRose
6489e4f348 Renamed gen-doc.bash, run-tests.bash to make-doc, make-test respectively 2008-10-07 22:45:32 -06:00
Jason Gerard DeRose
fec6fc2e8c Fixed example in raise_TypeError() docstring (thanks, mnagy) 2008-10-07 22:35:45 -06:00
Jason Gerard DeRose
deb8e3dfc8 Renamed tests/tstutil.py to tests/util.py 2008-10-07 22:30:53 -06:00
Jason Gerard DeRose
3fdabc604e -m 2008-10-07 22:20:00 -06:00
Jason Gerard DeRose
f6ac2df6bd Moved tstutil.py into base of tests so it can be used by all test subpackages more easily 2008-10-07 21:59:47 -06:00
Jason Gerard DeRose
9ec8bf9e9e -m 2008-10-07 21:44:34 -06:00
Jason Gerard DeRose
a1e504d442 Moved ipa_server/tests/ to tests/test_ipa_server/ 2008-10-07 21:33:48 -06:00
Jason Gerard DeRose
af56c71d50 Cleaned up package and module level docstrings for everything in tests/ 2008-10-07 21:25:23 -06:00
Jason Gerard DeRose
151b8ba38a Moved ipa_webui/tests/ to tests/test_ipa_webui/ 2008-10-07 21:06:01 -06:00
Jason Gerard DeRose
7721443a62 Moved ipalib/tests/ into tests/test_ipalib/ 2008-10-07 20:41:15 -06:00