Jason Gerard DeRose
c0f558d98b
Removed PluginProxy and all its uses
2009-08-05 12:18:51 -04:00
Jason Gerard DeRose
7e58b29a92
Completed Param.use_in_context() functionality, which is now used by Command and Object
2009-05-21 14:32:45 -04:00
Jason Gerard DeRose
87480b7bde
Re-enable doctest, fix broken docstrings
2009-05-13 14:22:09 -04:00
Jason Gerard DeRose
ae38a2461f
Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
2009-05-11 16:17:08 -04:00
Pavel Zuna
7d0bd4b895
Rename errors2.py to errors.py. Modify all affected files.
2009-04-23 10:29:14 -04:00
Rob Crittenden
a8a2664190
Add new type List that converts delimited values into a tuple
2009-03-20 09:29:44 -04:00
Jason Gerard DeRose
4ab133c3cb
Implemented more elegant way for entire plugin module to be conditionally skipped; updated cert.py and ra.py modules to use this
2009-02-17 16:03:10 -05:00
Jason Gerard DeRose
e0fe732318
Added env.enable_ra variable and change cert.py and ra.py plugin modules to register plugins conditionally
2009-02-17 16:03:09 -05:00
Jason Gerard DeRose
91ca06f079
Added doodle for version vars in ipalib.__init__
2009-02-03 15:29:05 -05:00
Jason Gerard DeRose
48a278047d
Mostly got the test_xmlrpc/ tests working again
2009-02-03 15:29:04 -05:00
Jason Gerard DeRose
231f0bd65a
Finished reworked cli.CLI class into cli.cli plugin
2009-02-03 15:29:04 -05:00
Jason Gerard DeRose
0cfb0e191a
Removed the depreciated Context and LazyContext classes
2009-02-03 15:29:03 -05:00
Jason Gerard DeRose
12c4879613
Added ca_host, ca_port, and ca_ssl_port Env variables that Andrew requested
2009-02-03 15:29:00 -05:00
Jason Gerard DeRose
6aadeb9aea
Added Object.params_minus() method; various small tweaks
2009-02-03 15:29:00 -05:00
Jason Gerard DeRose
4febb4dd14
Started roughing out new crud base classes
2009-02-03 15:28:59 -05:00
Rob Crittenden
e708765d61
Include local copy of UUID generator for Python 2.4.
...
Python 2.5+ has a built-in RFC 4122-compliant UUID generator. Include a
copy of this file in our library and import it in a way that it will
work with Python 2.4.
2009-01-19 10:40:11 -05:00
Jason Gerard DeRose
364e05def1
Added missing enumerable parameters
2009-01-18 15:55:56 -07:00
Jason Gerard DeRose
ec86208a90
Updated passwd plugins module to where it can at least be imported
2009-01-14 22:19:31 -07:00
Jason Gerard DeRose
0327b83899
New Param: all docstring examples now pass under doctests
2009-01-14 20:36:17 -07:00
Jason Gerard DeRose
f3e0900ebc
New Param: ipalib.__init__ no longer import ipa_types and instead imports appropriate classes from parameters
2009-01-14 11:32:32 -07:00
Jason Gerard DeRose
6fe78a4944
Renamed all references to 'ipa_server' to 'ipaserver'
2009-01-04 18:39:39 -07:00
Jason Gerard DeRose
fd43b39145
Moved setting of run-time variables from Env.__init__() to Env._bootstrap()
2008-12-22 23:09:35 -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
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
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
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
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
2fee6a3e20
Added tests.util.get_api() function to create a standard (api, home) tuple for unit testing
2008-10-30 01:34:46 -06:00
Jason Gerard DeRose
ddb5449c7f
Did some initial work for Context plugins
2008-10-30 01:11:33 -06:00
Jason Gerard DeRose
f1eb74e22c
make-test now runs doctests also; fixed several broken doctests
2008-10-17 20:50:34 -06:00
Jason Gerard DeRose
f7b7fa5553
Cleaned up ipalib package-level docstring, removed broken cross-referce to
2008-10-17 19:11:26 -06:00
Jason Gerard DeRose
b2b5b904bc
Made package-level docstrings more consistent so they read better in generated documentation
2008-10-07 20:07:16 -06:00
Martin Nagy
149429f305
Environment is now subclassed from object, rather then dict. Added tests for Environment and config.py
2008-10-02 17:22:41 -06:00
Martin Nagy
afdc721038
Add support for environment variables, change tests accordingly
2008-09-29 17:45:14 -06:00
Jason Gerard DeRose
4dbbf5656d
322: Updated ipalib package docstring, replacing cross reference to 'public' with 'frontend'
2008-09-24 01:43:51 +00:00
Jason Gerard DeRose
c38b90d5d4
321: Standard ipalib.api attribute now accepts plugins from the Backend base class
2008-09-24 01:36:54 +00:00
Jason Gerard DeRose
4e8ff5c656
318: Renamed all references to 'public' module to 'frontend'
2008-09-24 00:01:29 +00:00
Jason Gerard DeRose
ab81ca56fd
255: CLI help, console commands now subclass from public.Application; other tweeking to make CLI utilize Application
2008-09-04 04:39:01 +00:00
Jason Gerard DeRose
5157d8fc50
194: Removed like to Bazaar Plugin doc as it's not very relevant
2008-08-26 00:28:43 +00:00
Jason Gerard DeRose
0d35c96f1a
192: Added a quick console example to docstring in ipalib/__init__.py
2008-08-26 00:04:15 +00:00
Jason Gerard DeRose
2fc3819bec
191: Removed ipalib/api.py module; standard plugable.API instance is now in ipalib.__init__.py
2008-08-25 23:35:29 +00:00
Jason Gerard DeRose
ec0596b429
174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDict
2008-08-15 03:24:37 +00:00
Jason Gerard DeRose
43c04f1cd3
163: Docstring improvement for ipalib/__init__.py and plugable.py
2008-08-14 19:36:54 +00:00
Jason Gerard DeRose
a3dc04ade4
157: More docstring cleanup; fixed remaining epydoc warnings
2008-08-14 09:01:02 +00:00
Jason Gerard DeRose
7acf12e988
10: Updated base.API to reflect the fact that base.Object is now the new unit of plugin functionality; updated corresponding unit tests
2008-07-20 01:29:59 +00:00
Jason Gerard DeRose
ef7594ffe1
4: Got basics of API.register_command() working; added corresponding unit tests
2008-07-19 04:28:03 +00:00
Jason Gerard DeRose
00f4da79a9
2: Got basics of NameSpace working, added corresponding unit tests
2008-07-18 20:31:12 +00:00
Jason Gerard DeRose
556abfaf0b
1: Started roughing out ipalib package
2008-07-18 17:51:34 +00:00