115 Commits

Author SHA1 Message Date
bryner%brianryner.com
6b4c4493e0 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.
git-svn-id: svn://10.0.0.236/trunk@146479 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-31 03:34:31 +00:00
bryner%brianryner.com
03a45d8fe9 Protect again recursing into DecryptData during autocompletion (due to opening the master password dialog and blurring the username input field).
git-svn-id: svn://10.0.0.236/trunk@146462 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-30 05:06:30 +00:00
blakeross%telocity.com
5389011d36 Undo versioning changes for now. Gotta think it through.
git-svn-id: svn://10.0.0.236/trunk@146410 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 05:56:32 +00:00
blakeross%telocity.com
1e18e2ac78 fb0.7 -> tk0.1 in toolkit.
git-svn-id: svn://10.0.0.236/trunk@146409 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 05:29:48 +00:00
bryner%brianryner.com
70ce18d57a 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)
git-svn-id: svn://10.0.0.236/trunk@146408 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 05:22:23 +00:00
blakeross%telocity.com
3fd343006a 217410 - Change skin/locale versions to fb0.7.
git-svn-id: svn://10.0.0.236/trunk@146404 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 02:16:27 +00:00
noririty%jcom.home.ne.jp
88c7bdb617 Fix 217445 - fixing contextmenu bustage in Page Source
git-svn-id: svn://10.0.0.236/trunk@146385 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 14:48:51 +00:00
bryner%brianryner.com
ab01a6727a Actually add the site to the reject list if the user said "Never for this site." Bug 216542.
git-svn-id: svn://10.0.0.236/trunk@146363 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 00:34:09 +00:00
chanial%noos.fr
7ea3e3e2ee fixing printing bustage
git-svn-id: svn://10.0.0.236/trunk@146179 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-19 04:01:11 +00:00
bryner%brianryner.com
74b9d50d5e Make the password manager hold onto the pref branch so that the observers we register with it don't go away. Bug 216219.
git-svn-id: svn://10.0.0.236/trunk@146155 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-18 06:09:52 +00:00
ben%bengoodger.com
d92ce84202 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
git-svn-id: svn://10.0.0.236/trunk@146147 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 21:06:36 +00:00
chanial%noos.fr
1f11a84028 port textbox fix for bug 197486:
callback method in textbox is no more, use oncommand instead for the same functionality.


git-svn-id: svn://10.0.0.236/trunk@146131 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 11:17:00 +00:00
bryner%brianryner.com
05d8de869e Don't prompt to save passwords, or prefill passwords, if saving passwords is disabled (bug 216219).
git-svn-id: svn://10.0.0.236/trunk@146113 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 05:52:17 +00:00
chanial%noos.fr
ebd67324bc remove duplicated config.xul file and update the one in components/viewconfig
git-svn-id: svn://10.0.0.236/trunk@146085 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 14:11:05 +00:00
chanial%noos.fr
86201247a9 bug 213228: new toolkit independence bug, part 5.
fork printing front end.
#ifdef XP_UNIX printjoboption.js and printjoboption.xul
remove communicator dependency (dialogs.css)


git-svn-id: svn://10.0.0.236/trunk@146083 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 11:39:10 +00:00
chanial%noos.fr
be6f69993b bug 213228: new toolkit independence bug, part 4.
fork tree based configuration/pref viewer
style config.css
(not part of seamonkey)


git-svn-id: svn://10.0.0.236/trunk@146082 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 11:22:16 +00:00
bryner%brianryner.com
af92b9ffc8 Enable new password manager for Firebird.
git-svn-id: svn://10.0.0.236/trunk@145899 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 05:22:10 +00:00
bryner%brianryner.com
91a57e9634 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.
git-svn-id: svn://10.0.0.236/trunk@145891 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 03:43:46 +00:00
bryner%brianryner.com
183a2f5de7 Fix sorting of history when Group by Date is selected (bug 215384). Get rid of the hidden columns in the history tree and instead dynamically change the sort attribute on the visible column. Implement a DayFolderIndex property for the date folders which gives an index (0-7) to sort on, rather than sorting them alphabetically. r=ben.
git-svn-id: svn://10.0.0.236/trunk@145832 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-10 04:42:17 +00:00
bryner%brianryner.com
10fcafb2d7 Fix crash if the password field is the first field in a form.
git-svn-id: svn://10.0.0.236/trunk@145824 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 20:38:09 +00:00
bryner%brianryner.com
56d3d16238 Improve support for autocomplete=off (bug 178597). Check for autocomplete=off on the form element as well as the input, and use case-insensitive string compare.
git-svn-id: svn://10.0.0.236/trunk@145808 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 10:15:31 +00:00
bryner%brianryner.com
e95c2d418e Convert nsIAutoCompleteResultTypes.h to an IDL file, which makes QI'ing to those interfaces work as expected.
git-svn-id: svn://10.0.0.236/trunk@145807 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 10:08:00 +00:00
bryner%brianryner.com
69efaa3bdd Make this loop more correct - voidarray counts are PRInt32.
git-svn-id: svn://10.0.0.236/trunk@145788 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 03:48:34 +00:00
bryner%brianryner.com
0632964b65 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.
git-svn-id: svn://10.0.0.236/trunk@145740 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 09:42:24 +00:00
bryner%brianryner.com
366be79e73 Fix a compiler warning
git-svn-id: svn://10.0.0.236/trunk@145736 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 09:28:13 +00:00
dean_tessman%hotmail.com
8bcb312ca7 203754 - Bug in select code in Auto-Complete component
patch eric@5stops.com


