--bcaec53f920b245f3204a13d9e54 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Would you be able to create a new request in git.reviewboard.kde.org for this so that it won't fall through the cracks ? Perhaps there is still a chance for this making the KDE 4.7 release. The only reservation I have is the ability to unit test things when cookies are stored in the kwallet. Hav= e you been able to run the extensive kcookiejar unit tests under such a setup ? Also you would need to split the GUI configuration from the non-gui portion if you plan to resubmit into the new reviewboard. Anyhow, I would be willin= g to give it a try and review it again if you are inclined to do so... 2011/1/21 Jos=C3=A9 Mill=C3=A1n Soto > This is an automatically generated e-mail. To reply, visit: > http://svn.reviewboard.kde.org/r/4927/ > Review request for kdelibs. > By Jos=C3=A9 Mill=C3=A1n Soto. > > *Updated Jan. 21, 2011, 5:37 p.m.* > Changes > > New version of the patch. > Instead of using QEventLoop, delayed DBus messages are used. > > Description > > Currently cookies are stored in a plain text file. This patch allows KCoo= kieJar to store the cookies securely using KWallet. > > The main problem I had writing this patch was that when a web page is req= uested, KIO ask for the cookies to kded using dbus. In the first implementa= tions that I wrote, if the user took too long to open the wallet, KIO recei= ved a dbus timeout. > > To prevent this, if it takes more than 10 seconds to open the wallet, the= web page will be requested without sending the cookies (or sending the ava= ilable cookies if there's still the plain text cookie file). If the wallet = is opened after that, the cookies stored in the wallet will be available si= nce then. > > Because of this, the feature is disabled by default. > > Diffs (updated) > > - /trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiespolicies.cpp > (1215885) > - /trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiespoliciesdlg.u= i > (1215885) > - /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookiejar.h (1215938) > - /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookiejar.cpp (1215938) > - /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.h (1215938= ) > - /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.cpp > (1215938) > > View Diff > --bcaec53f920b245f3204a13d9e54 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Would you be able to create a new request in git.reviewboard.kde.org for this so that it won't fall= through the cracks ? Perhaps there is still a chance for this making the K= DE 4.7 release. The only reservation I have is the ability to unit test thi= ngs when cookies are stored in the kwallet. Have you been able to run the e= xtensive kcookiejar unit tests under such a setup ?=C2=A0

Also you would need to split the GUI configuration from the = non-gui portion if you plan to resubmit into the new reviewboard. Anyhow, I= would be willing to give it a try and review it again if you are inclined = to do so...

2011/1/21 Jos=C3=A9 Mill=C3=A1n Soto <fid@gpul.org><= br>
This is an automatically generated e-mail. To reply, visit: = http://svn.reviewboard.kde.org/r/4927/

Review request for kdelibs.
By Jos=C3=A9 Mill=C3=A1n Soto.

Updated Jan. 21, 2011, 5:37 p.m.

Changes

New version of the patch.
Instead of using QEventLoop, delayed DBus messages are used.

Description
Currently cookies are stored in a plain text file. This patch allows KCook=
ieJar to store the cookies securely using KWallet.

The main problem I had writing this patch was that when a web page is reque=
sted, KIO ask for the cookies to kded using dbus. In the first implementati=
ons that I wrote, if the user took too long to open the wallet, KIO receive=
d a dbus timeout.

To prevent this, if it takes more than 10 seconds to open the wallet, the w=
eb page will be requested without sending the cookies (or sending the avail=
able cookies if there's still the plain text cookie file). If the walle=
t is opened after that, the cookies stored in the wallet will be available =
since then.

Because of this, the feature is disabled by default.

Diffs (updated)=

  • /trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiespolicies.cpp (1215885)
  • /trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiespoliciesdlg.ui = (1215885)
  • /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookiejar.h (1215938)
  • /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookiejar.cpp (1215938)
  • /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.h (1215938)
  • /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.cpp (1215938)

View Diff


--bcaec53f920b245f3204a13d9e54--