Jason Gerard DeRose
28dd8e74bd
Env._bootstrap() now also sets Env.conf_default
2008-10-27 00:58:25 -06:00
Jason Gerard DeRose
c8b3f65165
Removed depreciated load_plugins.py module; changed all places where load_plugins was imported to now call api.load_plugins()
2008-10-27 00:41:37 -06:00
Jason Gerard DeRose
03accc5fb3
Copied plugin loading function from load_plugins.py to util.py; API.load_plugins() method now calls functions in util
2008-10-27 00:23:43 -06:00
Jason Gerard DeRose
4fe03f5e17
Added API.load_plugins() place-holder, which cascades call to API.bootstrap()
2008-10-26 23:53:44 -06:00
Jason Gerard DeRose
6b8abb0d78
Implemented placeholder API.bootstrap() method; added API __doing(), __do_if_not_done(), isdone() methods borrowed from Env; API.finalize() now cascades call to API.bootstrap()
2008-10-26 23:28:06 -06:00
Jason Gerard DeRose
ff5cb4cf6f
Added more needed config in DEFAULT_CONFIG
2008-10-24 20:59:11 -06:00
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
ce199a8dc4
Change variable name that shadowed built-in (filter)
2008-10-24 14:42:11 -04:00
Rob Crittenden
34520981ee
Don't allow service-add to create host/ principals
2008-10-24 14:17:20 -04: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