summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
Commit message (Collapse)AuthorAgeFilesLines
* Add NotImplementedError type so CA plugins can return client-friendly errorsRob Crittenden2009-12-011-0/+8
| | | | | | | | Ignore NotImplementedError when revoking a certificate as this isn't implemented in the selfsign plugin. Also use the new type argument in x509.load_certificate(). Certificates are coming out of LDAP as binary instead of base64-encoding.
* add new error class for certificate operationsJohn Dennis2009-11-191-1/+28
| | | | add new error class for certificate operations
* error strings in documentation were missing unicode specifierJohn Dennis2009-11-191-3/+3
| | | | error strings in documentation were missing unicode specifier
* Change Password param so (password, confirm_password) can be passed to ↵Jason Gerard DeRose2009-10-181-0/+9
| | | | _convert_scalar()
* Giant webui patch take 2Jason Gerard DeRose2009-10-131-0/+11
|
* Raise more specific error when an Objectclass Violation occurs Fix the ↵Rob Crittenden2009-09-141-0/+15
| | | | virtual plugin to work with the new backend
* Remove Python 2.6 BaseException.message deprecation warningRob Crittenden2009-08-201-5/+5
|
* Clean up additional issues discovered with pylint and pycheckerRob Crittenden2009-08-201-0/+16
|
* Clean up some problems discovered with pylint and pycheckerRob Crittenden2009-08-121-0/+16
| | | | | Much of this is formatting to make pylint happy but it also fixes some real bugs.
* Add a return value to exceptions.Rob Crittenden2009-07-101-0/+2
| | | | | | | | Returning the exception value doesn't work because a shell return value is in the range of 0-255. The default return value is 1 which means "something went wrong." The only specific return value implemented so far is 2 which is "not found".
* Implement support for non-LDAP-based actions that use the LDAP ACI subsystem.Rob Crittenden2009-07-101-1/+1
| | | | | | | | | | | | There are some operations, like those for the certificate system, that don't need to write to the directory server. So instead we have an entry that we test against to determine whether the operation is allowed or not. This is done by attempting a write on the entry. If it would succeed then permission is granted. If not then denied. The write we attempt is actually invalid so the write itself will fail but the attempt will fail first if access is not permitted, so we can distinguish between the two without polluting the entry.
* Fix typo, occured -> occurredRob Crittenden2009-05-211-4/+4
|
* Add a format to the generic KerberosError classRob Crittenden2009-05-211-0/+9
|
* Raise an exception if the certificate chain is not returned from the CARob Crittenden2009-05-211-0/+16
|
* Fixed doctest for errors.NotFoundJason Gerard DeRose2009-05-191-3/+3
|
* Re-enable doctest, fix broken docstringsJason Gerard DeRose2009-05-131-9/+9
|
* Add a reason to the NotFound exception so we can provide more robust errorsRob Crittenden2009-05-131-1/+1
|
* Make MalformedServicePrincipal take a reason arg and add Base64DecodeErrorRob Crittenden2009-05-061-3/+19
|
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-231-0/+1077
|
* Finish work replacing the errors module with errors2Rob Crittenden2009-04-201-441/+0
| | | | | | Once this is committed we can start the process of renaming errors2 as errors. I thought that combinig this into one commit would be more difficult to review.
* 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