Dan Mills
fe48398743
don't attempt to get a symkey if encryption is set to 'none'
2008-05-23 19:57:38 -07:00
Dan Mills
cb84d724f5
regenerate the engine id when the engine's pbe id changes
2008-05-23 19:47:25 -07:00
Dan Mills
29fc114d14
branch merge
2008-05-23 17:58:08 -07:00
Dan Mills
8dbb0f835c
whitespace police
2008-05-23 17:50:54 -07:00
Dan Mills
1cfce7d1d1
don't require same index for folder 'likeness'
2008-05-23 17:50:24 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
42f471fcd3
Added unit test file for CookieStore. It has a test to make sure that only persistent cookies are wrapped, not session cookies.
2008-05-23 17:49:58 -07:00
Atul Varma
04c6dda2c2
Fixed bug 427113: https://bugzilla.mozilla.org/show_bug.cgi?id=427113
...
I should note that I think that there's a more idiomatic way of doing what I did, but I don't yet fully understand how Weave does things asynchronously. As such, this commit can probably be refactored to be more in the style of the surrounding code.
2008-05-23 12:22:08 -07:00
Atul Varma
0b8c18a3c7
Fixed bug 435103 ( https://bugzilla.mozilla.org/show_bug.cgi?id=435103 )
2008-05-23 12:08:03 -07:00
Atul Varma
7376e01e44
Routine merge of double branches.
2008-05-23 11:06:45 -07:00
Atul Varma
ba3e131c29
Fixed a variety of style issues and minor warnings raised by js2-mode.
2008-05-23 11:05:42 -07:00
Anant Narayanan
85746789b0
Correct more syntax errors (super) in trackers.js
2008-05-23 11:01:32 -07:00
Anant Narayanan
e94def6b15
Correct syntax error in trackers.js
2008-05-23 10:28:43 -07:00
Anant Narayanan
7d0ca60e94
Fix indentation
2008-05-23 09:59:35 -07:00
Anant Narayanan
45c306c019
Add tracking support to FormsEngine. Bug #435319 , r=thunder
2008-05-23 09:29:26 -07:00
Anant Narayanan
226ed028e3
Tracking support for HistoryEngine. Bug #435321 , r=thunder
2008-05-22 18:37:24 -07:00
Anant Narayanan
1743ffc42e
Correct typo in BookmarksTracker
2008-05-22 18:06:47 -07:00
Anant Narayanan
53d8c30531
Add support for engine 'scores'. Bug #434812 , r=thunder
2008-05-22 15:58:29 -07:00
Anant Narayanan
36482f8bef
Sync form data: bug #434818 , r=thunder
2008-05-22 15:36:44 -07:00
Justin Dolske
8df51016ac
Bug 433762 – Sync stored passwords. r=thunder
2008-05-21 18:09:19 -07:00
Justin Dolske
1fb1cf3fa3
Cleanup some trivial nits with cookie (whitespace and function name).
2008-05-21 17:53:35 -07:00
Anant Narayanan
d0ee5b17d4
Allow login & sync when encryption is off
2008-05-21 16:28:23 -07:00
Anant Narayanan
ba0fa55299
Typo in log message
2008-05-21 11:16:39 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
9340b3c431
Added TODO that expired cookies should be thrown out, in the unlikely event that we get one from a createCommand or editCommand.
2008-05-20 18:24:28 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
aea75cbd20
Made cookie-sync sync only persistent cookies, drop single-session cookies. (Needs testing.)
2008-05-20 18:14:18 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
7793fe3db1
Created some documentation of how to add synchronization functionality for a new user data type to Weave. Created a new directory called docs to put this into.
2008-05-19 19:40:45 -07:00
Dan Mills
2c39623eab
DAV: separate the root url of the DAV repository from the default prefix for all operations (i.e., the user's subdirectory)
2008-05-15 18:08:13 -07:00
Dan Mills
2aa793313d
merge with jono's changes
2008-05-12 10:14:15 -07:00
Dan Mills
e5e1d00a3f
sync bookmark descriptions
2008-05-12 10:11:07 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
11d82ab309
Created a readme for using the XMPP client module.
2008-05-08 18:50:12 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
c2d09e5829
renamed testSynchronizer.js to just synchronizer.js, because otherwise the test framework tries to run it as a test itself.
2008-05-06 12:04:04 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
90053f0c73
Oops, I miscapitalized XmppClient in the export statement -- fixed.
2008-04-30 17:08:39 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
2fec756b19
Made xmppClient, transportLayer, and authenticationLayer into proper modules using Components.Utils. Also renamed the JabberClient class to XMPPClient, which is more accurate (as it implements XMPP which is a newer protocol than Jabber.)
2008-04-30 16:55:34 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
e8b52e9413
Gave sasl.js a more descriptive name -- authentication is what it does.
...
--HG--
rename : services/sync/modules/xmpp/sasl.js => services/sync/modules/xmpp/authenticationLayer.js
2008-04-30 16:29:03 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
8fda2ee763
Merged my changes with the main repository.
2008-04-30 16:27:52 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
0251715f68
First commit of my XMPP client, as demonstrated at the meeting today, to weave/modules. This does not include the test-synchronization stuff. xmppClient.js is the main client class; transportLayer.js and sasl.js (which does authentication) are the helper classes.
2008-04-30 16:27:32 -07:00
Dan Mills
63af6c5dbd
service: remove accidental 'resetServer' call in sync (\!); dav: lock a file called 'lock', instead of the entire collection (workaround for bug 421610)
2008-04-16 14:46:57 -07:00
Dan Mills
6670eb2948
engines now get the pbe identity directly from the identity manager; engines now know their 'enabled' status (pref); main service syncs *all* registered (enabled) engines
2008-04-15 17:21:34 -07:00
Dan Mills
5a2d0451db
add engine registration service; use global id service in service.js
2008-04-14 18:53:35 -07:00
Dan Mills
83fd7d6261
Various improvements:
...
* async generators: much better stack traces
* dav: use global identity system rather than login/logout to manage
usernames and passwords.
* dav: there is a checkLogin() instead of login() which can be used to
verify auth at any time.
* dav: make it so that we can (only internally atm) hold multiple
locks for different URLs.
* identity: add an identity manager singleton service to keep
identities globally, referenced by a name, with aliasing support (so
e.g., dav can ask for the 'dav' identity, while something else can
alias 'dav' to another identity).
* service: keep track of logged in status here, rather than in the dav
service. Use the global id manager.
2008-04-10 21:38:15 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
62da55a446
Implemented cookieStore.editCommand().
2008-04-07 11:53:55 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
055836a4ee
Semicolon was missing in cookieStore.wrap()
2008-04-04 12:09:04 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
de75398691
Prettied up my code by using block comments and making my indents 2 spaces.
2008-04-04 12:08:04 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
02171a4c9b
Merged changes from Dan
2008-04-04 10:50:21 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
185294a6e6
Removed comment from load-weave.js that I put in while debugging and committed by accident.
2008-04-04 10:49:41 -07:00
Dan Mills
99f4ac9084
rethrow exception when applyCommands fails; merge changes from jono
2008-04-03 17:18:38 -07:00
Dan Mills
edd4329c4a
rethrow exception when applyCommands fails
2008-04-03 17:16:22 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
acbff936ba
Discovered that trying to use duck-typing in passing an object into cookieExists() will hard-crash Firefox, and figured out why; added comment to syncCores.js explaining this.
2008-04-03 14:30:34 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
27c6454920
Fixed bugs in cookieSyncCore.itemExists and cookieStore.addCommand. The problem in addCommand was just a missing argument, but in itemExists I had to change the implementation to use cookieManager.enumerator rather than cookieManager.findMatchingCookie -- the latter function apparently does not exist in the nsICookieManager2 interface despite what MDC says about it.
2008-04-03 14:26:06 -07:00
Dan Mills
d1bd5e5aaa
don't fail on invalid server deltas which don't apply to the local snapshot; wipe the local snapshot instead
2008-04-02 00:00:24 -07:00
Dan Mills
8df3c78b61
bump version
2008-04-01 23:44:39 -07:00