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

1586 Коммитов

Автор SHA1 Сообщение Дата
Anant Narayanan 5ccbee5ebe Backed out changeset 5768a19f21d3 (crypto review not done yet) 2009-07-21 14:32:57 -07:00
Anant Narayanan d81a63e89a Reset passphrase code + UI (bug #443696)
--HG--
extra : rebase_source : 4905bf56bf8efc90b49f99f56603a93908efdd63
2009-07-21 14:31:16 -07:00
Anant Narayanan 98dab3d018 Crypto changes
--HG--
extra : rebase_source : 0a953a43c01b95e7c467ec4ca7feeb0aaa00f5e1
2009-07-21 11:18:29 -07:00
Daniel Holbert f7af52933f Bug 502293: Fix a string so that Weave will *actually* display error messages, instead of showing a percent sign. r=thunder 2009-07-21 12:35:12 -07:00
Edward Lee 39f903ac1b Bug 504256 - sync should observe idle service and only sync when the user is idle
Detect if the user has been recently active, and if so, skip the sync. Arbitrarily picking 30 seconds for now.
2009-07-17 16:55:15 -07:00
Edward Lee 8b6ee7ab29 Bug 504389 - Don't automatically sync after clicking on wipe server
Remove description reference to automatically sending local data.
2009-07-17 12:23:03 -07:00
Edward Lee ac496a8ff4 Bug 504387 - Cache keys after creating/PUTting them instead of after GETting. r=thunder
Set the record manager for CryptoMetas, PubKeys, PrivKeys after uploading keys.
2009-07-16 23:13:58 -07:00
Edward Lee 23c622196a Bug 504389 - Don't automatically sync after clicking on wipe server
Don't open the sync status after wiping, and move the after-wipe sleep to inside freshStart with shorter wait.
2009-07-16 16:31:54 -07:00
Edward Lee e9b04c1a05 Fix trailing spaces. 2009-07-16 15:17:28 -07:00
Edward Lee a2fb76d1d2 $hare the $ub$titute command from root Makefile. 2009-07-16 14:07:07 -07:00
Edward Lee e3ff46defa Re/Move substitute declarations. 2009-07-16 12:11:31 -07:00
Mike Connor 62cb8fcc34 move password tests to need-work because they've been broken for a year
--HG--
rename : services/sync/tests/unit/test_passwords.js => services/sync/tests/unit/need-work/test_passwords.js
2009-07-16 11:51:10 -04:00
Mike Connor 51215dc245 fix crypto build on Windows
--HG--
extra : rebase_source : 064641153d08264392be94204ba78c21dff7a782
2009-07-15 22:46:42 -04:00
Edward Lee 52cd985eb5 merge weave 0.5pre2. 2009-07-15 16:48:05 -07:00
Edward Lee b8797a9425 Bug 504372 - Don't immediately start syncing right after wiping the server
Wait a while after wiping so that the DELETEs replicate.
2009-07-15 11:26:22 -07:00
Edward Lee c0af82c730 Bug 504346 - Set the storage version with storage version instead of weave version
Make it so WEAVE_VERSION is only used to detect add-on version upgrades.
2009-07-15 11:07:44 -07:00
Edward Lee ab720933fa 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 f071400c36 merge weave. resolve Makefile storage_version changes. 2009-07-14 19:23:15 -07:00
Edward Lee fe61f12176 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
Edward Lee c1367f888b Bug 504212 - Have javascript stack traces show [object Object] for various CryptoWrapper functions
Also update createKeypair for keys to pass around the passphrase object and update the tests to pass around an object.
2009-07-14 19:04:32 -07:00
Edward Lee cb085193e5 Remove pref tracker init debug message. 2009-07-14 18:47:29 -07:00
Edward Lee 2c6d25d3a2 Log jsonLoad/Save as trace instead of debug. 2009-07-14 18:44:41 -07:00
Edward Lee c75387d5ab Bug 504230 - Use Engine's logging level for Store and Tracker
Use the log.logger.engine.* prefs to determine what the Store and Tracker should log with. This requires putting the same engine name on each Store/Tracker object, so there's some duplicate string values right now.
2009-07-14 18:34:03 -07:00
Edward Lee 4a7d3fdd7d Bug 504216 - Force various engines to be disabled
Have the disabled engines return null for enabled instead of the pref's true/false.
2009-07-14 17:03:57 -07:00
Edward Lee 21ad9fd3dc Bug 504212 - Have javascript stack traces show [object Object] for various CryptoWrapper functions
Pass the ID object instead of reading out the password and passing it in to encrypt/decrypt.
2009-07-14 16:51:04 -07:00
Edward Lee ae1aca92d9 Bug 504196 - Enable Forms and Prefs sync by default
Toggle forms/prefs preferences to true by default.
2009-07-14 16:08:15 -07:00
Edward Lee 5abbdfd658 Bug 504177 - Don't block the UI when syncing up/down
Sync.sleep(0) to let the main thread do UI, etc. after every record encrypt or decrypt.
2009-07-14 14:01:26 -07:00
Edward Lee 91eaad7a57 Debug log the size of PUT/POSTs messages.
--HG--
extra : rebase_source : 67a4e2afd1c908cc9184c0866226a55c77a96292
2009-07-14 13:59:46 -07:00
Anant Narayanan a5ccf09b4f Limit form history records (bug 494952, r=thunder)
--HG--
extra : rebase_source : c3e983d30a14efd972eea2651a59be76924da256
2009-07-14 12:28:18 -07:00
Edward Lee 8a0fe106d0 Bug 479189 - weave does not sync tag smart folders properly
Create a new record type, BookmarkQuery, to handle place: uri smart bookmarks. Store what tag name the query wants and lookup the id for that tag on other machines on create/update.
2009-07-13 17:43:15 -07:00
Edward Lee 2a1d0341a0 Bug 503938 - Tags with a single bookmark keep generating new tag ids
Share a tagging code for create/update that will tag a dummy uri temporarily while it untags the bookmark to make sure every tag has at least one child during this untag/tag process.
2009-07-13 13:40:49 -07:00
Mike Connor 43f1bba83b fix tests 2009-07-11 02:30:37 -04:00
Mike Connor eabe55a895 arglebargle 2009-07-11 01:20:45 -04:00
Mike Connor 34a0e690ad build system updates (still WIP) 2009-07-10 23:32:04 -04:00
Mike Connor 9146187052 new makefile for crypto 2009-07-10 14:15:21 -04:00
Mike Connor 9eb60ac14f file moves
--HG--
rename : services/sync/IWeaveCrypto.xpt => services/crypto/components/IWeaveCrypto.xpt
2009-07-10 11:57:56 -04:00
Edward Lee 221fb2b7af Print the exception with the stack on fault tolerance. 2009-07-09 18:05:58 -07:00
Edward Lee a8ef74db89 Strip newline from various debug output. 2009-07-09 17:44:41 -07:00
Edward Lee 0d43caf465 Bug 502482 - error while syncing bookmarks from server
Set the item type for generic PlacesItems, but don't do anything when trying to create it.
2009-07-09 17:15:00 -07:00
Edward Lee ee3c44ba86 Remove async and wrap from test_load_modules. 2009-07-09 13:58:19 -07:00
Edward Lee 8fd525f317 merge weave. resolve comments added to resource.js. 2009-07-09 11:21:20 -07:00
Dan Mills 432b95d30f switch from autogenerated load-module tests to a single test that loads all modules 2009-07-01 11:51:52 -07:00
Edward Lee b6e3b95d2d Convert a log.info to log.debug for passwords so it doesn't clutter the brief log. 2009-06-25 22:52:28 -07:00
Edward Lee dd9ce3521e Bug 500598 - Undefined item in tabContainer.childNodes after closing tabs
The childNodes NodeList keeps its indices even after removal, so it's safer to convert the array-like thing into an actual array. Condense the QueryInterface code to the instanceof magic.
2009-06-25 22:46:14 -07:00
Edward Lee 4046e5cd82 Bug 500551 - Failed to load XPCOM component WeaveCrypto.so
Only try loading WeaveCrypto maemo binary on Linux (until we get Linux_arm-msvc).
2009-06-25 17:27:03 -07:00
Anant Narayanan b8e79586eb Add some docs for Resource module 2009-06-25 16:13:52 -07:00
Edward Lee d7369a90e1 Bug 500518 - Update fennec login screen to use richpref styling
Use a richlistbox with richpref styling for input/buttons like the rest of the weave prefs. Hide password/passphrase after entering, but keep them visible when entering for the first time.
2009-06-25 14:26:33 -07:00
Edward Lee baa6609a31 merge weave. resolve addition of kSpecialIds to bookmarks.js near removal of Async.sugar. 2009-06-23 22:34:57 -07:00
Anant Narayanan 4b5477c640 Change priority of some log messages to trace 2009-06-22 18:19:42 -07:00
Edward Lee 2317e38e54 Bug 487282 - "browser is null" error in tabs.js
Share browser detection code for register and unregister tab listeners and better check for tabbrowser windows.
2009-06-22 15:53:42 -07:00