1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00
Commit Graph

6324 Commits

Author SHA1 Message Date
addison
f6e274a9a0 [chore] Update jslib 2022-01-31 14:21:06 -05:00
Micaiah Martin
4118b12cab Merge pull request #2299 from bitwarden/BEEEP-reorg-linting
Reorganizes linting in our CI.
2022-01-31 08:44:14 -07:00
Micaiah Martin
1d2b7c0b42 \n strikes again. 2022-01-28 14:40:51 -07:00
Micaiah Martin
a2c80bf0f9 Moved to ubuntu from windows 2022-01-28 14:29:11 -07:00
Micaiah Martin
f2f6113197 Formatting 2022-01-28 12:11:39 -07:00
Micaiah Martin
236064fbe1 Update actions and set slack job to check for lint errors 2022-01-28 11:48:09 -07:00
Micaiah Martin
99617cf709 added dependancies 2022-01-28 11:29:49 -07:00
Micaiah Martin
4072a8f5d8 moved linting to the front of CI 2022-01-28 11:23:34 -07:00
Addison Beck
c1ba54f646 [bug] Patch the windows menu bar regressions (#1273)
* [bug] Patch the windows menu bar regressions

* [chore] Update jslib
2022-01-28 11:27:30 -05:00
Addison Beck
32e54eec7f Merge pull request #2298 from bitwarden/Chore/UpdateJslib
[chore] Update jslib
2022-01-28 09:32:48 -05:00
addison
5962abb382 [chore] Update jslib 2022-01-28 09:24:04 -05:00
Daniel James Smith
bb597e96a7 Use ThemeType instead of string (#1275) 2022-01-28 14:46:07 +01:00
Vincent Salucci
33314869f0 [Icons] Update Font Sheet (#2272)
* [Icons] Update Font Sheet

* Prettier updates

* Updated refresh -> generate

* Updated closed folder icon

* Reverted to using a base class

* Update jslib

* Removed unused import

* Updated eye/eye-slash icon references

* Update jslib

* Updating fallback image for cipher icon

* Update jslib

* Removed duplicate icon base class

* Update jslib

* Prettier

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-28 04:53:06 -06:00
github-actions[bot]
1b5f4c99b8 Autosync the updated translations (#2295)
Co-authored-by: github-actions <>
2022-01-28 11:08:11 +01:00
github-actions[bot]
6aa9e7611a Autosync the updated translations (#1274)
Co-authored-by: github-actions <>
2022-01-28 11:05:05 +01:00
Thomas Rittson
4ca282f701 Run Prettier on #2163 (#2296) 2022-01-28 11:00:48 +01:00
Thomas Rittson
805d387469 Move keyConnectorService call to syncService (#2279) 2022-01-28 07:49:23 +10:00
Linus Aarnio
55e6de691d Add credit card logos to allow displaying icons based on brand (#2163)
* Add credit card logos to allow displaying icons based on brand

* Add light and dark card icons and select based on theme

* Change usage of icon scss to the one in jslib

* Fix typos in scss import code
2022-01-27 22:42:32 +01:00
Daniel James Smith
bd770c90ed [Account Switching] Base changes for account switching (#2250)
* Pull in jslib

* Create new state models

* Create browser specific stateService

* Remove registration deprecated services, register stateService

* Replace usage of deprecated services (user, constants)

* Add missing properties to BrowserGroupingsComponentState

* Remove StorageService from initFactory

* Clear the correct state

* Add null check when restoring send-grouping state

* add remember email

* Initialize stateservice in services.module

* Fix 'lock now' not working

* Comment to remove setting defaults on install

* Pull jslib

* Remove setting defaults on install

* Bump jslib

* Pass the current userId to services when logging out

* Bump jslib

* Override vaultTimeout default on account addition

* Pull latest jslib

* Retrieve vaultTimeout from stateService

* Record activity per Account

* Add userId to logout and add fallback if not present

* Register AccountFactory

* Pass userId in messages

* Base changes for account switching di fixes (#2280)

* [bug] Null checks on Account init

* [bug] Use same stateService instance for all operations

We override the stateService in browser, but currently don't pull the background service into popup and allow jslib to create its own instance of the base StateService for jslib services.
This causes a split in in memory state between the three isntances that results in many errors, namely locking not working.

* [chore] Update jslib

* Pull in jslib

* Pull in jslib

* Pull in latest jslib to multiple stateservice inits

* Check vault states before executing processReload

* Adjust iterator

* Update native messaging to include the userId (#2290)

* Re-Add UserVerificationService

* Fix email not being remembered by base component

* Improve readability of reloadProcess

* Removed unneeded null check

* Fix constructor dependency (stateService)

* Added missing await

* Simplify dependency registration

* Fixed typos

* Reverted back to simple loop

* Use vaultTimeoutService to retrieve Timeout

Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2022-01-27 22:22:51 +01:00
Oscar Hinton
3c99920435 Add support for handling multiple accounts with native messaging (#1266) 2022-01-27 20:52:06 +01:00
Oscar Hinton
a7c5f1ad45 Fix webpack using double dots (#1272) 2022-01-27 19:36:50 +01:00
Oscar Hinton
ade2a96239 Fix webpack using double dots (#2293) 2022-01-27 19:18:57 +01:00
Vincent Salucci
ec3c95d736 [Icons] Update Font Sheet (#1245)
* [Icons] Update Font Sheet

* Added import statement for styles

* updated to clone icon

* Changed save to save changes icon

* Revert to using base bwi class

* Updated import order for bwi icon styles

* Converted new account switcher ui updates

* Bump jslib

* Fix occurances where bwi-eye-slash was used instead of btw-eye-slash-2

* Move settings cog to the left side

* Updated eye/eye-slash icon references

* Update jslib

* Update jslib

* Update fallback image for cipher icon

* Update jslib

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-27 11:21:53 -06:00
Addison Beck
058be7e895 [bug] Disable the preferences screen if there is no active unlocked vault (#1270) 2022-01-26 12:32:00 -05:00
Addison Beck
ff7dd4ad8f [bug] Don't monitor vault timeout action valueChanges until after init (#1271) 2022-01-26 09:33:37 -05:00
Addison Beck
9271ec37b9 [bug] Ensure remembering email always happens for desktop (#1269)
* [bug] Ensure remembering email always happens for desktop

* update jslib
2022-01-25 19:00:49 +01:00
Addison Beck
d80fdc8a78 Adjust an iterator used to check for locked vaults on reloadProcess (#1268) 2022-01-25 09:49:57 -05:00
Addison Beck
555ee1c230 [bug] Checkout all vaults before reloading process (#1267) 2022-01-25 09:36:30 -05:00
Daniel James Smith
aa8fe04a28 [UX] Change menu items for unauthed and locked vault (#2285)
* Change menu items for unauthed and locked vault

* Use 'Log in' instead of 'Login'
2022-01-25 08:17:01 +01:00
Daniel James Smith
71913a5eb5 Update badge number when saving a new entry (#2284)
* Rename message to changePasswordMessage

* Rename message variable to addLoginMessage

* Add early return and remove unneeded if below

* Update badge and menu after adding an entry

* Adjusted casing of enum properties

* Add explicit check for queueMessageType

* Turn NotificationQueueMessageType into simple enum
2022-01-25 08:16:36 +01:00
Addison Beck
c458b4d8a9 [bug] Move enableBrowserIntegration to global settings (#1265)
* [bug] Move enableBrowserIntegration to global settings

* [style] Ran prettier

* [chore] Update jslib
2022-01-24 11:35:24 -05:00
Oscar Hinton
7d46e5c145 Add explicit init to native messaging service (#1262) 2022-01-24 16:10:32 +01:00
Addison Beck
ca41cdf8b5 [chore] Update jslib (#1264) 2022-01-24 08:45:35 -05:00
Addison Beck
d211b3fcd2 Unset active account when adding additional accounts (#1258) 2022-01-24 07:28:39 -05:00
Addison Beck
ef48ba1ae2 [bug] Correct DI setup for SystemService (#1257)
The DI refactor created a bad initlizer for SystemService that left out the reload callback.
This callback is null in prod, so I just set up a factory initlizer that used null for the callback value.

This fixes a bug causing clipboard clearing to not function, as platformUtilsService was not correctly injected.
2022-01-22 15:24:12 -05:00
Robyn MacCallum
07a3a1ea06 Merge pull request #2282 from bitwarden/beeep/remove-sad-faces
Replace sad face with searching image
2022-01-21 14:37:45 -05:00
Robyn MacCallum
33704b016f Beeep/remove sad faces (#1255)
* Replace sad face with searching image

* Change css variable name

* Added aria-hidden="true" to images

* Run prettier
2022-01-21 14:37:28 -05:00
Oscar Hinton
a64273f829 Hide account switcher border if no accounts (#1254) 2022-01-21 17:57:09 +01:00
Robyn MacCallum
4d63769d42 Run prettier 2022-01-21 11:23:01 -05:00
Robyn MacCallum
5c4bcf86a7 Added aria-hidden="true" 2022-01-21 11:21:23 -05:00
Robyn MacCallum
879b983818 Replace sad face with searching image 2022-01-21 10:31:01 -05:00
Daniel James Smith
cb4e6debf3 Fix display of account limit (#1253) 2022-01-21 14:15:24 +01:00
github-actions[bot]
f0dc5aa458 Autosync the updated translations (#2278)
Co-authored-by: github-actions <>
2022-01-21 11:52:06 +01:00
github-actions[bot]
2e7f8a127d Autosync the updated translations (#1250)
Co-authored-by: github-actions <>
2022-01-21 11:51:41 +01:00
Thomas Rittson
c6eaf3a31e Move KeyConnector call from client to syncService (#1252) 2022-01-21 19:32:44 +10:00
Daniel James Smith
37b03b09a1 [Account Switching] Design changes to settings menu (#1244)
* Design changes to settings menu

* Remove black border on settings headers

* Pull in jslib

* Only load account related settings when authed

* Hide account related settings when not authed

* Change settings titles

* Changes discussed with Danielle
2022-01-20 22:56:15 +01:00
Oscar Hinton
d1c01a2bb0 Remove account switching border (#1249) 2022-01-20 17:15:29 +01:00
Oscar Hinton
0edee78da1 Change account switching dropdown to align with the right side (#1248) 2022-01-20 16:32:05 +01:00
Addison Beck
80c9196e44 [chore] Update jslib (#1247) 2022-01-20 09:26:24 -05:00
Addison Beck
032d2be990 [bug] Remove old mac-bar styling (#1246)
With the account switching work a header was added to the desktop app that new acts as a home for the mac window controls.
Previously we needed a special home for these controls, but since moving them we are not just creating empty space.
Removing this class and the divs that use it corrects the behavior.
2022-01-20 07:44:20 -05:00