Commit Graph

273 Commits

Author SHA1 Message Date
Thomas Rittson cffd4b3515
Fix Copy Custom Field Name on pages with iframes (#2091)
* Improve error messages

* Send getClickedElement msg to specific frameId

* Add support for finding input element from label

* Use i18n for error messages

* Fix unrelated linting
2021-10-07 09:52:33 +10:00
Thomas Rittson 6dfb06c5b0
Use theme enum and platformUtilsService helpers (#2089)
* Use theme enum and platformUtilsService helpers

* Update jslib
2021-10-05 06:30:31 +10:00
Oscar Hinton a848406ce0
Use explicit import paths (#2074) 2021-09-17 15:44:27 +02:00
Oscar Hinton 2e6f0f4166
Vault Timeout Policy (#2048) 2021-09-14 13:36:34 +02:00
Dmitry Chepurovskiy cd2f174923
Select folder at save bar (#1409)
* Markup changes

* Render in notification bar folders list that is provided form TS code

* Implemented getting of folders list

* Refactor addPlatformEventListener and added default selection of "No Folder"

* Pass folder id info to saveAddLogin

* Modify saveAddLogin to use folder id

* Try to fix default folder selection

* Fix styling issues found during review

* Fix review issues found by kspearrin

* Fix default selection and null handling

* Fix import order

* Applied review suggestions

* Implement checking if folderExist during saving

* Fix compile issues

* Added select folder... option

* Add internalization for select folder message

* Hide select folder element on narrow screens

* Fix lint issues

* Review fixes in notification bar

* Adjust semi-responsive layout for folder selector

* Revert style change

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-09-03 11:54:52 +10:00
Thomas Rittson 0bd22dcddc
Add new context menu item: Copy Custom Field Name (#2045)
* Add "Copy custom field name" context menu item

* Title case context menu string

* Improve Copy Custom Field Name logic

* Move CopyClickedElement to runtime.background

* Update dependencies

* Add comments, refactor logic, add failure messages

* Fix typo and linting

* Fix typos

* Move null check inside function
2021-09-02 07:51:43 +10:00
Thomas Rittson 515c72abb0
Move policy checks within policyService (#2036)
* Refactor: use policyService.policyAppliesToUser

* Fix inverted condition

* Update jslib
2021-09-01 07:11:28 +10:00
Oscar Hinton 7cf4cfe3d1
Add support for helpers in environment service (#1967) 2021-07-23 22:32:42 +02:00
Matt Gibson 55917b6cb0
Feature/use hcaptcha if bot (#1968)
* Add captcha to login page

* Include log service in DI providers for api-action directive

* Add captcha to register page

* update jslib
2021-07-23 13:22:53 -05:00
Matt Gibson f35f3550a7
Get either 'Bitwarden' and 'Bitwarden_biometric' keys. (#1904)
* Get either 'Bitwarden' and 'Bitwarden_biometric' keys.

* Fix let var typo

* Fix string handling error

* Retrieve biometric key from Desktop

* Null check key
2021-06-22 15:11:29 -05: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 0c9ec9e635 update service deps 2021-05-13 10:51:07 +10:00
Thomas Rittson a591c4d457 Explain how to verify email for Sends 2021-05-12 13:38:07 +10: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
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Oscar Hinton 97ac4a3267
Bump jslib (#1776) 2021-04-07 20:43:07 +02:00
Oscar Hinton ae4c1b29d2
Add support for biometrics to Safari (#1775)
* Add Biometrics support to Safari
2021-04-07 17:39:59 +02: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
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Oscar Hinton 75f84f6723
Resolve FF < 77 not working (#1706) 2021-03-15 15:44:10 +01: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
Vlad c7040231e5 context menu no matching logins fix 2021-03-09 20:02:57 +03: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
Oscar Hinton 97fb84a3e3
Resolve safari not refreshing badge correctly (#1644) 2021-03-01 17:32:18 +01: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
Oscar Hinton 2ac9f92267
Resolve safari not checking vault timeout every 10s (#1615) 2021-02-20 11:10:33 +01:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Oscar Hinton 8e20e48373
Resolve safari not working due to missing chrome api (nativeMessaging) (#1585) 2021-01-29 23:31:36 +01:00
Oscar Hinton 14293a7831
Reload browser extension after enabling nativeMessaging (#1577) 2021-01-27 23:05:50 +01:00
Oscar Hinton 0511905ab4
Handle desktop logged into a different account for biometrics (#1533) 2021-01-15 16:44:27 +01:00
Oscar Hinton c4388dad66
SystemService, Store if fingerprints have been validated or not (#1528) 2021-01-13 23:31:44 +01: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 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
addison c41fbac467 Merge branch 'master' into Permissions 2021-01-12 18:51:36 -05:00
Hinton 98cc69c6fa Solve native messaging silently disconnecting when restarting the desktop app 2021-01-05 15:12:48 +01:00
Hinton e922ff0bc2 Make error handler more generic 2021-01-04 20:53:49 +01:00
addison 7abb5fa08e Implemented Custom role and permissions 2020-12-22 15:02:14 -05:00
Oscar Hinton 83cea49a1b
Add missing break statement (#1503) 2020-12-21 09:18:18 -05:00
Hinton 47b6934699 Make checking fingerprint optional 2020-12-18 16:06:36 +01:00
Hinton 72c6f52ae2 Resolve review comments 2020-12-16 21:44:12 +01:00
Hinton 95d475a9d3 Show an error when biometrics is disabeld in desktop app or not supported 2020-12-16 17:32:51 +01:00
Hinton c4185fe6ee Add support for multiple concurrent extensions with native messaging 2020-12-16 15:47:30 +01: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 36bda45c2e Add SFSafariAppExtensionBundleIdentifiersToReplace 2020-12-14 10:20:41 +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
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