Commit Graph

1920 Commits

Author SHA1 Message Date
Jason Gerard DeRose
e5dabc852b A few more notes in TODO, including about making Enum's self-documenting 2008-12-17 17:33:29 -07:00
Jakub Hrozek
360f95341a Fix show_api command 2008-12-17 17:21:25 -07:00
Jakub Hrozek
f0bbe1b5a0 Add body for the NameSpaceError exception 2008-12-17 17:17:02 -07:00
Jason Gerard DeRose
e1aa5539fc Added some notes in TODO about requirements for Andrew's post-process stuff needed for CA plugin 2008-12-17 17:08:09 -07:00
Jakub Hrozek
67b688c7b2 Jakub Hrozek's patch to make textui.get_tty_width() actually work 2008-12-16 19:00:39 -07:00
Jason Gerard DeRose
e05fd7ab03 New Param: added basic rule logic 2008-12-12 04:48:25 -07:00
Jason Gerard DeRose
66faffdfb0 New Param: cleanup up readability of Param.__init__(); added unit tests for unknown kwargs 2008-12-12 03:38:02 -07:00
Jason Gerard DeRose
5272949bfd New Param: added all logic for minlength, maxlength, and length in Bytes class (which Str inherits) 2008-12-12 03:13:58 -07:00
Jason Gerard DeRose
079721da2c New Param: changed kwargs class attribute to a tuple so the subclass interface is simpler 2008-12-11 22:39:50 -07:00
Jason Gerard DeRose
64ae4bc986 Copied DefaultFrom into parameter.py; added docstring to new Param.normalize() method; more work and unit tests in new Param class 2008-12-11 20:30:59 -07:00
Jason Gerard DeRose
5c47b56d14 Finished kwarg validation and extension mechanism in parameter.Param 2008-12-11 18:07:54 -07:00
Rob Crittenden
c025ed6404 Remove some debugging statements 2008-12-11 16:06:26 -05:00
Rob Crittenden
e41fcf19fe Raise an error on bad principals instead of printing one when changing passwords
Fix logic in determining what to do with an incoming principal
2008-12-11 10:31:27 -05:00
Rob Crittenden
cfdd272166 Actually replace trailing ) characters with '' 2008-12-11 10:30:43 -05:00
Jason Gerard DeRose
22209a0f03 Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests 2008-12-10 21:14:05 -07:00
Rob Crittenden
46bd3974af Don't pass along the kw dictionary we were passed by XML-RPC.
We generally want to just search indexed attributes. We get this list
of attributes from the configuration, use it.
2008-12-10 16:45:07 -05:00
Rob Crittenden
af7b5645af Convert to new output_for_cli() function 2008-12-10 16:42:45 -05:00
Rob Crittenden
5ad47d70be The Python re module doesn't count parens so remove any trailing ) from notfound 2008-12-10 16:41:36 -05:00
Rob Crittenden
c34d2b8923 Add helper for adding Indirect maps.
This creates the map and the key pointing to the map. By default the key
is associated with the auto.master map but it can be overriden.
2008-12-10 14:15:20 -05:00
Rob Crittenden
3583735c60 Set defaults even for optional arguments. 2008-12-10 14:15:20 -05:00
Rob Crittenden
039ee0fd56 Add a function to show all the maps under a given mapname, def. is auto.master 2008-12-10 14:15:20 -05:00
Rob Crittenden
fc8ac69372 Port plugins to use the new output_for_cli() argument list
Fix some errors uncovered by the nosetests
2008-12-10 14:15:19 -05:00
Jason Gerard DeRose
a3ab787d23 Added not about gettext in TODO 2008-12-10 09:55:00 -07:00
Jason Gerard DeRose
7e21ea5ad8 Fixed Warning messages about log dir in unit test 2008-12-08 16:56:24 -07:00
Jason Gerard DeRose
4591057203 Removed depreciated rpc code from ipalib.util; removed corresponding unit tests in test_util 2008-12-08 15:15:50 -07:00
Jason Gerard DeRose
f4f010ae8d tests.test_ipalib.test_rpc now imports constants from tests.data 2008-12-08 15:10:01 -07:00
Jason Gerard DeRose
9862cc404b Added more of my notes to TODO 2008-12-08 13:11:28 -07:00
Jason Gerard DeRose
8a2902a2a2 Re-enable Python2.4 tests and fixed some small things broken under Python2.4 2008-12-08 12:34:38 -07:00
Simo Sorce
2b8b87b4d6 memberof was not indexed in older versions of fedora-ds, keep it around
as an update so that if it is not there it will be added
2008-12-05 18:18:14 -05:00
Simo Sorce
7c5ae7f402 Fix stupid typo in update file 2008-12-03 12:03:04 -05:00
Simo Sorce
80cc2c3715 Change ipa-compat-manage to work on older python versions too. Break try,except,finally into a try,try,finally,except Add also checks for LDAPError, errors. 2008-12-03 11:17:55 -05:00
Simo Sorce
b3b4435d0e One line fix for ipa-server spec file 2008-12-03 11:17:51 -05:00
Simo Sorce
d006587937 Adding an index for memberuid. Alsthough we do not use this attribute, many clients still ask for it so let's index it and make stuff faster. 2008-12-02 19:28:51 -05:00
Simo Sorce
0e6928dd1b Forgot to add ipa-compat-manage to the sbin programs 2008-12-02 16:50:21 -05:00
Simo Sorce
e0e784f77f Add man page for ipa-compat-manage 2008-12-02 16:39:57 -05:00
Simo Sorce
3fb6343149 Fix makefiles after schema compat changes 2008-12-02 16:39:57 -05:00
Nathan Kinder
f9d6ac9529 Corrected usage messages and manpage to match the logic for the ipa-replica-manage init command. 2008-12-01 17:19:10 -05:00
Simo Sorce
ef0bb46923 Fix typo, thanks to Michele for pointing it out 2008-12-01 17:19:10 -05:00
Simo Sorce
78166d949c Run updates on the replica too, otherwise changes to cn=config will be missing. 2008-12-01 17:19:10 -05:00
Simo Sorce
3a263e9466 Make sure the CA cert is copied to the replica, fail if no ca.crt is available. Cope with some versions of ipa that forgot to copy the ca.crt cert in the right place. 2008-12-01 17:19:10 -05:00
Simo Sorce
5d1d292c15 Add tool to enable or disable the schema compatibility plugin 2008-12-01 17:19:10 -05:00
Jason Gerard DeRose
5a2b0cd6b8 Added notes in TODO on planned API changes 2008-11-25 18:21:29 -07:00
Rich Megginson
ebd2fe8385 add passsync to ipa-replica-manage man page 2008-11-25 18:09:55 -05:00
Rich Megginson
502aff73a2 do not use ipaerror directly in ipa-replica-manage - use ldap exception instead 2008-11-25 18:09:49 -05:00
Jason Gerard DeRose
5e1605f7e1 Added tests/data.py file I forgot 2008-11-25 14:27:23 -07:00
Jason Gerard DeRose
29d680b211 Continued work on xmlrpc.dispatch() unit tests; fixed bug in Command.args_to_kw() 2008-11-25 13:52:40 -07:00
Jason Gerard DeRose
7350ccbffe Started fleshing out doodles in xmlrpc.execute() 2008-11-25 11:54:51 -07:00
Jason Gerard DeRose
2d458a1233 Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc plugin 2008-11-24 21:34:01 -07:00
Jason Gerard DeRose
237c16f0fd Started moving xmlrpc-functions from ipalib.util to ipalib.rpc 2008-11-24 12:51:03 -07:00
Jason Gerard DeRose
2db738e899 Some changes to make reading dubugging output easier 2008-11-24 10:09:30 -07:00