git-svn-id: svn://10.0.0.236/trunk@145722 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 02:38:24 +00:00
bryner%brianryner.com
bd9b7b7e59 For a username/password prompt, allow saving of the password even if the username is blank.
git-svn-id: svn://10.0.0.236/trunk@145652 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 08:29:38 +00:00
bryner%brianryner.com
f28f6509e5 Split out nsSingleSignonPrompt into its own source file.
git-svn-id: svn://10.0.0.236/trunk@145589 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:40:14 +00:00
bryner%brianryner.com
27c8ae5e12 - 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


git-svn-id: svn://10.0.0.236/trunk@145581 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 03:26:31 +00:00
bryner%brianryner.com
b1a9e02d34 Fix missing newline at end of file
git-svn-id: svn://10.0.0.236/trunk@145532 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 07:20:06 +00:00
bryner%brianryner.com
935bd89278 - 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.


git-svn-id: svn://10.0.0.236/trunk@145522 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 00:57:26 +00:00
bryner%brianryner.com
9105310b16 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.


git-svn-id: svn://10.0.0.236/trunk@145507 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-03 04:50:09 +00:00
bryner%brianryner.com
4aa4546bf9 Lazily decrypt username/password in nsIPassword objects so that requesting an enumerator doesn't immediately prompt for the master password.
git-svn-id: svn://10.0.0.236/trunk@145482 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 07:13:39 +00:00
bryner%brianryner.com
5844c9d8fa Don't use the username as the password when creating a stored login.
git-svn-id: svn://10.0.0.236/trunk@145474 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 05:24:34 +00:00
bryner%brianryner.com
d2dd04e5be Add some missing localized strings
git-svn-id: svn://10.0.0.236/trunk@145466 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 20:43:24 +00:00
bryner%brianryner.com
1141ad4e16 Fix stdcall bustage on windows
git-svn-id: svn://10.0.0.236/trunk@145465 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 20:41:41 +00:00
bryner%brianryner.com
abbc944adb - 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.


git-svn-id: svn://10.0.0.236/trunk@145408 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 00:17:26 +00:00
bryner%brianryner.com
85272a10b3 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)
git-svn-id: svn://10.0.0.236/trunk@145372 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 06:50:28 +00:00
bryner%brianryner.com
d53bc2b146 - 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


git-svn-id: svn://10.0.0.236/trunk@145369 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 03:38:53 +00:00
bzbarsky%mit.edu
92d22dc940 More GetDocument bustage
git-svn-id: svn://10.0.0.236/trunk@145320 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 05:48:30 +00:00
bzbarsky%mit.edu
3932386b49 Fix Firebird redness
git-svn-id: svn://10.0.0.236/trunk@145317 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 05:19:13 +00:00
bryner%brianryner.com
67928a1382 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.
git-svn-id: svn://10.0.0.236/trunk@145264 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 06:06:10 +00:00
bryner%brianryner.com
915bc8b228 Fixing windows build - need to use a constructor for initializing reference-type members.
git-svn-id: svn://10.0.0.236/trunk@145258 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 21:21:45 +00:00
bryner%brianryner.com
001e301e43 passwordmgr.properties, not satchel.properties
git-svn-id: svn://10.0.0.236/trunk@145245 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 07:06:49 +00:00
bryner%brianryner.com
5696818c75 Initial add of new (work-in-progress) password manager implementation. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@145243 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 07:05:27 +00:00
bryner%brianryner.com
7e2e3089a7 Prevent normal handling of oninput events if the event is caused by autocomplete updating the text field value. Bug 212686.
git-svn-id: svn://10.0.0.236/trunk@145216 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 02:55:24 +00:00
dbaron%dbaron.org
ffacc651a3 Fix firebird and thunderbird bustage by unforking contents of nsIGlobalHistory (which was frozen) and by tweaking the root Makefile.in. b=212509 r=mscott
git-svn-id: svn://10.0.0.236/trunk@144981 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 21:19:12 +00:00
bryner%netscape.com
b682bbbe78 Use the oninput event, instead of keypress, to notify the autocomplete controller that the input text has changed. This fixes form autocomplete being one character behind due to the keypress handler firing before editor's handler. Bug 212487, r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@144788 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 02:31:08 +00:00
bryner%netscape.com
4d8c1e8e5e Fix non-functioning form autocomplete (bug 212220). Instead of using an attribute on the nsIAutoCompleteInput (since it's not always a content node), add an attribute to the IDL interface. Also, make use of JS's (a || b) semantics to avoid some temporary variables. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@144787 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 02:27:25 +00:00
kerz%mozillazine.org
e697499fc0 New theme update from Arvid, hoo dog.
git-svn-id: svn://10.0.0.236/trunk@144681 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-10 06:50:18 +00:00