98 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
1fd3ef4070 Move to the double-'::' notation for -moz-tree-* pseudo-elements in toolkit.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144538 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 22:16:57 +00:00
blakeross%telocity.com
cbeaa2a30a Fix 205161 - remove "www" from history entries.
git-svn-id: svn://10.0.0.236/trunk@144487 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-06 02:18:27 +00:00
varga%netscape.com
272b15fca1 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@144150 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 15:13:46 +00:00
ben%netscape.com
0ea298aa91 Fixing Firebird build bustage after timeless' fishy checkin to bug 58613.
git-svn-id: svn://10.0.0.236/trunk@144045 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 00:56:38 +00:00
bryner%netscape.com
540ce120f1 Port fix for bug 206775 (can't search NLS characters in history) to firebird. Patch by gelsoft@mx4.tiki.ne.jp.
git-svn-id: svn://10.0.0.236/trunk@143809 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 18:23:53 +00:00
dbaron%dbaron.org
271e9055f4 Fix bustage. b=209087
git-svn-id: svn://10.0.0.236/trunk@143707 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 04:40:52 +00:00
scott%scott-macgregor.org
17f349d3e3 Get the linux file picker working for thunderbird. Has no impact on firebird
git-svn-id: svn://10.0.0.236/trunk@143623 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 04:05:17 +00:00
scott%scott-macgregor.org
8967b5383b Thunderbird doesn't care about satchel, autocomplete, session history, etc. So don't build them.
We may move this stuff to browser or add flags to the build to make it easy to skip them.


git-svn-id: svn://10.0.0.236/trunk@143445 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-09 04:29:59 +00:00
varga%netscape.com
c1c2acd6b5 Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.


git-svn-id: svn://10.0.0.236/trunk@142814 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 12:03:40 +00:00
dwitte%stanford.edu
c4f34a5641 Bug 206356: cookies refused by default if you just close dialog.
makes the "do you want to accept this cookie?" dialog more user-friendly, by not touching the permission list if you dismiss the dialog without clicking a button.

patch by mvl, r=neil, sr=jag, a=asa.


git-svn-id: svn://10.0.0.236/trunk@142735 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 00:37:48 +00:00
chanial%noos.fr
9302d624f1 bug 203069: Unable to search in page-source
sync'ing with seamonkey, use gBrowser instead of getBrowser()


git-svn-id: svn://10.0.0.236/trunk@141868 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-27 05:02:28 +00:00
chanial%noos.fr
6e65b9cb42 Landing Arvid's new icons and animations
git-svn-id: svn://10.0.0.236/trunk@141803 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 08:15:34 +00:00
ben%netscape.com
0cc16a6bee Fix for bug 201850, autocomplete fun - null check to avoid random autocomplete crashing, and support autocomplete="off" on web page text fields so as to avoid autocompleting sensitive fields such as credit card numbers
git-svn-id: svn://10.0.0.236/trunk@141585 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 10:27:30 +00:00
cbiesinger%web.de
1f1970b7d2 198829 patch by mvl@exedo.nl r=dwitte@stanford.edu sr=dmose Blocking cookies does not remain persistent
git-svn-id: svn://10.0.0.236/trunk@140117 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 22:35:02 +00:00
bzbarsky%mit.edu
70156d33e8 Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140010 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:24:51 +00:00
bryner%netscape.com
7840839c8e Add support for opening multiple files with the unix filepicker (bug 167152). r=varga, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@139566 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 09:20:40 +00:00
bryner%netscape.com
9a8c45c2ed fixing more bustage
git-svn-id: svn://10.0.0.236/trunk@139504 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 06:05:15 +00:00