Commit Graph

182 Commits

Author SHA1 Message Date
Dan Mills
f4063917d0 Tweak logging output; make detectUpdates asynchronous (makes the spinny much smoother); avoid setting timers in our service object; add missing piece to support query items; force cache verification when making requests (to avoid using stale data) 2007-10-31 18:23:13 -07:00
Dan Mills
6cd2dcc4f8 minor changes, version bump 2007-10-29 17:45:02 -07:00
Dan Mills
5c0e1acd51 partial fix for deleting bookmark trees 2007-10-22 11:27:55 -07:00
thunder@thunder-mbp.pavlov.net
6e1eec843c testing possible fix for deserializing feeds with empty site urls 2007-10-19 19:57:39 -07:00
Dan Mills
8e716dce30 don't die when livemarks don't have a site/feed uri set 2007-10-19 16:56:36 -07:00
Dan Mills
83781b9914 Add reset client button to prefs window; add support for queries (e.g. the new 'Places' folder); display errors for all exceptions caught; reset server/client no longer trigger an atomatic re-sync 2007-10-19 16:33:03 -07:00
Dan Mills
47edd251e7 better check for whether we have a token; log event handler events 2007-10-18 20:29:17 -07:00
Dan Mills
d1a7c2c9db Fix for logout/re-login (no, really!) 2007-10-18 10:00:09 -07:00
Dan Mills
83dcf8a934 DAVCollection refactoring 2007-10-18 03:13:35 -07:00
Dan Mills
9c582b26b9 change all generators to expect to be closed by their onComplete handler; make sure they all do the bulk of their work within try blocks and always call the onComplete handler 2007-10-17 22:03:55 -07:00
Dan Mills
028733fdcf add lots more logging output to DAVCollection 2007-10-17 13:49:51 -07:00
Dan Mills
e4b5cd0af2 login/logout fixes; (dav obj) just return from login call right away if we're already logged in 2007-10-16 20:11:35 -07:00
Dan Mills
0fbbdb858d downgrade server changes error to a warning, it will be triggered often by changing indeces 2007-10-16 16:51:44 -07:00
Dan Mills
2c83f59126 fix same-parent requirement for command likeness 2007-10-16 16:49:46 -07:00
cbeard@h-135.office.mozilla.org
e37ed78cbd fix to allow subsequent logins 2007-10-16 15:47:54 -07:00
Dan Mills
306473cb72 baseURL -> userURL 2007-10-16 15:36:26 -07:00
Dan Mills
6c22ec8c4f merge 2007-10-16 15:29:53 -07:00
Dan Mills
974bcd67cb fix logout/re-login 2007-10-16 15:29:31 -07:00
cbeard@h-135.office.mozilla.org
f6026320d6 myk's patch to catch and ignore a microsummary exception 2007-10-16 15:29:02 -07:00
Dan Mills
4a15101d19 add a sync error event; make event names slightly more uniform; fix some resolver bugs 2007-10-16 15:22:40 -07:00
thunder@thunder-mbp.local
d7735d64e5 move account 'creation' into the service 2007-10-16 01:45:57 -07:00
Dan Mills
2cd9ed32cc accept only 200 and 404 as good return codes from a DELETE during resetServer(); release lock before calling doSync 2007-10-15 20:16:11 -07:00
Dan Mills
2bdab5a89b branch merge 2007-10-15 20:07:22 -07:00
Dan Mills
41fb97e1de hook up resetServer to UI 2007-10-15 20:07:00 -07:00
cbeard@h-135.office.mozilla.org
82a70021de merge 2007-10-15 20:04:35 -07:00
Dan Mills
2b7699609d only run generatorDone if there's an onComplete handler 2007-10-15 20:04:02 -07:00
cbeard@h-135.office.mozilla.org
2ab3efd9c8 more cleanup of preferences, wizard and temporary privacy text for internal testing 2007-10-15 20:04:00 -07:00
Dan Mills
0203f6800c new xpt from resetServer idl changes 2007-10-15 20:01:56 -07:00
Dan Mills
6dd8a95935 add resetServer to idl 2007-10-15 20:00:42 -07:00
Dan Mills
756c89fabd add resetServer, fix schedule pref 2007-10-15 19:59:54 -07:00
Dan Mills
7b3006a7bd listen to sync.enabled pref and enable/disable auto sync 2007-10-15 18:45:02 -07:00
cbeard@h-135.office.mozilla.org
72cdaf8806 revised prefpane and workflows to get us to a more public test of sync 2007-10-15 18:26:39 -07:00
Dan Mills
72324bab89 add timer support, needs cbeard's new prefs 2007-10-15 18:14:44 -07:00
Dan Mills
3c793bce11 one more conflict detection fix 2007-10-15 17:06:13 -07:00
Dan Mills
e721b3a8a3 various backendy fixes 2007-10-15 16:52:43 -07:00
Dan Mills
ed1fadad51 go go synchotron! 2007-10-15 15:31:15 -07:00
Dan Mills
37220bc235 add resetLock() method to service interface, it resets any server-side locks there may be. not hooked up to any ui. 2007-10-15 13:31:25 -07:00
thunder@thunder-mbp.local
6c2aa6b5c1 fix recursive function bug 2007-10-12 22:58:38 -07:00
Dan Mills
cd475eed65 fix guids reset method 2007-10-12 18:44:58 -07:00
Dan Mills
912d7f62d4 reset guids on initial sync; prune out commands with guids that already exist on the system 2007-10-12 18:30:26 -07:00
Dan Mills
78e7c3a56a minor cleanup 2007-10-12 16:10:42 -07:00
Dan Mills
6f3c5c748f logging fixes + make verbose logs more readable; fix guid rename commands when applying to objects; make stealLock work even when the resource isn't locked; remove extra tmp logging 2007-10-12 15:08:22 -07:00
Dan Mills
c29f1027f0 calculate server deltas based on server latest -> final state diff. fix some logger calls. 2007-10-12 13:29:33 -07:00
Dan Mills
d6bf897213 tri-license log4moz 2007-10-10 17:12:20 -07:00
Dan Mills
4cb0f05aed additional logging; use __proto__ hack for inheriting object properties in subclassed Appenders 2007-10-10 17:08:58 -07:00
Dan Mills
6dc912f464 log the logger name; add a timestamp to logs 2007-10-10 14:02:56 -07:00
thunder@thunder-mbp.local
4b4bf77bbe Add 'log4moz', a log4net clone for Mozilla
--HG--
rename : services/sync/nsBookmarksSyncService.js => services/sync/BookmarksSyncService.js
rename : services/sync/nsIBookmarksSyncService.idl => services/sync/IBookmarksSyncService.idl
rename : services/sync/nsIBookmarksSyncService.xpt => services/sync/IBookmarksSyncService.xpt
2007-10-10 02:09:28 -07:00
Dan Mills
70f06698d3 sync starred (but unfiled) items; fix autoconnect on browser startup; move all prefs under the same root (though we may need to move them all again later) 2007-10-05 18:38:31 -07:00
Dan Mills
4df99e1fbd * Fix broken check when loading the locally saved snapshot from disk.
* Add syntactic sugar for "async" functions (generators that can
  continue themselves)
* Do away with separate load & error handlers in general - we never
  used them.
* Wrap generator bodies in a try block to ensure (with a finally
  block) that we execute the generator closing protocol.
* Refactor login code somewhat.
2007-10-05 03:05:01 -07:00
Dan Mills
5fcd297889 * add support for livemarks and microsummaries
* add locking support
* don't use db type constants, define our own instead
* standardize capitalization of acronyms

Note: server-side needs to be wiped, no migration code included.
2007-10-04 23:41:09 -07:00