Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use truncated_id in `be html` comment <div id=""> | W. Trevor King | 2010-02-22 | 1 | -4/+5 |
| | |||||
* | Added `be html --min-id-length INT` option | W. Trevor King | 2010-02-20 | 1 | -2/+8 |
| | |||||
* | Merged Gianluca's truncated-IDs in `be html` output patch. | W. Trevor King | 2010-02-20 | 1 | -20/+46 |
|\ | | | | | | | | | Or at least merged the general idea. Changes in the implementation listed in #bea/01e/2f9#. | ||||
| * | Variable lenght of the file name in the be html command. | Gianluca Montecchi | 2010-02-11 | 1 | -4/+34 |
| | | |||||
* | | Merged Gianluca's fix of my version of Eric's patch ;) | W. Trevor King | 2010-02-10 | 1 | -1/+1 |
|\| | |||||
| * | Fixed a bug in the be html command. | gian | 2010-02-10 | 1 | -1/+1 |
| | | | | | | | | | | | | File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 371, in _escape return xml.sax.saxutils.escape(char) NameError: global name 'char' is not defined | ||||
| * | Merged Trevor's tree | Gianluca Montecchi | 2010-02-10 | 3 | -251/+6 |
|/ | |||||
* | Merged Eric Kow's HTML escaping patch | W. Trevor King | 2010-02-09 | 1 | -8/+1 |
| | |||||
* | Fixed docstrings so only Sphinx errors are "autosummary" and "missing attribute" | W. Trevor King | 2010-02-07 | 1 | -49/+94 |
| | |||||
* | Use numpydoc and generate-libbe-txt.py to autogenerate API documentation | W. Trevor King | 2010-02-06 | 2 | -4/+1 |
| | |||||
* | Sort comments in `be html`. | W. Trevor King | 2010-02-02 | 1 | -0/+2 |
| | |||||
* | Restore "content_type" kwarg to Comment.new_reply(). | W. Trevor King | 2010-02-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | It had been removed in revno: 473.1.43 committer: W. Trevor King <wking@drexel.edu> branch nick: be.restructure timestamp: Mon 2009-12-14 07:37:51 -0500 message: Transitioned comment to Command format when we pushed unicode encoding/decoding back to the Storage backend. However, with the addition of libbe.util.id.short_to_long_text(), we need it again. Also add a Doctest showing a non-text/* comment, so utilities dealing with them can see what they'll be working with. | ||||
* | Fix command name output of `be --complete`. | W. Trevor King | 2010-02-01 | 2 | -5/+34 |
| | | | | | | | By adding command_names option to libbe.command.commands. Previous versions of `be --complete` printed "import_xml", not "import-xml". Also fixed libbe.command.base's doctests, so test.py can run them. | ||||
* | libbe.command.html.HTMLGen._long_to_linked_user() handles failed conversion. | W. Trevor King | 2010-01-30 | 1 | -2/+34 |
| | | | | | | | 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. | ||||
* | Fix `be show` handling for no IDs | W. Trevor King | 2010-01-29 | 1 | -1/+1 |
| | |||||
* | Oops, fix Comment doctest EDITOR cleanup | W. Trevor King | 2010-01-28 | 1 | -1/+1 |
| | |||||
* | Don't accidentally spawn VISUAL in Comment doctests. | W. Trevor King | 2010-01-28 | 1 | -0/+3 |
| | |||||
* | `be html` links (<a href="...) #-delimited references in text/* bodies. | W. Trevor King | 2010-01-27 | 1 | -5/+34 |
| | |||||
* | Streamlined libbe.command.serve, adding --auth option, #/bea/c1b#, and testing. | W. Trevor King | 2010-01-27 | 1 | -176/+735 |
| | |||||
* | Added --ssl to `be serve` using cherrypy.wsgiserver. | W. Trevor King | 2010-01-25 | 1 | -61/+211 |
| | |||||
* | Convert libbe.command.serve to WSGI for increased flexibility. | W. Trevor King | 2010-01-25 | 1 | -256/+271 |
| | | | | | | | The Python Web Server Gateway Interface (WSGI) is a simple and universal interface between web servers and web applications or frameworks. See PEP 333 for details. http://www.python.org/dev/peps/pep-0333/ | ||||
* | Fixed List --severity handling, added --important | W. Trevor King | 2010-01-23 | 1 | -2/+3 |
| | |||||
* | Fix vars call for `be target --help` | W. Trevor King | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | Update --subscriber option help string for Subscribe | W. Trevor King | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | Modern ID format in `be list` _long_help | W. Trevor King | 2010-01-23 | 1 | -5/+5 |
| | |||||
* | Fix broken handling of non-text/plain comments | W. Trevor King | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | Added "Created comment..." output to `be comment` | W. Trevor King | 2010-01-23 | 1 | -0/+9 |
| | |||||
* | Fix typos in untested parts of List and Import_XML for test_usage.py | W. Trevor King | 2010-01-23 | 2 | -4/+4 |
| | |||||
* | Added `be list --mine` | W. Trevor King | 2010-01-23 | 1 | -6/+10 |
| | |||||
* | Init should tell the UI about its connected storage and bugdir. | W. Trevor King | 2010-01-23 | 1 | -0/+2 |
| | |||||
* | Minor cleanups + remove debuging line in Init doctest | W. Trevor King | 2010-01-22 | 1 | -1/+0 |
| | |||||
* | Reworked settings_object module, but command.init tests still fail: | W. Trevor King | 2010-01-22 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ python test.py libbe.command.init Doctest: libbe.command.init.Init ... FAIL ... ----------------------- File ".../libbe/command/init.py", line 47, in libbe.command.init.Init Failed example: ui.run(cmd) Exception raised: Traceback (most recent call last): ... File "/tmp/be.wtk/libbe/command/init.py", line 97, in _run bd = libbe.bugdir.BugDir(storage, from_storage=False) File "/tmp/be.wtk/libbe/bugdir.py", line 185, in __init__ self.save() File "/tmp/be.wtk/libbe/bugdir.py", line 228, in save self.save_settings() File "/tmp/be.wtk/libbe/bugdir.py", line 204, in save_settings mf = mapfile.generate(self._get_saved_settings()) File "/tmp/be.wtk/libbe/storage/util/settings_object.py", line 230, in _get_saved_settings self, self._setting_name_to_attr_name(k)) File "/tmp/be.wtk/libbe/storage/util/properties.py", line 194, in _fget value = fget(self) File "/tmp/be.wtk/libbe/storage/util/properties.py", line 329, in _fget primer(self) File "/tmp/be.wtk/libbe/storage/util/settings_object.py", line 69, in prop_load_settings self.load_settings() File "/tmp/be.wtk/libbe/bugdir.py", line 194, in load_settings self.settings = mapfile.parse(settings_mapfile) File "/tmp/be.wtk/libbe/storage/util/mapfile.py", line 123, in parse c = yaml.load(contents) ... File "/usr/lib/python2.6/site-packages/yaml/reader.py", line 213, in update_raw data = self.stream.read(size) AttributeError: 'NoneType' object has no attribute 'read' ... | ||||
* | Added tests to Init to check for empty settings file | W. Trevor King | 2010-01-22 | 1 | -1/+8 |
| | |||||
* | Ajdust Target tests for cached BugDir.uuids() implementation | W. Trevor King | 2010-01-21 | 1 | -0/+1 |
| | |||||
* | Use _get_user_id() in New, remove unused 'user-id' prop. from Commit. | W. Trevor King | 2010-01-21 | 2 | -1/+7 |
| | | | | | Added creator field to bugs without creator information. Mostly this is due to the recent lack of creator-setting in `be new`. | ||||
* | Converted `be list --xml` to <be-xml> format. | W. Trevor King | 2010-01-21 | 1 | -2/+2 |
| | | | | | | | | Fixed up be-xml-to-mbox following the recent libbe restructuring. Moved stdout manipulation in be-mail-to-xml into the if __name__ == '__main__' block, in case some other module wants to recycle some of its functions/methods. | ||||
* | Improve `be import-xml` handling of root comments + tests. | W. Trevor King | 2010-01-20 | 1 | -7/+105 |
| | |||||
* | Add entry points for functionality needed by CFBE (and probably other UIs) | W. Trevor King | 2010-01-20 | 3 | -26/+48 |
| | |||||
* | Fixed `be help` (used to raise NotImplementedError) | W. Trevor King | 2010-01-20 | 1 | -1/+1 |
| | |||||
* | Added shortname (.id.user()) data to `be html`s comment data | W. Trevor King | 2010-01-19 | 1 | -2/+3 |
| | |||||
* | Adjust command.serve.Serve doctest to clarify remaining test failures. | W. Trevor King | 2010-01-19 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | Current test output $ python test.py libbe ... FAILED (failures=1, errors=3) All failures and errors due to unimplemented functionality Errors: * Darcs._vcs_isdir() not implemented (for Darcs <= 2.3.1) * Arch._vcs_path() not implemented * Arch._vcs_changed() not implemented Failures: * command.serve.Serve tests not implemented | ||||
* | Add .changed support to HTTP storage backend. | W. Trevor King | 2010-01-18 | 1 | -1/+20 |
| | | | | Also work around urlparse.parse_qs location in Python <= 2.5. | ||||
* | Add ancestors support to HTTP storage | W. Trevor King | 2010-01-18 | 1 | -1/+18 |
| | |||||
* | Use RevisionedBugDir, not .duplicate_bugdir() in libbe.command.diff | W. Trevor King | 2010-01-18 | 1 | -3/+4 |
| | |||||
* | Changed `be list --uuids` to `be list --ids` | W. Trevor King | 2010-01-03 | 1 | -5/+5 |
| | |||||
* | Fixed update_copyright.py's subproc import and updated copyrights | W. Trevor King | 2010-01-01 | 1 | -4/+1 |
| | |||||
* | Serve.handle_*() now raise _HandlerError so the .do_*() methods know. | W. Trevor King | 2010-01-01 | 1 | -8/+17 |
| | | | | | Before there wasn't a good way to tell if the handler had experienced an error, or just didn't want to return anything. | ||||
* | Fixed commit handling in commands.serve and storage.http | W. Trevor King | 2010-01-01 | 1 | -3/+7 |
| | |||||
* | Use more kwargs in libbe.command.serve | W. Trevor King | 2010-01-01 | 1 | -11/+10 |
| | | | | | | | | kwargs make things easier to maintain. Also make sure the .handle_*() methods return two items (content,ctype) even when both are None. | ||||
* | Improved POST and error handling in `be serve` | W. Trevor King | 2010-01-01 | 1 | -22/+43 |
| | | | | | | | | | | | | | | POST handling: Drop the cgi.FieldStorage() in favor of the old urlparse.parse_qs(). We need a dictionary, which FieldStorage is not. However, I added .read_post_data() since my old self.rfile.read() was hanging. The read_post_data() implementation comes from the FieldStorage.__init__(). Error handling: wrap .handle_*() blocks in try/except to handle Storage errors |