Commit Graph

950 Commits

Author SHA1 Message Date
jono@jono-gibbon-laptop
4c23a0a589 Merged my changes with the changes to async.js -- no conflicts. 2008-03-11 14:59:06 -05:00
thunder@h-132.office.mozilla.org
cdbd7976e2 add missing async.js module 2008-03-11 11:47:54 -07:00
jono@jono-gibbon-laptop
a2c4928bc5 My changes to weave to enable cookie synchronization. So far untested and still missing a thing or two. 2008-03-11 12:08:38 -05:00
Dan Mills
075381eca7 fix full (first) upload brokenness 2008-03-07 04:49:56 -08:00
Dan Mills
48733f699a add a dav method for getting a list of server files/directories; delete all server data when private key isn't found (this will cause everyone's server data to get wiped, since no one has a key yet); fix a bug in checkStatus with specific status codes (as opposed to ranges) 2008-03-07 04:20:55 -08:00
Dan Mills
4bfb8c52e7 version bump 2008-03-07 01:57:18 -08:00
Dan Mills
941dd24c3b Asynchronous generator helpers rework + PKI work
* Async helpers are in a module of their own now
* Async routines have simpler semantics now.  onComplete handlers are taken care of by the helpers.  Exceptions are bubbled up across nested asynchronous generators
* Stack traces are automatically logged for unhandled exceptions
* Async generators are now allowed to 'bottom out' (StopIteration is ignored) - this is configurable.
* RSA key generation fixes
* On login we now create an RSA keypair, encrypt the private one with PBE, and upload them to the server
* Log files are now limited to 2MB (down from 5)
2008-03-07 01:56:36 -08:00
Dan Mills
0ed61df581 don't sync bookmarks/history unless they have been enabled 2008-03-05 18:36:58 -08:00
Dan Mills
cc0892b5ff ignore broken local snapshots if they can't be parsed; trigger an initial sync instead 2008-03-05 17:11:08 -08:00
Dan Mills
c1f8acb964 switch to nsIJSON for JSON parsing and output. add a deepCopy function instead of using eval(uneval()). make *sure* to read and write UTF-8 to files. bump version 2008-03-05 00:00:56 -08:00
Dan Mills
288aaae471 fix openssl args mangling 2008-02-19 21:01:11 -08:00
Dan Mills
1817c866fe version bump 2008-02-19 20:53:45 -08:00
Dan Mills
350adaed51 use a scriptableinputstream to correctly read openssl output 2008-02-19 20:53:01 -08:00
Dan Mills
5efa6b7b5f flesh out openssl code; still needs more work 2008-02-19 11:39:39 -08:00
thunder@h-132.office.mozilla.org
093fac248a move openssl() into crypto object so it can use the logger there. up version 2008-02-18 11:18:04 -08:00
Dan Mills
261ddf2a9e clean up prefs; add logging prefs; check weave is enabled on scheduled sync 2008-02-13 16:07:11 -08:00
Dan Mills
d6b5a9fc29 put utility functions in an object to avoid namespace pollution 2008-02-13 14:30:44 -08:00
Dan Mills
d5c5e064e7 create user directories when they don't exist - good for personal webdav servers 2008-02-08 01:03:45 -08:00
Dan Mills
ec4aa0abba fix openssl binary path on windows 2008-02-05 16:15:43 -08:00
Dan Mills
e6eda21f32 branch merge 2008-02-05 14:16:38 -08:00
Dan Mills
731575d8bf add openssl support 2008-02-05 14:15:53 -08:00
Myk Melez
e6c482d3b5 make log4moz not depend on constants.js so it's easier to reuse it in another project 2008-01-24 17:41:36 -08:00
Dan Mills
fac152858b bump version 2008-01-22 22:46:39 -08:00
Dan Mills
c967d1b41f Bug 411105: nsILoginInfo no longer accepts null values for usernameField/passwordField. Send empty strings instead 2008-01-22 22:46:07 -08:00
Dan Mills
062ba11eda bump version 2008-01-07 20:20:54 -08:00
Dan Mills
a3b17ebe6a bump version 2008-01-07 16:29:30 -08:00
Dan Mills
d4392ac825 load all modules directly from load-weave.js to get around bug 408412; fix uses of |let| not directly within a block 2008-01-07 16:28:57 -08:00
Dan Mills
dd6341464b bump version in constants.js 2007-12-28 16:34:28 -08:00
Dan Mills
23affe6333 Bug 409908: don't decrypt cleartext. Also, fix broken checkStatus calls when resetting server data. 2007-12-28 16:33:09 -08:00
Dan Mills
c00d20a783 move xxxtea.js -> xxtea.js (typo) 2007-12-27 12:50:51 -08:00
Dan Mills
2883ed0621 Make {en,de}cryption asynchronous so as to not block the UI; fix 'xxxtea' typos (it's xxtea); fix auth header suppression 2007-12-26 17:40:46 -08:00
Dan Mills
7e968fc10e remove debug statements 2007-12-26 16:11:19 -08:00
Dan Mills
79688a1c16 Pull xxxtea code into modules/; fix passphrase bug in the login dialog 2007-12-26 16:10:23 -08:00
Dan Mills
c3f4b08ffc Fix typo in last commit; use asterisks in place of auth header 2007-12-26 14:51:52 -08:00
Dan Mills
6dfb3eae28 Bug 409673: Don't log the authentication header 2007-12-26 14:49:03 -08:00
thunder@daniel-millss-macbook-pro-15.local
539fdecb0f fix getTagsForURI call (API changed); bump version 2007-12-24 14:47:37 -08:00
Dan Mills
c2c6f2597a version bump 2007-12-21 18:38:04 -08:00
Dan Mills
e320b490d8 version bump 2007-12-21 16:51:14 -08:00
Dan Mills
c713a81236 process GUID changes *before* anything else 2007-12-21 16:50:32 -08:00
Dan Mills
21f147b7bb limit history sync to the last 500 items; load snapshots from the right directory in the profile 2007-12-21 16:07:42 -08:00
Dan Mills
232f7951a9 change prefs to live under extensions.weave 2007-12-20 14:46:12 -08:00
Dan Mills
fb020f0577 ui / prefs fixes 2007-12-20 12:18:41 -08:00
Dan Mills
bdb1273a28 move logs and snapshots into a 'weave' directory in the profile; use .txt filenames for logs to (hopefully) fix content type problems some people are seeing 2007-12-19 19:49:28 -08:00
Dan Mills
2cc8662f0f rename 'bookmarks' events to be weave events; add service-level events in addition to engine-specific ones (where appropriate) 2007-12-19 17:37:01 -08:00
Dan Mills
6782f99ad3 login fixes; history sync fixes; make reset client actually delete all client data (useful for testing and for syncing down server data - e.g. the restore case) 2007-12-19 13:24:31 -08:00
Dan Mills
516dfc2930 some more cleanup/refactoring; add history engine/core/store (history sync\!) 2007-12-14 18:07:25 -08:00
Dan Mills
f9df1f57a8 assume in loaded modules that the resource:// alias has already been added - remove all the templatey code to do that 2007-12-11 11:57:13 -08:00
Dan Mills
e44b47a493 more and more refactoring: split weave module into multiple files (finally!) 2007-12-10 21:38:53 -08:00
Dan Mills
e5050adc9c refactoring: remove log4moz component, use it as a js module instead 2007-12-10 19:47:11 -08:00
Dan Mills
5de0bd93c4 more refactoring: move bookmarks-specific code into an 'engine' object; get rid of sync xpcom component and replace it with Components.utils.import hotness 2007-12-10 16:42:10 -08:00