1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-01 13:13:36 +01:00
Commit Graph

11782 Commits

Author SHA1 Message Date
Vincent Salucci
4e8795761f
[bug] Update gulp and webpack to include new font sheet (#2305) 2022-02-02 09:11:09 -06:00
Daniel James Smith
270411dff7
Fix icons on the settings headers (#1279) 2022-02-02 15:50:48 +01:00
Joseph Flinn
6bf6d4b47f
Reverting tis change for next release (#1430) 2022-02-02 06:22:25 -08:00
Vincent Salucci
7c68e3802e
[bug] Add options string (#1281) 2022-02-01 23:06:29 -06:00
Addison Beck
48ff9f61ae
[bug] Inactive accounts with power-based timeout settings are not timing out (#1278)
* [bug] Move bulk of system lock checks into app.component

* [review] Extract shared system timeout logic

* [review] Correct an improper number

* [review] Opt for a more locally scoped system timeout helper than a dedicated enum
2022-02-01 11:31:30 -05:00
Oscar Hinton
ca199a398e
Fix captcha and webauthn-fallback not using theme_light (#1427) 2022-02-01 15:46:16 +01:00
Thomas Rittson
aa2bdd00be
[Tech debt] Refactor authService and remove LogInHelper (#588)
* Use different strategy classes for different types of login
* General refactor and cleanup of auth logic
* Create subclasses for different types of login credentials
* Create subclasses for different types of tokenRequests
* Create TwoFactorService, move code out of authService
* refactor base CLI commands to use new interface
2022-02-01 09:51:32 +10:00
Addison Beck
2b22a39d45
[chore] Update jslib (#1277)
* [chore] Update jslib

* [bug] Correct value for system theme dropdown key

* [chore] Update jslib
2022-01-31 18:00:37 -05:00
Addison Beck
3718f35efd
[chore] Update jslib (#459) 2022-01-31 18:00:19 -05:00
Addison Beck
3ff2147ac8
Merge pull request #2301 from bitwarden/Chore/UpdateJslib
[chore] Update jslib
2022-01-31 18:00:12 -05:00
Chad Scharf
61ab2fbda3
Hide unsolicited SSO option in config (#1425) 2022-01-31 17:43:56 -05:00
Addison Beck
d79f074825
[bug] Extend GlobalState to supply correct default theme (#1422)
* [bug] Extend GlobalState to supply correct default theme

The default theme for most clients is System, but web uses Light.
We need to extend GlobalState in web to reflect this.

* [chore] Update jslib
2022-01-31 14:53:55 -05:00
addison
c4844b9943 [style] Ran prettier 2022-01-31 14:48:52 -05:00
addison
4f9a741278 [style] Lint fixes 2022-01-31 14:46:04 -05:00
addison
66e6ea3908 [chore] Update jslib 2022-01-31 14:43:01 -05:00
Addison Beck
92a65b7b36
[bug] Allow for GlobalState to be extended and modified in clients (#646)
Some clients have unique global setting defaults (and unique global settings)
For example: the web vault defaults to light theme, but most clients with theme support default to system theme.

The current way we handle GlobalState is buried in jslib and not easily extendible in clients.

To fix this, we need to treat GlobalState as a generic in the StateService and StateMigration service and allow for its extension in those methods and anywhere GlobalState is inited.
2022-01-31 14:33:31 -05:00
Oscar Hinton
e3b962a779
Apply prettier on help pr (#1423) 2022-01-31 20:31:50 +01:00
addison
f6e274a9a0 [chore] Update jslib 2022-01-31 14:21:06 -05:00
DanHillesheim
cc657eb853
Update help site URLs (#1409) 2022-01-31 20:11:27 +01:00
DanHillesheim
e14a266ee0
Registration page updates (#1390)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-31 20:10:35 +01:00
Matt Gibson
68548d8db9
Add bot to enforce hold PRs aren't merged (#456)
* Add bot to enforce hold PRs aren't merged

* Use commit hash rather than tag
2022-01-31 12:44:29 -06: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
Thomas Rittson
e1732cfa10
Fix various bugs in Options page (#1418)
* Remove duplicate message in toast

* Set starting variables properly
2022-01-31 09:11:25 -05: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
ce1ae208d1
[bug] Update theme.js to refelect new storage structure (#1416)
* [bug] Update theme.js to refelect new storage structure

* [bug] Remove unecassary defaults
2022-01-28 11:30:45 -05: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
5731e1e316
[chore] Update jslib (#457) 2022-01-28 10:09:24 -05:00
Addison Beck
32e54eec7f
Merge pull request #2298 from bitwarden/Chore/UpdateJslib
[chore] Update jslib
2022-01-28 09:32:48 -05:00
Matt Gibson
210e0502ca
Feature/put serve behind feature flag (#455)
* Add build-time feature flag capabilities

* Toggle `bw serve` command with `serve` flag

* Run linter and prettier
2022-01-28 08:29:04 -06:00
addison
5962abb382 [chore] Update jslib 2022-01-28 09:24:04 -05:00
Addison Beck
6996b06fa2
[chore] Update jslib (#1415) 2022-01-28 09:07:33 -05:00
Daniel James Smith
bb597e96a7
Use ThemeType instead of string (#1275) 2022-01-28 14:46:07 +01:00
Addison Beck
e372bf242b
[cleanup] Adjust type to match abstraction (#643) 2022-01-28 08:18:39 -05:00
Addison Beck
6c61f53d8b
[bug] Always save environmentUrls passed to setUrls (#641)
* [bug] Always save environmentUrls passed to setUrls

* [bug] Remove parameter from abstraction as well

* [bug] Correct type in abstraction
2022-01-28 08:15:02 -05: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
Addison Beck
ca5b057b43
[refactor] Use ThemeType enum instead of string (#642) 2022-01-28 11:28:36 +01: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]
dc503d3461
Autosync the updated translations (#1414)
Co-authored-by: github-actions <>
2022-01-28 11:06:25 +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
Daniel James Smith
d95db8fb74
BEEEP: Add importer for Keeper in json format (#1392)
* Updated instructions to export a csv file from Keeper

* Add instructions to export a json file from Keeper

* Bump jslib to include Keeper json importer

* Revert change to README.md

* Pull in jslib
2022-01-27 21:51:56 +01:00
Justin Baur
1a219daa12
Remove F4E vault card (#1413)
* Remove F4E card from vault page

* Remove unneeded property
2022-01-27 15:47:56 -05:00