Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Load bugs in be-handle-mail.Message.subscriber_emails(). | W. Trevor King | 2009-09-26 | 1 | -0/+2 |
| | | | | | Because subscribe.get_bugdir_subscribers() only looks for subscribers in bugs that are already in memory. | ||||
* | Fix agressive be-handle-mail.Message._strip_footer(). | W. Trevor King | 2009-09-26 | 1 | -0/+1 |
| | | | | | | It had been eating the last line of the message (which wasn't a problem when I had a blank line before the footer, but was when I had neither footer nor trailing blank line). | ||||
* | Prefix cache attributes in be-handle-mail with underscore (_). | W. Trevor King | 2009-09-26 | 1 | -5/+5 |
| | | | | | To conform with Python convention for "hiding" class attributes only intended for internal use. | ||||
* | Fixed invalid TAG error in becommands.subscribe.get_subscribers() | W. Trevor King | 2009-09-26 | 1 | -0/+2 |
| | | | | | Check that the string has the right tag before attempting to parse it :p. | ||||
* | Added -a and -l options to be subscribe. | W. Trevor King | 2009-09-26 | 1 | -11/+29 |
| | | | | | It's useful to have some way to see the current subscription status from the command line ;). | ||||
* | Added normalize_RFC_2822_date() to be-mbox-to-xml. | W. Trevor King | 2009-09-23 | 1 | -3/+21 |
| | | | | | | | | | | The if new_fields[u'date'] != None: bit avoids attemting to normalize missing dates (which fails). You get messages with missing dates when comment_message_to_xml() is called recursively for multipart messages. Also fixed some unicode keys (['X'] -> [u'X']) for consistency. | ||||
* | Added normalize_email_address() to be-mbox-to-xml | W. Trevor King | 2009-09-23 | 1 | -1/+4 |
| | |||||
* | Fixed mutliple in-reply-to splitting in be-mbox-to-xml | W. Trevor King | 2009-09-23 | 1 | -1/+3 |
| | |||||
* | Fixed bugdir name collision in cmdutil.bug_from_shortname() | W. Trevor King | 2009-09-23 | 1 | -2/+2 |
| | |||||
* | Use Bug.active to decide active status in becommands/html.py | W. Trevor King | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | Convert incoming text/* email payloads to unicode in be-handle-mail. | W. Trevor King | 2009-09-23 | 2 | -10/+9 |
| | | | | | | | | | | | | | | | Switched from cStringIO to StringIO in be-handle-mail because: (from http://docs.python.org/library/stringio.html) "Unlike the memory files implemented by the StringIO module, those provided by this [cStringIO] module are not able to accept Unicode strings that cannot be encoded as plain ASCII strings." I'm not sure what all the fuss with sys.__stdin__ had been about in Command.run(), but I took it out and everything still seems to work ;). Also fix Makefail (again!) to install under $HOME by default. | ||||
* | os.path.isdir() -> .exists() for check for "comments" file. | W. Trevor King | 2009-09-21 | 1 | -1/+1 |
| | | | | | | | | | "comments" should always be a directory if it exists, but if it is something else, be should fail rather than return an empty comment list. This fix was inspired by some browsing around in response to Thomas Habets' version of a fix for missing "bugs" directory. | ||||
* | Include stdout in CommandError. | W. Trevor King | 2009-09-19 | 3 | -8/+9 |
| | |||||
* | Fixed email.Parser typo in send_pgp_mime.py imports for Python 2.4. | W. Trevor King | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | Added `be --verbose-version' option to print full version information. | W. Trevor King | 2009-09-15 | 1 | -2/+4 |
| | |||||
* | Added libbe.version, wrapping the auto-generated libbe._version. | W. Trevor King | 2009-09-15 | 2 | -2/+52 |
| | | | | | | | | | | | | | | | | Two major benefits: 1) Programatic access to the BE version. Previously the version-string logic was internal to the commandline interface ./be, which left the other interfaces hanging. 2) Simple to override auto-generated revision id version with any string you like (by setting libbe.version._VERSION, if that's the way you want to run things or the way your packaging system requires. Note that other modules should never read libbe.version._VERSION, since it may not be defined. Instead they should use the output of libbe.version.version(). | ||||
* | Fixed a few typos in be-handle-mail | W. Trevor King | 2009-09-13 | 1 | -4/+4 |
| | |||||
* | Mention commit message in interactive email README subject explaination. | W. Trevor King | 2009-09-13 | 1 | -2/+2 |
| | |||||
* | Explicitly set encoding to UTF-8. | W. Trevor King | 2009-09-13 | 1 | -0/+3 |
| | | | | | Because otherwise we run into problems when running be from inside cron jobs. | ||||
* | Typo EncryptedMessageFactory -> PGPMimeMessageFactory in send-pgp-mime.py | W. Trevor King | 2009-09-11 | 1 | -2/+2 |
| | | | | | | I changed the class name in commit wking@drexel.edu-20090718201613-n242qfl4s3j3kfjf but missed two references. | ||||
* | Added docstrings to libbe submodules. | W. Trevor King | 2009-08-31 | 21 | -32/+126 |
| | | | | Also a few minor tweaks to the module imports. | ||||
* | BugDir.duplicate_bugdir() fix for when parent bugdir's sync_with_disk == False. | W. Trevor King | 2009-08-31 | 1 | -2/+8 |
| | |||||
* | RCS -> VCS, BUGDIR_DISK_VERSION -> v1.2 | W. Trevor King | 2009-08-31 | 21 | -494/+510 |
| | |||||
* | Merged be.on-disk-upgrade, which added libbe.upgrade | W. Trevor King | 2009-08-31 | 187 | -1217/+806 |
|\ | |||||
| * | Use 'v#.#' for major/minor version in upgrade.BUGDIR_DISK_VERSIONS | W. Trevor King | 2009-08-31 | 2 | -2/+2 |
| | | |||||
| * | Upgrade duplicate bugdirs if necessary (e.g. for `be diff'). | W. Trevor King | 2009-08-31 | 3 | -20/+49 |
| | | | | | | | | | | Also moved pre-YAML mapfile handling in mapfile.parse() into upgrade.Upgrade_1_0_to_2._upgrade_mapfile(). | ||||
| * | Added libbe/upgrade.py to handle upgrading on-disk bugdirs. | W. Trevor King | 2009-08-31 | 177 | -1164/+702 |
| | | |||||
| * | Made get_path() definitions consistent between bugdirs, bugs, and comments. | W. Trevor King | 2009-08-31 | 4 | -15/+32 |
| | | |||||
| * | Bug 22b (target-bugs) blocked by 519 (on-disk upgrade) and assigned to Trevor | W. Trevor King | 2009-08-31 | 8 | -19/+24 |
|/ | |||||
* | VCS vs. RCS terminology blocked by on-disk upgrade path. | W. Trevor King | 2009-08-31 | 2 | -0/+8 |
| | |||||
* | Added comment 22b:7 about representing targets with Bug() instances. | W. Trevor King | 2009-08-31 | 2 | -0/+67 |
| | |||||
* | Broke up be-handle-mail.parse() into parse_new(), _comment(), and _control(). | W. Trevor King | 2009-08-16 | 1 | -57/+75 |
| | | | | Also fleshed out the be-handle-mail docstring. | ||||
* | Added on-disk representation upgrade bug | W. Trevor King | 2009-08-16 | 3 | -0/+41 |
| | |||||
* | Handle BugDir.list_uuids() in the case of missing ".be/bugs/". | W. Trevor King | 2009-08-11 | 1 | -4/+5 |
| | | | | | | | | | | Previously: $ be init $ be list ... File ".../libbe/bugdir.py", line 537, in list_uuids for uuid in os.listdir(self.get_path("bugs")): OSError: [Errno 2] No such file or directory: '.../.be/bugs' | ||||
* | "be html" fixes bug 2f0 | W. Trevor King | 2009-08-08 | 1 | -1/+1 |
| | |||||
* | Oops, update comment.From->author and .time_string->.date in becommands/html.py | W. Trevor King | 2009-08-08 | 1 | -2/+2 |
| | |||||
* | Updated AUTHORS and copyright info for becommands/html.py. | W. Trevor King | 2009-08-07 | 2 | -19/+23 |
| | | | | | | | | | Also adjusted update_copyright.sh to ignore Gianluca's temporary use of gianluca <gian@galactica> since he's now using Gianluca Montecchi <gian@grys.it> on becommands/html.py. | ||||
* | Merged Gianluca's html output branch. | W. Trevor King | 2009-08-07 | 10 | -0/+716 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Changes to merge with my branch: * Added some reference to "be html" or "becommands/html.py" in his new bugs' summaries. Bug titles should make clear to which aspect of our growing repository they refer. * Fixed unittests in becommands/html.py. * execute() kwarg "test"->!"manipulate_encodings * bugdir.simple_bug_dir() -> bugdir.SimpleBugDir() * bd.cleanup() at end of unittests | ||||
| * | Sort bugs in HTML output. | W. Trevor King | 2009-08-07 | 1 | -1/+1 |
| | | |||||
| * | XHTML attribute values should be strings, and cellspacing not allowed in tr. | W. Trevor King | 2009-08-07 | 1 | -8/+8 |
| | | |||||
| * | Escape HTML entities (e.g. & and @) in HTML output | W. Trevor King | 2009-08-07 | 1 | -25/+33 |
| | | |||||
| * | XHTML tags must be closed (e.g. <br />, not <br>) | W. Trevor King | 2009-08-07 | 1 | -2/+2 |
| | | |||||
| * | XHTML attribute values should be strings. | W. Trevor King | 2009-08-07 | 1 | -1/+1 |
| | | |||||
| * | Protect bug html from libbe.settings_object.EMPTY | W. Trevor King | 2009-08-07 | 1 | -8/+12 |
| | | |||||
| * | Added DOCTYPE to detail html as well | W. Trevor King | 2009-08-07 | 1 | -0/+2 |
| | | |||||
| * | Respect bugdir's encoding in html generation | W. Trevor King | 2009-08-07 | 1 | -7/+7 |
| | | |||||
| * | Added DOCTYPE and post-</div> endlines | W. Trevor King | 2009-08-07 | 1 | -2/+4 |
| | | |||||
| * | Improved threaded comment handling. | W. Trevor King | 2009-08-07 | 1 | -43/+31 |
| | | | | | | | | | | | | | | | | | | The previous method only grabbed first line of a comment. The new approach replaces the messy Comment->string->parse->html with Comment->html. Also replaced all open()s with codecs.open to allow for non-ASCII output. Alphabetized the non libbe imports while I was adding codecs. | ||||
| * | Adjusted help/doc strings in becommands/html.py | W. Trevor King | 2009-08-07 | 1 | -3/+4 |
| | | |||||
| * | - closed bugs f77, 2b8 d8d | Gianluca Montecchi | 2009-08-04 | 7 | -64/+98 |
| | | | | | | | | - some changes to the css and to the html layout |