Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Final i18n unit test fixes. | Pavel Zuna | 2011-03-01 | 1 | -2/+2 |
| | |||||
* | Use pygettext to generate translatable strings from plugin files. | Pavel Zuna | 2011-03-01 | 1 | -3/+2 |
| | | | | | | | | | | | | This patch replaces xgettext with a custom pygettext to generate translatable strings from plugin files in ipalib/plugins. pygettext was modified to handle plural forms (credit goes to Jan Hendrik Goellner) and had some bugs fixed by myself. We only use it for plugins, because it's the only place where we need to extract docstrings for the built-in help system. I also had to make some changes to the way the built-in documentation systems gets docstrings from modules for this to work. | ||||
* | Fix translatable strings in ipalib plugins. | Pavel Zuna | 2011-03-01 | 1 | -3/+5 |
| | | | | Needed for xgettext/pygettext processing. | ||||
* | Translate docstrings. | Pavel Zuna | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | Add default success/failure output logging. | Rob Crittenden | 2011-02-14 | 1 | -4/+8 |
| | | | | | | | | | | Request logging on the server only happened if you added verbose=True or debug=True to the IPA config file. We should log the basics at least: who, what, result. Move a lot of entries from info to debug logging as well. Related to ticket 873 | ||||
* | Fix test failures caused by the performance patch. | Rob Crittenden | 2011-02-10 | 1 | -6/+17 |
| | | | | | | It isn't safe to assume there is an environment or mode in any given object. Only skip the extra work if the object explicitly has production in it. | ||||
* | Don't perform some API self-tests in production mode for performance reasons | Rob Crittenden | 2011-01-28 | 1 | -5/+10 |
| | | | | | | | | | | | | The API does a fair number of self tests and locking to assure that the registered commands are consistent and will work. This does not need to be done on a production system and adds additional overhead causing somewhere between a 30 and 50% decrease in performance. Because makeapi is executed when a build is done ensure that it is executed in developer mode to ensure that the framework is ok. ticket 751 | ||||
* | Don't require or create the log dirs if we're just validating the API. | Rob Crittenden | 2011-01-14 | 1 | -1/+1 |
| | | | | | Fixes an error displayed in the automated builds, plus we don't want a Makefile messing around with our homedir. | ||||
* | Change FreeIPA license to GPLv3+ | Jakub Hrozek | 2010-12-20 | 1 | -5/+5 |
| | | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239 | ||||
* | Add support for client failover to the ipa command-line. | Rob Crittenden | 2010-08-16 | 1 | -1/+6 |
| | | | | | | | | | | | | This adds a new global option to the ipa command, -f/--no-fallback. If this is included then just the server configured in /etc/ipa/default.conf is used. Otherwise that is tried first then all servers in DNS with the ldap SRV record are tried. Create a new Local() Command class for local-only commands. The help command is one of these. It shouldn't need a remote connection to execute. ticket #15 | ||||
* | Handle errors raised by plugins more gracefully in mod_wsgi. | Rob Crittenden | 2010-07-12 | 1 | -2/+3 |
| | | | | | | | | | | | | This started as an effort to display a more useful error message in the Apache error log if retrieving the schema failed. I broadened the scope a little to include limiting the output in the Apache error log so errors are easier to find. This adds a new configuration option, startup_traceback. Outside of lite-server.py it is False by default so does not display the traceback that lead to the StandardError being raised. This makes the mod_wsgi error much easier to follow. | ||||
* | Connect the -v cli argument to the verbose flag in xmlrpclib | Rob Crittenden | 2010-06-03 | 1 | -3/+3 |
| | | | | | | If you pass two -v to the ipa command you'll get the XML-RPC data in the output. This can be handy so you know exactly what went out over the wire. | ||||
* | Add Object.label class attribute, enable in webUI | Jason Gerard DeRose | 2010-02-12 | 1 | -0/+17 |
| | |||||
* | Fix logging in CLI and server (take 2) | Jason Gerard DeRose | 2010-02-09 | 1 | -5/+10 |
| | |||||
* | Only change the log level if it isn't already set | Rob Crittenden | 2010-02-03 | 1 | -4/+5 |
| | | | | | | This primarily affects the installer. We want to log to the install/ uninstall file in DEBUG. This was getting reset to INFO causing lots of details to not show in the logs. | ||||
* | Remove __public__ and __proxy__ hold-overs from Plugin class | Jason Gerard DeRose | 2010-01-28 | 1 | -72/+1 |
| | |||||
* | Enabled CRUDS in webUI using wehjit 0.2.0 | Jason Gerard DeRose | 2010-01-26 | 1 | -0/+2 |
| | |||||
* | If plugin fails to load log the traceback | John Dennis | 2009-11-23 | 1 | -1/+2 |
| | | | | | | | | | | Signed-off-by: John Dennis <jdennis@redhat.com> If plugin fails to load log the traceback If a plugin fails to load due to some kind of error it would be nice if the error log contained the traceback so you can examine what went wrong rather than being left blind as to why it failed to load. | ||||
* | Provide additional help to --help option | Rob Crittenden | 2009-11-19 | 1 | -0/+7 |
| | |||||
* | Make plugin browser show plugin parent class | Jason Gerard DeRose | 2009-10-14 | 1 | -0/+3 |
| | |||||
* | Giant webui patch take 2 | Jason Gerard DeRose | 2009-10-13 | 1 | -1/+1 |
| | |||||
* | Removed PluginProxy and all its uses | Jason Gerard DeRose | 2009-08-05 | 1 | -116/+1 |
| | |||||
* | Modify PluginProxy to use __public__ defined in derived classes instead of ↵ | Pavel Zuna | 2009-06-10 | 1 | -1/+4 |
| | | | | base classes. | ||||
* | Rename errors2.py to errors.py. Modify all affected files. | Pavel Zuna | 2009-04-23 | 1 | -10/+10 |
| | |||||
* | Implemented more elegant way for entire plugin module to be conditionally ↵ | Jason Gerard DeRose | 2009-02-17 | 1 | -2/+36 |
| | | | | skipped; updated cert.py and ra.py modules to use this | ||||
* | Started cleanup work on ra plugin; fixed problem in api.bootstrap() when ↵ | Jason Gerard DeRose | 2009-02-17 | 1 | -2/+6 |
| | | | | process does not have permision to open log file | ||||
* | Started work on a much simplified mod_python server | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+2 |
| | |||||
* | Finished reworked cli.CLI class into cli.cli plugin | Jason Gerard DeRose | 2009-02-03 | 1 | -5/+6 |
| | |||||
* | Started reworking CLI class into cli plugin | Jason Gerard DeRose | 2009-02-03 | 1 | -5/+33 |
| | |||||
* | Removed the depreciated Context and LazyContext classes | Jason Gerard DeRose | 2009-02-03 | 1 | -23/+0 |
| | |||||
* | Added Object.params_minus() method; various small tweaks | Jason Gerard DeRose | 2009-02-03 | 1 | -7/+5 |
| | |||||
* | Renamed all references to 'ipa_server' to 'ipaserver' | Jason Gerard DeRose | 2009-01-04 | 1 | -1/+1 |
| | |||||
* | Removed unneeded import of errors from plugable.py | Jason Gerard DeRose | 2009-01-03 | 1 | -5/+4 |
| | |||||
* | Plugin.call() now uses errors2 version of SubprocessError | Jason Gerard DeRose | 2009-01-03 | 1 | -3/+3 |
| | |||||
* | Ported plugin registration errors into errors2.py; plugable.Registrar now ↵ | Jason Gerard DeRose | 2009-01-03 | 1 | -5/+16 |
| | | | | raises new errors2 exceptions | ||||
* | Removed unneeded import of check_type, check_instance in plugable.py | Jason Gerard DeRose | 2009-01-02 | 1 | -1/+0 |
| | |||||
* | Removed depreciated code in ipalib.plugable that has been moving into ↵ | Jason Gerard DeRose | 2009-01-02 | 1 | -249/+2 |
| | | | | ipalib.base | ||||
* | Removed depreciated code from config.py; removed corresponding unit tests | Jason Gerard DeRose | 2008-12-22 | 1 | -1/+1 |
| | |||||
* | Added note in Plugin.set_api() about Plugin.log attribute being depreciated | Jason Gerard DeRose | 2008-12-21 | 1 | -0/+1 |
| | |||||
* | Plugin.__init__() now checks that subclass hasn't defined attributes that ↵ | Jason Gerard DeRose | 2008-12-21 | 1 | -2/+7 |
| | | | | conflict with the logger methods; added corresponding unit test | ||||
* | Improved Plugin.call() method and added its unit test | Jason Gerard DeRose | 2008-12-21 | 1 | -6/+13 |
| | |||||
* | Plugin.doc instance attribute is now parsed out using inspect.getdoc(); ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -1/+5 |
| | | | | added Plugin.summary instance attribute, created in Plugin.__init__() | ||||
* | Removed Plugin.doc property and replaced with instance attribute created in ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -7/+1 |
| | | | | Plugin.__init__() | ||||
* | Removed Plugin.name property and replaced with instance attribute created in ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -7/+4 |
| | | | | Plugin.__init__() | ||||
* | Some changes to make reading dubugging output easier | Jason Gerard DeRose | 2008-11-24 | 1 | -0/+5 |
| | |||||
* | Finished fist draft of plugin tutorial in ipalib/__init__.py docstring | Jason Gerard DeRose | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | Added Plugin.call() method that calls an external executable via ↵ | Jason Gerard DeRose | 2008-11-06 | 1 | -0/+11 |
| | | | | subprocess.call() | ||||
* | Added custom log formatter util.LogFormatter that makes the human-readable ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -2/+2 |
| | | | | time stamp in UTC | ||||
* | Renamed API.bootstrap_from_options() to bootstrap_with_global_options() | Jason Gerard DeRose | 2008-10-31 | 1 | -1/+1 |
| | |||||
* | Logging formats are now env variables; added log_format_stderr_debug format ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -10/+10 |
| | | | | used when env.debug is True |