Commit Graph

1906 Commits

Author SHA1 Message Date
Jason Gerard DeRose
cc5d7e8adb New Param: Small docstring change in Flag 2009-01-14 10:17:39 -07:00
Jason Gerard DeRose
05514292dc New Param: Flag now fill-in default=False and also forces default to be a bool 2009-01-14 09:56:10 -07:00
Jason Gerard DeRose
8cc38e681f New Param: added new Flag param class and its unit test 2009-01-13 20:27:19 -07:00
Jason Gerard DeRose
659bb4c142 New Param: added Param.clone() method and corresponding unit test 2009-01-13 19:49:23 -07:00
Jason Gerard DeRose
a0fb215a2c New Param: updated Str._convert_scalar() so it raises a ConversionError 2009-01-13 18:29:45 -07:00
Jason Gerard DeRose
10747103fa New Param: implemented a base Param._convert_scalar() method; added Param.type_error attribute for ConversionError message 2009-01-13 02:17:16 -07:00
Jason Gerard DeRose
c2b0d03f82 New Param: updated Bytes and Str length rules to use new rule(_, value) calling signature; updated corresponding unit tests 2009-01-13 01:07:33 -07:00
Jason Gerard DeRose
33db9fee60 New Param: ported create_param() function and unit tests 2009-01-13 00:27:06 -07:00
Jason Gerard DeRose
11dce19225 New Param: added Param.get_default() method and detailed docstring; added corresponding unit tests 2009-01-12 22:48:04 -07:00
Jason Gerard DeRose
5c7c0b35bb New Param: added Param.validate() and Param._validate_scalar() methods; added corresponding unit tests 2009-01-12 16:14:46 -07:00
Jakub Hrozek
1d1a44bd70 Fix typo in b_ra: elf.ca_port -> self.ca_port 2009-01-12 19:32:59 +01:00
Jason Gerard DeRose
5e6ea11178 Fixed ldap and ra plugin 'name'e' problem 2009-01-08 15:35:01 -07:00
Jason Gerard DeRose
3e9eb0bda0 Changed PublicError so str(e) is untranslated (for logging) and added format=None kwarg for generic use 2009-01-08 00:07:18 -07:00
Jason Gerard DeRose
166b3ca80c Added unit test for Env.__islocked__(); unit test for Env.__lock__() now also tests with base.lock() function 2009-01-06 18:21:46 -07:00
Jason Gerard DeRose
9e430755a5 Renamed PublicError.code attribute to PublicError.errno 2009-01-06 13:33:22 -07:00
Jason Gerard DeRose
ac89267c2f Fixed type in KerberosError, droped LDAPError range to just 100 codes for now 2009-01-06 11:54:58 -07:00
Jason Gerard DeRose
f130da56c3 Additional work on the new error code tree in errors2.py 2009-01-06 11:15:41 -07:00
Jason Gerard DeRose
2462135da0 Added a few missing things to base.ReadOnly docstrings 2009-01-05 12:41:02 -07:00
Jason Gerard DeRose
4a24b49d5d A few docstring improvements in Env 2009-01-05 03:28:27 -07:00
Jason Gerard DeRose
690ad4766d New Param: added Str length rule methods; added corresponding unit tests 2009-01-05 02:45:07 -07:00
Jason Gerard DeRose
6d6c0d81dd New Param: decided on calling signature for rules; added unit tests for Bytes._rule_minlength, _rule_maxlength, and _rule_length 2009-01-05 02:20:09 -07:00
Jason Gerard DeRose
c121d0064b New Param: Added Param.get_label() method for a way to retrieve translated message at request time 2009-01-05 01:20:14 -07:00
Jason Gerard DeRose
026860bd56 Renamed ipa_webui/ to ipawebui/ and tests/test_ipa_webui/ to tests/test_ipawebui 2009-01-04 19:48:02 -07:00
Jason Gerard DeRose
5c47261df5 Renamed all references to 'ipa_webui' to 'ipawebui' 2009-01-04 19:45:53 -07:00
Jason Gerard DeRose
7442ad2e27 Renamed ipa_server/ to ipaserver/ and tests/test_ipa_server/ to tests/test_ipaserver 2009-01-04 18:44:16 -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
ff66c7ece6 Added more public exceptions and did some other cleanup in errors2 2009-01-04 18:20:39 -07:00
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