bryner@brianryner.com
b9a84d8e83
Use the default value supplied to prompt() if no stored value was found. (bug 216324)
2003-09-08 03:17:42 +00:00
bryner@brianryner.com
0a62b3172d
Remove inadvertent DOS lineendings (bug 218248)
2003-09-04 03:02:33 +00:00
bryner@brianryner.com
c9051a5250
bug 217954/216395 - we need to assign to |userField| regardless of whether there is a value, so we don't crash later when trying to attach autocomplete to the field.
2003-09-01 21:11:30 +00:00
bryner@brianryner.com
c91ed129ad
If the username or password field is pre-populated using the value attribute, then don't prefill either one. Also, remove ^M characters that should not be here.
2003-08-31 03:34:31 +00:00
bryner@brianryner.com
8809e32299
Protect again recursing into DecryptData during autocompletion (due to opening the master password dialog and blurring the username input field).
2003-08-30 05:06:30 +00:00
blakeross@telocity.com
f0f7034bbd
Undo versioning changes for now. Gotta think it through.
2003-08-28 05:56:32 +00:00
blakeross@telocity.com
f3ce25eb8f
fb0.7 -> tk0.1 in toolkit.
2003-08-28 05:29:48 +00:00
bryner@brianryner.com
2a75010fda
If the user has not set a master password and wants to use password manager, initialize the master password to an empty string. (bug 217409)
2003-08-28 05:22:23 +00:00
blakeross@telocity.com
5e3cdc3440
217410 - Change skin/locale versions to fb0.7.
2003-08-28 02:16:27 +00:00
bryner@brianryner.com
d7ac1cf009
Actually add the site to the reject list if the user said "Never for this site." Bug 216542.
2003-08-27 00:34:09 +00:00
bryner@brianryner.com
a518e9cd7e
Make the password manager hold onto the pref branch so that the observers we register with it don't go away. Bug 216219.
2003-08-18 06:09:52 +00:00
ben@bengoodger.com
7f271f27ff
Fix for bug 216474 - Browser crashes in password manager. Ensure that we don't crash or overwrite variables used to hold valid password data fields with null. r=bryner
2003-08-17 21:06:36 +00:00
bryner@brianryner.com
03bd534057
Don't prompt to save passwords, or prefill passwords, if saving passwords is disabled (bug 216219).
2003-08-17 05:52:17 +00:00
bryner@brianryner.com
2ad4df8435
Address a couple of potential security problems by ensuring that usernames and passwords that are part of a URL are not included in the realm; don't do any signon storing or prefilling if the URI does not support hostnames.
2003-08-12 03:43:46 +00:00
bryner@brianryner.com
8eaf7fc435
Fix crash if the password field is the first field in a form.
2003-08-09 20:38:09 +00:00
bryner@brianryner.com
284435f70b
Make this loop more correct - voidarray counts are PRInt32.
2003-08-09 03:48:34 +00:00
bryner@brianryner.com
41b3292e78
Make removal of stored logins play nicer with the tree widget. Do a (batched) notification of the treeBoxObject that the row count is changing when deleting one or more stored logins. Also do a rowCountChanged notification when removing all stored logins.
2003-08-08 09:42:24 +00:00
bryner@brianryner.com
4ab3a43afb
Fix a compiler warning
2003-08-08 09:28:13 +00:00
bryner@brianryner.com
0b120c6647
For a username/password prompt, allow saving of the password even if the username is blank.
2003-08-06 08:29:38 +00:00
bryner@brianryner.com
3a6c065e74
Split out nsSingleSignonPrompt into its own source file.
2003-08-05 05:40:14 +00:00
bryner@brianryner.com
c0d915761f
- Make the password manager control the autocomplete results for username fields, so that the list exactly matches the stored logins.
...
- Fix major problem where prompts weren't returning the field text.
- Only show the save checkbox in prompts if SAVE_PASSWORD_PERMANENTLY is given
- Only allow prompts to autocomplete if a password realm is given
2003-08-05 03:26:31 +00:00
bryner@brianryner.com
c6e7da2147
- Add DOMAutoComplete event, fired on a form input element when the user
...
selects a completion from the popup.
- Listen for DOMAutoComplete and Blur events instead of Change events to
trigger prefilling the password field.
- Fix an off-by-one error in the multi-user password change confirmation
(the stored password was being changed for the wrong entry).
- Fix skipping multiple logins when reading the signon file.
- Add missing license for Makefile.in.
2003-08-04 00:57:26 +00:00
bryner@brianryner.com
38c542a89c
Lots of changes and bugfixes:
...
- Enable multiple username support by listening to change events for the username field when there is more than one stored login for the form.
- Make the signon hashtable store a SignonHashEntry, which has a pointer to the first SignonDataEntry. This lets us adjust the head of the linked list without a hashtable operation, and also fixes a case where we would continue using a deleted entry, leading to a crash.
- Change FindPasswordEntryFromSignonData to FnidPasswordEntryInternal, and refactor it a bit.
- Clean up prefill logic so that multiple forms on a page could be prefilled.
- Fix bug where the last input was used as the username field, instead of the input just before the password.
- Make sure we write out all entries for each realm.
- Make sure we include all entries in each realm when returning an enumerator.
- Remove some form manager cruft I missed in passwordManager.js.
2003-08-03 04:50:09 +00:00
bryner@brianryner.com
853d1a970d
Lazily decrypt username/password in nsIPassword objects so that requesting an enumerator doesn't immediately prompt for the master password.
2003-08-02 07:13:39 +00:00
bryner@brianryner.com
3c15e42aa8
Don't use the username as the password when creating a stored login.
2003-08-02 05:24:34 +00:00
bryner@brianryner.com
727167270b
Add some missing localized strings
2003-08-01 20:43:24 +00:00
bryner@brianryner.com
e361a10d1a
Fix stdcall bustage on windows
2003-08-01 20:41:41 +00:00
bryner@brianryner.com
df664024bd
- Keep the user and password values encrypted in memory so that we can defer decryption (and prompting for the master password) until we need to prefill or the user brings up the manager.
...
- Add a comment about the randomness in secret decoder ring encryption.
2003-07-31 00:17:26 +00:00
bryner@brianryner.com
69156ff565
If the user has already stored a login and enters the same username but a different password, don't prompt again, just update the stored password. (also fixes a bug where this caused two copies of the login to be stored)
2003-07-30 06:50:28 +00:00
bryner@brianryner.com
8c3b50a485
- Rename 'satchel' variables since this isn't part of satchel
...
- Make ~SignonDataEntry() delete the next entry in the list
- Fix some bustage from nsIFormSubmitObserver API changes
- Handle password change situations (2 or 3 password fields in a form)
- Make the signon file be written out when a reject list entry is added
- Fix the situation where RemoveUser() is called for the first of multiple stored logons for a host
2003-07-30 03:38:53 +00:00
bzbarsky@mit.edu
abfa74dde0
More GetDocument bustage
2003-07-29 05:48:30 +00:00
bryner@brianryner.com
60bee5b243
Adapt wallet's password manager UI (removing the form manager bits). Split into content and locale directories and add contents.rdf files for passwordmgr chrome package.
2003-07-28 06:06:10 +00:00
bryner@brianryner.com
f35f26e02a
Fixing windows build - need to use a constructor for initializing reference-type members.
2003-07-27 21:21:45 +00:00
bryner@brianryner.com
3cf3ac4726
passwordmgr.properties, not satchel.properties
2003-07-27 07:06:49 +00:00
bryner@brianryner.com
dcd157b5bd
Initial add of new (work-in-progress) password manager implementation. Not part of the build.
2003-07-27 07:05:27 +00:00