Граф коммитов

1586 Коммитов

Автор SHA1 Сообщение Дата
Mike Connor 061821547d 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 1468737a00 Remove unused threshold code that will be replaced soon with bug 518075. 2009-09-29 13:02:08 -07:00
Edward Lee 21a3b5a172 Don't wrap changePassword with _catch and persist the password on success. 2009-09-28 16:28:38 -07:00
Edward Lee 6416822a50 Don't unnecessarily throw from verifyLogin and remove its _catch wrapper.
--HG--
extra : rebase_source : ca74b47b96f4d1fbc1b8454d5b505a57b558e729
2009-09-28 16:13:42 -07:00
Mike Connor 56d0995726 bug 515593 - remove a bunch of stuff we shouldn't sync, will revisit potential additions for 0.8 2009-09-28 15:54:45 -07:00
Edward Lee 6bdcdd5e20 Bug 519262 - Forgot password doesn't work -> throbber keeps spinning
Just get the pref without slashifying with getURLPref.
2009-09-28 13:34:56 -07:00
Edward Lee 08eb7e1a48 Call eval() in Sync-async loop to work around crashes on 1.9.2 Fennec. 2009-09-25 20:53:46 -07:00
Edward Lee 86667667bd Default to mobile sync interval (5 min) for account creation and upgrade. 2009-09-25 20:47:38 -07:00
Edward Lee 9c2378f997 Don't unconditionally forceGC on processIncoming especially when there's nothing to process. 2009-09-25 18:39:24 -07:00
Edward Lee e55480bf35 Sort the sync timing report to show certain functions first. 2009-09-25 18:38:47 -07:00
Edward Lee 14fe8aed33 Add some account creation error handling, but it's still pretty clunky with username detection and alerts for other stuff. 2009-09-25 18:19:30 -07:00
Edward Lee bb2e492d25 Use the default or backoff intervals only after checking a previously scheduled sync and pick the bigger of the two. 2009-09-25 17:32:35 -07:00
Edward Lee 589b85a361 Run sync on idle on a separate event so that login can return and release the lock before trying to sync. 2009-09-25 17:28:48 -07:00
Edward Lee 0d568192bf Bug 518972 - Only upload history records that have more than one visit
Allow each engine to provide a custom Collection object and have History provide a collection that filters out certain data. This is inefficient because we have to first create then encrypt the record before we can filter it out.
2009-09-25 16:52:12 -07:00
Edward Lee f8ce20a6b7 Bug 518958 - Only sync tabs if there has been tab activity
Check the score, which gets bumped up on tab open/close/select, to decide if tabs should be marked as changed.
2009-09-25 16:14:26 -07:00
Edward Lee 2b1018a27e Persist sync intervals because we only update it when changing the number of clients. 2009-09-25 15:41:27 -07:00
Edward Lee 450c304c35 Bug 514601 - Don't send DELETE for old history/form data on every sync
Don't send any deletes as the server will do the delete with bug 518945.
2009-09-25 15:30:26 -07:00
Edward Lee 45daba81ae 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 a1553a0ff7 Bug 518864 - Persist "next sync time" across events that disable sync
Save a nextSync value in a pref and use it to trigger a sync-on-idle if the "next sync time" already passed when logging in. Make sure to default to backoff time first, then next sync, then use the default.
2009-09-25 11:46:29 -07:00
Edward Lee 1f712aaa28 Wire up "custom" inputs to set/read and show/hide server url box. 2009-09-25 09:11:19 -07:00
Edward Lee 61ff7efb89 Bug 512809 - signup form uses colors for input validation feedback. r=Mardak
Add initial error reporting and "available" tagging. Also add "start over" functionality and change some custom settings display.
2009-09-25 09:09:05 -07:00
Edward Lee 0087e7aedb Bug 513944 - Weave should not load / do anything until it absolutely needs to
Weave already triggers on a late notification and puts itself on the event loop, so just additionally delay startup based on the number of open tabs (which will all be busy at startup).
2009-09-25 08:13:12 -07:00
Mike Connor d6af22e0ca Land some initial statusbar UI bits of bug 513944 and remove unused/debug code. 2009-09-24 23:16:27 -07:00
Edward Lee 964e049c2e Add a simpler-to-use nsITimer wrapper, Utils.delay, that can use a named property of an object to additionally delay or clear the timer. Get rid of Utils.EventListener and simplify/fix up users. 2009-09-24 22:51:38 -07:00
Edward Lee fc8b595236 Correctly cancel any sync triggers after starting a sync with a shared function that removes timers and idle observers. 2009-09-24 19:04:06 -07:00
Edward Lee 13ec4c4921 Bug 518146 - Generate shorter GUIDs than nsIUUIDGenerator
Randomly generate 10 characters from a pool of 70 possible characters for an equivalent 61.29-bit GUID which should have around 1% chance of collision (within a collection) after ~100 million records.
2009-09-24 15:54:47 -07:00
Edward Lee 442f5ac9d3 Bug 506268 - Session restore fails halfway through, leaves tabs unloaded
Load Weave off of the event that triggered sessionstore so that it and its callers can finish loading before autoconnect does network activity.
2009-09-24 14:31:05 -07:00
Edward Lee 6fa67802b5 Bug 518077 - Add custom settings for "sign in" to set things like server url
Provide an initial implementation to read and set preferences: autoconnect, serverURL. For now show them in a "Custom settings" expando tab like the one for create account, but the styling isn't great.

