aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-profile-migration.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove path when normalizing urls for keyring queryDiego Escalante Urrelo2010-03-251-0/+2
| | | | | | | | This means we store/retrieve "http://www.gnome.org/" instead of "http://www.gnome.org/login/". User+passwords are site-wide as long as the form elements match. This also makes migrated gecko passwords work. Bug #613065
* migration: be more strict with checks when storingDiego Escalante Urrelo2010-03-161-2/+7
| | | | | | | Make sure we don't confuse form passwords with HTTP auth passwords. And also check that username is not empty (at least that). Sometimes decryption fails (not even nss tools work) and we get empty usernames. As you can see, we are assuming here that usernames are always mandatory but passwords might not be.
* migration: fix leading * in password field nameDiego Escalante Urrelo2010-03-101-2/+3
| | | | | | | | Password form fields are marked with a *, but this * was not removed when storing the field name so this led to all the passwords field names to be migrated with the leading *. Bug #608687
* ephy-profile-migration: remove useless return valueDiego Escalante Urrelo2010-03-101-9/+7
| | | | _ephy_profile_query_form_auth_data is async, doesn't return anything.
* migration: don't store a trailing ) in realmDiego Escalante Urrelo2010-03-101-1/+1
| | | | | | Realms where exported as "realm)" because of a missing -1. Bug #608687
* Add sanity checks for places where we create SoupURIsGustavo Noronha Silva2009-12-201-0/+8
| | | | | SoupURI creation may fail for invalid URIs, and we would crash trying to work with the NULL pointers.
* Add a new utility function to query the keyring for the form passwordGustavo Noronha Silva2009-12-151-33/+86
| | | | | This is used to make all policy regarding what and how we save data be in one place.
* ephy-embed-single: cache form auth dataXan Lopez2009-12-151-3/+0
| | | | | Otherwise we need to query keyring all the time to figure out if we have to prefill forms.
* ephy-profile-migration: migrate form auth data from (copied) gecko profileXan Lopez2009-12-151-7/+119
| | | | | We store the login/password pairs used in forms in the keyring, like the HTTP auth data.
* Move profile migration tools from src/ to lib/Xan Lopez2009-12-151-0/+410
We'll use them from embed/ for form password saving, and embed/ can't use code from src/