Jason Gerard DeRose
|
2608838ef1
|
Quite a bit of work on new public errors and their unit tests
|
2009-01-04 03:52:08 -07:00 |
|
Jason Gerard DeRose
|
c161784973
|
Added request.ugettext() and request.ungettext() functions; added corresponding unit tests
|
2009-01-04 00:46:21 -07:00 |
|
Jason Gerard DeRose
|
c081ce5460
|
request.create_translation() now sets context.ugettext and context.ungettext
|
2009-01-03 22:03:37 -07:00 |
|
Jason Gerard DeRose
|
912ab9e68b
|
Removed unneeded import of errors from plugable.py
|
2009-01-03 18:08:39 -07:00 |
|
Jason Gerard DeRose
|
bb6e9cfe9f
|
Plugin.call() now uses errors2 version of SubprocessError
|
2009-01-03 18:02:58 -07:00 |
|
Jason Gerard DeRose
|
6b6e6b1cab
|
Ported plugin registration errors into errors2.py; plugable.Registrar now raises new errors2 exceptions
|
2009-01-03 17:27:53 -07:00 |
|
Jason Gerard DeRose
|
d1517b95ca
|
Ported errors.SubprocessError to errors2
|
2009-01-03 15:35:54 -07:00 |
|
Jason Gerard DeRose
|
0d3ddef93b
|
Started fleshing out reoganization of errors in errors.py (with gettext support)
|
2009-01-03 02:35:36 -07:00 |
|
Jason Gerard DeRose
|
b32965dffe
|
Clarifed base.DefaultFrom.__call__() docstring
|
2009-01-02 17:27:44 -07:00 |
|
Jason Gerard DeRose
|
dae08b3ee6
|
Small docstring cleanup in parameters.py
|
2009-01-02 02:22:48 -07:00 |
|
Jason Gerard DeRose
|
72340a594d
|
Removed unneeded import of check_type, check_instance in plugable.py
|
2009-01-02 01:16:17 -07:00 |
|
Jason Gerard DeRose
|
7be459af0b
|
Added a bit to config.Env docstring about that variable names must pass check_name() function
|
2009-01-02 01:14:37 -07:00 |
|
Jason Gerard DeRose
|
b4dc333ee2
|
Removed depreciated code in ipalib.plugable that has been moving into ipalib.base
|
2009-01-02 00:46:45 -07:00 |
|
Jason Gerard DeRose
|
ea7f9594df
|
A few docstring edits in base.NameSpace
|
2009-01-02 00:35:42 -07:00 |
|
Jason Gerard DeRose
|
b3063dbb8a
|
A few base.NameSpace docstring tweaks
|
2008-12-31 15:47:28 -07:00 |
|
Jason Gerard DeRose
|
86325bf4eb
|
Copied plugable.NameSpace to base.NameSpace and made many docstring and unit test improvements
|
2008-12-31 02:28:49 -07:00 |
|
Jason Gerard DeRose
|
57dae28d9c
|
Added base.lock() and base.islocked() functions; added corresponding unit tests
|
2008-12-30 21:14:51 -07:00 |
|
Jason Gerard DeRose
|
e9be796950
|
Fixed Env._bootstrap() docstring typo
|
2008-12-30 15:14:33 -07:00 |
|
Jason Gerard DeRose
|
379c549fc1
|
Env now supports float values
|
2008-12-30 15:02:15 -07:00 |
|
Jason Gerard DeRose
|
bc23957247
|
Added unit test for Env._merge()
|
2008-12-30 14:38:05 -07:00 |
|
Jason Gerard DeRose
|
ecccc5c236
|
Added my name to Athors of config.py
|
2008-12-30 14:05:08 -07:00 |
|
Jason Gerard DeRose
|
03c9114958
|
More docstring cleanup in ipalib.config
|
2008-12-30 13:52:36 -07:00 |
|
Jason Gerard DeRose
|
11e165073e
|
Docstring cleanup in the Env bootstraping methods
|
2008-12-30 03:11:45 -07:00 |
|
Jason Gerard DeRose
|
7012bed299
|
Small changes to base.ReadOnly docstring
|
2008-12-30 01:08:04 -07:00 |
|
Jason Gerard DeRose
|
8decf4d8c3
|
Decided against indenting the example code in the base.ReadOnly docstring
|
2008-12-30 00:57:56 -07:00 |
|
Jason Gerard DeRose
|
447c88a2bb
|
Started moving some core classes and functions from plugable.py to new base.py module
|
2008-12-30 00:45:48 -07:00 |
|
Jason Gerard DeRose
|
e14fc84dfc
|
Renamed Env._merge_config() to Env._merge_from_file()
|
2008-12-29 21:23:34 -07:00 |
|
Jason Gerard DeRose
|
7766f0be61
|
Yet more small docstring cleanup in Env
|
2008-12-23 01:59:31 -07:00 |
|
Jason Gerard DeRose
|
f7cae9a27c
|
More docstring cleanup in Env and its methods
|
2008-12-23 01:28:00 -07:00 |
|
Jason Gerard DeRose
|
16526142f3
|
Finished Env class docstring; more organizational cleanup in Env and its unit tests
|
2008-12-23 01:11:03 -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
|
01cae56e0a
|
Some more reorganization in Env and added class docstring to Env with lots of examples
|
2008-12-22 21:02:43 -07:00 |
|
Jason Gerard DeRose
|
6b055b435f
|
Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit tests
|
2008-12-22 17:29:11 -07:00 |
|
Jason Gerard DeRose
|
014cca57ad
|
The Env.__setitem__() implied conversion is now case sensitive; Env.__setitem__() now also accepts None as a value
|
2008-12-22 16:16:57 -07:00 |
|
Jason Gerard DeRose
|
c070d390e9
|
Removed Env.__getattr__(); Env no longer accepts callables for values (no more dynamic/lazy values)
|
2008-12-22 15:51:54 -07:00 |
|
Jason Gerard DeRose
|
5b637f6a18
|
Removed depreciated code from config.py; removed corresponding unit tests
|
2008-12-22 15:41:24 -07:00 |
|
Andrew Wnuk
|
885efbe085
|
Merged in Andrew's updated RA backend plugin
|
2008-12-22 14:46:33 -07:00 |
|
Jason Gerard DeRose
|
f82c48f775
|
Added note in Plugin.set_api() about Plugin.log attribute being depreciated
|
2008-12-21 19:58:48 -07:00 |
|
Jason Gerard DeRose
|
9d091c98f1
|
Plugin.__init__() now checks that subclass hasn't defined attributes that conflict with the logger methods; added corresponding unit test
|
2008-12-21 19:34:32 -07:00 |
|
Jason Gerard DeRose
|
4390523b7f
|
Improved Plugin.call() method and added its unit test
|
2008-12-21 17:12:00 -07:00 |
|
Jason Gerard DeRose
|
b71d1e6b6f
|
Added some more notes in TODO
|
2008-12-21 15:11:08 -07:00 |
|
Andrew Wnuk
|
b3f95b1741
|
Merged in Andrew's RA plugin
|
2008-12-21 14:15:53 -07:00 |
|
Jason Gerard DeRose
|
6fdf5d1e7b
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-12-20 15:00:00 -07:00 |
|
Jason Gerard DeRose
|
9a69adeef0
|
Added request.create_translation() function and corresponding unit tests
|
2008-12-18 16:58:48 -07:00 |
|
Jason Gerard DeRose
|
dc54dee622
|
Started work on per-request gettext setup
|
2008-12-18 14:01:59 -07:00 |
|
Jason Gerard DeRose
|
46e37ab144
|
New Param: ported Param.__repr__() and corresponding unit test
|
2008-12-18 11:21:12 -07:00 |
|
Jason Gerard DeRose
|
4d1681176a
|
New Param: added unit tests for TypeError cases in DefaultFrom.__init__()
|
2008-12-18 02:08:41 -07:00 |
|
Jason Gerard DeRose
|
cb2f294cfe
|
New Param: added missing unit tests for TypeError and ValueError cases in parse_param_spec()
|
2008-12-18 01:57:39 -07:00 |
|
Jason Gerard DeRose
|
99363131df
|
New Param: swapped location of DefaultFrom class and parse_param_spec() function
|
2008-12-18 01:45:13 -07:00 |
|
Jason Gerard DeRose
|
a632c2935a
|
New Param: removed unneeded conversion to tuple() in Param.convert()
|
2008-12-18 01:27:03 -07:00 |
|