Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/viewtoolbar.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-04-19 17:01:16 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-04-19 17:01:16 (GMT)
commitf6dd764abd7c160e6188757b8e61cd01062a92c6 (patch)
tree9a6514ffb2d071a995a3c105e2edb60c0f6a9691 /viewtoolbar.py
parent939876417d331924082f0a0c431c73f4c2736ff0 (diff)
Store web session cookies in SQlite database, for SL #3456
There was code in Browse to create a SQlite database under data directory in the activity profile. This was for creating a cookie to authenticate the laptop with a schoolserver. Now we use the same database via the Soup library to store all cookies so they are persistent between sessions. A Soup cookie jar is being attached to the WebKit session, cookies are stored in a Mozilla compatible SQLite format. The schoolserver function has been changed to use the Soup API. The code is based in Epiphany, embed/ephy-embed-single.c . ------ v1->v2: let Soup take care of database creation, use Soup API in schoolserver cookie seed function v2->v3: use proper constructors for PyGI instead of new() Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Daniel Drake <dsd@laptop.org>
Diffstat (limited to 'viewtoolbar.py')
0 files changed, 0 insertions, 0 deletions