Commit Graph

3688 Commits

Author SHA1 Message Date
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
Oscar Hinton 81a675b579
Bump jslib (#2111) 2021-10-11 19:40:50 +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
addison 85e3436de6 [refactor] Replace references to deprecated services
Several refactors were done on the data storage layer of jslib to support Account Switching for desktop.
These changes have been implemented here for parity across clients, improved readability, and to make it easier
to add Account Switching to other clients later if desired.

* The UserService was removed, and so all references have been replaced with the new access points for that data (activeAccount and organizationService most often)
* The StorageService is now considered a "global" scope, where as we have a new "account" scope to consider. Any "account" scope storage items I have moved to saving with
an ActiveAccountService instance instead of a StorageService instance.
* ConstantsServices have been removed and replaced with a StorageKey enum that holds keys that were in ConstantServices and in other feature scoped services.
2021-10-11 10:42:31 -04:00
Vincent Salucci ddfb02e938
[Reset Password] Update jslib (#2106)
* Update jslib

* Updated constructor
2021-10-08 16:58:14 -05:00
Addison Beck 774462d413
Merge pull request #2105 from bitwarden/update-jslib
[chore] Update jslib
2021-10-08 10:46:25 -04:00
addison 4d7f137db2 [chore] update jslib 2021-10-08 10:44:53 -04: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 a3876db30b
Update jslib (#2103) 2021-10-08 09:56:30 +10: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 1619fe533e
Bump signalr to 5.0.10 (#2088) 2021-09-28 17:19:53 +02:00
Daniel James Smith 5798aa2a78
Merge pull request #2071 from Nihal247/master
Update README.md
2021-09-28 17:15:26 +02:00