Commit Graph

81 Commits

Author SHA1 Message Date
Edward Lee
a399960cee Bug 554924 - Weave should not sync during session restore [r=mconnor]
Get rid of STATUS_DELAYED and initialize Weave listeners, etc immediately. At the end of onStartup, wait a little bit to let sessionstore restore tabs and then count how many busy tabs to delay autoconnecting to avoid doing network while tabs are doing network.
2010-04-01 15:16:19 -07:00
Edward Lee
35ae88f40a Bug 545517 - Make the remote version check compare storage versions and not weave versions [r=mconnor sr=mhanson]
Move back to a model where multiple client versions can read the same data of the same storageVersion. The only time meta/global is written is on a freshStart/server wipe. Initialize the version to 1.2pre1.1 so that individual storage-incompatible changes can bump the value. Old versions are strings, so estimate with a parseFloat, but future versions will be integers.
2010-03-16 16:31:55 -07:00
Edward Lee
a371ae83ae Reverse thresholds to make more sense for single vs multi. 2010-01-26 12:08:41 -08:00
Mike Connor
c12a983183 Bug 533580 - strip busted tbird support 2009-12-08 16:09:26 -08:00
Edward Lee
88aab17b7b Bug 532722 - Use AddonOptionsLoad event to update Weave options
Make the weave add-on guid available as a constant and watch for AddonOptionsLoad with the matching addonID.
2009-12-03 12:14:56 -08:00
Mike Connor
8ebf17dca7 Backed out changeset 23d90c46b89c 2009-11-12 15:44:33 -05:00
Edward Lee
9723bf4362 Bug 528278 - Remove remote commands and wait for user on wipeRemote/changePassphrase
Store the reason for starting fresh (new syncId) in meta/global and fail remoteSetup on certain reasons to let the UI show a notification to the user for a response (pick merge or change passphrase). Code paths (sync, prep, etc.) related to remote commands are removed.
2009-11-12 11:54:21 -08:00
Mike Connor
14acb12656 bug 518075 - tweak original patch and item values 2009-11-09 12:57:58 -05:00
Edward Lee
61295bf349 Bug 522084 - Automatically sync much sooner if there's more data to fetch from the server
Have the syncInterval getter return with a lower interval for non-mobile clients while still enforcing backoff if it's bigger than the sync interval.
2009-10-13 11:56:46 -07:00
Mike Connor
8a69ade4d1 bug 518273 - need to handle not having an active node assigned, r=edilee
--HG--
extra : rebase_source : f86c6cc164241cee263345de5e13dd5ae0a3758b
2009-09-29 18:33:41 -07:00
Edward Lee
52565baca2 Remove unused threshold code that will be replaced soon with bug 518075. 2009-09-29 13:02:08 -07:00
Edward Lee
14764a5484 Don't unnecessarily throw from verifyLogin and remove its _catch wrapper.
--HG--
extra : rebase_source : ca74b47b96f4d1fbc1b8454d5b505a57b558e729
2009-09-28 16:13:42 -07:00
Edward Lee
4abc9f56ba Bug 517597 - waste fewer resources while a user only has one client active
Adjust how often Weave syncs based on the number of clients and only sync tabs if there are multiple clients.
2009-09-25 15:05:09 -07:00
Edward Lee
f0d86921f5 Wire up "custom" inputs to set/read and show/hide server url box. 2009-09-25 09:11:19 -07:00
Mike Connor
426cb34a4f Land some initial statusbar UI bits of bug 513944 and remove unused/debug code. 2009-09-24 23:16:27 -07:00
Edward Lee
8db1de49fa Merge weave to about-weave. 2009-09-16 19:16:48 -07:00
Edward Lee
fe86dd9174 Remove trailing period for passphrase error code. 2009-09-16 19:15:46 -07:00
Edward Lee
882a10af2c Resolve conflicts by taking the already-fixed about.js and locally-fixed constants.js.in. 2009-09-16 13:56:37 -07:00
Edward Lee
4b97bca2eb Merge mconnor's about-weave branch to weave-about-weave with conflicts. 2009-09-16 13:53:15 -07:00
Edward Lee
584475732e Resolve constants.js.in conflicts by switching to the new format. 2009-09-16 13:45:08 -07:00
Edward Lee
7a23b07d84 Merge weave to weave-about-weave with conflicts. 2009-09-16 13:39:51 -07:00
Dan Mills
08c0f91578 Bug 516350 - about:weave round 3 initial landing 2009-09-16 13:36:11 -07:00
Edward Lee
748bd77b8f Get rid of the ugly EXPORTED_SYMBOLS array of strings for constants and generate it from a constants hash that sets the value and provides the exported name. Remove some unused constants and line-up the values at 40th column. 2009-09-15 19:07:23 -07:00
Mike Connor
30f7aa6e96 fix minor merge kvetch 2009-09-15 21:57:06 -04:00
Dan Mills
5094a04f3d initial patch
--HG--
extra : rebase_source : 250c8f0d85483300147a6f0d691e0214db6d837b
2009-09-15 21:54:05 -04:00
Mike Connor
4faaba2018 bug 511549 - make detailedStatus much smarter about errors and backoff, r=edilee
--HG--
extra : rebase_source : 42e3eb9c89d2567d18c02e7583202e284dd69b0e
2009-09-15 21:38:52 -04:00
Edward Lee
ec0c49c88c Bug 513191 - cloud -> client sync wipes auth cache, including weave credentials. r=thunder
Bug 506790 - Utils.setPassword unnecessarily removes logins and add them when the realm/user/pass are the same
Bug 506792 - Utils.setPassword gets called multiple times for both password and passphrase on login
Bug 514499 - Passphrase not verified with auto-login
Don't aggressively persist the password with smart (dumb?) setters that clear out the temp password; and provide a separate function to persist the login. This effectively makes setting password/passphrase always temporary until persisted, which will check if the value is different from the one already stored on disk. A number of verify/cluster functions are privitized to not need to take user/pass/passph as arguments so that the default authenticator will work, and verifyPassphrase will use the stored passphrase to correctly handle auto-login.
2009-09-03 21:11:32 -07:00
Mike Connor
1f94c8885f bug 481733 - provide better error messages, handle errors better, make autoconnect more robust, r=edilee
--HG--
extra : rebase_source : 3eb68a7b4be88c7bd7b9c2b02c96218298cce2f9
2009-08-19 23:27:22 -04:00
Edward Lee
5860298b5a Bug 504788 - Handle different weave versions by wiping, upgrading, updating. r=thunder
Store the most newest Weave version on the server and update it if necessary on each remoteSetup. Make a concept of a compatible version where this version of Weave can read but might change records with its full sync.