--HG--
extra : rebase_source : 3fc1e8bad7786cf06e2da8c95e7bca5f50fb6ec3
2009-09-22 01:00:43 -07:00
Dan Mills 68d9050e1c Bug 518069: forgot password UI / bug 518067: directional sync dialog during setup 2009-09-21 23:52:00 -07:00
Edward Lee 774b54a2a3 Don't update the cluster on each login unless verify login failed or there was no cluster set. 2009-09-21 18:03:56 -07:00
Edward Lee 3d76548184 Bug 518022 - Logging in with invalid username results in "Couldn't sign in: Network error"
Report 404 info/collections responses as "login rejected" if we're on the right cluster.
2009-09-21 17:34:19 -07:00
Edward Lee 736efc571f Bug 518018 - Default to serverURL instead of userAPI on 404 cluster check
Rework server/user/misc prefs to allow relative paths and full urls for generating API paths. Cache string properties of generated URLs under the storageAPI instead of using dynamic getters.
2009-09-21 17:13:41 -07:00
Dan Mills af7b9b3aa9 implement forgot password/passphrase dialogs 2009-09-20 19:26:01 -07:00
Edward Lee 6be4412a84 Keep track of previously opened windows of pages that should only have one instance open and close the old one if it's still open. 2009-09-18 00:15:37 -07:00
Edward Lee fcb7e6d648 Land about-weave on weave. Bug 516350 - about:weave round 3 followup fixes. r=thunder 2009-09-17 14:51:00 -07:00
Edward Lee b21c9b6300 Use trace logging for reporting GUIDs. 2009-09-17 14:41:24 -07:00
Edward Lee 56b977bd62 Merge weave to about-weave. 2009-09-16 19:16:48 -07:00
Edward Lee dea85e923c Remove meta serialization now that resource takes objects. 2009-09-16 19:15:55 -07:00
Edward Lee 1e9df514ed Remove trailing period for passphrase error code. 2009-09-16 19:15:46 -07:00
Edward Lee 4d0bbd635e Use the lazyStrings object for error strings to avoid using the wrong file (locales vs locale). 2009-09-16 16:52:43 -07:00
Edward Lee 26213468b6 Merge Mardak's weave-about-weave to about-weave. 2009-09-16 14:02:53 -07:00
Edward Lee b9bbbc007b Resolve conflicts by taking the already-fixed about.js and locally-fixed constants.js.in. 2009-09-16 13:56:37 -07:00
Mike Connor bca3470741 move email address below password 2009-09-16 16:55:27 -04:00
Edward Lee dddc3943ed Merge mconnor's about-weave branch to weave-about-weave with conflicts. 2009-09-16 13:53:15 -07:00
Edward Lee 252df77258 Resolve constants.js.in conflicts by switching to the new format. 2009-09-16 13:45:08 -07:00
Edward Lee 5a62191729 Merge weave to weave-about-weave with conflicts. 2009-09-16 13:39:51 -07:00
Dan Mills 145df5ff00 Bug 516350 - about:weave round 3 initial landing 2009-09-16 13:36:11 -07:00
Edward Lee ff2da1acb5 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 2c44bfad8d fix minor merge kvetch 2009-09-15 21:57:06 -04:00
Dan Mills 2625b8a1fb initial patch
--HG--
extra : rebase_source : 250c8f0d85483300147a6f0d691e0214db6d837b
2009-09-15 21:54:05 -04:00