Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util:wsgi: remove %default from option help strings | W. Trevor King | 2012-10-27 | 1 | -2/+2 |
| | |||||
* | doc: update :attr: to :py:attr: for modern Sphinx. | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc: update :data: to :py:data: for modern Sphinx. | W. Trevor King | 2012-10-26 | 1 | -3/+3 |
| | |||||
* | doc: update :meth: to :py:meth: for modern Sphinx. | W. Trevor King | 2012-10-26 | 3 | -9/+9 |
| | |||||
* | doc: update :class: to :py:class: for modern Sphinx. | W. Trevor King | 2012-10-26 | 3 | -10/+10 |
| | |||||
* | doc: update :func: to :py:func: for modern Sphinx. | W. Trevor King | 2012-10-26 | 1 | -5/+5 |
| | |||||
* | Ran update-copyright.py. | W. Trevor King | 2012-10-16 | 9 | -9/+42 |
| | |||||
* | util:wsgi: WSGITestCase should not subclass WSGICaller. | W. Trevor King | 2012-09-03 | 1 | -10/+18 |
| | | | | | | | | The old implementation caused a number of unittest errors. This commit adds a WSGICaller instance as WSGITestCase.caller, and provides a wrapper .getURL method which copies the status/headers/etc. from the caller back into the WSGITestCase. | ||||
* | util:wsgi: Pull WSGICaller out of WSGITestCase. | W. Trevor King | 2012-09-03 | 1 | -49/+56 |
| | |||||
* | util:wsgi: add HandlerErrorApp to return HTTP errors. | W. Trevor King | 2012-09-03 | 1 | -0/+13 |
| | |||||
* | util:wsgi: fix WSGI_AppObject.default_callback -> .default_handler typo. | W. Trevor King | 2012-09-03 | 1 | -1/+1 |
| | |||||
* | command:serve-storage: rename `be serve` -> `be serve-storage`. | W. Trevor King | 2012-08-29 | 1 | -1/+2 |
| | | | | | | | | | | This will help avoid confusion between be serve-storage and be serve-commands | ||||
* | Rewrite commands to use bugdirs instead of a single bugdir. | W. Trevor King | 2012-08-29 | 1 | -13/+19 |
| | | | | | | | The bulk of the work is in regard to XML, with new BugDir.xml and .from_xml methods to support the new <bugdir> entity. I also split the guts import_xml's ._run method into sub-methods to make the import logic more obvious. | ||||
* | util:wsgi: add BEExceptionApp for translating storage exceptions. | W. Trevor King | 2012-08-29 | 1 | -0/+22 |
| | | | | | | This fixes .test_get_initial_value for the HTTP backend, because the tests use TestingHTTP.getURL, which only catch HandlerError, not the more specific storage exceptions. | ||||
* | util:plugin: modnames() should only list *.py or *.pyc files. | W. Trevor King | 2012-08-27 | 1 | -1/+3 |
| | | | | | By appending '.py' to *everything*, it was listing '__pycache__' for Python 3. | ||||
* | libbe:util:wsgi: extract WSGI utilities into a separate module. | W. Trevor King | 2012-08-27 | 1 | -0/+962 |
| | |||||
* | util:http: add ability to pass raw POST data with get_post_url. | W. Trevor King | 2012-08-24 | 1 | -10/+17 |
| | |||||
* | util:http: convert urllib2.URLError into HTTPError in get_post_url. | W. Trevor King | 2012-08-24 | 1 | -5/+11 |
| | | | | | Also rework liburl2.HTTPError handling to get both the reason and the error code into the HTTPError message. | ||||
* | util:http: pull HTTP helpers from libbe.storage.http into their own module. | W. Trevor King | 2012-08-24 | 1 | -0/+116 |
| | | | | This way they can be shared with the upcoming Command._run_remote. | ||||
* | libbe:util:plugin: cleanup recent zip/egg handling code. | W. Trevor King | 2012-08-23 | 1 | -33/+16 |
| | | | | | | | To test this, you'll need to build an egg. You can use setuptools to do this, by applying: <snip-patch> | ||||
* | Cherrypick improved zipfile support from Niall Douglas. | Niall Douglas (a [underscors] sourceforge {at} nedprod [dot] com) | 2012-08-23 | 1 | -9/+15 |
| | | | | | | | | | | | WTK: This is the meat of Niall's commit 4632cb6d22faa7220540f92af67693084f80f033 Author: Niall Douglas ... Date: Wed Feb 22 17:46:06 2012 +0000 Fixed small bug where running from inside zip support was over preferring .pyc files | ||||
* | Cherrypick initial zipfile support from Niall Douglas. | Niall Douglas (a [underscors] sourceforge {at} nedprod [dot] com) | 2012-08-23 | 1 | -2/+27 |
| | | | | | | | | | | | WTK: This is a portion of Niall's commit 7f7a7738bcbcfd06a026f2985c1823a4ba5eb55b Author: Niall Douglas ... Date: Tue Feb 21 20:35:28 2012 +0000 Several hacks to make BE compatible with bbfreeze and therefore compilable into a self contained directory | ||||
* | Make ID expansion less strict for comment text. | W. Trevor King | 2012-03-03 | 1 | -3/+11 |
| | | | | | This avoids errors if the comment text references a repository that you don't have locally. | ||||
* | Added BE_INPUT_ENCODING and BE_OUTPUT_ENCODING to allow charset for stdin ↵ | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) | 2012-02-25 | 1 | -0/+8 |
| | | | | and stdout to be overridden. This is necessary on Windows as there is no way for external programs to set stdin or stdout charsets :( | ||||
* | Remove util.subproc.Pipe, as we no longer use it in BE. | W. Trevor King | 2012-02-25 | 1 | -139/+0 |
| | | | | | | | | | | This was at one point used by `update_copyright.py`. Now that that is an external package (and doesn't use `Pipe` anymore either), we can safely remove this code. As a side benifit, the Pipe doctests will no longer be there to fail on OS X and other systems sufficiently different from my development box. | ||||
* | Add update-copyright as a submodule and update release.py accordingly. | W. Trevor King | 2012-02-16 | 1 | -3/+3 |
| | | | | Also add `**kwargs` to `invoke` so we can specify the environment. | ||||
* | Ran update-copyright.py. | W. Trevor King | 2012-02-16 | 7 | -70/+70 |
| | |||||
* | Fix my busted 1512c0e2a64e patch to libbe/util/encoding.py. | W. Trevor King | 2011-11-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Some temporary changes to encoding.py seem to have been added to commit 1512c0e2a64e19c8d4e5697257a4df5ddd8bc727 Author: W. Trevor King <wking@drexel.edu> Date: Tue Nov 8 07:14:43 2011 -0500 by accident. The initial change came from discussions with Niall Douglas, during which I realized that "filesystem encoding" ususally means the encoding for the *path*, not the *contents*. To avoid further confusion I'd renamed `get_filesystem_encoding` to the less ambiguous `get_text_file_encoding`. This commit should complete the transition. | ||||
* | Correct doc/install.txt to refer to INSTALL_OPTIONS instead of PREFIX. | W. Trevor King | 2011-11-08 | 1 | -6/+2 |
| | | | | | | | This catches the docs up with the changes made in: commit a7ad89a6ad7da55089e6f9a4cdd645b7079ee04e Author: W. Trevor King <wking@drexel.edu> Date: Sat Apr 16 21:26:02 2011 -0400 | ||||
* | Add the BE_ENCODING environmental variable to override the default encoding. | W. Trevor King | 2011-09-08 | 1 | -1/+3 |
| | |||||
* | Adjust encoding detection (using sys.getfilesystemencoding for file contents). | W. Trevor King | 2011-09-08 | 1 | -5/+8 |
| | |||||
* | Run update_copyright.py. | W. Trevor King | 2011-05-25 | 7 | -5/+12 |
| | |||||
* | Update libbe.util.id other_uuids documentation (may contain uuid). | W. Trevor King | 2011-05-12 | 1 | -4/+4 |
| | |||||
* | Add --notify to `be serve`. | W. Trevor King | 2011-04-16 | 1 | -6/+19 |
| | |||||
* | Import ElementTree in libbe.util.utility for InvalidXML. | W. Trevor King | 2011-04-16 | 1 | -0/+4 |
| | |||||
* | Cleanup libbe.util.subproc.Pipe docstring. | W. Trevor King | 2011-04-15 | 1 | -8/+8 |
| | |||||
* | get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected. | W. Trevor King | 2011-04-14 | 1 | -1/+1 |
| | |||||
* | Fix command-line encoding processing. | W. Trevor King | 2011-04-08 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | String command-line options are converted to unicode using the input encoding. We use the fact that Python sets up the original sys.stdout to determine the terminal encoding. This should fix Anders Sneckenborg's issues with Swedish characters: C:\temp\slask4>be new "Svenska tecken åäö" Created bug with ID 6be/5c3 C:\temp\slask4> C:\temp\slask4> C:\temp\slask4>be list ERROR: 'ascii' codec can't decode byte 0xe5 in position 15: ordinal not in range(128) You should set a locale that supports unicode, e.g. export LANG=en_US.utf8 See http://docs.python.org/library/locale.html for details | ||||
* | Bumped to version 1.0.01.0.0 | Chris Ball | 2011-01-08 | 7 | -7/+7 |
| | |||||
* | Ran update_copyright.py. | W. Trevor King | 2010-10-21 | 1 | -1/+1 |
| | |||||
* | Ran update_copyright.py | W. Trevor King | 2010-06-22 | 7 | -79/+86 |
| | |||||
* | Fix len(char) assertion typo in libbe.util.utility.underlined() | W. Trevor King | 2010-02-20 | 1 | -1/+1 |
| | |||||
* | Added `be html --min-id-length INT` option | W. Trevor King | 2010-02-20 | 1 | -0/+2 |
| | |||||
* | Fixed docstrings so only Sphinx errors are "autosummary" and "missing attribute" | W. Trevor King | 2010-02-07 | 3 | -96/+472 |
| | |||||
* | libbe.command.html.HTMLGen._long_to_linked_user() handles failed conversion. | W. Trevor King | 2010-01-30 | 1 | -2/+7 |
| | | | | | | | Before, anything matching libbe.util.id.REGEXP was convert-or-die. Now it's convert-or-no-op. Much safer ;). The new _long_to_linked_user doctest would have failed with the old implementation. | ||||
* | `be html` links (<a href="...) #-delimited references in text/* bodies. | W. Trevor King | 2010-01-27 | 1 | -4/+12 |
| | |||||
* | Don't raise MultipleIDMatches if one of the matches is exact. | W. Trevor King | 2010-01-21 | 1 | -0/+2 |
| | |||||
* | Generate string properly in libbe.util.subproc.CommandError | W. Trevor King | 2010-01-19 | 1 | -1/+1 |
| | |||||
* | Updated copyright information | W. Trevor King | 2010-01-01 | 7 | -7/+21 |
| | |||||
* | Fixed up the completion helpers in libbe.command.util | W. Trevor King | 2009-12-29 | 1 | -90/+196 |
| | | | | | | | | | | This entailed a fairly thorough cleanup of libbe.util.id. Remaining unimplemented completion helpers: * complete_assigned() * complete_extra_strings() Since these would require scanning all (active?) bugs to compile lists, and I was feeling lazy... |