Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Refactor navigationBar with Aphrodite - first try #9299

Merged
merged 366 commits into from
Jul 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
366 commits
Select commit Hold shift + click to select a range
260272c
Converts CheckDefaultBrowserDialog into redux component
NejcZdovc Jun 15, 2017
d329334
Revert "Use fast-url-parser"
diracdeltas Jun 15, 2017
77873c3
Revert "Handle query values as objects for cached parsed urls"
diracdeltas Jun 15, 2017
91c8074
Merge pull request #9501 from brave/fix/urlparse
bsclifton Jun 15, 2017
e8f4f25
Merge pull request #9462 from brave/web-contents-send
bbondy Jun 15, 2017
b536afb
Review feedback
bsclifton Jun 15, 2017
bf34c40
Merge pull request #9400 from bsclifton/fix-close-tab-behavior
bsclifton Jun 16, 2017
e261b9e
don’t add the tab to tab state until the tab_helper has updated the v…
bridiver Jun 16, 2017
a36189a
check for tab destoyed
bridiver Jun 16, 2017
c1effd9
check for null frame
bridiver Jun 16, 2017
485042c
Tweak tabtitle threshold w/ secondary icons on small tabs
cezaraugusto Jun 16, 2017
ee90736
Merge pull request #9494 from NejcZdovc/redux/noScriptInfo
NejcZdovc Jun 16, 2017
e2df69a
Saves computed styles in the state
NejcZdovc May 30, 2017
f1b2bb8
Merge pull request #9176 from NejcZdovc/refactor/#9149-computed
NejcZdovc Jun 16, 2017
6dc07cb
Moves NotificationItem in a seperate file
NejcZdovc Jun 16, 2017
1598fb2
Merge pull request #9520 from NejcZdovc/refactor/notificationBar
NejcZdovc Jun 16, 2017
7a747a2
Removes appveyor
NejcZdovc Jun 16, 2017
1007e8c
Merge pull request #9523 from NejcZdovc/hotfix/appveyor
NejcZdovc Jun 16, 2017
cdaad86
Fixes context menu not working on tabsbar
NejcZdovc Jun 16, 2017
3141ee6
Converts ContextMenu into redux component
NejcZdovc Jun 16, 2017
f2a21ac
Take no action for middle click over pinned tabs
cezaraugusto Jun 16, 2017
0ab7e02
offer pinterest-save extension
kevinlawler Jun 16, 2017
2bc6b7f
Merge pull request #9528 from brave/tabsbar/9492
bsclifton Jun 17, 2017
701c9b4
Converts ImportBrowserDataPanel into redux component
NejcZdovc Jun 14, 2017
f806b17
Don't allow tab preview after close if config is off
cezaraugusto Jun 17, 2017
c5968c5
Merge pull request #9485 from NejcZdovc/redux/importBrowserDataPanel
NejcZdovc Jun 17, 2017
3dfc598
Polish groupedItem button
Jun 18, 2017
5a46e49
Add groupedItem to the existing browserButtons
Jun 18, 2017
bbe8cdc
Add tests for tab preview after tab close
cezaraugusto Jun 17, 2017
67033fd
Merge pull request #9357 from luixxiul/polish-groupedItem
cezaraugusto Jun 19, 2017
279f27f
Merge pull request #9363 from luixxiul/polish-kabab
cezaraugusto Jun 19, 2017
f214325
Normalize buttons in about:preferences
cezaraugusto Jun 15, 2017
f985db9
Sort top sites more deterministically
bbondy Jun 19, 2017
6f70a1c
Add panelItem prop to browserButton
cezaraugusto Jun 19, 2017
73ff1b1
Merge pull request #9491 from brave/braveryPanel/9089
cezaraugusto Jun 19, 2017
7d98f45
Merge pull request #9537 from brave/tabsbar/9536
bsclifton Jun 19, 2017
40ebed2
Merge pull request #9557 from brave/9541
bsclifton Jun 19, 2017
fab48e2
Merge pull request #9525 from NejcZdovc/hotfix/#9524-tabsbar
bsclifton Jun 19, 2017
586a8ad
Fixes middle click not working for home button
NejcZdovc Jun 19, 2017
5a0bb1b
Converts WidevinePanel into redux component
NejcZdovc Jun 15, 2017
9738f41
Converts NotificationBar and NotificationItem into redux components
NejcZdovc Jun 16, 2017
ddc30fd
Merge pull request #9487 from brave/buttons/9486
cezaraugusto Jun 19, 2017
b96f0b1
Disable new tab background for tests
cezaraugusto Jun 19, 2017
be5a9bd
Revert "Hide Enpass until it's supported in muon"
andrewalker Jun 17, 2017
f657e24
Update localization files
Jun 19, 2017
fc97df4
Merge pull request #9570 from luixxiul/transifex-update
bsclifton Jun 19, 2017
07166c7
Merge pull request #9512 from brave/tabsbar/9466
bsclifton Jun 19, 2017
6e28a1c
Optimize top site order lookups
bbondy Jun 19, 2017
2a075af
Merge pull request #9527 from brave/extensions/pinterest-create
bridiver Jun 19, 2017
373e299
Merge pull request #9526 from NejcZdovc/redux/contextMenu
bridiver Jun 19, 2017
ee5c9da
Merge pull request #9518 from NejcZdovc/redux/notificationBar
bridiver Jun 19, 2017
3cbe462
Merge pull request #9497 from NejcZdovc/redux/checkDefaultBrowserDialog
bridiver Jun 19, 2017
9e74130
Merge pull request #9488 from NejcZdovc/redux/widevinePanel
bridiver Jun 19, 2017
53e3725
Merge pull request #9481 from NejcZdovc/redux/object-assign
bridiver Jun 19, 2017
002d158
Merge pull request #9426 from NejcZdovc/redux/findBar
bridiver Jun 19, 2017
142808a
Merge pull request #9417 from NejcZdovc/redux/popupWindow
bridiver Jun 19, 2017
f04b0ed
Merge pull request #9375 from brave/https-test
bridiver Jun 19, 2017
73b1749
Update Muon version
bsclifton Jun 19, 2017
429ad67
Converts ReleaseNotes into redux component
NejcZdovc Jun 15, 2017
0c3ea4b
Merge pull request #9496 from NejcZdovc/redux/releaseNotes
NejcZdovc Jun 19, 2017
129522d
Merge pull request #9564 from NejcZdovc/hotfix/#9562-homebutton
bsclifton Jun 19, 2017
79cd681
move muon extension constants into js/constants
kevinlawler Jun 19, 2017
8ead2c8
Merge pull request #9507 from brave/issue-9506
bridiver Jun 19, 2017
4688b1c
Merge pull request #9546 from andrewalker/master
cezaraugusto Jun 19, 2017
744360c
Convert reload context menu to native menu
liunkae Jun 20, 2017
baf8125
Enable importing passwords from Firefox, closes #9292
evq Jun 13, 2017
171f236
Merge pull request #9585 from brave/feature/extensions/port-muon-keys
bridiver Jun 20, 2017
09698a2
Add a null check for framePath in WINDOW_SET_LINK_HOVER_PREVIEW, fixe…
evq Jun 20, 2017
d0403b9
Add support for Linux Mint Serena
bbondy Jun 20, 2017
9254bed
Merge pull request #9591 from brave/serena-mint
bsclifton Jun 20, 2017
22d2451
Merge pull request #9469 from brave/webrt-browser
bsclifton Jun 20, 2017
c43bfa4
Merge pull request #9582 from brave/9581
bsclifton Jun 20, 2017
1a75d4d
Merge pull request #9509 from brave/issue-9508
bsclifton Jun 20, 2017
fdce33e
Removes leftovers in Main from PR 9488
NejcZdovc Jun 20, 2017
bddf5cc
Merge pull request #9597 from NejcZdovc/hotfix/widevinePanel
NejcZdovc Jun 20, 2017
1484eab
Bump muon back to undeleted 4.0.3
bbondy Jun 20, 2017
26e3fa6
Merge pull request #9589 from evq/fix/link-hover-null-check
bridiver Jun 20, 2017
57d207a
Converts AutofillAddressPanel into redux component
NejcZdovc Jun 15, 2017
759e164
Merge pull request #9490 from NejcZdovc/redux/autofillAddressPanel
NejcZdovc Jun 20, 2017
8cd454b
fix unit test failure from https://travis-ci.org/brave/browser-laptop…
bridiver Jun 20, 2017
5ed19e4
Converts UpdateBar into redux component
NejcZdovc Jun 16, 2017
930a315
Fixes travis permissions
NejcZdovc Jun 20, 2017
76ac83c
Converts ClearBrowsingDataPanel into redux component
NejcZdovc Jun 14, 2017
17057bd
Moves reducer for ledger
NejcZdovc Jun 16, 2017
5cb22be
Merge pull request #9457 from NejcZdovc/redux/clearBrowsingDataPanel
NejcZdovc Jun 20, 2017
15deae1
Converts AutofillCreditCardPanel into redux component
NejcZdovc Jun 19, 2017
3db05b2
Merge pull request #9566 from NejcZdovc/redux/autofillCC
NejcZdovc Jun 20, 2017
0597c77
Converts BraveryPanel into redux component
NejcZdovc Jun 14, 2017
087f7d0
Fixes unit test for siteSettingsReducer
NejcZdovc Jun 20, 2017
f44726d
Merge pull request #9603 from NejcZdovc/hotfix/site-unittest
NejcZdovc Jun 20, 2017
c5d2f7b
fix noscript allow-once for selective scripts
diracdeltas Jun 20, 2017
bb7906b
Add test case for sequentially closing tabs
cezaraugusto Jun 17, 2017
f69209b
check to see if the tab was active before it was closed
bridiver Jun 18, 2017
81f05a4
Merge pull request #9539 from brave/test/9306
bbondy Jun 20, 2017
2feebca
Editing custom selection from autocomplete can clear URL suffix
bbondy Jun 20, 2017
6a418ea
send UPDATE instead of CREATE for sites
diracdeltas Jun 20, 2017
272405c
Update Muon version for 0.18.x
bsclifton Jun 21, 2017
2fe57fa
Show right number of tabs when closing with mouse on first tab in new…
bbondy Jun 21, 2017
8fd0f34
Merge pull request #9614 from brave/fix/sync-folder
bbondy Jun 21, 2017
f86a8a4
close tab if the download is the initial navigation
bridiver Jun 21, 2017
94e78ca
Merge pull request #9623 from brave/issue-9620
bbondy Jun 21, 2017
dfa51fe
Tests should pass with npm5
bbondy Jun 21, 2017
52164a6
Unpinning tab intermittently does not display the title on tabs
bbondy Jun 21, 2017
dda13f7
Merge pull request #9618 from brave/9561
bsclifton Jun 21, 2017
a544771
Add test for after unpinning tab
cezaraugusto Jun 21, 2017
f602c3d
Merge pull request #9625 from brave/9608
cezaraugusto Jun 21, 2017
214c6c5
Merge pull request #9629 from brave/electron-chromedriver
cezaraugusto Jun 21, 2017
6ade125
Merge pull request #9613 from brave/edit-autocomplete
bsclifton Jun 21, 2017
f1c5efb
Merge pull request #9516 from NejcZdovc/redux/updateBar
NejcZdovc Jun 21, 2017
63ff18d
Merge pull request #9489 from brave/tests/9240
NejcZdovc Jun 21, 2017
6bd4de0
Merge pull request #9601 from NejcZdovc/hotfix/#9600-travis
bbondy Jun 21, 2017
d319536
add metamask to available extensions
kevinlawler Jun 21, 2017
516afd1
reliably activate titleMode based on mouse state
cezaraugusto Jun 21, 2017
82253c5
Hide pre-release preference, since Linux builds don't auto-update
bsclifton Jun 21, 2017
b9b25c2
Remove a duping secondaryColor button on about:styles (#9560)
luixxiul Jun 22, 2017
a88c8f8
Merge pull request #9588 from Liunkae/reload-native-menu
bsclifton Jun 22, 2017
ebec62b
Merge pull request #9595 from brave/fix/9150
bsclifton Jun 22, 2017
f3efaa1
Merge pull request #9650 from bsclifton/hide-prerelease-linux
bsclifton Jun 22, 2017
4efc85b
Fixes middle and right click for home button
NejcZdovc Jun 22, 2017
55389cf
Update Muon version
bsclifton Jun 23, 2017
e79ab87
Merge pull request #9672 from NejcZdovc/hotfix/#9562-homebutton2
bsclifton Jun 23, 2017
5b1a50a
Merge pull request #9455 from NejcZdovc/redux/braveryPanel
NejcZdovc Jun 23, 2017
d5f3ad1
Adds null checks to tabContentSate
NejcZdovc Jun 23, 2017
7df8ce5
Fixes unit tests, broken with #9650
NejcZdovc Jun 23, 2017
8717c97
Refactors PublisherToggle into redux component
NejcZdovc Jun 7, 2017
b0145ac
Merge pull request #9329 from NejcZdovc/redux/publisherToggle
NejcZdovc Jun 23, 2017
058eec2
Merge pull request #9675 from NejcZdovc/hotfix/unittest-advancedTabTest
bsclifton Jun 23, 2017
d627755
Merge pull request #9673 from NejcZdovc/hotfix/#9663-crash
bsclifton Jun 23, 2017
5f6f453
Converts bookmarksToolbar and bookmarkToolbarButton into redux
NejcZdovc May 22, 2017
705b4e4
Merge pull request #9030 from NejcZdovc/redux/bookmarks
NejcZdovc Jun 23, 2017
838b44e
Fixes some failing tests
NejcZdovc Jun 21, 2017
1102e38
Merge pull request #9639 from NejcZdovc/hotfix/#9638-tests
NejcZdovc Jun 23, 2017
7cf3505
Cleanup of LoginRequired
NejcZdovc Jun 15, 2017
4f4a0b9
Merge pull request #9493 from NejcZdovc/redux/loginRequired
bbondy Jun 23, 2017
e3eab8a
Fix for unit tests
bsclifton Jun 23, 2017
435fa34
Merge pull request #9687 from brave/9686
bsclifton Jun 23, 2017
2666938
Add new script which publishes the current release (based on the vers…
bsclifton Jun 24, 2017
24bf5fe
Split TabsTab to its own file
cezaraugusto Jun 23, 2017
d31b378
Add tests for TabsTab component
cezaraugusto Jun 23, 2017
32df453
Merge pull request #9690 from brave/pre-push
bsclifton Jun 24, 2017
6d59803
Set correct location in case pinned location is about:blank page
romamatusevich Jun 15, 2017
c54ce8e
Update Muon version
bsclifton Jun 24, 2017
d99c5c6
Merge pull request #9693 from bsclifton/add-publish-script
bsclifton Jun 24, 2017
1500ecd
Prevent Tab Close Button from allowing tab-tearoff
cezaraugusto Jun 23, 2017
d6138d0
get full path from custom data in dataTransfer.items from https://git…
bridiver Jun 25, 2017
3f38071
Make welcome screen show up on first time run
cezaraugusto Jun 15, 2017
cb9afe6
only send ipc messages to the hostWebContents of the tab that generat…
bridiver Jun 25, 2017
16d24b1
Removed about:welcome webdriver test in favor of unit tests
bsclifton Jun 25, 2017
bd36f33
Update Muon version
bsclifton Jun 25, 2017
9c10fa7
Merge pull request #9694 from cezaraugusto/pref/7398
bsclifton Jun 25, 2017
6c8c68b
only call `mergeProps` when either the state or the props have changed
bridiver Jun 12, 2017
cf6e22f
Merge pull request #9480 from cezaraugusto/about/firstrun
cezaraugusto Jun 25, 2017
37202b8
adding release notes for 0.17.x
alexwykoff Jun 26, 2017
5439824
My proposed edits:
bsclifton Jun 26, 2017
d142b24
Revert "Revert "Handle query values as objects for cached parsed urls""
diracdeltas Jun 26, 2017
720ecc4
Revert "handle empty objects in sync DELETEs"
diracdeltas Jun 26, 2017
3935f58
Send isSecure false instead of null when an insecure site has passive…
diracdeltas Jun 27, 2017
13984b0
Merge pull request #9727 from brave/fix/9652
bsclifton Jun 27, 2017
48a8169
Merge pull request #9433 from evq/feature/password-import
bsclifton Jun 27, 2017
4987814
Fix autoplay test
darkdh Jun 27, 2017
1311da9
Update Muon version
bsclifton Jun 27, 2017
74d4ea1
Merge pull request #9700 from brave/issue-9699
bsclifton Jun 27, 2017
a559937
Merge pull request #9403 from brave/redux-set-state
bsclifton Jun 27, 2017
b364c56
Merge pull request #9739 from brave/autoplay-test-fix
bsclifton Jun 27, 2017
27b0547
Merge pull request #9726 from brave/fix/9724
diracdeltas Jun 27, 2017
4042f5f
Bump ledger-balance version to latest
evq Jun 27, 2017
871ed86
Merge pull request #9742 from brave/bump-ledger-balance
bsclifton Jun 28, 2017
12c8f64
move about welcome logic to tab reducer
cezaraugusto Jun 26, 2017
b778a26
Skip 2 ReduxComponent tests which cause failures (needs more investig…
bsclifton Jun 28, 2017
da6fe86
Merge pull request #9729 from brave/follow-up--9480
bsclifton Jun 28, 2017
0ba5ace
Fix error when adding a bookmark folder
diracdeltas Jun 28, 2017
41e87af
Fix broken (intermittent) unit tests
bsclifton Jun 28, 2017
08d61da
Merge pull request #9746 from brave/fix/9745
NejcZdovc Jun 28, 2017
d8140c6
Fixes tabsTab unit test
NejcZdovc Jun 28, 2017
22c07e6
Merge pull request #9749 from NejcZdovc/testTabs
NejcZdovc Jun 28, 2017
d7e803e
Refactors Navigator into primitives only
NejcZdovc Jun 28, 2017
8432d6c
Fixes theme text color for find bar
NejcZdovc Jun 28, 2017
de20bc7
Merge pull request #9411 from brave/urlbar/9410
bsclifton Jun 28, 2017
c575303
Merge pull request #9692 from brave/tabsbar--9511
NejcZdovc Jun 28, 2017
a9cfb1d
refactor preview handling to make the view dumber
bridiver Jun 18, 2017
643996d
remove HTTPS Everywhere build scripts
diracdeltas Jun 21, 2017
70bfd75
Cleaning up leveldown references
bsclifton Jun 29, 2017
93416ad
Fix syncing tests
diracdeltas Jun 29, 2017
0bd0287
Merge pull request #9542 from brave/issue-9306-related
cezaraugusto Jun 29, 2017
4147821
Merge pull request #9770 from brave/fix/9768
diracdeltas Jun 29, 2017
00473b0
fixed positioning and spelling for a couple entries
alexwykoff Jun 29, 2017
be52976
Provide a swipe navigation distance setting for users to config along
darkdh Jun 20, 2017
a3df7df
don’t use sync ipc for publisher info
bridiver Jun 13, 2017
a93609f
Merge pull request #9752 from NejcZdovc/refactor/#9751-navigator
NejcZdovc Jun 29, 2017
1769230
Merge pull request #9472 from brave/ledger-sync-ipc
bsclifton Jun 29, 2017
c57e80d
Add license notes for incorporated projects
diracdeltas Jun 29, 2017
19dc181
Merge pull request #9515 from romamatusevich/master
bsclifton Jun 29, 2017
5308897
Merge pull request #9785 from brave/fix/9767
bbondy Jun 30, 2017
4cc1273
Merge pull request #9647 from brave/feature/extensions/metamask-create
bsclifton Jun 30, 2017
cc3eedd
dont’t call to get site settings outside of mergeProps
bridiver Jun 13, 2017
735037e
Converts Main into redux component
NejcZdovc Jun 23, 2017
5114cc3
Merge pull request #9678 from NejcZdovc/redux/main
NejcZdovc Jun 30, 2017
ed3ab5f
updated muon version
alexwykoff Jun 30, 2017
e877597
Merge pull request #9708 from brave/add_0_17_x_release_notes
bbondy Jun 30, 2017
fad1af8
Update final release version
liunkae Jun 30, 2017
1c74191
Merge pull request #9798 from Liunkae/changelog-version
bsclifton Jun 30, 2017
d0498f6
Fix scroll bar issues on bravery panel
Jun 30, 2017
8fde201
Merge pull request #9702 from brave/issue-9701
bsclifton Jun 30, 2017
6f61f13
Merge pull request #9759 from NejcZdovc/hotfix/#9758-findbar
bsclifton Jun 30, 2017
fd26195
Merge pull request #9475 from brave/site-settings-merge-props
bsclifton Jun 30, 2017
396f9e3
Add Discord to the README
bbondy Jun 30, 2017
c570373
Update Muon version
bsclifton Jun 30, 2017
ed19951
README typo
bsclifton Jun 30, 2017
527f44e
Update localization files
Jul 1, 2017
cf67f92
Merge pull request #9653 from brave/feature/httpse-5.1.9
bsclifton Jul 1, 2017
1b460db
Update minimum Node version on README.md and package.json
Jul 1, 2017
6957fad
Update mockery to ^2.1.0
Jul 1, 2017
f650ce8
Merge pull request #9803 from luixxiul/compactBraveryPanel-polish
cezaraugusto Jul 2, 2017
8503998
Merge pull request #9617 from brave/swipe_nav_sensitivity
cezaraugusto Jul 2, 2017
31cb1ed
Merge pull request #9819 from luixxiul/update-mockery
bsclifton Jul 2, 2017
69ec8e8
Merge pull request #9817 from luixxiul/update-readme
bsclifton Jul 2, 2017
dff9c03
Merge pull request #9816 from luixxiul/transifex-update
bsclifton Jul 2, 2017
df286df
Add package-lock.json to .gitignore (DROPPED LATER)
Jun 9, 2017
f6760de
Remove obsolete styles from navigationBar.less
Jun 7, 2017
6897e3f
Refactor navigationBar (part 1)
Jun 9, 2017
17cc079
Add buttonContainer on commonStyles.js
Jun 12, 2017
7728bb0
Refactor urlBarIcon
Jun 12, 2017
b6ac056
Refactor navigationBar (part 2)
Jun 12, 2017
86a1f80
Refactor navigationBar (part 3)
Jun 17, 2017
3d5b96b
Misc change
Jun 18, 2017
c54882e
Fix publisher toggle when Payments are disabled
Jul 2, 2017
9e1efd9
Fix automated tests
Jul 2, 2017
da896af
TODO: Fix failing tests
Jul 2, 2017
45f1c54
Add travis flag (DROPPED LATER)
Jul 2, 2017
479d6ef
Rename navigationButtonContainer -> navbarButtonContainer etc
Jul 2, 2017
5442452
Rename buttonContainer -> rectangleContainer
Jul 2, 2017
719f72a
Add comments to rectangleContainer and navbarButtonContainer about us…
Jul 2, 2017
66e5bc1
Remove 'Button' from navigationButton_*
Jul 2, 2017
6f71f53
Add NormalizedButton to browserButton.js
Jul 2, 2017
a28020d
Replace publisherButton with NormalizedButton
Jul 2, 2017
dd1d286
Convert 'buttonSeparator'
Jun 26, 2017
22b7dd6
Add navigationBarButtonContainer
cezaraugusto Jul 3, 2017
da1e5c1
split and make bookmarkButton a reduxComponent
cezaraugusto Jul 3, 2017
4d99090
Add tweaks to navigationBarButtonContainer.js
Jul 3, 2017
31ca8e4
Replace isBoxed -> isSquare
Jul 3, 2017
b58001d
split and make homeButton a reduxComponent
cezaraugusto Jul 3, 2017
b6592d2
Convert home button to normalizedButton
Jul 3, 2017
f684758
split stopButton
cezaraugusto Jul 3, 2017
6cdc4e7
Replace stopButton with normalizedButton
Jul 3, 2017
cae4875
split and make reloadButton a reduxComponent
cezaraugusto Jul 3, 2017
d6c8613
remove unused props in navigationBar
cezaraugusto Jul 3, 2017
2b02cc1
Apply NavigationBarButtonContainer for ...
Jul 3, 2017
337923a
NormalizedButton for home and stop buttons
Jul 3, 2017
29aa7f9
Refactor LongPressButton (reloadButton, backButton, forwardButton)
Jul 3, 2017
636ddb4
NormalizedButton for bookmark button (Removed withHomeButton)
Jul 3, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ httpse.leveldb

# sync bundle file should be built and copied from the brave/sync repo for now
app/extensions/brave/content/scripts/sync.js

package-lock.json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: drop the commit to remove this.

6 changes: 3 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
runtime = electron
target_arch = x64
brave_electron_version = 3.0.202
chromedriver_version = 2.27
target = v3.0.202
brave_electron_version = 4.2.6
chromedriver_version = 2.29
target = v4.2.6
disturl=https://brave-laptop-binaries.s3.amazonaws.com/atom-shell/dist/
build_from_source = true
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_js:
- "7"
dist: trusty
sudo: required
group: edge
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand All @@ -14,6 +15,7 @@ branches:
only:
- master
- /\d+\.\d+\.x/
- navigationBar-aphrodite
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: drop the commit to remove this.

notifications:
slack:
secure: bDwO2uce5JAZvjrvWj4+/+yEXJAIK4O0RcgUWvZ2IMbi7Q9I89Mw40JmkLWL6x2gWZwxr8+FoLtErJA7RVrsfImjrX+NmMyAB7AydLdrBJtkLozNnuacnhcnBRyp1gGCa1ymxCEXGbgC6onAD3kiJJhggr70T+2lu3IuJYXENhc=
Expand Down
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# Changelog

## [0.17.13](https://github.com/brave/browser-laptop/releases/tag/v0.17.13dev)
- Added Honey extension. ([#8118](https://github.com/brave/browser-laptop/issues/8118))
- Added compact bravery panel option. ([#8954](https://github.com/brave/browser-laptop/issues/8954))
- Added wide URL bar option. ([#8421](https://github.com/brave/browser-laptop/issues/8421))
- Added support for Linux Mint - Serena. ([#9590](https://github.com/brave/browser-laptop/issues/9590))
- Added a new "Welcome" screen. ([#7821](https://github.com/brave/browser-laptop/issues/7821))
- Fixed saving a document doesn't show correct origin. ([#8698](https://github.com/brave/browser-laptop/issues/8698))
- Fixed CSP referrer errors. ([#8920](https://github.com/brave/browser-laptop/issues/8920))
- Fixed NoScript approvals from private tabs apply to regular tabs. ([#8779](https://github.com/brave/browser-laptop/issues/8779))
- Fixed incorrect hostname shown in titlemode when host is very long. ([#9500](https://github.com/brave/browser-laptop/issues/9500))
- Fixed Brave Browser very slow to open or close tabs. ([#4848](https://github.com/brave/browser-laptop/issues/4848))
- Fixed 50-80ms delay when closing a tab. ([#7395](https://github.com/brave/browser-laptop/issues/7395))
- Fixed browser performance reduces when large amount of bookmarks are imported. ([#7240](https://github.com/brave/browser-laptop/issues/7240))
- Fixed slow navigation after importing a lot of bookmarks. ([#9427](https://github.com/brave/browser-laptop/issues/9427))
- Fixed importing bookmarks after sync causes loss of hierarchy. ([#8892](https://github.com/brave/browser-laptop/issues/8892))
- Fixed import data gets duplicated after sync. ([#8508](https://github.com/brave/browser-laptop/issues/8508))
- Fixed CSS for visited links ( A:Visited ). ([#512](https://github.com/brave/browser-laptop/issues/512))
- Fixed download leaves about:blank page loading. ([#9620](https://github.com/brave/browser-laptop/issues/9620))
- Fixed middle click is not working on Home button. ([#9562](https://github.com/brave/browser-laptop/issues/9562))
- Fixed closing the only tab in second tabset showing the wrong number of tabs. ([#9561](https://github.com/brave/browser-laptop/issues/9561))
- Fixed switching tabs while reloading windows from last time . ([#9502](https://github.com/brave/browser-laptop/issues/9502))
- Fixed middle click on pinned tab causes all opened tabs to show as pinned tabs. ([#9492](https://github.com/brave/browser-laptop/issues/9492))
- Fixed tab title isn't hidden for session tabs after the tab threshold is reached. ([#9466](https://github.com/brave/browser-laptop/issues/9466))
- Fixed "Select its parent tab" setting not working as expected. ([#9395](https://github.com/brave/browser-laptop/issues/9395))
- Fixed closing tabs results in white page. ([#9306](https://github.com/brave/browser-laptop/issues/9306))
- Fixed bookmark title is not selected automatically. ([#9091](https://github.com/brave/browser-laptop/issues/9091))
- Fixed improve RPM packaging. ([#9074](https://github.com/brave/browser-laptop/issues/9074))
- Fixed button not disabled on add new bookmark modal by default. ([#9019](https://github.com/brave/browser-laptop/issues/9019))
- Fixed show all button overlaps on ledger table entry. ([#8869](https://github.com/brave/browser-laptop/issues/8869))
- Fixed pinned tab notification doesn't have the caret and shown across all tabs. ([#8626](https://github.com/brave/browser-laptop/issues/8626))
- Fixed viewing HBO GO video. ([#8581](https://github.com/brave/browser-laptop/issues/8581))
- Fixed Allow notification bar choices. ([#8826](https://github.com/brave/browser-laptop/issues/8826))
- Fixed tab preview on hover. ([#7606](https://github.com/brave/browser-laptop/issues/7606))
- Fixed right clicking tab being previewed causes focus to change. ([#7327](https://github.com/brave/browser-laptop/issues/7327))
- Fixed clicking on disabled Ad/Tracker count enables the `<li>` element under braveryPanelBody. ([#7026](https://github.com/brave/browser-laptop/issues/7026))
- Fixed autofill form option blinks and cannot be clicked. ([#5438](https://github.com/brave/browser-laptop/issues/5438))
- Fixed build hangs in tmux on macOS. ([#8916](https://github.com/brave/browser-laptop/issues/8916))
- Upgrade Muon to 4.1.7. ([#9645](https://github.com/brave/browser-laptop/issues/9645))
- Upgrade Chromium to 59.0.3071.109. ([#9626](https://github.com/brave/browser-laptop/issues/9626))

## [0.16.9](https://github.com/brave/browser-laptop/releases/tag/v0.16.9dev)
- Fixed crash on login or other input. ([#9369](https://github.com/brave/browser-laptop/issues/9369))
- Fixed ability to scroll down to latest bookmark. ([#9055](https://github.com/brave/browser-laptop/issues/9055))

## [0.16.5](https://github.com/brave/browser-laptop/releases/v0.16.5dev)
- Added various performance improvements. ([#9342](https://github.com/brave/browser-laptop/issues/9342))
- Disabled the “Fund with debit/credit card” button in preparation for new funding method. ([#9327](https://github.com/brave/browser-laptop/issues/9327))
- Fixed custom bookmark titles not being searched for suggestions. ([#9249](https://github.com/brave/browser-laptop/issues/9249))
- Fixed pause is not working correctly for downloads. ([#9244](https://github.com/brave/browser-laptop/issues/9244))
- Fixed pinned tab showing blank white page when relaunching the browser. ([#9134](https://github.com/brave/browser-laptop/issues/9134))
- Fixed view log shows console errors when checking for update. ([#9122](https://github.com/brave/browser-laptop/issues/9122))
- Fixed cannot move bookmarks/folders to other folders in Bookmark Manager. ([#9101](https://github.com/brave/browser-laptop/issues/9101))
- Fixed bookmarks manager scrolling on drag and drop into folders. ([#8946](https://github.com/brave/browser-laptop/issues/8946))
- Fixed sync not tracking & merging changes in some cases. ([#8454](https://github.com/brave/browser-laptop/issues/8454))
- Upgrade to Chromium 59.0.3071.86. ([#9012](https://github.com/brave/browser-laptop/issues/9012))
- Upgrade to Muon 4.0.1. ([#9256](https://github.com/brave/browser-laptop/issues/9256))

## [0.15.314](https://github.com/brave/browser-laptop/releases/v0.15.314dev)
- Fixed 'autocomplete search term' results are not filtering out 'http...' results. ([#9141](https://github.com/brave/browser-laptop/issues/9141))
- Fixed WebView Not Visible in Popup Window. ([#9095](https://github.com/brave/browser-laptop/issues/9095))
Expand Down
25 changes: 23 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
Mozilla Public License Version 2.0
==================================
LICENSES FOR INCORPORATED CODEBASES
===================================

Incorporating code from Privacy Badger Chrome,
https://github.com/EFForg/privacybadger
Copyright © 2015 Electronic Frontier Foundation and other contributors
Licensed GPL v3

Incorporating code from HTTPS Everywhere,
Copyright © 2010-2017 Electronic Frontier Foundation and others
Licensed GPL v2+

Incorporating code from Chameleon,
https://github.com/ghostwords/chameleon
Copyright © 2015 ghostwords
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Alternatively, this code may be distributed or
otherwise used under the terms of GPL v3

Text of Mozilla Public License Version 2.0
==========================================

1. Definitions
--------------
Expand Down
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ Brave supports 3 [release channels](https://github.com/brave/browser-laptop/wiki

## Community

[Join the community](https://community.brave.com/) if you'd like to get more involved with Brave. You can [ask for help](https://community.brave.com/c/help-me),
[Join the Q&A community](https://community.brave.com/) if you'd like to get more involved with Brave. You can [ask for help](https://community.brave.com/c/help-me),
[discuss features you'd like to see](https://community.brave.com/c/feature-requests), and a lot more. We'd love to have your help so that we can continue improving Brave.

Join our [Discord community chat](https://discordapp.com/invite/k57tYrS) for higher bandwidth discussions.

## Useful documentation

* See [CONTRIBUTING.md](.github/CONTRIBUTING.md) for tips and guidelines about contributing.
Expand All @@ -49,15 +51,11 @@ For other platforms (macOS, Linux) You'll need certain packages installed before

### Prerequisites

1. `nodejs` **`>= 6.1`**
1. `nodejs` **`>= 7.9.0`**

Install from your package manager or download from https://nodejs.org

2. `node-gyp` **`3.3.1`**

sudo npm install -g node-gyp@3.3.1

#### On Debian/Ubuntu
#### On Debian / Ubuntu /Mint

````
apt-get install libgnome-keyring-dev build-essential rpm ninja-build
Expand Down Expand Up @@ -89,12 +87,10 @@ After installing the prerequisites:

cd browser-laptop

3. Install the Node (v5+) dependencies:
3. Install the Node dependencies:

npm install

If this fails on Linux with an error related to `ad-block`, try updating to Node 6.1 and `node-gyp` 3.3.1 (see discussion at https://github.com/brave/browser-laptop/issues/214)

Instead of `npm install` you may also install with [yarn](https://github.com/yarnpkg/yarn).

### Troubleshooting
Expand Down
51 changes: 34 additions & 17 deletions app/autofill.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,40 @@
const electron = require('electron')
const session = electron.session
const appActions = require('../js/actions/appActions')
const messages = require('../js/constants/messages')

module.exports.init = () => {
process.on('personal-data-changed', (profileGuids, creditCardGuids) => {
appActions.autofillDataChanged(profileGuids, creditCardGuids)
})
}

module.exports.addAutofillAddress = (detail, guid) => {
module.exports.addAutofillAddress = (detail) => {
session.defaultSession.autofill.addProfile({
full_name: detail.name,
company_name: detail.organization,
street_address: detail.streetAddress,
city: detail.city,
state: detail.state,
postal_code: detail.postalCode,
country_code: detail.country,
phone: detail.phone,
email: detail.email,
guid: guid
full_name: detail.get('name'),
company_name: detail.get('organization'),
street_address: detail.get('streetAddress'),
city: detail.get('city'),
state: detail.get('state'),
postal_code: detail.get('postalCode'),
country_code: detail.get('country'),
phone: detail.get('phone'),
email: detail.get('email'),
guid: detail.get('guid')
})
}

module.exports.removeAutofillAddress = (guid) => {
session.defaultSession.autofill.removeProfile(guid)
}

module.exports.addAutofillCreditCard = (detail, guid) => {
module.exports.addAutofillCreditCard = (detail) => {
session.defaultSession.autofill.addCreditCard({
name: detail.name,
card_number: detail.card,
expiration_month: detail.month,
expiration_year: detail.year,
guid: guid
name: detail.get('name'),
card_number: detail.get('card'),
expiration_month: detail.get('month'),
expiration_year: detail.get('year'),
guid: detail.get('guid')
})
}

Expand Down Expand Up @@ -68,3 +69,19 @@ module.exports.removeLogin = (form) => {
module.exports.clearLogins = (form) => {
session.defaultSession.autofill.clearLogins(form)
}

module.exports.getAutofillableLogins = (tab) => {
session.defaultSession.autofill.getAutofillableLogins((result) => {
if (tab && !tab.isDestroyed()) {
tab.send(messages.PASSWORD_DETAILS_UPDATED, result)
}
})
}

module.exports.getBlackedlistLogins = (tab) => {
session.defaultSession.autofill.getBlackedlistLogins((result) => {
if (tab && !tab.isDestroyed()) {
tab.send(messages.PASSWORD_SITE_DETAILS_UPDATED, result)
}
})
}
2 changes: 1 addition & 1 deletion app/browser/bookmarksExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function createBookmarkArray (sites, parentFolderId, first = true, depth = 1) {

if (first) payload.push(`${indentFirst}<DL><p>`)

filteredBookmarks.toList().sort(siteUtil.siteSort).forEach((site) => {
filteredBookmarks.forEach((site) => {
if (site.get('tags').includes(siteTags.BOOKMARK) && site.get('location')) {
title = site.get('customTitle') || site.get('title') || site.get('location')
payload.push(`${indentNext}<DT><A HREF="${site.get('location')}">${title}</A>`)
Expand Down
Loading