Commit Graph

1069 Commits

Author SHA1 Message Date
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
Kyle Spearrin e42360a1b2
add support for encrypted json export (#1483) 2020-12-07 13:01:12 -05:00
Hinton 7c468de97c Correctly set biometric state on connect failure 2020-11-30 13:41:08 +01:00
Hinton 6257764c37 Resolve review comments 2020-11-19 19:16:29 +01:00
Hinton e9f7834a00 Merge branch 'master' of https://github.com/bitwarden/browser into feature/desktop-bridge 2020-11-19 19:04:20 +01:00
Kyle Spearrin 63eb0959a7
support for sr lang. resolve sendService deps (#1466) 2020-11-18 16:54:29 -05:00
Hinton 0a29b30b99 Merge branch 'master' of https://github.com/bitwarden/browser into feature/desktop-bridge
# Conflicts:
#	src/_locales/en/messages.json
2020-11-16 10:07:54 +01:00
Kyle Spearrin f662e38517
box-content-row-checkbox styling for left aligned (#1453) 2020-11-13 11:51:49 -05:00
Vincent Salucci 6f6a5461b7
[GDPR] Adjusted TOS/Privacy acceptance (#1445)
* updated tos/privacy policy acceptance

* Removed variables/logic now found in superclass

* update jslib (d84d6da -> 5e50aa1)

* Added content-row UI
2020-11-05 13:13:46 -06:00
Hinton 0a4d59092b Cleanup, localize error. 2020-10-21 17:18:04 +02:00
Hinton a659c86373 Show fingerprint message 2020-10-19 16:50:25 +02:00
Vincent Salucci f54ca688d4
[SSO] New user provision flow jslib update (3bf322a -> d84d6da) (#1429)
* Updated import/constructors

* Update jslib (3bf322a -> d84d6da)
2020-10-14 08:58:36 -05:00
Addison Beck fdfb6fb152 tracked last-launched ciphers for autofill 2020-10-12 13:33:26 -04:00
Hinton 894d245361 Ensure biometric unlock works even if popup is not in focus 2020-10-12 18:01:34 +02:00
Hinton 5eb0ce1e09 Fix linting errors 2020-10-11 20:45:25 +02:00
Hinton 01ffa27fcc Add unlock using biometry to lock screen 2020-10-11 20:42:09 +02:00
Hinton f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02:00
Chad Scharf 7f1cc0199b Ensure auto auto-fill ignores new-password 2020-09-21 15:41:06 -04:00
Kyle Spearrin b91b5b5be0 dont set setCryptoKeys to null 2020-09-15 16:27:28 -04:00
Kyle Spearrin 2e346dbe2f language updates 2020-09-15 13:38:40 -04:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Kyle Spearrin cc59905cc2
Update services.module.ts 2020-09-03 11:24:13 -04:00
Sorin Davidoi 260820711e feat: Use system theme if available
Depends on https://github.com/bitwarden/jslib/pull/161.

Closes https://github.com/bitwarden/browser/issues/1256.
2020-08-31 22:33:01 +02:00
Kyle Spearrin b795f0e587
Fix CryptoFunctionService and implement syncLoading (#1371)
* Fix things and implement syncLoading

* feedback
2020-08-31 14:21:59 -04:00
Matt Smith fad4f9ef5e Removed duplicate Crypto Function Service. 2020-08-28 13:40:21 -05:00
Matt Smith 7c4ef9d8fc Modified correct file for feedback 2020-08-28 11:52:24 -05:00
Matt Smith e7dc93b715 Verbiage changes 2020-08-25 14:03:47 -05:00
Matt Smith b65d6582be Fixed ordering. Removed commented out code. 2020-08-25 11:08:35 -05:00
Matt Smith 12e17c9d39 Merge branch 'master' into feature/sso 2020-08-25 10:23:54 -05:00
Matt Smith 91ce6527c0 Added set password flow to browser based SSO 2020-08-25 09:49:24 -05:00
Kyle Spearrin b7c2c76230
finish autofill from view, other misc cleanup (#1368)
* finish autofill from view, other misc cleanup

* compare hostnames for authResult
2020-08-24 10:17:15 -04:00
eliykat d4d5ccc4a4
“Autofill” and “Autofill and Save” buttons for the browser extension Vault (#1367)
* Add autofill button to View cipher screen in Vault

* Add Autofill and Save button to View screen in Vault

* disable Vault Autofill buttons in popout

* tidy up 'autofill from vault' features as per feedback in PR #1367

Includes:
- remove duplicate code
- better handling of error and success messages
2020-08-24 09:10:15 -04:00
Matt Smith 4b3cd22bce Merge branch 'master' into feature/sso 2020-08-19 15:08:09 -05:00
Kyle Spearrin b0868ea9c4 di resolution for CryptoFunctionServiceAbstraction 2020-08-19 10:03:19 -04:00
Oscar Hinton f00bb5e1d7
Upgrade Angular (#1365)
* Upgrade Angular

* Upgrade angular2-toaster and angulartisc2

* Remove ng-upgrade dependency

* Update app.component.ts
2020-08-18 16:13:37 -04:00
Matt Smith 4ea3acf80b Centralized BrowserAPI call to refresh firefox 2020-08-17 14:49:01 -05:00
Matt Smith 1075fedad3 Unable to handle this way - Firefox Conflict 2020-08-17 10:52:52 -05:00
Matt Smith 3b560fca22 Implemented feedback 2020-08-14 15:20:16 -05:00
Matt Smith 2d56510f0e Modifications made to support browser sso 2020-08-14 12:48:50 -05:00
Oscar Hinton 289177259a
Upgrade TypeScript (#1355)
* Upgrade TypeScript

* Update login.component.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-12 15:45:03 -04:00
Matt Smith 09b7d7ec16 Cleaned up home.component.ts for feedback. 2020-08-12 14:17:55 -05:00
Matt Smith 1d0b549123 Modifications made to support SSO in Browser 2020-08-11 15:25:07 -05:00
Chad Scharf 707f259e73 Fixed jslib compat changes for biometrics 2020-07-29 17:01:05 -04:00
Chad Scharf 728d181fff
Merge pull request #1322 from Hinton/feature/biometric-jslib
Support biometric changes in jslib
2020-07-29 16:54:45 -04:00
K. Sasa 4a35930e2d
Consistent: Replaced the clipboard icon with a clone icon to improve UX (#1344)
* Replace clone item button fa-clone to fa-files-o

* Replace copy value button fa-clipboard to fa-clone
2020-07-27 13:22:56 -04:00
Matt Smith ccd7af1a44 Modified url to display port where applicable. 2020-07-14 11:51:07 -05:00
Rohit Rathi c6a655caf7
Fix edge double password reveal buttons issue (#1325) 2020-07-10 08:46:35 -04:00
Hinton a5116728a9 Support biometric changes in jslib 2020-07-09 20:14:51 +02:00
Addison Beck 73bff85752 Changed a few disabled fields to readonly for keyboard focus 2020-07-08 14:26:32 -05:00
Addison Beck 0ad533d1a0 Addressed issue #1269 2020-07-08 10:54:47 -05:00
Anthony Garera d111a01b49
Updated expiration year placeholder text to be dynamic (#1272)
* Updated Example text to be dynamic to current year using New Date(); and then a Date pipe to display properly in the UI

* Removed change in the add-edit.component.ts file because it is now made in jslib
2020-07-03 22:46:42 -04:00
Kyle Spearrin 29b370961e
Cleanup current uris selection list (#1294) 2020-06-12 12:50:39 -04:00
Melanie Kanavakatini 32db40ec7f
persist browser context on popout, add uri options input & toggle (#1290)
* persist browser context on popout, add uri options input & toggle

* pass tab array to ngOptions, add null check
2020-06-12 11:01:08 -04:00
Hinton 954d78a46e Merge branch 'master' of https://github.com/bitwarden/browser into feature/hidden-password 2020-06-11 20:35:30 +02:00
hinton d88ed609aa Disable TOTP field, disable edit and show of hidden fields. 2020-06-03 21:25:55 +02:00
Kyle Spearrin bd6a5ceccd
fix null ref of cipher.isDeleted (#1275) 2020-06-01 10:30:39 -04:00
hinton 5e4259db38 Add support for hidden password 2020-05-24 19:59:49 +02:00
Kyle Spearrin ae5dbbd267
Add support for greek language (#1246) 2020-05-22 23:15:32 -04:00
Kyle Spearrin afccde2337
update icons to new branding (#1245) 2020-05-22 23:14:29 -04:00
Chad Scharf 40ffda4da4 Merge branch 'master' into soft-delete 2020-05-08 09:20:35 -04:00
Kyle Spearrin dd00151469 color updates + jslib 2020-05-05 16:32:20 -04:00
Vincent Salucci 0b5cb901aa
Added warning dialog for log out confirmation (#1216) 2020-04-25 09:13:00 -05:00
Chad Scharf 35235a9c30 [Soft delete] - fixed borders, spacing for buttons 2020-04-13 11:56:37 -04:00
Chad Scharf 2644afca93 [Soft delete] - remove uselss type definition 2020-04-13 11:32:56 -04:00
Chad Scharf 4116302965 [Soft Delete] - Trash bin in browser extension 2020-04-13 10:26:11 -04:00
Vincent Salucci e510738a03
[Auto-Logout] Implement Vault Timeout Options (#1194)
* Update jslib 31a2574 -> 28e3fff

* Initial commit for vault timeout

* Updated timeout/action retrieval in idle.background

* Cycle saved for idle check

* Await async calls for lock/logout in idle bg

* Updated lock vs log out conditional

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-06 10:40:16 -05:00
Vincent Salucci c6b0898213
Enforce Passphrase Policy (#1172)
* Update jslib (44b86f5 -> 36241e9) and initial commit of passphrase policy

* Reverted string changes - updated number of words event trigger

* Update input event to blur to match other number fields

* Update jslib (36241e9 -> 0a30c7e)

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-12 17:52:14 -05:00
Kyle Spearrin 68794877bc reverse button order in alert 2020-03-04 14:03:02 -05:00
Kyle Spearrin 40c00222f2 small fixes to styling 2020-03-04 13:56:30 -05:00
Kyle Spearrin cc0125b920 sweetalert tweaks 2020-03-04 13:51:52 -05:00
MartB 0b42d14d58
sweetalert: port to sweetalert2 (#1153)
Minor styling changes (same as web and desktop)
2020-03-04 11:42:21 -05:00
Kyle Spearrin 8dea9daeea make sure new edge doesnt open chrome rating 2020-03-03 08:48:11 -05:00
Kyle Spearrin a06ef80dc6
implement callout component w/ generator policy (#1158) 2020-02-28 16:58:28 -05:00
Vincent Salucci 9b4f1045f3
Enforce Password Generator Policy Options (#1155) 2020-02-28 11:43:27 -06:00
Vincent Salucci 7d93ebe732
Added missing attachments conditional (#1145) 2020-02-19 14:00:37 -06:00
Kyle Spearrin 23acc1bfb3 bitwarden inc. 2020-02-18 22:35:28 -05:00
Vincent Salucci 7f6a909b63
Fixed issue with strict equals operator (#1141) 2020-02-10 12:05:06 -05:00
Vincent Salucci c57340c4f3
Implement personal item cloning capability (#1129)
* Initial pass of clone item

* Updated npm sub:pull script to include target branches

* Made requested changes

* Formatting changes

* Fixed lint warnings
2020-02-04 16:08:13 -05:00
Kyle Spearrin 97a38b000b make policy service injectable to popup 2020-01-28 22:44:10 -05:00
Kyle Spearrin 86e3374d3d autocomplete off for search inputs 2019-11-25 08:20:49 -05:00
Kyle Spearrin bbd32ed79d timeout of 200 ms before going back after share 2019-11-22 10:09:12 -05:00
Kyle Spearrin 88b2746920 apply search state before reloading list 2019-11-20 16:31:46 -05:00
Veit-Hendrik Schlenker ee19100af4 Enabled drag of username, password and totp in browser extension (#1044)
* enabled drag of username, password and totp in browser extension

* Start drag only on row label
2019-10-24 20:05:20 -04:00
Kyle Spearrin 60f6863e4f a11y work 2019-10-08 17:04:44 -04:00
Kyle Spearrin f10606adfd aria-live="polite" on toaster 2019-10-08 14:44:11 -04:00
Kyle Spearrin eb0bc6a01c memory stored pinProtectedKey 2019-08-29 09:41:04 -04:00
Kyle Spearrin 530d0d2594 added hebrew language 2019-08-29 07:20:41 -04:00
Kyle Spearrin 57d9b19931 darker light theme border 2019-08-22 10:55:05 -04:00
Kyle Spearrin 6af618cb41 fix formatting 2019-08-21 12:24:51 -04:00
Kyle Spearrin 0e798c610e safari 2fa page cleanup 2019-08-21 10:05:17 -04:00
Kyle Spearrin d2083c2665 cleanup for safari 2019-08-21 09:42:34 -04:00
Kyle Spearrin d8f423711a resolve browserapi 2019-08-21 09:28:42 -04:00
Kyle Spearrin 3bce3ede25 lock animation only on non-safari 2019-08-21 09:26:27 -04:00
Kyle Spearrin 147ffe894f ddd border 2019-08-21 00:19:28 -04:00
Kyle Spearrin aff0f6e8bb new theme color for app-root 2019-08-21 00:16:12 -04:00
Kyle Spearrin 8ceb27170c fix theme styles for app-root 2019-08-21 00:11:01 -04:00