Dan Mills
62e963c8b9
status label now has service status instead of username; service [un]lock observer notifications are gone; don't error when async methods don't call done() - consider them methods with no return value; don't require passing null into login() to cause the identity to look up the password in the pw mgr; make some wrapper 'method generators' to make lock handling and observer notification simpler
2008-03-27 19:12:53 -07:00
Dan Mills
62a6461323
add a 'clear logs' button to the log window
2008-03-27 01:05:21 -07:00
Dan Mills
4517e592d0
tweak logging defaults; add a hidden pref to make the 'sync now' menu option visible again
2008-03-27 00:36:50 -07:00
Dan Mills
cfbb3a75b1
remove old '500 error' hack for services.m.c during mkcol; fix applyCommands to do async right & make a listener correctly
2008-03-26 23:51:01 -07:00
Dan Mills
1b3916bc83
make XHRs non-blocking again; change sharing dialog so sharing is done without closing the dialog (still lacks any feedback though)
2008-03-26 23:22:35 -07:00
Dan Mills
cfae90a73a
fix typo
2008-03-26 23:12:58 -07:00
Dan Mills
ebf0b6a973
make applyCommands asynchronous
2008-03-26 23:11:15 -07:00
Dan Mills
24ba577b6f
improve async generator logging; don't call done() on StopIteration when we already have a timer set (it means the generator just 'bottomed out' after calling done()); make XHRs be synchronous (blocking) - temporarily; fix up sharing code (adding to the keyring)
2008-03-26 00:59:34 -07:00
Dan Mills
7ec09f1317
add sharing ui+backend code (not working yet); make engines less chatty when applying commands
2008-03-25 23:01:34 -07:00
Dan Mills
0a4be048f7
make service.js the main entry point from chrome/content; make the service be lazy-loaded; make crypto be lazy-loaded
2008-03-25 15:14:00 -07:00
Dan Mills
86d8009d14
lazy-load service
2008-03-25 13:55:34 -07:00
Dan Mills
5b6dc30300
work with all exception objects, whether we can modify them or not
2008-03-24 19:08:43 -07:00
Dan Mills
aa012aa6cf
bump version
2008-03-24 16:05:02 -07:00
Dan Mills
6c82a158bd
decrypt private rsa keys before decrypting data with it (rather than doing it in one step). fix for windows openssl.exe
2008-03-24 16:04:29 -07:00
Dan Mills
8541c2d22a
bump version; bump storage format version
2008-03-21 16:07:44 -07:00
Dan Mills
233a0d648d
fix resetClient's locking. change bookmarks wrap format to have hardcoded guids for the 3 roots (menu, toolbar, unfiled) rather than random ones.
2008-03-21 15:56:41 -07:00
Dan Mills
99618dc083
bump version
2008-03-20 14:59:59 -07:00
Dan Mills
22ef0e035f
bookmarks syncCore: remove actions never qualify for 'likeness'
2008-03-20 14:59:20 -07:00
Dan Mills
2739b301fc
split up/simplify login functions; add a global (server-wide) storage version; wipe server for storage version upgrades
2008-03-19 18:42:12 -07:00
Dan Mills
6d055afeb8
bump version
2008-03-19 17:31:45 -07:00
Dan Mills
fd86363364
bookmarks sync core: always include type information when generating commands. also, allow for properties to not be set when comparing commands for likeness.
2008-03-19 17:31:00 -07:00
Dan Mills
16920cd2ae
Various improvements:
...
* Logging improvements / default log levels tweaked. Less chatty now.
Ability to tweak log levels of individual loggers via prefs.
* Various crypto module fixes, specially for RSA.
* 'service' lock removed, reuses server lock now. dav module supports
temporarily blocking locks to simulate the 'service' lock (login()
needs this, since dav is not configured at that time).
* PKI support: data encryption uses randomly-generated symmetric keys,
which are then encrypted with RSA public keys and stored on the
server.
2008-03-19 15:17:04 -07:00
Dan Mills
07c4bbd0dc
bump version
2008-03-12 23:07:04 -07:00
Dan Mills
732f6b234c
workaround for services.m.c 500 error on some GET requests
2008-03-12 23:06:28 -07:00
thunder@h-132.office.mozilla.org
cdbd7976e2
add missing async.js module
2008-03-11 11:47:54 -07: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
14f74078bb
remove obsolete xpcom component code
2008-01-23 15:35:11 -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