Commit Graph

720 Commits

Author SHA1 Message Date
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
9cfef4be35 Fixed a whole bunch of bugs in bookmark share, mostly related to adding in needed JsonFilters for remote Resources and fixing the server paths which are passed into DAV for the keyring file and encrypted share data files. (Also fixed a minor bug in DAV itself so that mkcol won't quit right away if you pass it something that starts with a slash.) 2008-07-03 17:57:21 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
6732077b30 Merged 2008-07-01 14:41:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
f11ad3f3e3 Updated a couple of comments in bookmark sharing 2008-07-01 14:41:04 -07:00
Atul Varma
d70f1743f8 Automated merge with http://hg.mozilla.org/labs/weave 2008-07-01 12:03:12 -07:00
Atul Varma
7303b375dc Refactored the exception-handling code a bit and made traces produced by async look more like they used to. 2008-07-01 12:03:05 -07:00
Myk Melez
c5d6255581 make sure nsIObserverService notifications have subjects before accessing the subjects' wrappedJSObject properties 2008-07-01 11:29:20 -07:00
Atul Varma
0013cac9d2 Automated merge with http://hg.mozilla.org/labs/weave 2008-07-01 11:12:53 -07:00
Atul Varma
71372f5452 Tracebacks for async coroutines now provide a 'best guess' for where the coroutine was at the time that an exception was thrown, by showing the frame at which the generator's last continuation callback was created.
Added a 'location' property to RequestException, analogous to the 'location' property of wrapped nsIExceptions, so that tracebacks can be made for the exceptions if needed.
2008-07-01 11:12:00 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
11dda58df6 Fixed yet another typo: this._sharing._share, not this._sharing.share. 2008-07-01 10:35:15 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
b7f7372c9f Fixed typo where undefined value was getting passed into share and stopSharing: should be node.itemId, not node.id 2008-07-01 10:31:16 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
fd7f338963 Fixed missing import 2008-07-01 10:27:19 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
a410545ba4 Fixed another typo 2008-07-01 10:26:01 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
fcb7743ce0 Fixed typo in BookmarkSharingManager._bms initialization 2008-07-01 10:24:52 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
10d9360015 Merged 2008-07-01 10:18:43 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
ba7249a10a Made _share() and _stopSharing() take bookmark item ID numbers instead of XUL nodes. 2008-07-01 10:18:35 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
aa859a7626 Made _stopSharing and _stopOutgoingShare more fault-tolerant (they will no longer die if the expected annotation is missing. 2008-07-01 09:58:00 -07:00
Dan Mills
1556cc4511 version bump (0.2.0) 2008-07-01 00:04:47 -07:00
Dan Mills
e53b8d1689 merge upstream changes 2008-06-30 23:42:00 -07:00
Dan Mills
44c908db91 save username/pass in verifyLogin, at least for now 2008-06-30 23:41:47 -07:00
Atul Varma
994e224c7d Automated merge with http://hg.mozilla.org/labs/weave 2008-06-30 23:36:06 -07:00
Atul Varma
e04369a218 Modified sharing.js to obey the new sharing api. 2008-06-30 23:36:00 -07:00
Myk Melez
b4026a6a34 fix capitalization 2008-06-30 23:29:28 -07:00
Dan Mills
d46d7162d6 merge upstream changes 2008-06-30 23:26:49 -07:00
Dan Mills
802f7a254d fix cookie command logging; skip cookie commands for items we don't have 2008-06-30 23:26:35 -07:00
Dan Mills
e9d12f341f continue if there is an edit command for an item we don't have (just print a warning) 2008-06-30 23:25:51 -07:00
Dan Mills
4c4dfecbc8 fix a missing yield, split up a couple of lines for clarity 2008-06-30 23:25:15 -07:00
Myk Melez
e4cb103b4d bug 442849: correct inconsistencies and grammar nits in wizard text 2008-06-30 22:58:51 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
5d960d2e8f Combined shareData and stopSharingData into one function to reuse code; made it so that if it gets called when Weave.DAV is already locked, instead of failing it sets up an observer that will trigger the share to happen as soon as the sync-succeeded or sync-failed message is received. 2008-06-30 22:30:04 -07:00
Maria Emerson
9744c24f33 image update 2008-06-30 21:05:18 -07:00
Atul Varma
63d8b214f5 Fixed a todo in test_bookmark_sharing, still more left to do as jono's modifications to the bookmark sharing API change. 2008-06-30 19:27:39 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
4bfcb30b17 Merge 2008-06-30 18:50:19 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
dae06b83f1 Added test_bookmark_sharing to version control; note this doesn't pass right now (and in fact the main test is commented out.) 2008-06-30 18:50:06 -07:00
Dan Mills
dc359f7ca3 update URLs to services.mozilla.com/ 2008-06-30 18:49:46 -07:00
Atul Varma
d99bde9ec1 Automated merge with http://hg.mozilla.org/labs/weave 2008-06-30 18:09:35 -07:00
Atul Varma
07f3aacf01 Added documentation for Service._getKeypair(). 2008-06-30 18:09:30 -07:00
Maria Emerson
49ae4dd579 reverted back to original weave logo, increased wizard height for linux problem, added passphrase verification 2008-06-30 18:00:55 -07:00
Atul Varma
aa2cab9380 The auto-login at startup no longer unconditionally syncs; if the login fails, the sync is now aborted. 2008-06-30 17:55:48 -07:00
Atul Varma
d7ff36daab Fixed a bug from r5a5113a0a405 that caused some syncing unit tests to fail. 2008-06-30 16:55:38 -07:00
Atul Varma
7512505bb7 Added a Service.verifyPassphrase() method. Also, Service.login() now checks to ensure that the user's passphrase is valid, and if it's not, it throws an exception. 2008-06-30 16:50:19 -07:00
Atul Varma
bd11079518 Automated merge with http://hg.mozilla.org/labs/weave 2008-06-30 15:54:21 -07:00
Atul Varma
4c44bcd581 Fixed a potential bug in Service.login() whereby a user's directory wouldn't be created if it didn't exist (though it would in Service.verifyLogin(), which is only called from the setup wizard). 2008-06-30 15:54:15 -07:00
Maria Emerson
f2f5114230 updated strings, increased wizard height, updated background with new height and logo 2008-06-30 15:35:00 -07:00
Myk Melez
ac691d002a Automated merge with ssh://hg.mozilla.org/labs/weave/ 2008-06-30 15:16:31 -07:00
Myk Melez
3f7efe892f bug 442711: validate virtual tabs to make sure they have the minimal information necessary to recreate them before trying to save them or notify the user about them 2008-06-30 15:13:07 -07:00
Atul Varma
3e6bb56f61 Moved isPassphraseValid() out of its test suite and into the crypto module. 2008-06-30 14:40:11 -07:00
Atul Varma
be96d29ced Automated merge with http://hg.mozilla.org/labs/weave 2008-06-30 14:29:32 -07:00
Atul Varma
e48513ec01 test_passphrase_checking now actually tests real code and shows that it works. Still have to move isPassphraseValid() into a different place though, probably crypto. 2008-06-30 14:29:26 -07:00
Dan Mills
c66f11ca21 merge upstream changes 2008-06-30 14:01:10 -07:00
Dan Mills
d7df22716d change onQuit dialog to wait for a running sync in order to start the last sync 2008-06-30 14:00:55 -07:00
Dan Mills
32d1262667 style fixes, js warning fixes 2008-06-30 14:00:06 -07:00
Dan Mills
fdde68445a change AsyncException so it implements toString (which returns the original exception) 2008-06-30 13:58:42 -07:00
Atul Varma
0ce0311316 Removed test_loadall.js, as its need is obviated by the auto-generated js module loader tests. 2008-06-30 13:37:31 -07:00
Atul Varma
a8d63804d6 Revalidated test logs, as 'actual changes for server' details are no longer being logged. 2008-06-30 13:32:13 -07:00
Anant Narayanan
6dde744f06 Update tests to reflect changes in store/syncCore methods 2008-06-30 12:31:02 -07:00
Anant Narayanan
2a67bc6ccc Automated merge with ssh://anarayanan@mozilla.com@hg.mozilla.org/labs/weave 2008-06-30 12:26:47 -07:00
Anant Narayanan
7f8e383db6 Fix syntax errors that were causing unit tests to fail 2008-06-30 12:26:41 -07:00
Atul Varma
1b82e736e0 Updated test_passphrase_checking 2008-06-30 11:54:10 -07:00
Anant Narayanan
25744eb911 Automated merge with ssh://anarayanan@mozilla.com@hg.mozilla.org/labs/weave 2008-06-30 11:33:31 -07:00
Anant Narayanan
645c447eb6 Fix small bug with PasswordTracker returning scores > 100 2008-06-30 11:33:25 -07:00
Atul Varma
1533675aa9 Automated merge with http://hg.mozilla.org/labs/weave 2008-06-30 11:25:06 -07:00
Atul Varma
688dcddb1c Refactored test_service a bit to use the synctestinginfrastructure. 2008-06-30 11:24:58 -07:00
Anant Narayanan
ebd2009229 Automated merge with ssh://anarayanan@mozilla.com@hg.mozilla.org/labs/weave 2008-06-30 11:19:16 -07:00
Anant Narayanan
f7911b9746 Primitive password tracking support (bug 435320, r=thunder) 2008-06-30 11:19:07 -07:00
Atul Varma
76a60f1dfe Added a test_passphrase_checking test suite to test passphrase checking code; it's not yet complete. 2008-06-30 11:18:16 -07:00
Justin Dolske
777c82cf0b Fix crypto component to not mangle certain strings when doing 8/16 bit character conversion. 2008-06-29 20:51:22 -07:00
Dan Mills
dd7821e265 merge upstream changes 2008-06-29 17:41:19 -07:00
Dan Mills
8d3532f8e0 bump version 2008-06-29 17:40:49 -07:00
Dan Mills
cbd9cd6819 import async module 2008-06-29 17:37:11 -07:00
Dan Mills
a4ae67b71a define _resetGUIDs in store 2008-06-29 17:36:59 -07:00
Dan Mills
091c571bd1 import async module 2008-06-29 17:36:35 -07:00
Dan Mills
293b220818 use this._lookup instead of command.data for remove commands 2008-06-29 17:36:13 -07:00
Justin Dolske
901b76b301 Bug 442257 – Weave 1.32: WeaveCrypto doesn't work under Linux. 2008-06-29 16:58:10 -07:00
Justin Dolske
74d8b0e43a Partial bustage fix: test was broken, is now less broken but still fails. 2008-06-29 16:46:59 -07:00
Dan Mills
b32d63ca14 bump version 2008-06-29 11:54:26 -07:00
Dan Mills
3d16ec76a6 fix cooe engine's resetGUIDs method by importing async module; don't call runInBatchMode in bookmark engine's resetGUIDs, it doesn't work atm 2008-06-29 11:44:27 -07:00
Dan Mills
80417871c4 merge upstream changes 2008-06-29 07:07:11 -07:00
Dan Mills
e03543007a make resetguids async 2008-06-29 07:00:53 -07:00
Anant Narayanan
d2a1e9e87d Make PasswordStore process removeCommands correctly (bug 442090, r=thunder) 2008-06-28 01:13:14 -07:00
Anant Narayanan
05b1427691 Merge 2008-06-27 20:17:12 -07:00
Anant Narayanan
089c1c0f42 General restructure for performance improvements (bug 441907, r=thunder) 2008-06-27 20:16:43 -07:00
Maria Emerson
749eabb8f0 merging heads 2008-06-27 16:05:40 -07:00
Maria Emerson
6278ecd1ee grayed out form and password data options, update error log messages, fix last screen to prevent accidental advancing during sync 2008-06-27 16:02:52 -07:00
Dan Mills
d709a5c770 disable form sync by default 2008-06-27 15:01:40 -07:00
Dan Mills
c0471ca320 make log messages that print raw engine json be trace messages 2008-06-27 14:21:54 -07:00
Maria Emerson
2e956767d3 added run wizard option to pref pane, fixed spacing issues 2008-06-26 21:42:43 -07:00
Atul Varma
52e47aeb5b Revalidated logtest files, just a formatVersion change from 2 to 3. 2008-06-26 18:26:07 -07:00
Atul Varma
b35bbe0a4b Fixed test_service. 2008-06-26 18:09:53 -07:00
Atul Varma
29f7b89a5a Implemented DELETE and listFiles on fake DAV so that test_service doesn't raise an exception. 2008-06-26 17:48:39 -07:00
Atul Varma
7127d6d7c8 Automated merge with http://hg.mozilla.org/labs/weave 2008-06-26 17:34:21 -07:00
Atul Varma
44b8be12aa Added more assertion checks in test_bookmark_syncing. 2008-06-26 17:31:57 -07:00
Dan Mills
1c1346203f merge upstream changes 2008-06-26 17:28:46 -07:00
Dan Mills
226de0e980 bump version to 0.1.32, storage format version (global & engine) to 3 2008-06-26 17:28:30 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
60fbccf06c Merged 2008-06-26 17:26:31 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
5856868591 Removed unneeded atob() and btoa() definitions from authenticationLayer. 2008-06-26 17:26:21 -07:00
Maria Emerson
837be83ecb branch merge 2008-06-26 17:11:30 -07:00
Maria Emerson
1c37b4647d fixed captcha screen 2008-06-26 17:08:44 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
448ef4478e Merged 2008-06-26 17:01:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
d654677b9a Fixed several minor bugs with bookmark sharing 2008-06-26 17:00:55 -07:00
Atul Varma
e1f5bf9e13 Oops, forgot to revalidate logs in my last commit. 2008-06-26 17:00:01 -07:00
Atul Varma
df57d1a0fc Fixed a typo, added an explicit check in test_bookmark_syncing. 2008-06-26 16:59:25 -07:00