Commit Graph

454 Commits

Author SHA1 Message Date
varga@nixcorp.com
a8e80198d3 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
bryner@brianryner.com
0923b03864 Reapply fix for handling non-ASCII characters in signon file that was lost when migration branch landed. Bug 218405, fix originally r=darin sr=bz 2004-03-17 09:15:55 +00:00
ben@bengoodger.com
e6eb7bcbda 215094 - add new profile migrator interface, adapt password manager to support api for adding signons with details (235360) 2004-03-03 07:51:09 +00:00
bryner@brianryner.com
83969267c2 Guard against empty signon entry confusion by refusing to add new entries with empty user and empty password, fixing removal of these entries, and attempting to discard these entries as they are read in. Bug 231042. 2004-02-18 00:56:29 +00:00
bryner@brianryner.com
d8b8082bfb Null-check the document to protect against blur events generated during document teardown. Bug 225889. 2004-02-16 22:58:20 +00:00
ben@bengoodger.com
337a035d3a Migration Branch landing, currently turned off! 2004-02-15 01:49:37 +00:00
jst@mozilla.jstenback.com
601f5c94fc Fixing FireFox bustage. 2004-02-11 08:43:32 +00:00
bryner@brianryner.com
f7ceb82e7c Bug 228270 - Fix problem where UTF8 sequences in the password file were being re-encoded as UTF8 (as if from UTF16) when the password file is read in. r=darin, sr=bzbarsky 2004-01-18 23:51:27 +00:00
bryner@brianryner.com
6cc0e2b3c5 If encrypting the password fails (such as the user cancelling the master password prompt), then don't store the password entry. 2004-01-17 07:10:07 +00:00
jst@mozilla.jstenback.com
9b220b0529 Fixing build bustage. 2004-01-10 03:21:35 +00:00
bryner@brianryner.com
f925f6be7f Don't bother offering to remember a login with an empty username and password. Bug 217439. 2003-12-15 03:44:31 +00:00
bryner@brianryner.com
85c42d0e8a Create password file with mode 0600 per bug 227100. 2003-12-12 10:04:08 +00:00
bryner@brianryner.com
2a54b0c2c7 Fix bug 218927 - check the 'remember' check box initially if the password was already stored, and prevent duplicate entries from being created when using auth dialogs. 2003-12-11 05:47:28 +00:00
dbaron@dbaron.org
594c8f9eac Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
scott@scott-macgregor.org
1e3549d695 Bug #224514 --> automate locale version based on milestone.txt for mozilla/toolkit. 2003-11-04 03:51:25 +00:00
bryner@brianryner.com
1c9c9d46b9 Persist size/position and column widths for password manager dialog. Bug 217147, patch by steffen.wilberg@web.de, r=me 2003-10-22 19:05:05 +00:00
bryner@brianryner.com
1f9609e30b deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
bryner@brianryner.com
255cb25484 port fix to sort strings case-insensitively, bug 220067 2003-10-15 20:57:18 +00:00
bryner@brianryner.com
2a0b8aa1c2 Check return results from DecryptData so that we don't bring up the master password dialog again if the user cancelled it the first time. Bug 220214. 2003-09-25 04:54:22 +00:00
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