-
Notifications
You must be signed in to change notification settings - Fork 974
Commits on Jan 27, 2017
-
Revert "Convert background page to event page"
This reverts commit 23203e1.
Configuration menu - View commit details
-
Copy full SHA for 3d0fb35 - Browse repository at this point
Copy the full SHA 3d0fb35View commit details -
Configuration menu - View commit details
-
Copy full SHA for abb9eea - Browse repository at this point
Copy the full SHA abb9eeaView commit details -
set object ids on bookmarks and history
auditors: @ayumi test plan: 1. start brave 2. bookmark any page 3. observe that the terminal console says that the bookmark is created with some objectId 4. un-bookmark the page 5. observe that the terminal console says that the bookmark is deleted with the same objectId
Configuration menu - View commit details
-
Copy full SHA for a38865d - Browse repository at this point
Copy the full SHA a38865dView commit details -
Send site settings and bookmarks when sync starts up
in case they changed while sync was not yet initialized. Also add a TODO for where Ayumi's sync resolution IPC will hook in. Auditors: @ayumi
Configuration menu - View commit details
-
Copy full SHA for 0661451 - Browse repository at this point
Copy the full SHA 0661451View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5778210 - Browse repository at this point
Copy the full SHA 5778210View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62e1d31 - Browse repository at this point
Copy the full SHA 62e1d31View commit details -
fix failing siteUtil unit test
'electron' could not be required in the site util test, so unittests had been failing.
Configuration menu - View commit details
-
Copy full SHA for 3f426cb - Browse repository at this point
Copy the full SHA 3f426cbView commit details -
Save sync init data as Immutable.List instead of Uint8Array
This prevents the window from crashing on first init, which has been causing Travis to fail. Auditors: @ayumi
Configuration menu - View commit details
-
Copy full SHA for 3587172 - Browse repository at this point
Copy the full SHA 3587172View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2405b52 - Browse repository at this point
Copy the full SHA 2405b52View commit details -
sync site settings, add SYNC_CLEAR HISTORY
also refactors reusable sync methods from app/sync.js to js/state/syncUtil.js Auditors: @ayumi Test Plan: 1. start Brave 2. go to bing.com 3. disable shields 4. you should see the console log a setting with 'shieldsUp: false', indicating the sync-client sent the record. 5. enable shields 6. same as 4 but with 'shieldsUp: true'
Configuration menu - View commit details
-
Copy full SHA for 980b1ea - Browse repository at this point
Copy the full SHA 980b1eaView commit details -
Adds a preference for sync and categories. Defaults to off. Test Plan: 1. go to about:preferences#sync and turn sync on 3. kill brave and start it again 4. verify in console that sync is running 5. go to brave.com, verify that no history is synced 6. go to about:preferences#sync, enable syncing history 7. go to brave.com, verify that history is synced this time 8. go to about:preferences#sync, disable sync 9. go to brave.com, bookmark it. verify that nothing is synced at all.
Configuration menu - View commit details
-
Copy full SHA for 1e12b9b - Browse repository at this point
Copy the full SHA 1e12b9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f16d95 - Browse repository at this point
Copy the full SHA 4f16d95View commit details -
Auditors: @diracdeltas Test Plan: 1. Start Brave, go to Preferences #Sync and check out the sweet pyramid
Configuration menu - View commit details
-
Copy full SHA for 3284b51 - Browse repository at this point
Copy the full SHA 3284b51View commit details -
move setObjectId from syncUtil to siteUtil to avoid dependency problems
7abab4b caused node to throw 'module not found' errors when siteUtil (which depended on syncUtil) was imported into renderer components, i think. This avoids the problem by not having siteUtil depend on syncUtil. also auto-added docs from the post-commit hook Auditors: @ayumi Test Plan: 1. npm start 2. you should not see any 'module not found' errors in the terminal
Configuration menu - View commit details
-
Copy full SHA for f3b1a57 - Browse repository at this point
Copy the full SHA f3b1a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c913a - Browse repository at this point
Copy the full SHA 08c913aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d31ee9 - Browse repository at this point
Copy the full SHA 6d31ee9View commit details -
add sync QR code and setup options
This adds most of the UX for Brave sync setup in the case where this device is the first device in the sync profile. Auditors: @ayumi Test Plan: 1. npm run clean-session-store 2. npm start 3. go to about:preferences#sync 4. click the orange button to set up sync for the first time 5. name the device, then click the create button 6. shut down brave, run npm start again 7. you should see the device name from (5) in the terminal console 8. go to about:preferences#sync, click 'add new device' button 9. you should see a QR code
Configuration menu - View commit details
-
Copy full SHA for 71f090a - Browse repository at this point
Copy the full SHA 71f090aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 502ea23 - Browse repository at this point
Copy the full SHA 502ea23View commit details -
Auditors: @diracdeltas
Configuration menu - View commit details
-
Copy full SHA for 610ecbd - Browse repository at this point
Copy the full SHA 610ecbdView commit details -
Sync siteSettings with browser data
Auditors: @diracdeltas Test Plan: Prep: 0. Update sync lib to `brave/sync #fix/resolve-delete-nonexistant-props`. 1. Prepare 2 instances (pyramids) of Brave with Sync enabled. - Enable Sync and close Brave. - Copy `{userData}/brave-development` to `{userData}/brave-development-2`. - Edit `brave-development-2/session-store-1` `deviceId` to `1`. - To `browser-laptop` `package.json` add `"start2": "node ./tools/start.js --user-data-dir=brave-development-2 --debug=5859 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",` 2. In `appConfig.js` `sync.fetchInterval` reduce to 5 seconds. Play: 3. Open both pyramid 1 and pyramid 2. 4. In pyramid 1 visit a webpage and open up the bravery panel. 5. In pyramid 2 visit the same page and open up the bravery panel. 6. In pyramid 2 toggle each available siteSetting. Observe it appears in pyramid 1 after 1–5s. 7. Try toggling multiple settings at once, and toggling different settings simulatenously on both pyramids. 8. In both go to Preferences #Shields. Clear siteSettings with the Clear links and the red X's. Observe they sync over.
Configuration menu - View commit details
-
Copy full SHA for 985e9c3 - Browse repository at this point
Copy the full SHA 985e9c3View commit details -
allow browser-laptop to join an existing sync profile
by entering the 16 code words
Configuration menu - View commit details
-
Copy full SHA for 934acb5 - Browse repository at this point
Copy the full SHA 934acb5View commit details -
On Sync init only send siteSettings without objectId
Auditors: @diracdeltas Test Plan: 1. Have Sync disabled. 2. Browse a site and toggle a Bravery Panel setting. 3. Enable Sync and restart your pyramid. Note that siteSettings are sent. 4. Restart your pyramid again. Note this time siteSettings are *not* sent.
Configuration menu - View commit details
-
Copy full SHA for 8bfc8fa - Browse repository at this point
Copy the full SHA 8bfc8faView commit details -
Sync: Apply records asynchronously
Fix brave/sync#44 Auditors: @diracdeltas Test Plan: 1. Start Pyramid 1 which has a bunch of syncable data. Sync should enabled. 2. Setup Pyramid 2 (add `"start2": "node ./tools/start.js --user-data-dir=brave-development-2 --debug=5859 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",` to package.json) and specify the Pyramid 1 Sync credentials. 3. When Pyramid 2 restarts and begins syncing data, Brave should be somewhat usable (not completely frozen for 60s).
Configuration menu - View commit details
-
Copy full SHA for 65a8764 - Browse repository at this point
Copy the full SHA 65a8764View commit details
Commits on Jan 30, 2017
-
Fix Sync objectId generation when disabled
Previously we were generating objectIds even when Sync was disabled, thus bookmarks created prior to Sync were not synced during the sync first run. Auditors: @diracdeltas
4Configuration menu - View commit details
-
Copy full SHA for 41a997e - Browse repository at this point
Copy the full SHA 41a997eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81c66d0 - Browse repository at this point
Copy the full SHA 81c66d0View commit details -
Sync initial bookmarks in order
Fix brave/sync#48 Test plan: 1. Start Pyramid 0. It should have bookmarks and bookmark folders. 2. Enable Sync on Pyramid 0, and restart to complete setup. 3. Start Pyramid 1. Add it to Pyramid 0's Sync profile and restart. 4. Bookmarks should sync in the same order.
Configuration menu - View commit details
-
Copy full SHA for bf9f40d - Browse repository at this point
Copy the full SHA bf9f40dView commit details -
Merge pull request #6832 from brave/feature/syncing-bookmarks-order
Sync bookmarks in order, without conflict
Configuration menu - View commit details
-
Copy full SHA for 85c8126 - Browse repository at this point
Copy the full SHA 85c8126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52b1dc8 - Browse repository at this point
Copy the full SHA 52b1dc8View commit details
Commits on Jan 31, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7c6cc79 - Browse repository at this point
Copy the full SHA 7c6cc79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ce74fd - Browse repository at this point
Copy the full SHA 6ce74fdView commit details -
Change syncUtil to use site Map instead of List
Fixes some issues caused by the merge. TODO: re-enable bookmark syncing in order Auditors: @ayumi Test Plan: 1. create pyramid with some bookmarks and bookmark folders 2. sync pyramid 0 3. start pyramid 1, sync it 4. watch bookmarks flow from pyramid 0 to pyramid 1 5. add some bookmarks in pyramid 1; they should flow back
Configuration menu - View commit details
-
Copy full SHA for 507564c - Browse repository at this point
Copy the full SHA 507564cView commit details
Commits on Feb 1, 2017
-
Sync initial bookmarks in order
Re-introduce SyncRecord.Bookmark.index after Sites Map refactor. Fix brave/sync#45 Auditors: @diracdeltas Test plan: 1. Start Pyramid 0. It should have bookmarks and bookmark folders. 2. Enable Sync on Pyramid 0, and restart to complete setup. 3. Start Pyramid 1. Add it to Pyramid 0's Sync profile and restart. 4. Bookmarks should sync onto Pyramid 1 in the same order as Pyd 0.
Configuration menu - View commit details
-
Copy full SHA for 620cffc - Browse repository at this point
Copy the full SHA 620cffcView commit details -
Merge pull request #6964 from brave/feature/syncing-bookmarks-order-2
Sync initial bookmarks in order
Configuration menu - View commit details
-
Copy full SHA for a0045fe - Browse repository at this point
Copy the full SHA a0045feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e449f - Browse repository at this point
Copy the full SHA 69e449fView commit details
Commits on Feb 3, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4a6c304 - Browse repository at this point
Copy the full SHA 4a6c304View commit details
Commits on Feb 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1380d48 - Browse repository at this point
Copy the full SHA 1380d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb2d4a - Browse repository at this point
Copy the full SHA 8eb2d4aView commit details
Commits on Feb 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bad3f11 - Browse repository at this point
Copy the full SHA bad3f11View commit details -
Merge pull request #7086 from brave/feature/restartless-sync
implement restartless sync
Configuration menu - View commit details
-
Copy full SHA for 4074874 - Browse repository at this point
Copy the full SHA 4074874View commit details -
Configuration menu - View commit details
-
Copy full SHA for f980210 - Browse repository at this point
Copy the full SHA f980210View commit details
Commits on Feb 8, 2017
-
Merge pull request #7118 from brave/feature/syncing-test-bookmarks
Test bookmark Sync
Configuration menu - View commit details
-
Copy full SHA for 6b555ce - Browse repository at this point
Copy the full SHA 6b555ceView commit details -
Test syncing history and site settings
and clearing them should prevent syncing.
Configuration menu - View commit details
-
Copy full SHA for fe4b7ee - Browse repository at this point
Copy the full SHA fe4b7eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for eea6318 - Browse repository at this point
Copy the full SHA eea6318View commit details
Commits on Feb 9, 2017
-
Merge pull request #7136 from brave/feature/syncing-test-history-site…
…-settings Test syncing bookmark folders, history and site settings
Configuration menu - View commit details
-
Copy full SHA for 3d20e69 - Browse repository at this point
Copy the full SHA 3d20e69View commit details -
Add the sweet sync logo to the extension
Test Plan: 1. Go to about:extensions. 2. there should be a sweet logo Auditors: @diracdeltas
2Configuration menu - View commit details
-
Copy full SHA for ed176a6 - Browse repository at this point
Copy the full SHA ed176a6View commit details -
Fix restartless sync on first device setup
Auditors: @ayumi Test Plan: 1. npm run clean-session-store 2. open brave and enable sync 3. sync should start without requiring a restart
Configuration menu - View commit details
-
Copy full SHA for 4dc48df - Browse repository at this point
Copy the full SHA 4dc48dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f392fad - Browse repository at this point
Copy the full SHA f392fadView commit details
Commits on Feb 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 375ba5d - Browse repository at this point
Copy the full SHA 375ba5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dad719 - Browse repository at this point
Copy the full SHA 7dad719View commit details -
Merge pull request #7145 from brave/feature/syncing-tests-3
Test syncing can be turned off; private history does not sync
Configuration menu - View commit details
-
Copy full SHA for 2d43d47 - Browse repository at this point
Copy the full SHA 2d43d47View commit details -
Merge pull request #7152 from brave/feature/syncing-styling
Syncing styling
Configuration menu - View commit details
-
Copy full SHA for 04af333 - Browse repository at this point
Copy the full SHA 04af333View commit details
Commits on Feb 11, 2017
-
disable sync restore button until code words are entered
Auditors: @ayumi Test Plan: 1. go to about:preferences#sync 2. click 'i have an existing sync code' 3. the setup button should be disabled 4. enter some text in the textbox 5. the setup button should be enabled
Configuration menu - View commit details
-
Copy full SHA for 7f1e79f - Browse repository at this point
Copy the full SHA 7f1e79fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd74b0 - Browse repository at this point
Copy the full SHA 4cd74b0View commit details -
fix issues related to merge and sync default naming
Auditors: @ayumi Test Plan: 1. enable sync for the first time 2. don't change the default device name 3. once sync is enabled, it should show 'Mac Laptop' as the device name or whatever your OS is
Configuration menu - View commit details
-
Copy full SHA for a66f921 - Browse repository at this point
Copy the full SHA a66f921View commit details
Commits on Feb 13, 2017
-
Adjust width of sync toggle pref / device name
Test Plan: 1. Open Preferences > Sync. 2. With Sync enabled, the area with the toggle switch and device name should look ok.
Configuration menu - View commit details
-
Copy full SHA for a80b05b - Browse repository at this point
Copy the full SHA a80b05bView commit details
Commits on Feb 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7c59a85 - Browse repository at this point
Copy the full SHA 7c59a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c39e18 - Browse repository at this point
Copy the full SHA 8c39e18View commit details -
Sync bookmarks in order during initial sync
Depends on brave/sync #fix/timestamp-ms to return S3 records in upload order. Test Plan: 1. `npm run test -- --grep='"^Syncing bookmarks from an"'`
Configuration menu - View commit details
-
Copy full SHA for 1a69b53 - Browse repository at this point
Copy the full SHA 1a69b53View commit details -
Merge pull request #7236 from brave/feature/syncing-bookmarks-existing
Sync bookmarks in order during initial sync
Configuration menu - View commit details
-
Copy full SHA for 0239612 - Browse repository at this point
Copy the full SHA 0239612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4984218 - Browse repository at this point
Copy the full SHA 4984218View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2618188 - Browse repository at this point
Copy the full SHA 2618188View commit details -
Configuration menu - View commit details
-
Copy full SHA for d132bdf - Browse repository at this point
Copy the full SHA d132bdfView commit details
Commits on Feb 15, 2017
-
- Add download sync client to package.json postinstall - Fix sync endpoints to be prod for packaged apps Auditors: @diracdeltas @bsclifton Test Plan: - Remove `node_modules`. - `npm install`. - `CHANNEL=dev npm run build-package` / `CHANNEL=dev npm run build-installer`. - Open the built app. - Preferences > Sync should be present. - Enable Sync. - Sync should connect to `https://sync.brave.com` and `https://brave-sync.s3.dualstack.us-west-2.amazonaws.com`. (You could check this with Little Snitch for MacOS)
Configuration menu - View commit details
-
Copy full SHA for 7c4aeb8 - Browse repository at this point
Copy the full SHA 7c4aeb8View commit details -
Merge pull request #7247 from brave/feature/syncing-auto-dl-lib
Prepare Sync for packaging
Configuration menu - View commit details
-
Copy full SHA for 7809a0a - Browse repository at this point
Copy the full SHA 7809a0aView commit details