summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Raise a more specific error when a user lacks the proper permissions.Rob Crittenden2009-03-251-4/+0
| | | | | The info part of the message will contain details on what permission failed on what attribute.
* Applied Rob's errors patchRob Crittenden2009-02-031-20/+0
|
* Started fleshing out reoganization of errors in errors.py (with gettext support)Jason Gerard DeRose2009-01-031-15/+0
|
* Improved Plugin.call() method and added its unit testJason Gerard DeRose2008-12-211-0/+8
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-12-201-0/+8
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Raise an error on bad principals instead of printing one when changing passwordsRob Crittenden2008-12-111-0/+4
| | | | | | | | Fix logic in determining what to do with an incoming principal
| * Port plugins to use the new output_for_cli() argument listRob Crittenden2008-12-101-0/+4
| | | | | | | | Fix some errors uncovered by the nosetests
* | Fix show_api commandJakub Hrozek2008-12-171-0/+3
| |
* | Add body for the NameSpaceError exceptionJakub Hrozek2008-12-171-0/+11
|/
* Fixed Warning messages about log dir in unit testJason Gerard DeRose2008-12-081-3/+4
|
* Started fleshing out doodles in xmlrpc.execute()Jason Gerard DeRose2008-11-251-1/+14
|
* Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc ↵Jason Gerard DeRose2008-11-241-0/+24
| | | | plugin
* Started work on cleaning up how exceptions are caught and sys.exit() is ↵Jason Gerard DeRose2008-11-131-0/+11
| | | | called in ipalib.cli.CLI
* Don't allow service-add to create host/ principalsRob Crittenden2008-10-241-0/+4
|
* IPAError now more appropriately subclasses from StandardError instead of ↵Jason Gerard DeRose2008-10-231-1/+1
| | | | Exception
* Add mod_python-based XML-RPC server.Rob Crittenden2008-10-161-0/+2
| | | | | Use -e kerberos on the command-line to use the mod_python server, otherwise it defaults to use the simple-server URL.
* Implement user lock and unlockRob Crittenden2008-10-131-13/+29
|
* Slight change to how exceptions are handledRob Crittenden2008-10-101-2/+2
|
* Mechanism to convert from xmlrpclib.Fault to an IPAError exceptionRob Crittenden2008-10-101-0/+137
| | | | Include slew of new exceptions, not all of which are used yet
* Fixed example in raise_TypeError() docstring (thanks, mnagy)Jason Gerard DeRose2008-10-071-3/+3
|
* 285: Started work on Command.args_to_kw() method; added unit test for ↵Jason Gerard DeRose2008-09-101-0/+13
| | | | functionality so far in args_to_kw()
* 248: Removed depreciated SetError and TwiceSetError exceptionsJason Gerard DeRose2008-09-031-8/+0
|
* 247: Added unit tests for errors.RequirementErrorJason Gerard DeRose2008-09-031-4/+3
|
* 246: Added unit tests for errors.RuleErrorJason Gerard DeRose2008-09-031-3/+3
|
* 245: Removed depreciated NormalizationErrorJason Gerard DeRose2008-09-031-8/+0
|
* 244: Added unit tests for errors.ConversionErrorJason Gerard DeRose2008-09-031-4/+8
|
* 243: Added unit tests for errors.ValidationErrorJason Gerard DeRose2008-09-031-0/+2
|
* 242: Started cleanup of custom exceptions; added unit tests for errors.IPAErrorJason Gerard DeRose2008-09-031-16/+21
|
* 241: Added additional index=None kwarg to errors.ValidationError.__init__()Jason Gerard DeRose2008-09-031-1/+2
|
* 239: Added errors.ConversionError; started big clean up of how ↵Jason Gerard DeRose2008-09-031-0/+8
| | | | ValidationError is raised so it works well with multivalues
* 230: Renamed allow_None kwarg to allow_noneJason Gerard DeRose2008-09-021-6/+6
|
* 227: check_type() and check_isinstance() now take arguments in (value, ↵Jason Gerard DeRose2008-09-021-13/+13
| | | | type_, name) order so the first two match the built-in isinstance() call signature
* 226: check_type() and check_isinstance() now return the value; updated ↵Jason Gerard DeRose2008-09-021-0/+2
| | | | corresponding unit tests
* 225: Added errors.check_type() and errors.check_isinstance() functions; ↵Jason Gerard DeRose2008-08-291-8/+28
| | | | added corresponding unit tests
* 224: Reworked IPATypeError class into raise_TypeError functionJason Gerard DeRose2008-08-291-18/+23
|
* 223: IPATypeError takes as first argument, has attributeJason Gerard DeRose2008-08-291-8/+21
|
* 222: Fixed broken assertion in IPATypeError; did more work on docstrings in sameJason Gerard DeRose2008-08-291-2/+6
|
* 221: Added errors.IPATypeError exception; added new test_errors.py module ↵Jason Gerard DeRose2008-08-291-0/+20
| | | | with corresponding unit tests
* 218: Finished unit tests for Option2.validate(), Option2.validate_scalar()Jason Gerard DeRose2008-08-281-0/+1
|
* 143: Added errors.RequirementError exception; cmd.validate() now raises ↵Jason Gerard DeRose2008-08-131-0/+12
| | | | RequirementError if a required option is missing
* 142: python2.4: Fixed custom exceptions in errors.py as exceptions in ↵Jason Gerard DeRose2008-08-131-3/+3
| | | | Python2.4 are not new-style classes
* 86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g'Jason Gerard DeRose2008-08-081-33/+33
|
* 81: Switch from tab to 4-space indentationJason Gerard DeRose2008-08-081-80/+80
|
* 76: Fleshed out opt.validate(); added corresponding unit testsJason Gerard DeRose2008-08-071-3/+5
|
* 72: Started work on public.opt class; added corresponding unit testsJason Gerard DeRose2008-08-071-0/+20
|
* 65: Finished simplified Proxy2 class; updated unit testsJason Gerard DeRose2008-08-061-3/+0
|
* 47: Added plugable.check_identifier() function; added corresponding unit testsJason Gerard DeRose2008-08-051-1/+4
|
* 31: Renamed exceptions.py to errors.pyJason Gerard DeRose2008-07-311-0/+127