Jason Gerard DeRose
|
2a65fedfdc
|
Put Rob's name at top Author in b_ldap.py as he has written most of it
|
2008-10-18 01:15:59 -06:00 |
|
Jason Gerard DeRose
|
77a378bd61
|
Some PEP-257 and reStructuredText cleanup in plugable.py
|
2008-10-18 01:02:31 -06:00 |
|
Jason Gerard DeRose
|
5c5641e8c2
|
Added some more examples to Param docstrings
|
2008-10-18 00:16:22 -06:00 |
|
Jason Gerard DeRose
|
675fadc641
|
Some PEP-257 and reStructuredText fixes in ipalib/aci.py, ipa_server/ipaldap.py
|
2008-10-17 23:25:50 -06:00 |
|
Jason Gerard DeRose
|
83a662e87a
|
Changed ldap.dn class attribute (on backend plugin) to an instance attribute so epydoc doesn't document it
|
2008-10-17 22:33:03 -06:00 |
|
Jason Gerard DeRose
|
80ccf8b1c6
|
Reworked load_plugins so it doesn't use imp.load_module() to load from the plugins/ sub-packages, which previously caused them to be loaded multiple times when runnig the doctests
|
2008-10-17 22:09:50 -06:00 |
|
Jason Gerard DeRose
|
721982870e
|
Removed generic Command.output_for_cli() method; CLI.run_interactive() now only calls output_for_cli() if it has been implemented
|
2008-10-17 21:05:03 -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
|
8322138f38
|
Added new Param.flags attribute (set with flags=foo kwarg)
|
2008-10-17 19:34:26 -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
|
1be301821e
|
Fixed unit test for CrudBacked.retrieve()
|
2008-10-17 16:47:09 -06:00 |
|
Jason Gerard DeRose
|
7eb635ff2f
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-10-17 16:34:50 -06:00 |
|
Jason Gerard DeRose
|
af7c0ee595
|
Resolved conficts in Rob's merge
|
2008-10-15 12:24:15 -06:00 |
|
Jason Gerard DeRose
|
e5d0bfa86b
|
Added GPL v2 in LICENSE file
|
2008-10-14 16:51:04 -06:00 |
|
Jason Gerard DeRose
|
0ebdbaa450
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-10-14 15:45:57 -06:00 |
|
Jason Gerard DeRose
|
9788800aa4
|
More work on making user-add use Backend.ldap
|
2008-10-14 02:23:56 -06:00 |
|
Jason Gerard DeRose
|
1480224724
|
Started roughing out user_add() using api.Backend.ldap; added Command.output_for_cli() to take care of formatting print output
|
2008-10-14 01:45:30 -06:00 |
|
Jason Gerard DeRose
|
20fa90cfb6
|
Some small cleanup on Environment, filled in docstrings
|
2008-10-14 00:39:23 -06:00 |
|
Jason Gerard DeRose
|
149912d0e7
|
Added ldap.get_user_dn() method
|
2008-10-14 00:38:17 -06:00 |
|
Jason Gerard DeRose
|
446037fd60
|
Added Object.get_dn() method; added corresponding unit tests
|
2008-10-13 23:26:24 -06:00 |
|
Jason Gerard DeRose
|
22669f1fc2
|
CLI.run_interactive() now uses Param.cli_name instead of Param.name for prompts and errors
|
2008-10-13 22:00:18 -06:00 |
|
Jason Gerard DeRose
|
2357360e2a
|
Command.params are now sorted the same way as Object.params (make user-add prompt for first, last before login)
|
2008-10-13 21:53:03 -06:00 |
|
Jason Gerard DeRose
|
b6dcd183a6
|
CLI now maps Param.cli_name to Param.name
|
2008-10-13 20:31:10 -06:00 |
|
Jason Gerard DeRose
|
8674086b85
|
Param now takes cli_name kwarg that sets Param.cli_name attribute
|
2008-10-13 17:24:23 -06:00 |
|
Jason Gerard DeRose
|
367143adf3
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-10-13 15:39:14 -06:00 |
|
Jason Gerard DeRose
|
225e2b0c93
|
Added CrudBackend abstract class defining generic CRUD API
|
2008-10-13 09:50:29 -06:00 |
|
Jason Gerard DeRose
|
87390665f6
|
crud.Add.get_args() and get_options() now yield static values in takes_args, takes_options after the automagic ones
|
2008-10-09 11:33:35 -06:00 |
|
Jason Gerard DeRose
|
887016e69d
|
Base Command.execute() method now raises NotImplementedError; updated unit tests
|
2008-10-08 18:18:13 -06:00 |
|
Jason Gerard DeRose
|
b7fe92f44f
|
Reorganized Command methods so it is easier to understand and added lots of docstrings
|
2008-10-08 18:01:22 -06:00 |
|
Jason Gerard DeRose
|
bc9edbfdf6
|
Changed sub-package docstrings in tests/ to make consintent with other packages
|
2008-10-08 01:30:52 -06:00 |
|
Jason Gerard DeRose
|
b246dbabcf
|
PEP 257: cleaned up docstrings in test_ipa_types.py
|
2008-10-08 01:24:39 -06:00 |
|
Jason Gerard DeRose
|
048678fc77
|
Fixed two PEP 257 violations I missed in test_plugable.py
|
2008-10-08 01:00:44 -06:00 |
|
Jason Gerard DeRose
|
ad2cd6560b
|
PEP 257: cleaned up docstrings in test_frontend.py
|
2008-10-08 00:58:53 -06:00 |
|
Jason Gerard DeRose
|
33648655fe
|
PEP 257: cleaned up docstrings in test_errors.py
|
2008-10-08 00:41:08 -06:00 |
|
Jason Gerard DeRose
|
7599beb693
|
Restructured test_crud.py around new CrudChecker base class
|
2008-10-08 00:17:32 -06:00 |
|
Jason Gerard DeRose
|
f5ea3b1bb9
|
Made docstrings in test_crud.py contistent with rest
|
2008-10-07 23:36:58 -06:00 |
|
Jason Gerard DeRose
|
0d2b5a8892
|
PEP 257: cleaned up docstrings in test_config.py
|
2008-10-07 23:31:40 -06:00 |
|
Jason Gerard DeRose
|
9bff91fc08
|
PEP 257: cleaned up docstrings in test_cli.py
|
2008-10-07 23:29:42 -06:00 |
|
Jason Gerard DeRose
|
97634e18c7
|
PEP 257: cleaned up docstrings in test_plugable.py
|
2008-10-07 23:20:00 -06:00 |
|
Jason Gerard DeRose
|
ac9597ddcb
|
Renamed webui-cherry.py, simple-server.py to lite-webui.py, lite-xmlrpc.py respectively
|
2008-10-07 23:01:11 -06:00 |
|
Jason Gerard DeRose
|
6489e4f348
|
Renamed gen-doc.bash, run-tests.bash to make-doc, make-test respectively
|
2008-10-07 22:45:32 -06:00 |
|
Jason Gerard DeRose
|
fec6fc2e8c
|
Fixed example in raise_TypeError() docstring (thanks, mnagy)
|
2008-10-07 22:35:45 -06:00 |
|
Jason Gerard DeRose
|
deb8e3dfc8
|
Renamed tests/tstutil.py to tests/util.py
|
2008-10-07 22:30:53 -06:00 |
|
Jason Gerard DeRose
|
3fdabc604e
|
-m
|
2008-10-07 22:20:00 -06:00 |
|
Jason Gerard DeRose
|
f6ac2df6bd
|
Moved tstutil.py into base of tests so it can be used by all test subpackages more easily
|
2008-10-07 21:59:47 -06:00 |
|
Jason Gerard DeRose
|
9ec8bf9e9e
|
-m
|
2008-10-07 21:44:34 -06:00 |
|
Jason Gerard DeRose
|
a1e504d442
|
Moved ipa_server/tests/ to tests/test_ipa_server/
|
2008-10-07 21:33:48 -06:00 |
|
Jason Gerard DeRose
|
af56c71d50
|
Cleaned up package and module level docstrings for everything in tests/
|
2008-10-07 21:25:23 -06:00 |
|
Jason Gerard DeRose
|
151b8ba38a
|
Moved ipa_webui/tests/ to tests/test_ipa_webui/
|
2008-10-07 21:06:01 -06:00 |
|
Jason Gerard DeRose
|
7721443a62
|
Moved ipalib/tests/ into tests/test_ipalib/
|
2008-10-07 20:41:15 -06:00 |
|
Jason Gerard DeRose
|
2617f89b6a
|
Added top-level tests/ package that will contain all unit tests
|
2008-10-07 20:36:44 -06:00 |
|
Jason Gerard DeRose
|
de234f3fd0
|
Finally added a .gitignore
|
2008-10-07 20:16:53 -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 |
|
Jason Gerard DeRose
|
c747c12fb2
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-10-07 17:00:36 -06:00 |
|
Jason Gerard DeRose
|
439d9c305b
|
Merge branch 'master' of git://git.engineering.redhat.com/users/mnagy/freeipa2
|
2008-10-07 16:48:07 -06:00 |
|
Jason Gerard DeRose
|
33aa9de1b5
|
A few more changes to gen-doc.bash
|
2008-10-07 15:26:50 -06:00 |
|
Jason Gerard DeRose
|
0606226b14
|
gen-doc.bash now also generates for ipa_server, ipa_webui
|
2008-10-07 13:57:44 -06:00 |
|
Jason Gerard DeRose
|
3082a5379a
|
More work on webui skeleton
|
2008-10-06 18:25:57 -06:00 |
|
Jason Gerard DeRose
|
d38dcb6d39
|
Added basic skeleton in ipa_webui; added new webui-cherry.py script
|
2008-10-06 09:37:22 -06:00 |
|
Jason Gerard DeRose
|
3ffbaac64c
|
Backend.xmlrpc and simple-server.py now use the xmlrpc_marshal() and xmlrpc_unmarshal() functions respectively
|
2008-10-02 19:42:06 -06:00 |
|
Jason Gerard DeRose
|
d84e27f0d4
|
Added ipalib/util.py with xmlrpc_marshal() and xmlrpc_unmarshal() functions; added corresponding unit tests
|
2008-10-02 19:09:13 -06:00 |
|
Jason Gerard DeRose
|
50e79f3e60
|
Added docstring to simple-server.py
|
2008-10-02 18:05:31 -06:00 |
|
Jason Gerard DeRose
|
ed3a5855f3
|
-m
|
2008-10-02 17:51:50 -06:00 |
|
Jason Gerard DeRose
|
993b9f4f63
|
Command.get_default() now only returns a defaults for required values
|
2008-10-02 17:46:48 -06:00 |
|
Jason Gerard DeRose
|
6000b6b5c6
|
Implemented basic Command.forward() method
|
2008-10-02 17:02:24 -06:00 |
|
Jason Gerard DeRose
|
0e137110c7
|
Started on skeleton for xmlrcp client/server
|
2008-10-02 16:12:19 -06:00 |
|
Jason Gerard DeRose
|
2507b7c674
|
Clarified docstrings in */plugins/__init__.py; renamed ipa_server/plugins/ipa_ldap.py to b_ldap.py
|
2008-10-01 16:17:02 -06:00 |
|
Jason Gerard DeRose
|
c846c7d91f
|
Removed the everything except the envtest command and the user related plugins from f_user.py
|
2008-10-01 16:10:41 -06:00 |
|
Jason Gerard DeRose
|
e963be1dda
|
Renamed plugins/example.py to plugins/f_user.py
|
2008-10-01 15:56:04 -06:00 |
|
Jason Gerard DeRose
|
cc93e45e13
|
Removed depreciated override.py module
|
2008-10-01 15:53:21 -06:00 |
|
Jason Gerard DeRose
|
af6653f607
|
Added skeleton for kerberos backend
|
2008-10-01 15:50:04 -06:00 |
|
Jason Gerard DeRose
|
7ee0ccd90d
|
Fixed unit tests; changed example.py so it doesn't import servercore
|
2008-09-30 20:27:52 -06:00 |
|
Jason Gerard DeRose
|
d77907d2d0
|
373: Replaced type_ optional arg to Param.__init__() with pure kw arg type; updated unit tests and related code
|
2008-09-27 01:30:39 +00:00 |
|
Jason Gerard DeRose
|
8901b9a837
|
372: Started work on docstring for Param class
|
2008-09-27 00:31:59 +00:00 |
|
Jason Gerard DeRose
|
031daabcc4
|
371: Added examples to parse_param_spec() docstring and changed syntax guide into a reStructuredText table
|
2008-09-26 23:41:51 +00:00 |
|
Jason Gerard DeRose
|
7bbd81d831
|
370: Added detailed examples to decstring for DefaultFrom class
|
2008-09-26 22:52:15 +00:00 |
|
Jason Gerard DeRose
|
aa45ec616a
|
369: Added Object.backend attribute used to associated it with a particular backend component
|
2008-09-26 02:43:11 +00:00 |
|
Jason Gerard DeRose
|
433d2e2e11
|
368: Added place holder ipa_server/plugins subpackage
|
2008-09-26 00:20:56 +00:00 |
|
Jason Gerard DeRose
|
0c3ebe0bef
|
367: Implementing basics of loading plugins out of tree
|
2008-09-25 23:21:41 +00:00 |
|
Jason Gerard DeRose
|
ac88500382
|
366: Ported user_* example Commands to crud base classes; added user_show example command
|
2008-09-25 03:58:42 +00:00 |
|
Jason Gerard DeRose
|
55ba8e9d0b
|
365: Implemented find.get_args(), find.get_options(); added corresponding unit tests
|
2008-09-25 03:47:22 +00:00 |
|
Jason Gerard DeRose
|
ddbe3ae934
|
364: Implemented Mod.get_args, Mod.get_options(); added corresponding unit tests
|
2008-09-25 03:42:38 +00:00 |
|
Jason Gerard DeRose
|
152f3089e1
|
363: Added Object.params_minus_pk instance attribute
|
2008-09-25 03:27:40 +00:00 |
|
Jason Gerard DeRose
|
c303a06a94
|
362: Implemented Get.get_args() and Del.get_args(); added corresponding unit tests
|
2008-09-25 03:14:12 +00:00 |
|
Jason Gerard DeRose
|
023f612921
|
361: Implemented crud.Add.get_options() method; added corresponding unit tests
|
2008-09-25 02:13:16 +00:00 |
|
Jason Gerard DeRose
|
9f704e001d
|
360: Removed Method.get_options() default implementation; cleaned up unit tests for Method
|
2008-09-25 01:52:34 +00:00 |
|
Jason Gerard DeRose
|
54c97b4948
|
359: Added Object.primary_key instance attribute; added corresponding unit tests
|
2008-09-25 01:44:53 +00:00 |
|
Jason Gerard DeRose
|
4267422793
|
358: Cleaned up private methods in Object
|
2008-09-25 01:04:10 +00:00 |
|
Jason Gerard DeRose
|
e84dd7a69d
|
357: Some experimenting with the example plugins
|
2008-09-25 00:58:16 +00:00 |
|
Jason Gerard DeRose
|
4747563a80
|
356: Modified Method.get_options() to now pull from self.obj.params(); updated unit tests for Method.get_options()
|
2008-09-25 00:42:38 +00:00 |
|
Jason Gerard DeRose
|
79b33ad366
|
355: Object.set_api() now creates Object.params namespace by merging takes_params and properties together intelegintly
|
2008-09-25 00:00:58 +00:00 |
|
Jason Gerard DeRose
|
f531f7da81
|
354: Added NameSpace.__todict__() method that returns copy of NameSpace.__map; updated NameSpace unit test to also test __todict__()
|
2008-09-24 23:49:44 +00:00 |
|
Jason Gerard DeRose
|
be2e323bbf
|
353: The Object.parms instance attribute is now created in Object.set_api() instead of in Object.__init__()
|
2008-09-24 23:29:15 +00:00 |
|
Jason Gerard DeRose
|
c3b09b2116
|
352: Now removed Object.Property property and added in its place Object.properties instance attribute
|
2008-09-24 23:19:34 +00:00 |
|
Jason Gerard DeRose
|
3d6ab69b46
|
351: Removed Object.Method property and added in its place Object.methods instance attribute
|
2008-09-24 22:19:43 +00:00 |
|
Jason Gerard DeRose
|
e2a680d7c9
|
350: If Param default_from kwarg is callable but not a DefaltFrom instances, the instance is created implicity
|
2008-09-24 22:05:01 +00:00 |
|
Jason Gerard DeRose
|
755ea8d0c2
|
349: Improved clarity of local variables in Param.__init__()
|
2008-09-24 21:57:34 +00:00 |
|
Jason Gerard DeRose
|
250a01b5b7
|
348: If no keys are passed to DefaultFrom.__init__(), the keys from callback.func_code.co_varnames are used; updated DefaultFrom unit tests to test this usage
|
2008-09-24 21:46:37 +00:00 |
|
Jason Gerard DeRose
|
566d5ea02a
|
347: Added primary_key instance attribute to Param and corresponding kwarg; expanded unit tests for Param.__init__()
|
2008-09-24 21:29:15 +00:00 |
|
Jason Gerard DeRose
|
5479a349a8
|
346: Added skeleton framework for crud.py module and corresponding test_crud.py module
|
2008-09-24 20:17:53 +00:00 |
|