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
thunder@thunder-mbp.local
88d6ddc432
print http status codes on errors; improve xpath queries we use to get the dav lock tokens
2007-10-04 02:25:57 -07:00
Dan Mills
7f9b691df6
locking fixes (still commented out); better error checking; fail if the remote format version is higher than we can read; refactor generator code, bring back asyncRun()
2007-10-03 19:16:47 -07:00
cbeard@chris-beards-computer.local
d05e5bd087
fleshing out of the setup wizard
2007-10-03 18:00:16 -07:00
Dave Camp
c08da260cd
sync keywords
2007-10-02 15:30:20 -07:00
Dave Camp
36bc417b93
simple tag syncing
2007-10-02 15:07:19 -07:00
Dan Mills
582a630e8d
rewrote network logic to be far cleaner and more correct. Add initial support for a 'format version'.
2007-10-02 01:39:55 -07:00
Dan Mills
5249e19d92
keep a guid when the snapshot is first generated and uplaoded to the server, and propagate it to all clients. this way we know if the server store gets completely wiped out
2007-09-28 17:42:37 -07:00
Dan Mills
7379d6ce30
sync engine fixes; logging improvements; try to ensure that property keys are always strings
2007-09-28 03:02:15 -07:00
Dan Mills
1ee32be4b4
better log viewer performance thanks to chris; small bugfixes in the component; temporarily disable some very verbose logging output
2007-09-27 14:40:21 -07:00
Dan Mills
fc5f98b819
activity log fixes
2007-09-26 19:26:29 -07:00
Dan Mills
c71d476a03
activity log fixes
2007-09-26 19:25:55 -07:00
cbeard@h-135.office.mozilla.org
68a1f1a4cc
reconciliation of changes between branches.
2007-09-26 17:45:54 -07:00
cbeard@h-135.office.mozilla.org
c1801bee80
added wizard to setup service and get login information for new users
...
updated server pointers to point to the new services.mozilla.com backend
2007-09-26 17:34:36 -07:00
Dan Mills
656fa5ee5a
unify logging routines, log via the component. Log to a file. Add a couple of crappy attempts at nicer logging output
2007-09-26 15:28:01 -07:00
cbeard@h-135.office.mozilla.org
afd2a6c01f
added preferences pane to main pref dialog and wired everything up (except the password bit)
...
added autoconnect pref and actions
removing sync-engine.js as it doesn't look like we're using it anymore
2007-09-26 12:08:53 -07:00
cbeard@h-135.office.mozilla.org
c8e241c737
wired up the "cancel" and "sync now" menu items, although they don't do a whole lot yet
2007-09-25 17:19:01 -07:00
cbeard@h-135.office.mozilla.org
3e3e800025
- super fun spinning throbber goodness!
2007-09-25 16:33:23 -07:00
Dan Mills
2f70c2abff
Fix some nasty bugs with the way js generators were being used. Have the snapshot [de]serialized to the profile
2007-09-24 18:34:03 -07:00
cbeard@chris-beards-computer.local
425134c065
- tree[guid] is null for some (as yet) unknown reason
2007-09-24 15:10:25 -07:00
Dan Mills
d85686cb70
Add code to disable any auth prompt and turn them into failures (from the microsummary svc).
...
Get/save sync service password in the password manager (ui missing).
Fix a bug in the reconciler that prevented it from returning any conflicts.
Other misc cleanup.
2007-09-24 00:21:22 -07:00
Dan Mills
dd6028d09e
Yield to main loop during reconciliation, so as to not block the UI. Fix a broken check when changing the guid of an item.
2007-09-21 16:38:19 -07:00
Dan Mills
6ad7e960a7
Add xpt file, for the xpidl-deprived ;)
2007-09-21 01:47:01 -07:00
Dan Mills
2fb887333b
Yay, sync works again!
2007-09-21 01:23:05 -07:00
Dan Mills
4dd14dd3c7
sync.js: move code into an object. Add observer implementation, use observer service to listen to sync events.
...
sync.xul: cleanup, point into the global sync object from sync.js.
nsBookmarksSyncService.js: add login code, use observer service to publish events.
nsIBookmarksSyncService.idl: add login methods, add comments.
2007-09-20 23:57:18 -07:00
Dan Mills
dd3252e20e
woo! first sync across profiles works now
2007-09-20 17:26:20 -07:00
Dan Mills
df57784c35
flesh out new sync engine - cleanup needed
2007-09-20 16:56:05 -07:00
Dan Mills
5074a3b4e5
Add more awesome. Still some bugs, will try to replace sync-engine.js next (with a more domain-specific version) - beginnings of that already in the code (unused)
2007-09-19 21:08:00 -07:00
Dan Mills
4cb8461d0f
Sprinkle the awesome (we correctly create items in the correct place (index) now)
2007-09-18 16:00:52 -07:00
Dan Mills
4a4c291cab
Return conflicts from sync engine; change bookmarks serialization to use a flat dictionary keyed by guid, instead of a deep structure.
2007-09-18 11:18:01 -07:00
Dan Mills
43fabdf2af
run xptgen from build script, use env vars from xptgen to get mozilla objdir/srcdir paths
2007-09-14 14:56:06 -07:00
Dan Mills
f4a130cf8f
update from chris' work
2007-09-12 17:12:33 -04:00
Dan Mills
cd258ec577
Bookmarks sync extension - initial import
2007-09-12 17:03:30 -04:00