<div dir="ltr">Hi Ian,<div><br></div><div>Review is to reopened!</div><div><br></div><div>I also use "Buzilla_token" as param for login request.</div><div>But use of "token" as param for attachement works.</div><div><br></div><div>Frédéric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 26, 2014 at 7:11 PM, Ian Wadham <span dir="ltr"><<a href="mailto:iandw.au@gmail.com" target="_blank">iandw.au@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="font-family:Verdana,Arial,Helvetica,Sans-Serif"><span class="">
<table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border:1px #c9c399 solid;border-radius:6px">
<tbody><tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/120376/" target="_blank">https://git.reviewboard.kde.org/r/120376/</a>
</td>
</tr>
</tbody></table>
<br>
</span><blockquote style="margin-left:1em;border-left:2px solid #d0d0d0;padding-left:10px"><span class="">
<p style="margin-top:0">On September 26th, 2014, 11:54 a.m. UTC, <b>Ian Wadham</b> wrote:</p>
<blockquote style="margin-left:1em;border-left:2px solid #d0d0d0;padding-left:10px">
<pre style="white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word"><p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Hi Frédéric,</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">As announced on KDE Core devel, in <a href="http://lists.kde.org/?l=kde-core-devel&m=141016488132293&w=2" target="_blank">http://lists.kde.org/?l=kde-core-devel&m=141016488132293&w=2</a> about 3 weeks ago, I also am working on Dr Konqi.</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">I am about to publish a general patch, which is aimed at the present problem posed by the change to tokens in Bugzilla <a href="https://bugs.kde.org/show_bug.cgi?id=337742" target="_blank">https://bugs.kde.org/show_bug.cgi?id=337742</a>, but also intends to avoid such problems in future and to be forward-portable to KF5. My approach is to check the version number of the Bugzilla software and to switch to whichever security method is appropriate for that version: cookies, tokens or passwords-only.</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Of course, my patch will implement tokens for the time being, but the idea is to switch automatically to passwords-only when the time comes, without any new release of KDE software being necessary. See <a href="http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService.html#LOGGING_IN" target="_blank">http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService.html#LOGGING_IN</a> in the documentation for Bugzilla 4.5.5 (the next version), as opposed to 4.4.5 (the current version). Bugzilla 4.5.5 allows tokens, but I believe they will be discontinued at some stage, though I cannot put my finger on where I have seen that discussion.</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">This should avoid users having to experience further bugs in Dr Konqi's connection to <a href="http://bugs.kde.org" target="_blank">bugs.kde.org</a>. My patch is also intended to be extendable, so that Dr Konqi can be updated and re-released, ahead of time, if any further feature change is announced by Bugzilla and could adversely affect Dr Konqi.</p></pre>
</blockquote>
</span><span class=""><p>On September 26th, 2014, 3:28 p.m. UTC, <b>Frédéric Sheedy</b> wrote:</p>
<blockquote style="margin-left:1em;border-left:2px solid #d0d0d0;padding-left:10px">
<pre style="white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word"><p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Great, good news! My patch was only a quick fix to what you are doing.</p></pre>
</blockquote>
</span></blockquote>
<pre style="white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word"><p style="padding:0;margin:0;line-height:inherit;white-space:inherit">I did not mean that you should drop what you are doing and discard this review and patch completely... :-) Instead, we should work together and each be aware of what the other is doing.</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Please revive your patch and this review.</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">From what I can tell, the patch (after review and shipping) will be good immediately and at least until the version after Bugzilla 4.5.x. Also, your patch has some improvements to the testing, which is important. And I think we need to get a fix into the closing versions of KDE 4 ASAP (next deadline Thursday, 9 October). My fixes will be more long-term and I am running short of days to work on them, due to other commitments, and anyway they may take a while to review... So please revive your review and patch, Frédéric.</p>
<p style="padding:0;margin:0;line-height:inherit;white-space:inherit">One immediate comment: I found that I could retrieve the token by using the tag "token", but I could not use "token" in the "args" map. I had to use "Bugzilla_token". I have no idea why that is. I am using an Apple OS X platform, but that should not make a difference to a web dialog.</p></pre>
<br>
<p>- Ian</p><span class="">
<br>
<p>On September 26th, 2014, 3:28 p.m. UTC, Frédéric Sheedy wrote:</p>
</span><table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border:1px #888a85 solid;border-radius:6px">
<tbody><tr>
<td><span class="">
<div>Review request for KDE Runtime.</div>
<div>By Frédéric Sheedy.</div>
</span><p style="color:grey"><i>Updated Sept. 26, 2014, 3:28 p.m.</i></p><span class="">
<div style="margin-top:1.5em">
<b style="color:#575012;font-size:10pt;margin-top:1.5em">Bugs: </b>
<a href="http://bugs.kde.org/show_bug.cgi?id=337742" target="_blank">337742</a>
</div>
<div style="margin-top:1.5em">
<b style="color:#575012;font-size:10pt">Repository: </b>
kde-runtime
</div>
<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border:1px solid #b8b5a0">
<tbody><tr>
<td>
<pre style="margin:0;padding:0;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word"><p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Bugzilla 4.4.5 now request token to create report.</p></pre>
</td>
</tr>
</tbody></table>
<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border:1px solid #b8b5a0">
<tbody><tr>
<td>
<pre style="margin:0;padding:0;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word"><p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Testing was done using crashtest program in drkonqui folder on <a href="https://bugstest.kde.org" target="_blank">https://bugstest.kde.org</a><br style="padding:0;margin:0;line-height:inherit;white-space:normal">
Create new bug report and add attachement works now.</p></pre>
</td>
</tr>
</tbody></table>
<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Diffs </h1>
<ul style="margin-left:3em;padding-left:0">
<li>drkonqi/bugzillalib.h <span style="color:grey">(570169b)</span></li>
<li>drkonqi/bugzillalib.cpp <span style="color:grey">(f74753c)</span></li>
<li>drkonqi/tests/bugzillalibtest/bugzillalibtest.cpp <span style="color:grey">(46c95b6)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/120376/diff/" style="margin-left:3em" target="_blank">View Diff</a></p>
</span></td>
</tr>
</tbody></table>
</div>
</div>
</blockquote></div><br></div>