I’ve been a bit frustrated at how often I switch from my e-mail client to my browser when I’m reading bugmail to reply to some comment. Then I saw Gerv’s Bugzilla REST API, and I decided it was time to write an add-on.
Without further ado, I present the add-on. Feel free to give me feedback by leaving a comment on this post.
17 replies on “Bugzilla Helper Add-on”
Could/Would it work with SeaMonkey 2.0 as well?
Probably. I’d accept patches. The source code is at http://hg.mozilla.org/users/sdwilsh_shawnwilsher.com/bugzilla-helper/.
Hum. So what exactly does it do?
…er, ignore that! I was trying the Reply functionality on a change without a comment, silly me.
This add-on intrigues me and is likely to make me motivated enough to add things I wish I could do from Thunderbird (CC to bugs, for example). Expect patches soon for various things (like perhaps the Reply bug above).
Yeah, known issue. It’s a very crude add-on now, but it will be getting better in time!
http://whereswalden.com/files/temp/reply-not-comment.diff to fix the bug where replying to a non-comment does nothing
http://whereswalden.com/files/temp/private-comment.diff to style the private-comment interface the same way Bugzilla does
http://whereswalden.com/files/temp/spelling.diff to fix a spelling error
Cool ! This is someting I was planning to add to the Bugmail add-on (https://addons.mozilla.org/ed/thunderbird/addon/9584). Maybe we could merge ?
[edit: fixed link to point to en site since readers here speak English. -sdwilsh]
@Waldo
You have hg access – go ahead and land those. Thanks!
@Fabrice
I had thought about it, but your add-on is more generic and supports all Bugzilla installs, and Trac, and another one I think. The REST API is only available for bugzilla.mozilla.org, so I’m not sure it’s a good fit with your add-on. FWIW, I use your add-on too!
Hmm, I pulled the repo, just added SeaMonkey as compatible app in the install.rdf and everything works, I just get a message back on replying that complains about an empty response from the server, is that normal?
And also, is it normal that it requests my login and password on _every single_ reply?
@Kairo
It will save your password if it gets the expected response (201), but it won’t if it gets any other. Sounds like gerv’s API is misbehaving because you shouldn’t be getting an empty response.
Shawn:
OK, sounds like the problem is not with a SeaMonkey incompatibility then – I wonder if it might get confused as I’m already logged into bugzilla in the same suite session.
So the compat patch is just this one: http://pastebin.mozilla.org/678828 :)
WIN! Fixes landed, more to come I hope.
@Kairo
Land that in the repo. I’ll probably upload a new version Monday with yours and Waldo’s fixes.
Shawn, thanks, landed this patch!
Your changes have been pushed out to AMO in version 0.1.2. Thanks guys!
[…] just uploaded Bugzilla Helper 0.2.0. This improves on the last release by making making the submission of comments an asynchronous operation. It also uses the activity […]