Commit Graph

1164 Commits

Author SHA1 Message Date
Thomas Rittson 57e34dc6e8 Merge remote-tracking branch 'origin' into cdk-virtual-scroll 2021-06-09 10:07:35 +10:00
Thomas Rittson f4d792aa9d Merge branch 'master' into use-lock-guard 2021-06-09 07:39:45 +10:00
Thomas Rittson 957f356dbc
Merge pull request #1886 from bitwarden/fix-private-mode-page
Don't start popup services if in private mode
2021-06-08 14:25:32 -07:00
Oscar Hinton 786dd28a84
Add a button to prompt WebAuthn on FF and Safari (#1879) 2021-06-08 09:29:11 +02:00
Thomas Rittson 44d6a99575 fix homepage routes 2021-06-08 15:49:03 +10:00
Thomas Rittson 5b06daace9 fix linting 2021-06-08 15:45:14 +10:00
Thomas Rittson 08e9dca7e4 Don't start popup services if in private mode 2021-06-08 15:31:54 +10:00
Thomas Rittson 6230302106 Finish refactoring route guards to use jslib 2021-06-08 10:04:59 +10:00
Thomas Rittson 2a810a1cca Merge branch 'master' into use-lock-guard 2021-06-08 08:58:30 +10:00
Oscar Hinton 4e1958f417
Add jslib as a "real" dependency (#1876)
* Support split jslib

* Fix tests

* Bump jslib
2021-06-07 19:25:37 +02:00
Thomas Rittson 1a143ef7c7 Use route guards from jslib to reduce duplication 2021-06-07 09:50:03 +10:00
Thomas Rittson 1e998094df Use lockGuardService to prevent back navigation 2021-06-07 08:59:02 +10:00
Thomas Rittson d71219caa9 Remove virtualScroll for favorites list 2021-06-03 08:50:36 +10:00
Thomas Rittson c12ceb4877 style fixes, more descriptive naming 2021-06-03 08:47:02 +10:00
Thomas Rittson a2c278471b remove ngx-infinite-scroll 2021-05-21 15:03:08 +10:00
Thomas Rittson f2977aab0c remove ciphers-list.component 2021-05-21 14:16:18 +10:00
Thomas Rittson 2b3ae50ed9 tidy up scss 2021-05-21 14:06:26 +10:00
Thomas Rittson 94ee6c1ab7 fix linting and style 2021-05-21 13:03:05 +10:00
Thomas Rittson 081bda255c use virtual scroll for favorite ciphers 2021-05-21 13:01:39 +10:00
Thomas Rittson 8151d5bcac Revert changes to original ciphers-list.component 2021-05-21 12:58:48 +10:00
Thomas Rittson 6b954df58c Refactor to use virtual-scroll more selectively 2021-05-21 12:42:56 +10:00
Thomas Rittson 9e5869773d Basic proof of concept for cdk-virtual-scroll 2021-05-21 12:42:21 +10:00
Thomas Rittson dae41425a4 Change Autofill on Page Load default to autofill 2021-05-21 09:11:04 +10:00
Thomas Rittson 56e127d20c Merge branch 'master' into feature-aopl-options 2021-05-18 10:11:40 +10:00
Thomas Rittson f429e1f874 Merge branch 'master' into totp-copy-page-load-2 2021-05-18 06:53:11 +10:00
Thomas Rittson df8a253a7d fix linting, minor bugfix 2021-05-17 14:32:48 +10:00
Thomas Rittson bdd8663fb3 Merge branch 'master' into feature-aopl-options 2021-05-17 13:46:53 +10:00
Thomas Rittson d4055a7613 Only show autofill options if enabled 2021-05-17 13:46:39 +10:00
Daniel James Smith a31366e5c9 Fixed support for ml language 2021-05-14 15:59:24 +02:00
Thomas Rittson 655877f75f reorder UI 2021-05-14 11:26:16 +10:00
Thomas Rittson 998f633210 Update UI per Options page redesign 2021-05-14 11:23:46 +10:00
Thomas Rittson 13b0e09c2c Merge branch 'master' into feature-aopl-options 2021-05-14 10:55:14 +10:00
Thomas Rittson af61732800 Copy TOTP after all autofills, remove old UI 2021-05-14 10:04:08 +10:00
Chad Scharf 17718ea00a
Merge pull request #1841 from tgreer-bw/language-adds
Missing languages from Crowdin
2021-05-13 17:08:31 -04:00
Kyle Spearrin c173217330
use swal titletext to avoid XSS (#1828) 2021-05-13 15:22:49 -04:00
tgreer-bw 7a8e1b60d9 added missing languages from Crowdin 2021-05-13 13:54:56 -04:00
Thomas Rittson 38e4ba0879
Merge pull request #1820 from arunkapur/master
Fixed Name & URI 1 Fields Populated Incorrectly
2021-05-06 06:40:59 +10:00
arun f556b2a207 Fixed Name & URI 1 Fields Populated Incorrectly when creating new Login in popout window (# 1816) 2021-05-05 13:59:42 -04:00
Thomas Rittson 8c29cf7f33 Organize Options page and add headings 2021-05-05 13:57:50 +10:00
Thomas Rittson 0da4f7df73
Merge branch 'master' into copy-totp-on-auto-fill 2021-05-05 12:23:37 +10:00
arun 8169922f84 Fixed Name & URI 1 Fields Populated Incorrectly when creating new Login in popout window (# 1816) 2021-05-04 13:55:10 -04:00
Oscar Hinton 6e9e0445de
Fix password re-prompt triggering on non-reprompt items (#1817)
* Fix password re-prompt triggering on non-reprompt items
2021-05-04 19:04:18 +02:00
Oscar Hinton cdc71dd661
Password reprompt (#1784)
* Add support for password reprompt

* Rename passwordPrompt to reprompt.

* Move showPasswordDialog to paltformutils

* Fix swal2 validation error styling

* Group imports

* Update src/_locales/en/messages.json

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-05-03 20:56:38 +02:00
Tomer Shvueli efd224d380 fix: Updated UI so option is no longer nested, added proper description 2021-04-30 10:48:20 -04:00
Kyle Sferrazza ab180d8470 move solarized variables into variables.scss 2021-04-28 16:15:18 -04:00
Kyle Sferrazza 60ef611b78 get name of Solarized Dark using i18n 2021-04-28 16:12:37 -04:00
Kyle Sferrazza 6e0087457d Add support for the Solarized Dark color scheme 2021-04-28 15:24:14 -04:00
Oscar Hinton d252fd1740
Bump dependencies (#1792)
* Bump dependencies
2021-04-23 10:45:20 +02:00
Matt Gibson 91daa2729c
Update view di requirements (#1796)
* Update view di requirements

* Update jslib
2021-04-22 09:40:31 -05:00
Oscar Hinton 1fa3e3d68b
Revert "Popover arrow background color" (#1793) 2021-04-22 15:30:17 +02:00
Thomas Rittson 16f726738d Update UI strings, remove autofillOnPageLoad enum 2021-04-16 13:46:56 +10:00
Thomas Rittson b029ead5f6
Don't use tokenService to manage emailVerified (#1788)
* Update send add-edit component dependencies
2021-04-15 11:39:38 +02:00
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Matt Gibson 96df402df7
Simplify and fix file picker logic (#1779) 2021-04-12 10:13:53 -05:00
Thomas Rittson 9559d05346
Merge pull request #1774 from bitwarden/verify-email-for-send
Require user to verify email to use file Send
2021-04-12 08:21:27 +10:00
Thomas Rittson be79ef8981
Merge pull request #1758 from bitwarden/fix-sidebar-option-css
Fix bgcolor of option els when in FF sidebar
2021-04-12 08:19:40 +10:00
Thomas Rittson b634c7f178 Make tokenService public to correctly extend base 2021-04-09 15:50:39 +10:00
Thomas Rittson df86fad828 Merge branch 'master' into verify-email-for-send 2021-04-09 15:47:25 +10:00
Oscar Hinton 544c7c526d
Show file picker warning in chromium on Mac 11 (#1778) 2021-04-09 00:45:42 +02:00
Oscar Hinton 97ac4a3267
Bump jslib (#1776) 2021-04-07 20:43:07 +02:00
Thomas Rittson f68858e729 Require user to verify email to use file Send 2021-04-07 12:49:06 +10:00
Thomas Rittson 89dd393c32 Update UI 2021-04-07 10:45:12 +10:00
Oscar Hinton eeb61b019b
Increase popup width on linux during WebAuthn process (#1772)
* Expand popup width on linux during WebAuthn prompt

* Refactor
2021-04-06 23:10:22 +02:00
Thomas Rittson b63074f00d Apply fix to all themes 2021-04-02 15:05:57 +10:00
Thomas Rittson 809e2b68d1 apply fix to nord theme also 2021-04-02 15:00:49 +10:00
Thomas Rittson 7c0423a1c0 Fix bgcolor of option els when in FF sidebar 2021-04-02 14:55:23 +10:00
Matt Gibson b69bbd3501
Use azure direct upload for send and attachments (#1744)
* Use azure direct upload for send and attachments

* Add required attachment changes

* update jslib
2021-03-29 10:16:31 -05:00
Thomas Rittson e60d7924a2
Merge pull request #1740 from bitwarden/send-hide-email
Hide email address in Sends
2021-03-29 07:57:17 +10:00
Thomas Rittson 1b4fd820ce Fix incorrect location of appBoxRow directive 2021-03-26 08:15:39 +10:00
Thomas Rittson 7bc9d1ece7 Move "hide email" control 2021-03-25 14:34:21 +10:00
Thomas Rittson 894d3a7c14 Add "hide email" option for Sends 2021-03-25 14:14:28 +10:00
Matt Gibson fd92ec8924
Update jslib (#1737) 2021-03-24 11:26:18 -05:00
Chad Scharf ed2837e826
Merge pull request #1617 from lionel-rowe/close-popup-on-esc
Close browser popup on Escape key press
2021-03-22 11:02:25 -04:00
lionel-rowe aee1968436 Close browser popup on Escape key press 2021-03-21 23:02:39 +00:00
Thomas Rittson ced6d57f93 Hide autofill buttons for certain cipher types 2021-03-19 11:07:22 +10:00
Thomas Rittson 626145e492 Revert "Merge pull request #1627 from emindeniz99/master"
This reverts commit 9063a98949, reversing
changes made to 540ca5d204.
2021-03-18 09:38:27 +10:00
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Vincent Salucci 24d172e3b9
[Send] Added pop out banner for linux os (#1713) 2021-03-17 09:05:48 -05:00
Thomas Rittson 4956cf9d8d Fix linting 2021-03-15 12:35:23 +10:00
Chad Scharf 23a56d5da2
Merge pull request #1630 from vrnvorona/add-disable-badge-counter
Option to disable badge text on icon
2021-03-12 15:23:56 -05:00
Chad Scharf 9063a98949
Merge pull request #1627 from emindeniz99/master
fix popup height
2021-03-12 15:16:41 -05:00
Tom Rittson 384b352a97 add UI warnings for new autofill on page load 2021-03-12 11:51:13 +10:00
Tom Rittson de809136a2 add UI for new autofill on page load options 2021-03-12 11:51:13 +10:00
Tomer Shvueli da37add779 fix: Updated styles and copy, simpler logic 2021-03-11 11:00:39 -05:00
Oscar Hinton e56e1a5c7f
Add support for browser biometrics on Firefox >= 87 (#1668) 2021-03-10 21:27:05 +01:00
addison b59d932a53 fixed a few send date fallback bugs 2021-03-09 17:45:38 -05:00
addison 3e1c6ac396 only show message if not already in popout 2021-03-09 10:16:31 -05:00
addison 8479e9af00 qa fixes for send date fallbacks 2021-03-09 10:03:44 -05:00
addison 6823566081 whitepsace 2021-03-08 16:08:22 -05:00
addison 0aeeacc3ec removed a comment 2021-03-08 15:47:48 -05:00
addison 0752a3a925 patched date & time inputs on safari 2021-03-08 14:58:10 -05:00
Vlad 518722c781 Fixes for text logic
Moved settings check above setting text, also added send message when settings is changed
Now when settings is changed, current tab badge is changed immediately, and other tabs do so in milliseconds after switch
2021-03-06 19:18:11 +03:00
addison 290c3b3a69 code review fixes 2021-03-04 10:48:56 -05:00
Tomer Shvueli 6eb7106bc5 fix: Nest sub option in Options page, tie auto fill & auto copy features together 2021-03-04 09:58:22 -05:00
addison 50b8f6955c implemented date & time fallbacks for safari and FF 2021-03-03 15:03:05 -05:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Vincent Salucci 8cb51da4ab
[Send] Updated current access input type to text (#1648) 2021-03-01 09:42:06 -06:00
Vlad 0ed08cca23 remove excessive code
removed analytics and excessive components from jslib
2021-02-25 21:47:35 +03:00
Vincent Salucci e17649d869
[Send] Enterprise policy enforcement (#1637) 2021-02-24 16:03:44 -06:00
Vincent Salucci 4853fb3e29
[Send] Add/Edit functionality (#1622)
* Update jslib (0951424 -> 1968dbf)

* [Send] Browser integration initial commit

* Update jslib (1968dbf -> 8a3b551)

* Cleaned up integration

* added radio button style support // updated warning UI/UX

* Update jslib (8a3b551 ->42348e2)
2021-02-23 15:37:55 -06:00
Emin Deniz 1cb77f847e fix popup height 2021-02-22 03:01:31 +03:00
Vlad eb59c9e692 browser version of 287 issue
added condition when badge should set text based on setting
2021-02-22 01:35:14 +03:00
Tomer Shvueli 72d0a439d2 feat: Add option to auto-copy TOTP code when page auto fills credentials 2021-02-20 14:48:54 -05:00
Vincent Salucci 8d2e436a05
[Send] Type component (#1608)
* Initial commit of send type component

* Update jslib (ee164be -> 0951424)

* Update constructor for new jslib
2021-02-12 16:28:31 -06:00
Vincent Salucci 0d6e212463
[Send] Groupings component (#1605)
* Initial commit of groupings component

* Update jslib ee164be

* Updated send-list item icons

* Requested changes

* Removed obsolete safari hacks
2021-02-10 10:16:34 -06:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Matt Gibson 456d36d5ee
Hover cursor for disabled boxes forces to normal (#1603)
Matches button behavior
2021-02-08 11:32:02 -06:00
Thomas Rittson 9b85b7ba68 Fix code style 2021-02-05 06:23:12 +10:00
Thomas Rittson 4a815e001a Merge branch 'master' into bugfix-attachments-in-popup 2021-02-04 17:01:57 +10:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Thomas Rittson 7b2c519c8e fix cipher launch button in various places 2021-02-03 06:48:57 +10:00
Vincent Salucci 07f5be39d8
[Send] Navigation Tab (#1591)
* Initial commit of send tab

* update jslib (9ddec9b -> 859f317)

* updated skeleton class/html

* removed added space

* cleaned up import groupings

* Updated to use flex container and removed unnecessary scss class
2021-02-02 11:43:31 -06:00
Thomas Rittson c7966773a9
Merge pull request #1576 from bitwarden/bugfix-autofill-after-launch
Auto-fill the correct cipher after clicking launch button
2021-01-29 06:35:30 +10:00
Oscar Hinton ccac6307c6
Make biometric button tabable to improve accessibility (#1578) 2021-01-28 20:24:33 +01:00
Oscar Hinton 14293a7831
Reload browser extension after enabling nativeMessaging (#1577) 2021-01-27 23:05:50 +01:00
Thomas Rittson ea1a1cc99b Use consistent naming convention for launchCipher 2021-01-28 07:45:54 +10:00
Thomas Rittson 4045ce2d15 Pass launchCipher down to grandchild for reuse 2021-01-27 15:34:14 +10:00
Chad Scharf 1d79172876
Merge pull request #1570 from bitwarden/hotfix/biometric-ff
Remove nativeMessaging requirement from Firefox
2021-01-25 15:52:38 -05:00
Hinton 559a18a32d Fix linting warnings 2021-01-25 21:27:17 +01:00
Thomas Rittson d24961e3a0
Merge pull request #1376 from eliykat/feature-edit-excludedDomains
add settings -> Excluded Domains component
2021-01-26 06:25:36 +10:00
Hinton ab759a4746 Remove biometric from firefox 2021-01-25 21:25:36 +01:00
Matt Gibson a26169750a
Fix action button disable css (#1567)
* Darken light theme to comply with WCAG AA

* Adjust opacity on disabled

Color and/or opacity is used to delineate enabled vs disabled elements.
Both are required becaus some themes do not change color on disabled.
2021-01-25 12:03:51 -06:00
Oscar Hinton 54da244340
Make nativeMessaging optional on all platforms except firefox (#1565)
Make nativeMessaging optional on all platforms except firefox
2021-01-25 17:24:33 +01:00
Hinton 86893b97b5 Set the background color for app-root to resolve an issue where the login page would have background bleed 2021-01-16 21:51:33 +01:00
Thomas Rittson 092110fd5f Close popout instead of navigating, style fixes 2021-01-15 16:04:35 +10:00
Thomas Rittson bef1008b9d Open Attachments in popout on all browsers 2021-01-15 16:04:29 +10:00
Thomas Rittson caa4d5990d Use placeholders, minor code and style fixes 2021-01-14 18:19:14 +10:00
Thomas Rittson 3844fdb959 Pop out attachments page on Firefox and Safari 2021-01-14 14:03:59 +10:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Chad Scharf ebd2439edd
Merge pull request #1491 from Hinton/feature/safari-webext
Safari Web Extension Port from App Extension
2021-01-13 16:23:09 -05:00
Hinton a8c1312bf5 Apply same background color to popover arrow as the header 2021-01-13 16:11:00 +01:00
Hinton db59f2791a Merge branch 'master' of github.com:bitwarden/browser into feature/safari-webext
# Conflicts:
#	src/browser/safariApp.ts
#	src/safari/safari/SafariExtensionViewController.swift
#	src/services/browserPlatformUtils.service.ts
2021-01-13 14:21:45 +01:00
Thomas Rittson 078111a4fc Fix formatting and style 2021-01-13 20:10:53 +10:00
Tom Rittson da636e26c2 add settings -> Excluded Domains component
Provides a UI to edit the domains for which Bitwarden does not offer
to save login details.
2021-01-13 20:10:53 +10:00
Hinton b1e376ce66 Fix action buttons not working when TOTP is not available 2021-01-08 15:48:48 +01:00
Vincent Salucci 8af54375f3
[Policy] Personal Ownership banner (#1523)
* Initial commit of ownership banner

* updated capitlization
2021-01-05 17:34:00 -06:00
Matt Gibson a0a032957e
Fix safari sso (#1508)
* Fix extension tab creation

TODO: still getting errors thrown by safariApp at
`(window as any).webkit.messageHandlers` upon loading the extension
window

* Support message sending from app extension context

* Load sso login in popover

* Handle nil urlComponents and nil queryItems
2020-12-29 09:18:14 -06:00
Kyle Spearrin 5941a4387d
warning dialog is now handled in base component (#1506) 2020-12-22 16:38:53 -05:00
Matt Gibson 0cd6efd67f
Move share from edit to view. Fix animations (#1497)
* Move share from edit to view. Fix animations

Editing and Sharing a cipher simultaneously results in lost edits. Move
share button to the view page to resolve this confusion.

Previous routing caused the share form to be animated again on
submition, resulting in a stuttering page load. This method correctly
animates all transitions with the concession that the share page
always takes you back to the view page. This is not necessarily the current
behavior, but it is the most likely behavior in the current scheme

* Update jslib reference
2020-12-17 11:06:31 -06:00
Chad Scharf e88b73c747
Merge pull request #1373 from sorin-davidoi/system-theme
feat: Use system theme if available
2020-12-16 10:33:33 -05:00
Matt Gibson 29c624e37b
Add totp copy to clipboard button to cipher view (#1493)
* Add totp copy to clipboard button to cipher view

* Hide quick-copy rather than disable if no totp

* Revert to disabled TOTP button

* Enforce premium access to TOTPs

* Update jslib reference
2020-12-15 10:26:01 -06:00
Matt Gibson e23d96a350
Add ConsoleLogService dependency from jslib (#1488)
* Pre-emptively add new jslib dependency

* Add ConsoleLogService dependency

* Update jslib

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-14 11:56:40 -06:00
Hinton 9fb80823ba Remove safari only code from autofill. 2020-12-11 16:13:50 +01:00
Hinton a9c9108053 Remove more old safari app ext code 2020-12-11 15:25:35 +01:00
Hinton 25a2af903a Merge branch 'master' of https://github.com/bitwarden/browser into feature/safari-webext
# Conflicts:
#	src/background/runtime.background.ts
2020-12-11 14:33:46 +01:00
Matt Gibson c95230fc48
Close 2fa window if redirected from sso login (#1480)
* Close 2fa window if redirected from sso login

This is a workaround until we can get browser extension sso to use the
toolbar popup.

other changes are linter autofixs

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-09 15:30:03 -06:00
Vincent Salucci a1542f050d
[Policy] Personal Ownership (#1481)
* Initial commit for personal ownership

* Removed TODO // Updated allowPersonalOwnership logic to include necessary org/user checks

* Fixed import order

* Updated jslib (dcbd09e -> 72bf18f)

* Fixed casing for error message
2020-12-09 14:11:25 -06:00
Hinton 0f2c4b4a59 Remove more old safari app extension logic 2020-12-09 18:23:44 +01:00
Hinton 7b5ec47ba5 Cleanup a few more safari things 2020-12-09 13:18:29 +01:00
Hinton 27ca7cc739 WIP Safari web extension 2020-12-07 20:00:49 +01:00