#7057 web UIC for user certs
by tduehr@gmail.com
My thinking here was to use PKI.js (pkijs.org) to use the webcrypto API to generate the CSR then submit it as it would be if pasted by the user.
Would the existing modal for certificate entry be a good place for this? Basically another bullet "Or click here to generate in your browser" type of thing in supported browsers.
-Timur
6 years, 9 months
[freeipa PR#839][opened] [WIP] use standard Python logging
by HonzaCholasta
URL: https://github.com/freeipa/freeipa/pull/839
Author: HonzaCholasta
Title: #839: [WIP] use standard Python logging
Action: opened
PR body:
"""
**wsgi, oddjob: remove needless uses of Env**
Do not use custom Env instance to determine the debug level to use for the
IPA API object - the IPA API object can properly determine the configured
debug level on its own.
**logging: port to standard Python logging**
Use the standard `logging` module to configure logging instead of the
in-house `ipapython.log_manager` module and remove `ipapython.log_manager`.
Disable the logging-not-lazy and logging-format-interpolation pylint
checks.
**logging: configure logging on the root logger**
Configure logging on the actual root logger (`logging.getLogger()`) rather
than the `ipa` logger (`ipa_log_manager.root_logger`).
**logging: remove object-specific loggers**
Remove all object-specific loggers, with the exception of `Plugin.log`,
which is now deprecated. Replace affected logger calls with module-level
logger calls.
Deprecate object-specific loggers in `ipa_log_manager.get_logger`.
**doc: sync guide.org with cli.py**
**logging: do not reference loggers in arguments and attributes**
Remove logger arguments in all functions and logger attributes in all
objects, with the exception of API object logger, which is now deprecated.
Replace affected logger calls with module-level logger calls.
**logging: do not log into the root logger**
Deprecate `ipa_log_manager.root_logger` and replace all calls to it with
module-level logger calls.
**logging: do not use `ipa_log_manager` to create module-level loggers**
Replace all `ipa_log_manager.log_mgr.get_logger` calls to create
module-level loggers with `logging.getLogger` calls and deprecate
`ipa_log_manager.log_mgr.get_logger`.
Enable the logging-not-lazy and logging-format-interpolation pylint checks.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/839/head:pr839
git checkout pr839
6 years, 9 months