Re: Authenticating on Web Sites




It almost works kind of. I will probbably finish the implementation tomorrow. This brings us lots of cool benefits like a better user experience, and more robustness when login is required over the DBus interface. Please try out TestWebSync and let me know how you get on

Ok it seems to be working, and quite reliably (using gtkmozembed). Can people please test this because I would like to ship it with the release candidate this weekend. It is required/needed for the Facebook uploader.

Outstanding issues
1) gtkmozembed crashes. Im pretty sure theses are not thread related, im pretty careful about only doing gut stuff on the main thread. I think the crashes could either be due to
a) the browser object getting garbage collected before it is finished
b) data getting rendered before the widget is realized (see [1]
2) I would like to get the gtkhtml widget working, even if it looks like c#$p. I need to do some work here to ensure that new url requests get send back to the browser object
3) Currently to signal that you have logged in you must close the tab (or the window). I would like to add some url/regex based method to detect when the user gets redirected to the login+1 page
4) I want to make the login window transient to the main window (i think). This means a global ref to the main UI is needed. Im not sure how to do this cleanly, i might just put the UI object into conduit.GLOBALS
5) Autofoo is needed to ship the fugly fix-firefox.sh script on Ubuntu. I propose renaming start_conduit.py -> conduit.real and fix-firefox.sh -> conduit. Then fix-firefox.sh just executes conduit.real

John

p.s. anyone with a working webkit/pywebit, please try this out as I have not tested this particular bit at all

[1] http://svn.mugshot.org/online-desktop/trunk/widgets/mozembed_wrap.py

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]