Jason Gerard DeRose
|
cfe4ec2175
|
Added util.xmlrpc_wrap(), util.xmlrpc_unwrap() functions an corresponding unit tests
|
2008-11-19 16:11:23 -07:00 |
|
Jason Gerard DeRose
|
2478ccd357
|
Fixed some unicode encoded/decode issues in textui.prompt_password() and textui.prompt()
|
2008-11-19 03:31:29 -07:00 |
|
Jason Gerard DeRose
|
500b816681
|
Added unit test for Param.ispassword() method
|
2008-11-18 16:29:08 -07:00 |
|
Jason Gerard DeRose
|
4afee15d4b
|
Calling 'passwd' command now prompts for password using textui.prompt_password()
|
2008-11-18 13:43:43 -07:00 |
|
Jason Gerard DeRose
|
0a60a6bcc4
|
Added textui.prompt_password() method; added logic in cli for dealing with 'password' flag in param.flags
|
2008-11-18 11:30:16 -07:00 |
|
Jason Gerard DeRose
|
75d1918996
|
Added some experimental textui methods
|
2008-11-17 20:41:01 -07:00 |
|
Jason Gerard DeRose
|
8474bd01da
|
Command.get_defaults() now returns param.default if param.type is a Bool
|
2008-11-17 18:50:30 -07:00 |
|
Jason Gerard DeRose
|
5c16047092
|
user-lock and user-unlock commands now use textui, which finishes the user plugins
|
2008-11-17 18:15:40 -07:00 |
|
Jason Gerard DeRose
|
12dc0a0aa9
|
user-find now works again, uses textui
|
2008-11-17 16:40:42 -07:00 |
|
Jason Gerard DeRose
|
42bf555a3a
|
Started updated user_* commands to use textui
|
2008-11-17 15:27:08 -07:00 |
|
Jason Gerard DeRose
|
e7ec413158
|
Moved plugins command from ipalib.cli to ipalib.plugins.f_misc
|
2008-11-16 19:50:17 -07:00 |
|
Jason Gerard DeRose
|
e059591d6b
|
env command now supports * wildcard for searching
|
2008-11-14 22:21:36 -07:00 |
|
Jason Gerard DeRose
|
e3fec8f219
|
Fixed textui.print_keyval for cases when the row is a list instead of a tuple
|
2008-11-14 22:03:31 -07:00 |
|
Jason Gerard DeRose
|
9de56d43f0
|
env plugin now subclasses from RemoteOrLocal
|
2008-11-14 21:58:39 -07:00 |
|
Jason Gerard DeRose
|
36737c2d91
|
Added frontend.LocalOrRemote command base class for commands like env
|
2008-11-14 21:29:46 -07:00 |
|
Jason Gerard DeRose
|
3433840692
|
Fixed doctest in tutorial
|
2008-11-14 19:48:01 -07:00 |
|
Rob Crittenden
|
c513743e7c
|
Add autmount-specific location and default entries
|
2008-11-14 18:05:29 -05:00 |
|
Jason Gerard DeRose
|
f8f4058014
|
Tutorial: fixed typo in 'How your command should print to stdout' section
|
2008-11-14 14:53:55 -07:00 |
|
Jason Gerard DeRose
|
caa98476f0
|
Tutorial: fixed typo in 'First steps: A simple command plugin' section
|
2008-11-14 14:49:48 -07:00 |
|
Jason Gerard DeRose
|
1abe3abb87
|
Tutorial: another small change to section on using output_for_cli()
|
2008-11-14 14:35:52 -07:00 |
|
Jason Gerard DeRose
|
0f1ed3e904
|
Tutorial: command in output_for_cli() example now also takes an argument
|
2008-11-14 14:27:09 -07:00 |
|
Jason Gerard DeRose
|
c974451edf
|
Added print_plain() and print_paragraph() methods to textui plugin and cleaned up the order of its methods
|
2008-11-14 13:33:42 -07:00 |
|
Jason Gerard DeRose
|
6d1ec6360c
|
Tutorial: small improvements to section on using output_for_cli()
|
2008-11-14 12:43:10 -07:00 |
|
Jason Gerard DeRose
|
0313bb7ec0
|
Tutorial: added section on implementing an output_for_cli() method
|
2008-11-14 12:19:18 -07:00 |
|
Jason Gerard DeRose
|
44171a0bad
|
Tutorial: added section on allowed return values from a command's execute() method
|
2008-11-14 01:25:05 -07:00 |
|
Jason Gerard DeRose
|
82d3de773b
|
Added textui.prompt() method, which CLI.prompt_interactively() uses
|
2008-11-13 23:54:34 -07:00 |
|
Jason Gerard DeRose
|
f5594dd489
|
Started work on cleaning up how exceptions are caught and sys.exit() is called in ipalib.cli.CLI
|
2008-11-13 23:29:35 -07:00 |
|
Jason Gerard DeRose
|
860d391f3e
|
Change Param.__repr__() so it returns the exact expression that could create it; added unit test for Param.__repre__()
|
2008-11-13 22:16:04 -07:00 |
|
Jason Gerard DeRose
|
1f635269e8
|
Param.__repr__() now uses util.make_repr()
|
2008-11-13 21:17:33 -07:00 |
|
Jason Gerard DeRose
|
8ad5502354
|
Added util.make_repr() function; added corresponding unit tests
|
2008-11-13 21:07:47 -07:00 |
|
Jason Gerard DeRose
|
01a7f1f437
|
Calling ./ipa with no command now calls Command.help()
|
2008-11-12 10:15:24 -07:00 |
|
Jason Gerard DeRose
|
f04aaff97c
|
output_for_cli signature is now output_for_cli(textui, result, *args, **options)
|
2008-11-12 09:55:11 -07:00 |
|
Jason Gerard DeRose
|
09161e399a
|
Command.get_default() will now fill-in None for all missing non-required params
|
2008-11-12 01:47:37 -07:00 |
|
Jason Gerard DeRose
|
014af24731
|
Changed calling signature of output_for_cli(); started work on 'textui' backend plugin
|
2008-11-12 00:46:04 -07:00 |
|
Jason Gerard DeRose
|
f3869d7b24
|
Renamed ipalib.get_standard_api() to create_api()
|
2008-11-11 15:24:18 -07:00 |
|
Jason Gerard DeRose
|
1894513574
|
Tutorial: improved clarity of 'How this tutorial is written' section
|
2008-11-11 10:24:30 -07:00 |
|
Jason Gerard DeRose
|
786c965c12
|
Tutorial: fixed typo
|
2008-11-10 21:36:56 -07:00 |
|
Jason Gerard DeRose
|
16b86d559a
|
Tutorial: added intro section about Python interactive intepreter
|
2008-11-10 21:33:15 -07:00 |
|
Jason Gerard DeRose
|
2be9f2bba8
|
More tutorial work: made introduction more concise; moved note on markup to end; added note about Bazaar
|
2008-11-10 20:08:22 -07:00 |
|
Jason Gerard DeRose
|
9aa14333a4
|
Added 'conf_dir' env variable, which is directory containing config files
|
2008-11-10 15:53:10 -07:00 |
|
Jason Gerard DeRose
|
174af50f6d
|
Fixed typo and made sentance clearer in tutorial
|
2008-11-07 02:30:19 -07:00 |
|
Jason Gerard DeRose
|
c26a3c8542
|
Finished fist draft of plugin tutorial in ipalib/__init__.py docstring
|
2008-11-07 02:26:38 -07:00 |
|
Jason Gerard DeRose
|
5bdf860647
|
Added Plugin.call() method that calls an external executable via subprocess.call()
|
2008-11-06 11:57:21 -07:00 |
|
Rob Crittenden
|
e8adb59fd4
|
Fix some problems uncovered during automation test work
|
2008-11-04 16:21:10 -05:00 |
|
Rob Crittenden
|
e825bc7ccb
|
Revive the hostgroup_container and include add/remove hosts in hostgroups plugin
|
2008-11-04 14:03:43 -05:00 |
|
Rob Crittenden
|
4967002359
|
Add 'all' option to host-find and pull attributes into a global list
|
2008-11-04 14:02:42 -05:00 |
|
Rob Crittenden
|
f131480643
|
Move socket errors from the XML-RPC plugin to the client
|
2008-11-03 17:38:05 -05:00 |
|
Rob Crittenden
|
d53218a932
|
Handle exceptions in the command-line instead of in the XMLRPC client plugin
|
2008-11-03 17:19:29 -05:00 |
|
Rob Crittenden
|
dd9206deb6
|
Uncomment some logging statements ported over from v1.
|
2008-11-03 13:14:46 -05:00 |
|
Rob Crittenden
|
f18c84444d
|
Partially revert back change. Del shouldn't provide default options.
It can provide custom ones though, if defined with takes_params() in the class.
|
2008-11-03 13:14:46 -05:00 |
|