Commit Graph

545 Commits

Author SHA1 Message Date
Jason Gerard DeRose
759734864e Finished Env._finalize() and corresponding unit tests 2008-10-24 20:21:27 -06:00
Jason Gerard DeRose
ac4efac394 Finished Env._finalize_core() and corresponding unit tests 2008-10-24 20:02:14 -06:00
Jason Gerard DeRose
8ca44bcbfa Added tests.util.TempHome class for created a tempdir and setting os.environ['HOME'] to it; updated various unit tests for Env so they are run using a tempdir for home 2008-10-24 16:02:26 -06:00
Jason Gerard DeRose
2a41db33c6 Env._bootstrap() now raises StandardError if called more than once 2008-10-24 15:35:58 -06:00
Jason Gerard DeRose
39dfffd280 Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2 2008-10-24 15:11:27 -06:00
Jason Gerard DeRose
f80beb948b Added ipalib/constants.py; added Env._load_config() method along with comprehensive unit tests for same 2008-10-24 15:07:07 -06:00
Rob Crittenden
8788afe184 Use posixAccount instead of person to identify users
Add output_for_cli to service-find
2008-10-24 11:41:39 -04:00
Rob Crittenden
6a8026f974 If a password is supplied then this host will be bulk-enrolled
A bulk-enrolled host does not get a kerberos service principal until
enrollment time.
2008-10-24 11:41:38 -04:00
Jason Gerard DeRose
2ec0312eb6 Finished doodle with stricter version of Environment 2008-10-24 01:51:36 -06:00
Jason Gerard DeRose
59a2cffff4 IPAError now more appropriately subclasses from StandardError instead of Exception 2008-10-23 21:21:51 -06:00
Jason Gerard DeRose
3be5a91439 Added a TODO file 2008-10-23 21:10:19 -06:00
Rob Crittenden
d2b46f176e Use common display function for user-show and user-find.
Add --all option to user-find
Fix command-line help to make sense on searches as well
2008-10-23 14:36:24 -04:00
Rob Crittenden
43ad16676f Use ldaphost and ldapport environment variables in mod_python xml-rpc server
Fix default environment creation
2008-10-23 11:43:47 -04:00
Rob Crittenden
06a82bf4b6 Fix ipa command running in server_context=True
Make the LDAP host and port environment variables
More changes so that commands have a shell return value
lite-xmlrpc no longer hardcodes the kerberos credentials cache location
2008-10-23 11:00:50 -04:00
Rob Crittenden
f8e8ac8503 Add build to .gitignore 2008-10-23 10:37:16 -04:00
Jason Gerard DeRose
7eb208c4b1 Put a try/except around the 'from mod_python import apache' in mod_python_xmlrpc so epydoc can introspect it 2008-10-22 23:58:59 -06:00
Jason Gerard DeRose
fb441b2b10 make-doc now includes the lite-* scripts, both with now check in __name__ == '__main__' before starting 2008-10-22 23:00:45 -06:00
Jason Gerard DeRose
e93c0455d4 Added place-holder mod_python_webui.py module; cleaned up lite-* and mod_python_* docstrings 2008-10-22 22:14:58 -06:00
Jason Gerard DeRose
98da855176 Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2 2008-10-22 20:30:40 -06:00
Jason Gerard DeRose
4da1f09675 Renamed ipa_xmlrpc/ipaxmlrpc.py to ipa_server/mod_python_xmlrpc.py 2008-10-22 20:01:17 -06:00
Jason Gerard DeRose
a204a0426d Renamed Rob's test_server script to lite-xmlrpc.py 2008-10-22 19:54:39 -06:00
Jason Gerard DeRose
0cdc1e015a Removed my lite-xmlrpc.py script 2008-10-22 19:49:39 -06:00
Jason Gerard DeRose
b9361edc3d Fixed setup.py and MANIFEST.in so that templates/*.kid and static/ in ipa_webui are included 2008-10-22 18:09:27 -06:00
Jason Gerard DeRose
204c842a5d Added MooTools 1.2.1 in ipa_webui/static/mootools-core.js 2008-10-22 17:54:02 -06:00
Jason Gerard DeRose
75fa623b5e Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2 2008-10-22 15:59:46 -06:00
Rob Crittenden
1daf319a19 Implement the host commands
In order for this to work against a v1 database the update host.update needs to
be applied
2008-10-22 17:54:04 -04:00
Jason Gerard DeRose
367bb63a26 Added MANIFEST.in; setup.py now includes kid templates in package_data 2008-10-22 15:52:32 -06:00
Rob Crittenden
f189b02996 Return a value to the shell that called ipa 2008-10-22 17:52:32 -04:00
Rob Crittenden
300ba3bc35 Merge branch 'master' of git://git.engineering.redhat.com/users/jderose/freeipa2 2008-10-22 09:54:18 -04:00
Jason Gerard DeRose
d44afa0f1a Added a very basic setup.py using distutils 2008-10-21 19:46:07 -06:00
Jason Gerard DeRose
f8ffede3b9 Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2 2008-10-21 17:35:42 -06:00
Rob Crittenden
adea625b13 Implement group member add/remove
Add gidNumber to the group command-line
2008-10-21 16:34:51 -04:00
Rob Crittenden
915245e1de Don't import servercore 2008-10-21 16:34:50 -04:00
Rob Crittenden
e47d939f3f Update the command-line options to more closely match v1 2008-10-21 16:34:50 -04:00
Rob Crittenden
c41cf8b068 Gracefully handle keyboard interrupts (^C) 2008-10-21 16:34:50 -04:00
Rob Crittenden
5b90c93d6f Implement --all option to display all attributes.
Still need to strip the dn when not doing all.
2008-10-21 16:34:50 -04:00
Rob Crittenden
22c2261e44 Make boolean options work like standard OptionParser booleans 2008-10-21 16:34:50 -04:00
Rob Crittenden
245969858d Implement group member add/remove
Add gidNumber to the group command-line
2008-10-21 16:33:34 -04:00
Rob Crittenden
3cbb5c6eeb Don't import servercore 2008-10-21 16:32:45 -04:00
Rob Crittenden
8d07faed4d Update the command-line options to more closely match v1 2008-10-21 16:32:30 -04:00
Rob Crittenden
bc5edcf893 Gracefully handle keyboard interrupts (^C) 2008-10-21 14:42:13 -04:00
Jason Gerard DeRose
5e0a0fa745 In second example in NameSpace docstring, renamed 'member' class to 'Member' to make the example clearer 2008-10-21 08:47:08 -06:00
Jason Gerard DeRose
603baf6b10 Fixed typos in tables in docstrings for Attribute and Method 2008-10-21 08:42:52 -06:00
Rob Crittenden
475265ed37 Implement --all option to display all attributes.
Still need to strip the dn when not doing all.
2008-10-21 09:32:48 -04:00
Rob Crittenden
6b998ed479 Make boolean options work like standard OptionParser booleans 2008-10-21 09:32:48 -04:00
Jason Gerard DeRose
658ba6dc33 Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2 2008-10-20 22:32:10 -06:00
Rob Crittenden
8c54f730c0 Framework for doing password changes
Need mechanism to prompt for new password twice and verify they are the same
2008-10-20 22:41:53 -04:00
Jason Gerard DeRose
461f547e6a Added docstring (with example) to frontend.Attribute class 2008-10-20 20:28:24 -06:00
Jason Gerard DeRose
c818fe1d2d Added docstring (with examples) to frontend.Method class 2008-10-20 19:57:02 -06:00
Jason Gerard DeRose
ac0a019605 Reworked 'plugins' command to use output_for_cli() 2008-10-20 18:57:03 -06:00