--HG--
extra : rebase_source : c11cada1e3ba07e00113fca439610d0b6fd78190
2009-07-22 18:49:07 -07:00
Dan Mills
7f9996ac73 Bug 481347: Split uploads into multiple chunks to get around server upload limit and curtail memory usage 2009-07-22 16:21:33 -07:00
Edward Lee
af402ab06f Bug 504346 - Set the storage version with storage version instead of weave version
Rename MIN_SERVER_STORAGE_VERSION -> STORAGE_VERSION and use it when setting meta/global's storageVersion.
2009-07-15 10:31:35 -07:00
Edward Lee
5d5107e98e Bug 504236 - Allow separate weave and storage versions
Update the substitution names to separately replace the storage version with the new storage version Makefile variable.
2009-07-14 19:19:49 -07:00
Dan Mills
6aa937b947 Bug 493442: use app IDs instead of names to determine what engines to load 2009-05-18 11:11:07 -07:00
Dan Mills
112832c1bc shorten status messages 2009-03-27 20:57:38 -07:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
9ea720568b Moved constants from constants.js to constants.js.in (see bug 481319.) 2009-03-25 23:43:14 -07:00
Dan Mills
7abdeb6ee2 remove old storage format constants, add min_server_format_version 2009-02-11 23:52:44 -08:00
Dan Mills
141052a67a add some makefile magic for creating release & snapshot builds more easily 2008-12-27 00:11:41 -08:00
Dan Mills
6479c553a7 bump version to 0.2.93 2008-12-23 12:17:40 -08:00
Dan Mills
8bf18e53a1 bump version to 0.2.92 2008-12-06 00:13:19 -08:00
Dan Mills
c5ed82885f bump version to 0.2.91 2008-12-01 20:02:01 -08:00
Dan Mills
336e1168af bump version to 0.2.90 2008-11-27 23:07:15 +09:00
Dan Mills
3cc9e0fa65 bump version to 0.2.7 2008-10-16 12:32:40 -07:00
Dan Mills
1237305322 bump version to 0.2.6 2008-08-08 15:14:04 -07:00
Dan Mills
9ca663413e Fix network timeouts, make them take into account progress; re-upload new snapshot after 25 deltas 2008-07-21 18:23:51 -07:00
Dan Mills
b6cd1a1acd version bump to 0.2.5 2008-07-17 21:27:50 -07:00
Dan Mills
839d464575 version bump to 0.2.4 2008-07-12 21:08:36 -07:00
Dan Mills
41dc6fa440 version bump to 0.2.3 2008-07-11 19:01:36 -07:00
Dan Mills
c2bdb5473d bump version to 0.2.2 2008-07-08 21:25:15 -07:00
Dan Mills
011f9243a4 version bump to 0.2.1 2008-07-08 19:40:55 -07:00
Dan Mills
1556cc4511 version bump (0.2.0) 2008-07-01 00:04:47 -07:00