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

1232 Commits

Author SHA1 Message Date
Linus Aarnio
83c3635932
Add credit card logos to allow displaying icons based on brand (#1149)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-21 13:21:41 +01:00
Oscar Hinton
521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Daniel James Smith
3ad71103dd
Bump electron dependencies (#1194)
* Pull in jslib

* Bumping electron dependencies that relate tojslib

* Bump electron-rebuild

* Bump electron-builder

* Revert "Bump electron-builder"

This reverts commit 8cada43567.

* Bump jslib
2021-12-17 11:15:07 +01:00
github-actions[bot]
da296559c0
Autosync the updated translations (#1198)
Co-authored-by: github-actions <>
2021-12-17 01:15:45 +01:00
Addison Beck
0b306ca1a7
[Account Switching] [Feature] Add the ability to maintain state for up to 5 accounts at once (#1079)
* [refactor] Remove references to deprecated services

* [feature] Implement account switching

* [bug] Fix state handling for authentication dependent system menu items

* [bug] Enable the account switcher to fucntion properly when switching to a locked accounts

* [feature] Enable locking any account from the menu

* [bug] Ensure the avatar instance used in the account switcher updates on account change

* [style] Fix lint complaints

* [bug] Ensure the logout command callback can handle any user in state

* [style] Fix lint complaints

* rollup

* [style] Fix lint complaints

* [bug] Don't clean up state until everything else is done on logout

* [bug] Navigate to vault on a succesful account switch

* [bug] Init the state service on start

* [feature] Limit account switching to 5 account maximum

* [bug] Resolve app lock state with 5 logged out accounts

* [chore] Update account refrences to match recent jslib restructuring

* [bug] Add missing awaits

* [bug] Update app menu on logout

* [bug] Hide the switcher if there are no authed accounts

* [bug] Move authenticationStatus display information out of jslib

* [bug] Remove unused active style from scss

* [refactor] Rewrite the menu bar

* [style] Fix lint complaints

* [bug] Clean state of loggout out user after redirect

* [bug] Redirect on logout if not explicity provided a userId that isn't active

* [bug] Relocated several settings items to persistant storage

* [bug] Correct account switcher styles on all themes

* [chore] Include state migration service in services

* [bug] Swap to next account on logout

* [bug] Correct DI service

* [bug] fix loginGuard deps in services.module

* [chore] update jslib

* [bug] Remove badly merged scss

* [chore] update jslib

* [review] Code review cleanup

* [review] Code review cleanup

Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-15 17:32:00 -05:00
github-actions[bot]
74c9c1972f
Bumped version to 1.30.1 (#1191)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-10 10:05:34 -05:00
github-actions[bot]
9feb147654
Bumped version to 1.30.0 (#1187)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-08 09:02:21 -05:00
Oscar Hinton
b70d2fb3c3
Fix development build not working with bitwarden:// protocol (#1165) 2021-12-07 21:04:52 +01:00
Oscar Hinton
5fd1da0c58
Replace toaster library (#1183) 2021-12-07 20:42:31 +01:00
github-actions[bot]
2822d748f1
Autosync the updated translations (#1174)
Co-authored-by: github-actions <>
2021-12-07 17:01:42 +01:00
Oscar Hinton
04cfdb246d
BEEEP: Refactor services DI (#1175) 2021-12-06 12:03:02 +01:00
Thomas Rittson
b6db41c26c
Update jslib (#1176)
* Update jslib

* Update component constructors

* Update jslib
2021-11-29 10:21:48 +10:00
Thomas Rittson
b83058ecab
Apply AppInputVerbatim directive (#1170) 2021-11-24 08:03:43 +10:00
Oscar Hinton
b607a4ed08
Hide password input when using key connector (#1169) 2021-11-22 18:37:28 +01:00
Oscar Hinton
25b915cf26
[Key Connector] Resolve not prompting to remove password (#1168) 2021-11-19 13:55:31 +01:00
github-actions[bot]
30d3192344
Autosync the updated translations (#1167)
Co-authored-by: github-actions <>
2021-11-19 13:01:05 +01:00
Thomas Rittson
9e3528df44
[Key Connector] Hide "Master Pass On Restart" prompt when setting pin (#1166)
* Hide Master Pass on Restart for Key Connector

* Update jslib
2021-11-18 21:53:41 +10:00
Oscar Hinton
b57cba8632
Update export to match the design changes (#1163) 2021-11-17 20:32:00 +01:00
Thomas Rittson
3d8fd3cbce
Update jslib and service dependencies (#1160)
* Update service deps

* Update jslib
2021-11-16 21:01:23 +10:00
Thomas Rittson
ca700e4feb
Add missing i18n string (#1161) 2021-11-16 20:41:25 +10:00
github-actions[bot]
3010b3e1ac
Autosync the updated translations (#1155)
Co-authored-by: github-actions <>
2021-11-15 10:57:01 -05:00
Oscar Hinton
fa98ef37ec
Hide change password when using key connector (#1153) 2021-11-12 08:41:08 +10:00
Thomas Rittson
afb30d5e0b
[Key Connector] Add support for key connector and OTP (#1135)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 19:00:01 +01:00
Joseph Flinn
aa73bde593
Version Bump to 1.29.2 (#1151) 2021-11-09 07:52:47 -08:00
Thomas Rittson
f2a5fe4429
[Linked fields] Add Linked Field as custom field type (#1091)
* Add linked fields

* Update to use Field.linkedId

* Add missing deps

* Update jslib
2021-11-04 08:02:41 +10:00
Vince Grassia
9edd154a0e
Version bump 1.29.1 (#1130) 2021-10-29 10:09:00 -04:00
Joseph Flinn
4fa9325330
Version Bump 1.29.0 (#1123) 2021-10-27 08:37:15 -07:00
github-actions[bot]
5a179ec530
Autosync the updated translations (#1122)
Co-authored-by: github-actions <>
2021-10-27 07:41:25 -07:00
Thomas Rittson
52a30f4d8a
Fixes for dynamic modal a11y (#1107)
* Remove tabindex and cdkTrapFocus from modals

* Add styling for modal-dismiss

* Remove modal-dismiss styles

* Update jslib
2021-10-25 16:26:12 +10:00
Oscar Hinton
6f69486c36
Remove empty catch blocks and remove allow-empty-catch tslint rule (#1117) 2021-10-21 11:10:36 +02:00
Kyle Spearrin
bee11204b2
New Crowdin updates (#1111)
* New translations messages.json (Romanian)

* New translations messages.json (Estonian)

* New translations messages.json (Chinese Traditional)

* New translations messages.json (Vietnamese)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Indonesian)

* New translations messages.json (Persian)

* New translations messages.json (Bengali)

* New translations messages.json (Thai)

* New translations messages.json (Croatian)

* New translations messages.json (Norwegian Nynorsk)

* New translations messages.json (Latvian)

* New translations messages.json (Ukrainian)

* New translations messages.json (Azerbaijani)

* New translations messages.json (Hindi)

* New translations messages.json (English, United Kingdom)

* New translations messages.json (Esperanto)

* New translations messages.json (Filipino)

* New translations messages.json (Malayalam)

* New translations messages.json (Sinhala)

* New translations messages.json (Kannada)

* New translations messages.json (Norwegian Bokmal)

* New translations messages.json (Montenegrin (Latin))

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Turkish)

* New translations messages.json (French)

* New translations messages.json (Hebrew)

* New translations messages.json (Spanish)

* New translations messages.json (Afrikaans)

* New translations messages.json (Belarusian)

* New translations messages.json (Bulgarian)

* New translations messages.json (Catalan)

* New translations messages.json (Czech)

* New translations messages.json (Danish)

* New translations messages.json (German)

* New translations messages.json (Greek)

* New translations messages.json (Finnish)

* New translations messages.json (Hungarian)

* New translations messages.json (Swedish)

* New translations messages.json (Italian)

* New translations messages.json (Japanese)

* New translations messages.json (Korean)

* New translations messages.json (Dutch)

* New translations messages.json (Polish)

* New translations messages.json (Portuguese)

* New translations messages.json (Russian)

* New translations messages.json (Slovak)

* New translations messages.json (Slovenian)

* New translations messages.json (Serbian (Cyrillic))

* New translations messages.json (English, India)
2021-10-14 19:22:52 -04:00
github-actions[bot]
7046f8cfd3
Autosync the updated translations (#1110)
Co-authored-by: github-actions <>
2021-10-14 18:01:36 -04:00
Thomas Rittson
77ab177d2c
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#1105)
* Use rxjs first instead of unsubscribe

* Remove unneeded variable

* Update jslib
2021-10-15 07:59:08 +10:00
Vincent Salucci
b5fd993bad
[Reset Password] Update jslib (#1102)
* Update jslib

* Updated constructor
2021-10-08 16:55:32 -05:00
Thomas Rittson
15e8e5fec9
Use theme enum and platformUtilsService helpers (#1094)
* Use new theme enum and platformUtilsService helper

* Use theme enum

* Update jslib

* Fix linting
2021-10-05 06:30:09 +10:00
Oscar Hinton
facedab33c
Use webfonts from jslib instead of downloading them using gulp (#1089)
* Use webfonts from jslib instead of downloading them using gulp

* Remove accidental command for disabling certificates

* Bump jslib
2021-09-27 14:27:39 +10:00
Vincent Salucci
df382a3611
[Reset Password v1] Refactor ForcePasswordReset flow (#1067)
* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
2021-09-24 08:33:57 -05:00
Joseph Flinn
bab33c3a64
Version bump to 1.28.3 (#1086) 2021-09-22 08:39:18 -07:00
github-actions[bot]
004f18e04d
Autosync the updated translations (#1085)
Co-authored-by: github-actions <>
2021-09-21 14:12:42 -07:00
Thomas Rittson
c385efdbd2
Move custom fields to separate components (#1076)
* Move custom fields to own component

* Update jslib

* Fix import statements

* Fix linting
2021-09-21 10:48:17 +10:00
Oscar Hinton
0297ea57da
Use explicit import paths (#1084) 2021-09-20 10:41:57 +02:00
Vincent Salucci
762c026b6f
[SSO/Auto Enroll] Fixed typo for banner (#1083) 2021-09-16 23:09:23 -05:00
Oscar Hinton
aa19e678f7
Vault Timeout Policy (#1052) 2021-09-15 20:02:46 +02:00
Oscar Hinton
da4af743f3
Disable Private Vault Export Policy (#1068) 2021-09-15 20:02:17 +02:00
Thomas Rittson
ebaf27b7c9
Use a modal to set the unlock pin (#1064)
* Use separate modal to set pin

* Remove incorrect label

* Fix tab focus for settings and set-pin modals

* Remove leftover code

* Update jslib
2021-09-13 10:52:58 +10:00
Oscar Hinton
cdac1a4508
Improve ViewComponent (#1069) 2021-09-10 15:32:08 +02:00
Vincent Salucci
c62144424f
[SSO/Auto Enroll] Set Password banner (#1053)
* [SSO/Auto Enroll] Set Password banner

* Update jslib
2021-09-07 12:11:43 -05:00
Vincent Salucci
39ac46aaa7
[Callout] Update UI structure (#1028)
* [Callout] Update UI structure

* Update jslib
2021-08-27 17:04:32 -05:00
Oscar Hinton
2ba8925b81
Add password show/hide to reprompt (#959) 2021-08-27 15:30:44 +02:00
Joseph Flinn
5b4931e260
Reverting Chinese and Portuguese translations (#1044) 2021-08-25 09:23:10 -07:00
Oscar Hinton
29b33b14e5
Bump version (#1040) 2021-08-23 12:03:19 +02:00
Oscar Hinton
9ae439b52f
Bump version to 1.28.1 (#1035) 2021-08-20 15:57:47 +02:00
Daniel James Smith
a325ca2363
Added a comment to I18nService (#1032) 2021-08-19 22:40:33 +02:00
Vince Grassia
741fc69343
Revert EN Crowdin sync (#1031) 2021-08-19 13:45:56 -04:00
github-actions[bot]
026ee20250
Autosync Crowdin Translations (#1021)
* Autosync Crowdin translations

* Autosync Crowdin translations

Co-authored-by: github-actions <>
2021-08-18 14:24:16 -07:00
Daniel James Smith
72b688e241
Fix broken link to open Edge extension store from Help menu (#1025) 2021-08-18 07:46:53 +02:00
Matt Gibson
3100f55d51
Version bump to 1.28.0 (#1027) 2021-08-17 12:46:46 -05:00
Oscar Hinton
3cbb336416
Close proxy application when stdin is closed (#1024) 2021-08-17 14:01:31 +02:00
Matt Gibson
a76f8749ca
Set iframe allow on window load (#1019)
* Set webauthn allow on initial load

* Update jslib
2021-08-13 09:24:07 -05:00
Vincent Salucci
d82378a7a0
[Reset Password v1] Update Temp Password (#1015) 2021-08-11 15:49:44 -04:00
Thomas Rittson
816249a48a
Use cdk-virtual-scroll for long cipher lists (#1001)
* Use cdk-virtual-scroll for cipher lists

* add trackBy, reorder dom

* Undo merge conflict error

* Fix layout, increase scrolling buffer

* fix linting

* Remove unused infinite-scroll directives for Send

* Add back refresh method

* Update jslib

* Fix itemSize and min/maxBufferPx directives

* Move refresh() into base class

* Use cipherListVirtualScroll strategy

* fix linting

* Update to use latest virtual-scroll strategy

* Update jslib
2021-08-11 13:00:04 +10:00
Oscar Hinton
20561fff87
Add support for helpers in environment service (#1002)
* Add support for helpers in environment service

* Add environment service to register component

* Bump jslib
2021-07-23 17:15:32 -04:00
Matt Gibson
c863d68057
Feature/use hcaptcha if bot (#1000)
* Add captcha to login component

* Add catpcha to login page

* Update content width if captcha is visible

* extend submit to handle widening if captcha is required

* Improve login styling

* Add Captcha to registration page

* Remove padding from captcha div

The padding was messing up image selection of captcha items

* Update jslib

* PR review

* update jslib
2021-07-23 13:48:10 -05:00
Addison Beck
d7287e7aa3
set Send date presets to Custom if editing a send (#997) 2021-07-21 12:43:40 -04:00
Addison Beck
0682269e34
Resolved Safari Date/Time Issues In Send (#992)
* cleaned up date and time logic for Send

* updated jslib

* set up change detection for initial form values on data swap
2021-07-19 09:56:31 -04:00
Kyle Spearrin
9201730fe1 remove old code from #351 2021-07-12 10:11:43 -04:00
Trey Greer
6990056c04
Add AZ language (#988) 2021-07-12 07:44:40 +10:00
Kyle Spearrin
ccdd45b09e
New Crowdin updates (#983)
* New translations messages.json (Romanian)

* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Chinese Traditional)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Persian)

* New translations messages.json (Estonian)

* New translations messages.json (Swedish)

* New translations messages.json (Azerbaijani)

* New translations messages.json (English, United Kingdom)

* New translations messages.json (Kannada)

* New translations messages.json (Turkish)

* New translations messages.json (Serbian (Cyrillic))

* New translations messages.json (Finnish)

* New translations messages.json (Bulgarian)

* New translations messages.json (Catalan)

* New translations messages.json (Czech)

* New translations messages.json (Danish)

* New translations messages.json (German)

* New translations messages.json (Hebrew)

* New translations messages.json (Hungarian)

* New translations messages.json (Italian)

* New translations messages.json (Japanese)

* New translations messages.json (Korean)

* New translations messages.json (Dutch)

* New translations messages.json (Polish)

* New translations messages.json (Russian)

* New translations messages.json (Slovak)

* New translations messages.json (English, India)
2021-07-07 17:39:11 -04:00
Chad Scharf
d70de84fb7
[chore] version bump 1.27.1 (#982) 2021-07-07 17:23:56 -04:00
Shashank S
359daffd9e
Use radio buttons for password generator type instead of dropdown (#955)
* fix: radio instead of dropdown

* fix: remove, depend on upstream jslib

* chore: remove unnecessary label

* fix: missing tag

* chore: add label, remove dupl. intlz.

* feat: update jslib version

* Revert "feat: update jslib version"

This reverts commit 85f4b758bd.

* Update jslib

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-07-07 21:28:41 +10:00
Trey Greer
cf56b68ba5
add Kannada language (#980) 2021-07-07 07:40:17 +10:00
Thomas Rittson
3aa171a664
[macOS] Don't enable secure input when app is not in focus (#970)
* Don't engage macOS secure input if not focused

* Refactor to use focusInputOnPageLoad

* Fix style and linting

* Refactor to remove focusOnPageLoad

* Update jslib
2021-07-05 08:06:24 +10:00
Kyle Spearrin
8a01dcb87d
New Crowdin updates (#971)
* New translations messages.json (Romanian)

* New translations messages.json (Thai)

* New translations messages.json (Ukrainian)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Chinese Traditional)

* New translations messages.json (Vietnamese)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Indonesian)

* New translations messages.json (Persian)

* New translations messages.json (Bengali)

* New translations messages.json (Croatian)

* New translations messages.json (Swedish)

* New translations messages.json (Estonian)

* New translations messages.json (Latvian)

* New translations messages.json (English, United Kingdom)

* New translations messages.json (Esperanto)

* New translations messages.json (Malayalam)

* New translations messages.json (Sinhala)

* New translations messages.json (Kannada)

* New translations messages.json (Norwegian Bokmal)

* New translations messages.json (Montenegrin (Latin))

* New translations messages.json (Turkish)

* New translations messages.json (Serbian (Cyrillic))

* New translations messages.json (French)

* New translations messages.json (Finnish)

* New translations messages.json (Spanish)

* New translations messages.json (Afrikaans)

* New translations messages.json (Belarusian)

* New translations messages.json (Bulgarian)

* New translations messages.json (Catalan)

* New translations messages.json (Czech)

* New translations messages.json (Danish)

* New translations messages.json (German)

* New translations messages.json (Greek)

* New translations messages.json (Hebrew)

* New translations messages.json (Slovenian)

* New translations messages.json (Hungarian)

* New translations messages.json (Italian)

* New translations messages.json (Japanese)

* New translations messages.json (Korean)

* New translations messages.json (Dutch)

* New translations messages.json (Polish)

* New translations messages.json (Portuguese)

* New translations messages.json (Russian)

* New translations messages.json (Slovak)

* New translations messages.json (English, India)
2021-06-29 15:33:15 -04:00
Vincent Salucci
4f781be542
[Version] Bump to 1.27.0 (#969) 2021-06-28 12:39:17 -05:00
Addison Beck
f862fc3691
fixed the icon for sends being swapped between file and text sends (#967) 2021-06-24 15:45:36 +00:00
Oscar Hinton
d748e0007e
Remove entryComponents (#966) 2021-06-24 17:13:22 +02:00
Matt Gibson
56a1cfe277
Redefine cipher "share" to "move to organization" (#961)
* Redefine cipher "share" to "move to organization"

* Update jslib

* PR review
2021-06-21 19:26:37 -05:00
Oscar Hinton
9c4ea9b491
Add reprompt help link (#963) 2021-06-21 20:56:37 +02:00
Vincent Salucci
e0d1923237
[Toast] - BUG - Fixed styles (#957) 2021-06-16 14:44:17 -05:00
Matt Gibson
bd0fb024c1
Always get key from storage to ensure biometric prompt. (#952)
* Always get key from storage to ensure biometric prompt.

* Update jslib

* Update jslib
2021-06-15 13:40:34 -05:00
Matt Gibson
05e9419d65 Request biometrically secured stored key 2021-06-09 16:55:50 -04:00
Oscar Hinton
296340a5be
Add jslib as a "real" dependency (#941)
* Add jslib as a "real" dependency

* Move more packages to jslib

* Remove some unesessary dev dependencies.

* Add back missing preinstall

* Revert jslib bump

* Fix jslib containing wrong types/node.

* Bump jslib

* Remove unessesary alias

* Remove dummy module
2021-06-07 19:26:36 +02:00
Thomas Rittson
f0716c62d2
Merge pull request #929 from bitwarden/responsive-theme-change
Respond to OS theme changes
2021-06-03 07:47:07 +10:00
Oscar Hinton
ea3316742c
Bump version to 1.26.5 (#938) 2021-06-02 18:09:20 +02:00
Thomas Rittson
6edd600006 Move theme update logic to services.module.ts 2021-06-02 07:28:21 +10:00
Tom Rittson
b00df0112e Let all OS' use system theme on startup 2021-05-31 14:34:59 +10:00
Thomas Rittson
7f5a5a5fbb Only update to system theme if theme is Default 2021-05-31 14:34:59 +10:00
Thomas Rittson
c225210a44 Respond to native OS theme changes 2021-05-31 14:34:53 +10:00
Oscar Hinton
c7345197f7
Password reprompt fixes (#926)
* Hide card number when hidden

* Avoid double password prompts

* Bump jslib
2021-05-28 20:08:44 +02:00
Thomas Rittson
f5175564b3 Version bump to 1.26.4 2021-05-21 08:59:07 +10:00
Vince Grassia
c9ae2ed933 Update ME lang import to proper order 2021-05-17 16:25:57 -04:00
Vince Grassia
6f6de60509 Fix locale import typo 2021-05-17 16:24:11 -04:00
Daniel James Smith
cae76cd74a Fixed locale import for Montenegrin (Latin) 2021-05-17 18:01:44 +02:00
Trey Greer
cc165420f7
Update src/services/i18n.service.ts
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-05-14 18:19:45 -04:00
tgreer-bw
a24618be32 add missing languages from Crowdin 2021-05-14 16:42:12 -04:00
Kyle Spearrin
0d5d8b671d
use swal titletext to avoid XSS (#884) 2021-05-13 15:22:52 -04:00
Thomas Rittson
68096c1f12 update service deps 2021-05-13 10:53:38 +10:00
Chad Scharf
ee1f31d300 Version bump 1.26.3 2021-05-12 17:57:23 -04:00
Chad Scharf
dd683e8dad Merge branch 'master' of https://github.com/bitwarden/desktop into master 2021-05-12 16:53:19 -04:00
Chad Scharf
2bf9f34472 Version bump 1.26.2 2021-05-12 16:53:17 -04:00