Commit Graph

2915 Commits

Author SHA1 Message Date
Thomas Rittson 5f9541b1cf
Fixes for dynamic modal a11y (#2116)
* Add modal-dismiss, remove tabindex from modals

* Remove modal-dismiss styles

* Update jslib

* remove cdkTrapFocus etc
2021-10-22 07:42:30 +10:00
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Daniel James Smith 3be6e42849
Update copyright year in .plist files for safari 2021-10-20 18:46:56 +02:00
Daniel James Smith c318b58185
Remove check for isVivaldi 2021-10-20 17:52:10 +02:00
Daniel James Smith 39a189e7b3
Fixed formatting 2021-10-20 17:49:58 +02:00
Daniel James Smith fd9455873d
Add literal for noopCommand suffix 2021-10-20 17:45:19 +02:00
Daniel James Smith 6a02487778
Merge pull request #2134 from jesseliu612/master
solved a casing issue that may lead to build fail
2021-10-20 15:47:05 +02:00
Daniel James Smith 581e0421ca
Merge pull request #2129 from bitwarden/reduce-binking-of-notificationBar
Reduce blinking of notification bar
2021-10-20 15:22:17 +02:00
Liu Junqi 75c0680968 solved a casing issue that may lead to build fail 2021-10-20 21:11:46 +08:00
Thomas Rittson 6ff7112bb7
Add type="button" to button elements (#2131)
* Add type="button" to button elements

* Add  type="button" to button elements in notificationBar
2021-10-20 07:52:12 +10:00
Daniel James Smith d96b19b9fc
Merge branch 'master' of https://github.com/bitwarden/browser into reduce-binking-of-notificationBar 2021-10-19 18:55:47 +02:00
Daniel James Smith ec13cfd70c
Pick first cipher matching url as no specific cipher was selected by the user when vault is locked 2021-10-19 16:11:48 +02:00
Daniel James Smith de1d26bd8d
Add messageListener for unlockCompleted 2021-10-19 16:10:43 +02:00
Daniel James Smith 0e832ee435
Remove noop - openPopup and use promptForLogin instead when vault is locked 2021-10-19 16:09:50 +02:00
Daniel James Smith 0f000731b9
Pass tab onto getClickedElement, no need to look up the current tab 2021-10-19 16:04:32 +02:00
Daniel James Smith 421ab36215
Pass tab onto cipherAction, no need to look up the current tab 2021-10-19 16:03:39 +02:00
Daniel James Smith fc0c7a04b7
Add types for contextMenus.background 2021-10-19 16:00:38 +02:00
Daniel James Smith c793552dfd
Enable unlock on autofill via keyboard shortcut 2021-10-19 15:55:36 +02:00
Daniel James Smith 86e3b9e423
Add missing types 2021-10-19 14:15:15 +02:00
Daniel James Smith b8676cf398
Merge pull request #2119 from bitwarden/refactor-save-update-prompt
[Tech-Debt]: Refactor save update prompt
2021-10-19 13:31:31 +02:00
Daniel James Smith 3bb58baf45
Add types for addLogin and changePassword runtime messages 2021-10-19 12:10:31 +02:00
Daniel James Smith 344878ef4f
Simplify forwarding tab messages to runtime 2021-10-19 11:47:25 +02:00
Daniel James Smith d4e91a81f9
Capitalize class name: LockedVaultPendingNotificationsItem 2021-10-19 11:20:55 +02:00
Daniel James Smith a1022c8b27
Set iframe.src so that the check in closeExistingAndOpenBar actually works 2021-10-18 18:48:52 +02:00
Daniel James Smith bed17673a8
Reduce blinking of notificationBar when other tabs update 2021-10-18 18:03:46 +02:00
Daniel James Smith 06e47dea17
Added types: Use chrome.tabs instead of any 2021-10-18 18:02:19 +02:00
Daniel James Smith 2299abe7a6
Make linter happy 2021-10-18 16:47:14 +02:00
Daniel James Smith 95e9387314
Remove logic out of notification content scripts 2021-10-18 16:42:32 +02:00
Daniel James Smith fd8de4ca0c
Use messages/events instead of main.unlockCompleted 2021-10-18 16:41:42 +02:00
Daniel James Smith 2699e0f5a0
Add types for common browser functions 2021-10-18 16:34:14 +02:00
Daniel James Smith 1bf7a7cad6
Perform null check on chrome.runtime 2021-10-18 16:31:59 +02:00
Daniel James Smith 4b49b1fcc0
Add type CipherView for AutoFill functionality 2021-10-18 16:10:13 +02:00
Daniel James Smith 92459c6098
Declare and use types for notificationQueue 2021-10-15 19:51:24 +02:00
Daniel James Smith d1977f1f08
Added type declarations where chrome.tabs.Tab applies 2021-10-15 19:42:05 +02:00
Daniel James Smith f951c860ea
Shorten variable name 2021-10-15 15:35:31 +02:00
Daniel James Smith 79f849fd92
Make linter happy 2021-10-15 15:32:56 +02:00
Daniel James Smith ca0fe76172
Move routing of actions after unlock into main.background
As we are unable to send a message from one background script to another, I moved the routing of the retryAction into main.background and call processMessages on the notificationBackground in unlockCompleted
2021-10-15 15:28:10 +02:00
Daniel James Smith 9c0bfd28db
Close login tab before executing existing unlock flow 2021-10-15 15:20:00 +02:00
Daniel James Smith 7388cd174e
Move notificationQueue from main into notification.background 2021-10-15 15:09:13 +02:00
Daniel James Smith 0eb7fe1407
Extract logic for notificationBar into new NotificationBackground class 2021-10-15 15:03:25 +02:00
Kyle Spearrin 35cbd12fd5 New translations messages.json (Serbian (Cyrillic)) 2021-10-14 19:12:30 -04:00
Kyle Spearrin 50ce4f5fa8 New translations messages.json (Slovenian) 2021-10-14 19:12:29 -04:00
Kyle Spearrin fa42ea800d New translations messages.json (Slovak) 2021-10-14 19:12:28 -04:00
Kyle Spearrin d64e01bcb1 New translations messages.json (Russian) 2021-10-14 19:12:26 -04:00
Kyle Spearrin b6ca4d9471 New translations messages.json (Portuguese) 2021-10-14 19:12:25 -04:00
Kyle Spearrin d052e68a9c New translations messages.json (Polish) 2021-10-14 19:12:24 -04:00
Kyle Spearrin 093f0b3d2f New translations messages.json (Dutch) 2021-10-14 19:12:23 -04:00
Kyle Spearrin 0b7eef5cb7 New translations messages.json (Lithuanian) 2021-10-14 19:12:22 -04:00
Kyle Spearrin 619a24b946 New translations messages.json (Korean) 2021-10-14 19:12:21 -04:00
Kyle Spearrin fa3353df2a New translations messages.json (Japanese) 2021-10-14 19:12:20 -04:00
Kyle Spearrin 474e6cc468 New translations messages.json (Swedish) 2021-10-14 19:12:19 -04:00
Kyle Spearrin afc09e9340 New translations messages.json (Italian) 2021-10-14 19:12:18 -04:00
Kyle Spearrin 03a3c9d77d New translations messages.json (Hebrew) 2021-10-14 19:12:17 -04:00
Kyle Spearrin f83b769dd3 New translations messages.json (Finnish) 2021-10-14 19:12:16 -04:00
Kyle Spearrin 22e7b3324f New translations messages.json (Greek) 2021-10-14 19:12:15 -04:00
Kyle Spearrin 6b957e1c38 New translations messages.json (German) 2021-10-14 19:12:14 -04:00
Kyle Spearrin 5ba4d35542 New translations messages.json (Danish) 2021-10-14 19:12:13 -04:00
Kyle Spearrin 5176f96b32 New translations messages.json (Czech) 2021-10-14 19:12:12 -04:00
Kyle Spearrin d2d57620b5 New translations messages.json (Catalan) 2021-10-14 19:12:11 -04:00
Kyle Spearrin b49c69b7c3 New translations messages.json (Bulgarian) 2021-10-14 19:12:10 -04:00
Kyle Spearrin 2c24608469 New translations messages.json (Belarusian) 2021-10-14 19:12:09 -04:00
Kyle Spearrin 47c89027c4 New translations messages.json (Spanish) 2021-10-14 19:12:08 -04:00
Kyle Spearrin e5789097b0 New translations messages.json (Hungarian) 2021-10-14 19:12:07 -04:00
Kyle Spearrin 2d68b37407 New translations messages.json (French) 2021-10-14 19:12:06 -04:00
Kyle Spearrin 3f52428fa2 New translations messages.json (Turkish) 2021-10-14 19:12:05 -04:00
Kyle Spearrin 54f82eaee2 New translations messages.json (Chinese Simplified) 2021-10-14 19:12:04 -04:00
Kyle Spearrin 31de516012 New translations messages.json (English, India) 2021-10-14 19:12:01 -04:00
Kyle Spearrin 7ba748f2d3 New translations messages.json (Norwegian Bokmal) 2021-10-14 19:11:59 -04:00
Kyle Spearrin b4746386bd New translations messages.json (Kannada) 2021-10-14 19:11:58 -04:00
Kyle Spearrin d09266dbc4 New translations messages.json (Sinhala) 2021-10-14 19:11:57 -04:00
Kyle Spearrin 82762ab3c4 New translations messages.json (Malayalam) 2021-10-14 19:11:56 -04:00
Kyle Spearrin ef39e19f00 New translations messages.json (Filipino) 2021-10-14 19:11:55 -04:00
Kyle Spearrin 84483da620 New translations messages.json (English, United Kingdom) 2021-10-14 19:11:54 -04:00
Kyle Spearrin 50f9aca3ca New translations messages.json (Hindi) 2021-10-14 19:11:53 -04:00
Kyle Spearrin 087721dd9e New translations messages.json (Azerbaijani) 2021-10-14 19:11:52 -04:00
Kyle Spearrin d9df6f5191 New translations messages.json (Ukrainian) 2021-10-14 19:11:51 -04:00
Kyle Spearrin 3a2e0991c9 New translations messages.json (Latvian) 2021-10-14 19:11:50 -04:00
Kyle Spearrin cc2ebf1398 New translations messages.json (Norwegian Nynorsk) 2021-10-14 19:11:49 -04:00
Kyle Spearrin a956cfd037 New translations messages.json (Croatian) 2021-10-14 19:11:48 -04:00
Kyle Spearrin 918f6d4a35 New translations messages.json (Thai) 2021-10-14 19:11:47 -04:00
Kyle Spearrin b418e196cd New translations messages.json (Bengali) 2021-10-14 19:11:45 -04:00
Kyle Spearrin 286da2a6c7 New translations messages.json (Persian) 2021-10-14 19:11:44 -04:00
Kyle Spearrin e11546ab0d New translations messages.json (Indonesian) 2021-10-14 19:11:43 -04:00
Kyle Spearrin ff980b4cc8 New translations messages.json (Portuguese, Brazilian) 2021-10-14 19:11:42 -04:00
Kyle Spearrin 0786e75103 New translations messages.json (Vietnamese) 2021-10-14 19:11:41 -04:00
Kyle Spearrin cee315e6b1 New translations messages.json (Chinese Traditional) 2021-10-14 19:11:40 -04:00
Kyle Spearrin a70d8bd979 New translations messages.json (Estonian) 2021-10-14 19:11:39 -04:00
Kyle Spearrin 50452e4805 New translations messages.json (Romanian) 2021-10-14 19:11:37 -04:00
Chad Scharf 192be0df2e
Merge pull request #2117 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2021-10-14 18:00:03 -04:00
Thomas Rittson 82138a08ff
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#2112)
* Use rxjs first instead of unsubscribe

* Update jslib
2021-10-15 07:58:59 +10:00
github-actions 4a51f5ec9e Autosync the updated translations 2021-10-14 21:42:11 +00:00
Daniel James Smith 2c2de6a233
Merge pull request #2094 from bitwarden/add-login-with-locked-vault
Show save/update password prompt and save credentials even when vault is locked
2021-10-14 22:30:41 +02:00
Daniel James Smith 40ba8a5cde
Removed devepency on popupUtilsService as not needed for login via Tab 2021-10-14 19:05:02 +02:00
Daniel James Smith 732f065012
Add missing semicolons to base.scss 2021-10-14 18:59:38 +02:00
Daniel James Smith d8dbeab911
Position the unlock button closer to the master password entry 2021-10-13 22:32:43 +02:00
Daniel James Smith beb6b26f15
Set image alt-text of notification close-button 2021-10-13 22:31:57 +02:00
Daniel James Smith 6fe904d48d
Search for login tab only in current window, in case popup was open 2021-10-13 22:16:24 +02:00
Daniel James Smith e9f46f2ac1
Capitalize class names 2021-10-13 22:08:02 +02:00
Daniel James Smith b910708a31
To center the login prompt use a media query and padding instead 2021-10-12 23:24:05 +02:00
Daniel James Smith f860bcd548
Restrict content width on login prompt via tab 2021-10-12 22:32:05 +02:00
Daniel James Smith 7f98ce347d
Re-focus to last open tab before user was prompted for log in 2021-10-11 17:46:43 +02:00
Vincent Salucci ddfb02e938
[Reset Password] Update jslib (#2106)
* Update jslib

* Updated constructor
2021-10-08 16:58:14 -05:00
Daniel James Smith b74efc1dbf
Set the expiry for credential notification to 5 instead of 30 minutes 2021-10-08 15:43:54 +02:00
Daniel James Smith 89344a7c36
Close loginTab after login was done by user 2021-10-08 15:28:44 +02:00
Daniel James Smith f56a9146be
Open prompt for login in tab instead of popout 2021-10-08 15:26:39 +02:00
Daniel James Smith d8bfb5a029
Added parameter and return types for tabsQueries in BrowserApi 2021-10-08 15:25:36 +02:00
Daniel James Smith 4fc968f682
Renamed command openPopout to promptForLogin 2021-10-08 15:23:37 +02:00
Daniel James Smith 79f097b3cd
Renamed command addToRetryQueue to addToLockedVaultPendingNotifications 2021-10-08 15:22:21 +02:00
Daniel James Smith 042c7677e8
Removed base64 encoded images and load them from path instead 2021-10-08 13:28:07 +02:00
Daniel James Smith 75c8c4205f
Move retryQueue from main to runtime and rename it to lockedVaultPendingNotifications 2021-10-08 13:23:05 +02:00
Daniel James Smith 2613a8cfea
Merge branch 'master' of https://github.com/bitwarden/browser into add-login-with-locked-vault 2021-10-08 12:45:35 +02:00
Thomas Rittson 6a567ed3bf
Fix input element lookup from label (#2102) 2021-10-08 07:15:55 +10:00
Daniel James Smith ec5a2299ca
Merge pull request #2101 from bitwarden/responsive-notificationbar
Fully responsive notificationBar
2021-10-07 14:19:27 +02:00
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
Daniel James Smith 8bc42fcb7f
Made notificationBar fully responsive 2021-10-06 19:40:40 +02:00
Thomas Rittson bbcbcf2b40
Fix breaking typo (#2099) 2021-10-05 08:41:21 +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
Addison Beck e4260e7df5
Merge pull request #1988 from patrickhlauke/patrickhlauke-a11y-patch2
A11y: Change links to buttons
2021-10-04 13:02:38 -04:00
Patrick H. Lauke 03b60d17bb Change CRLF to LF 2021-10-01 14:55:53 +01:00
Patrick H. Lauke bd005ffeef
Update src/popup/accounts/home.component.html
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2021-10-01 14:43:09 +01:00
Addison Beck 1f87a84b28
Merge pull request #1990 from patrickhlauke/patrickhlauke-a11y-patch3
A11y: use visually hidden styles rather than visibility, make visible on :focus as well
2021-10-01 09:28:22 -04:00
Kyle Spearrin 812741219d
Ability to auto-fill span elements (#2095)
* ability to autofill span elements

* add modification comments
2021-09-30 16:02:13 -04:00
Daniel James Smith 418f37de8c
Remove console.log 2021-09-30 16:58:48 +02:00
Daniel James Smith 23517272fd
saveOrUpdateCredentials: If more than one matching fallback cipher is found, update atleast the first one of them, to ensure saving PW change 2021-09-30 16:56:04 +02:00
Daniel James Smith 83ef310400
Removed dead code from getDataForTab 2021-09-30 16:51:53 +02:00
Daniel James Smith 705c287e1a
Removed unneeded alert/info functionality from notificationBar 2021-09-30 16:50:17 +02:00
Daniel James Smith de0e9a4d94
Combined saving credentials and added fallback to update only password if only that changed 2021-09-30 16:48:06 +02:00
Daniel James Smith 838bfe9454
Wait for user to log in before trying to save credentials 2021-09-30 16:43:10 +02:00
Daniel James Smith 5c175e2201
Open login prompt as popout when vault is locked 2021-09-30 16:33:33 +02:00
Daniel James Smith 642af32c89
Show Bitwarden logo with lock when vault is locked 2021-09-30 16:20:18 +02:00
Daniel James Smith 7aa4655512
Use Bitwarden product logo instead of company logo 2021-09-30 16:17:59 +02:00
Daniel James Smith 16e7764568
Hide folder selection when vault is locked 2021-09-30 16:15:18 +02:00
Daniel James Smith e0240c6884
Only retrieve folder list when vault is unlocked 2021-09-30 16:13:29 +02:00
Daniel James Smith 686c7fbfff
Pass vault state (locked/unlocked) to notificationBar 2021-09-30 16:09:42 +02:00
Daniel James Smith 210e0801ff
Open notificationBar (new and existing login) even though vault is locked 2021-09-30 16:03:14 +02:00
Daniel James Smith 889bbf8e2f
Removed checks for locked vault from collectPageDetails 2021-09-30 15:47:33 +02:00
Patrick H. Lauke c39636fe8a Change CRLF to LF 2021-09-30 09:04:11 +01:00
Patrick H. Lauke bf7dd5da96 Change links to buttons in new split-out components 2021-09-28 19:55:11 +01:00
Patrick H. Lauke f359a1c2be Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-28 19:50:11 +01:00
Oscar Hinton b0bc00a2c0
Prevent the lock component from removing the biometric error message (#2087) 2021-09-28 16:37:18 +02:00
Daniel James Smith ed0cc1ced1
Merge pull request #2076 from patrickhlauke/patrickhlauke-a11y-patch4
A11y: Small accessibility fixes for notifications
2021-09-28 15:55:41 +02:00
Addison Beck e63d44b214
Merge pull request #2083 from bitwarden/feature/webfont
Use webfonts from jslib instead of downloading them using gulp
2021-09-24 12:24:42 -04:00
Vincent Salucci c1613f79cd
[Reset Password v1] Refactor ForcePasswordReset flow (#2063)
* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
2021-09-24 08:34:09 -05:00
Hinton ee1af34e2e Use webfonts from jslib instead of downloading them using gulp 2021-09-24 13:00:58 +02:00
Joseph Flinn 110080b73e Version bump to 1.53.0 2021-09-22 07:46:10 -07:00
Thomas Rittson 2449534e9e
Fix totp copy not working in Chrome (#2067)
* Fix totp copy not working in Chrome

* Only use fix for Chromium-based browsers
2021-09-22 07:36:28 +10:00
github-actions 30661afeb6 Autosync the updated translations 2021-09-21 21:05:35 +00:00
Thomas Rittson 10734fc024
Move custom fields to separate components (#2072)
* Move add-edit custom fields to own component

* Fix linting and mistakes

* Update directive

* Removed linked fields work

* Move view custom fields to own component

* Remove unnecessary imports

* Wrap template in ng-container

* Update jslib

* Fix imports
2021-09-21 10:49:05 +10:00
Patrick H. Lauke 6514b5fa3b Inject aria-label to folder select 2021-09-18 23:11:10 +01:00
Patrick H. Lauke 495a7adcb7 Tweak styles for folder select 2021-09-18 23:09:41 +01:00
Patrick H. Lauke 641328c8c6
Merge branch 'master' into patrickhlauke-a11y-patch4 2021-09-18 22:42:45 +01:00
Patrick H. Lauke 3b9cddefd8 Replace table with grid 2021-09-18 22:32:22 +01:00
Patrick H. Lauke 02cccf981d Add proper title to the page 2021-09-18 21:28:57 +01:00
Patrick H. Lauke 164ce1138b Remove aria-hidden from bitwarden logo link, add appropriate alt attribute 2021-09-18 21:27:56 +01:00
Patrick H. Lauke f389ea2951 Change links to buttons in new components/fragments that appeared after latest merge 2021-09-18 17:55:18 +01:00
Patrick H. Lauke 6b0167a098
Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-18 17:47:59 +01:00
Patrick H. Lauke c178cbdc12 Resolve merge conflict 2021-09-18 17:45:54 +01:00
Patrick H. Lauke 8ce5cbe943 Tweak styles to accommodate for buttons 2021-09-18 17:45:34 +01:00
Patrick H. Lauke 0b024e11d6
Update src/popup/scss/pages.scss
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2021-09-17 21:19:34 +01:00
Oscar Hinton a848406ce0
Use explicit import paths (#2074) 2021-09-17 15:44:27 +02:00
Dane Powell 7d797f73fe
Automatic biometrics prompt (#2065)
Co-authored-by: Michael Cho <mcho@tutanota.com>
2021-09-17 10:22:46 +02:00
Vincent Salucci bb99af6e24
[SSO/Auto Enroll] Fix type for banner (#2073) 2021-09-16 23:00:40 -05:00
Thomas Rittson 8f700b0b45
Use a modal to set the unlock pin (#2060)
* Use separate modal for set pin

* Fix modal style and layout

* Minor fixes

* Remove incorrect label

* Fix initial focus and tab a11y

* Fix unrelated linting

* Update jslib
2021-09-16 05:56:29 +10:00
Oscar Hinton 205b1153de
Disable Private Vault Export Policy (#2064) 2021-09-15 21:06:13 +02:00
Oscar Hinton 2e6f0f4166
Vault Timeout Policy (#2048) 2021-09-14 13:36:34 +02:00
Thomas Rittson fa06e8ed6d
Fix QA feedback: save button not working (#2059) 2021-09-09 05:57:46 +10:00
Vincent Salucci d7754441d3
[SSO/Auto Enroll] Set Password banner (#2050)
* [SSO/Auto Enroll] Set Password banner

* Fix merge conflict

* Add missing string/style

* Update jslib
2021-09-07 12:06:43 -05: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
Patrick H. Lauke fdb3e25d98
Apply suggestions from code review
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2021-09-02 22:06:36 +01: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
Vincent Salucci 1c7504a691
[Callout] Update UI structure (#2020)
* [Callout] Update UI structure

* Update jslib
2021-08-27 17:04:45 -05:00
Oscar Hinton a1f7e07f09
Add password show/hide to reprompt (#1902)
Co-authored-by: Addison Beck <abeck@bitwarden.com>
2021-08-27 15:27:22 +02:00
Joseph Flinn 8b61d05f85 Reverting changes to Portuguese and Chinese 2021-08-24 08:16:15 -07:00
Oscar Hinton 294e7c3b8d
Bump version to 1.52.1 (#2027) 2021-08-20 15:57:57 +02:00
Daniel James Smith 2ebd8603f6
Fixed order of supportedLocales to have 'en' as fallback again 2021-08-19 22:10:13 +02:00
Joseph Flinn 689303b684 Reverting the Crowdin English changes 2021-08-19 10:39:36 -07:00
Thomas Rittson b850117f52
Revert "Remove unsafe-inline from Content Security Policy in manifest.json (#1873)" (#2023)
This reverts commit 090e9f35ae.
2021-08-19 18:20:38 +10:00
Joseph Flinn 05ba96d3d5
Merge pull request #2010 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2021-08-18 14:27:00 -07:00
github-actions e2c5b8ead4 Autosync Crowdin translations 2021-08-18 21:14:03 +00:00
addison 061708cbdd changed ngIf to hidden for send options 2021-08-18 09:19:35 -04:00
Matt Gibson e2f0feaf7f
Version bump to 1.52.0 (#2018) 2021-08-17 14:07:46 -05:00
github-actions 7495476d9d Autosync Crowdin translations 2021-08-13 17:05:03 +00:00
Matt Gibson 4890ca3c51
Add iframe allow to initial load (#2005)
* Add iframe allow to initial load

Chrome seems to balk at this attribute being added after the fact. It
may be a race condition or an intentional block, but adding to the
template fixes our missing allow attribute problem.

* Update jslib
2021-08-13 09:23:36 -05:00
Addison Beck a61598253c
Merge pull request #1995 from bitwarden/m-rpv1-force-reset 2021-08-11 15:50:15 -04:00
addison c9a244471e also moved the rmp check in the two factor component 2021-08-11 13:44:09 -04:00
Mathew Hodson da12cbcd37
Don't use deprecated initKeyEvent() for autofill (#2001) 2021-08-11 12:40:36 -05:00
addison a54c4c8efa changed the header for the update temp password screen 2021-08-11 12:22:28 -04:00
addison 8e56790265 moved the update temp password check on login to right after syncing finishes 2021-08-11 12:19:08 -04:00
addison 2c954d2ce0 implemented password score styling for update temp password 2021-08-11 12:09:10 -04:00
addison b0b0e144ea Merge branch 'master' into m-rpv1-force-reset 2021-08-11 10:09:54 -04:00
Thomas Rittson 69c892807c
Use custom virtual scroll strategy (#2002)
* update jslib

* Use custom virtual scroll strategy
2021-08-11 12:52:44 +10:00
Vincent Salucci 2bddc1017b [Reset Password v1] Update Temp Password 2021-08-05 10:01:58 -05:00
Xandre V 090e9f35ae
Remove unsafe-inline from Content Security Policy in manifest.json (#1873) 2021-08-05 17:24:58 +10:00
Patrick H. Lauke 888fc74a57 A11y: use visually hidden styles rather than visibility
- `visibility:hidden` also hides text from assistive technologies, leading to the settings link lacking an accessible name when not hovered (focused with keyboard only, for instance)
- turn the styles around and hide the non-hovered link's span with "visually hidden" styles https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
- also include `:focus` to make the text visible when hovered (for sighted keyboard users)
2021-07-31 22:07:05 +01:00
Patrick H. Lauke 7e1c491124 Add extra styles for buttons
- to maintain the existing look and feel after switching links to buttons
2021-07-31 21:10:37 +01:00
Patrick H. Lauke d528d72b4d Change links to buttons
- more semantically accurate, will expose these as buttons to assistive technologies
- note: while having block-level elements like `<div>` inside a `<button>` is an html validation error, it does not affect functionality as long as there's no more structure inside it
2021-07-31 20:50:46 +01: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
Addison Beck 829fb237c7
Merge pull request #1955 from bitwarden/SafariDateTimeWoes
Resolved Safari Date/Time Issues In Send
2021-07-16 14:31:43 -04:00