1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-04 05:08:06 +02:00
Commit Graph

373 Commits

Author SHA1 Message Date
github-actions[bot]
32eac70c82
Autosync the updated translations (#3598)
Co-authored-by: github-actions <>
2022-09-23 02:02:54 +02:00
github-actions[bot]
a8f54f1c45
Autosync the updated translations (#3597)
Co-authored-by: github-actions <>
2022-09-23 02:02:25 +02:00
Matt Gibson
df9e6e21c9
Ps 1291/apply to from json pattern to state (#3425)
* Clean up dangling behaviorSubject

* Handle null in utils

* fix null check

* Await promises, even in async functions

* Add to/fromJSON methods to State and Accounts

This is needed since all storage in manifest v3 is key-value-pair-based
and session storage of most data is actually serialized into an
encrypted string.

* Simplify AccountKeys json parsing

* Fix account key (de)serialization

* Remove unused DecodedToken state

* Correct filename typo

* Simplify keys `toJSON` tests

* Explain AccountKeys `toJSON` return type

* Remove unnecessary `any`s

* Remove unique ArrayBuffer serialization

* Initialize items in MemoryStorageService

* Revert "Fix account key (de)serialization"

This reverts commit b1dffb5c2c, which was breaking serializations

* Move fromJSON to owning object

* Add DeepJsonify type

* Use Records for storage

* Add new Account Settings to serialized data

* Fix failing serialization tests

* Extract complex type conversion to helper methods

* Remove unnecessary decorator

* Return null from json deserializers

* Remove unnecessary decorators

* Remove obsolete test

* Use type-fest `Jsonify` formatting rules for external library

* Update jsonify comment

Co-authored-by: @eliykat

* Remove erroneous comment

* Fix unintended deep-jsonify changes

* Fix prettierignore

* Fix formatting of deep-jsonify.ts

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2022-09-22 07:51:14 -05:00
github-actions[bot]
30f38dc916
Bumped web version to 2022.9.2 (#3586)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-21 22:25:36 -04:00
github-actions[bot]
0be448b4da
Autosync the updated translations (#3581)
Co-authored-by: github-actions <>
2022-09-21 19:07:01 +02:00
github-actions[bot]
174603b484
Autosync the updated translations (#3582)
Co-authored-by: github-actions <>
2022-09-21 19:06:02 +02:00
github-actions[bot]
73b95cf8c4
Autosync the updated translations (#3583)
Co-authored-by: github-actions <>
2022-09-21 19:05:10 +02:00
ATJB
8cc54181fc
Correct bw send get -h internal CLI documentation (#3576) 2022-09-21 10:43:23 -05:00
ATJB
144d0a8beb
Corrected help command string (#3560) 2022-09-21 09:48:17 -05:00
Patrick H. Lauke
0eb3f369dc
[SM-223] Web: change <h2> modal title to <h1>, tweak styles to keep same look (#3328)
Co-authored-by: Hinton <hinton@users.noreply.github.com>
2022-09-20 13:14:04 +02:00
cyprain-okeke
684eb7adf3
[Ps 1319] When the name of an entry is too long, the Icon indicating it is shared is not shown (#3500)
* fixing the bug ps-1319 by using ellipsis pipe which deafultg 25 character length

* pass 20 as the limit length instead default 25

Co-authored-by: dynwee <onwudiweokeke@gmail.com>
2022-09-17 11:53:55 +01:00
Oscar Hinton
1c2e74b6bd
Automatically build native rust for desktop in dev (#3510) 2022-09-16 11:53:29 +02:00
github-actions[bot]
0783bb2f7d
Autosync the updated translations (#3547)
Co-authored-by: github-actions <>
2022-09-16 03:24:59 +02:00
github-actions[bot]
cf611141eb
Autosync the updated translations (#3546)
Co-authored-by: github-actions <>
2022-09-16 03:24:05 +02:00
github-actions[bot]
cdafe26ec8
Autosync the updated translations (#3545)
Co-authored-by: github-actions <>
2022-09-16 03:22:46 +02:00
Gbubemi Smith
734f052faa
[SG-590] Missing error messages (#3514)
* added removed locale keys on clients

* resolved comments
2022-09-15 18:02:01 +01:00
Robyn MacCallum
ed78f7e7cb
[SG-397] Configure jest for Desktop and add simple tests (#3467)
* Configure jest for Desktop and add simple tests

* Remove Jest from tsconfig types
2022-09-15 12:31:15 -04:00
github-actions[bot]
669a3572b8
Bumped web version to 2022.9.1 (#3539)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-15 11:52:51 -04:00
Todd Martin
722c73580b Merge branch 'master' of https://github.com/bitwarden/clients 2022-09-15 10:17:51 -04:00
Todd Martin
04c2088360 Modified Fastmail CSP to match QA and Production proxies. 2022-09-15 10:17:46 -04:00
Oscar Hinton
d2736fe035
[PS-1469] Ensure the window is focused when prompting for biometrics (#3534) 2022-09-15 16:17:09 +02:00
Daniel James Smith
8b73658e54
[PS-1447] Fix issues with CLI stores (npm/choco/snapcraft) (#3477)
* Fix repository url to point to the clients repo

* Fix missing description in snapcraft.yml

* Nuspec: Fix links to point to clients repo

* Nuspec: Use the correct brand icon(same as desktop)

* Nuspec:Update description based on other stores (browser)
2022-09-15 15:27:08 +02:00
Daniel James Smith
02a4fe0236
Updated description based on what we show on other stores (#3478) 2022-09-15 15:26:55 +02:00
aj-rosado
f5336a2839
[PS-1111] Added prefix "Vault:" for accessibility on vault selector items (#3188)
* PS-1111 Added prefix "Vault:" for accessibility to vault selector items

* improved html readability

* PS-1111 Added more screen reader accessibility data to the Vault selector on Desktop and Web clients

* PS-1111 removed duplicated aria-label

* PS-1111 Removed unnecessary aria-label attribute

* PS-1111 Changed browser vault item accessibility title from span to button
2022-09-15 12:27:21 +01:00
Justin Baur
d2065cc91f
Update CSP rule for Angular CDK (#3529) 2022-09-14 14:02:34 -04:00
github-actions[bot]
6d10434d66
Bump Browser version to 2022.9.1 (#3527)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-14 09:26:05 -06:00
github-actions[bot]
ea8cb4c66b
Autosync the updated translations (#3517)
Co-authored-by: github-actions <>
2022-09-14 00:33:59 +02:00
github-actions[bot]
44fbba49d1
Autosync the updated translations (#3518)
Co-authored-by: github-actions <>
2022-09-14 00:31:24 +02:00
github-actions[bot]
7d9ad150ab
Autosync the updated translations (#3519)
Co-authored-by: github-actions <>
2022-09-14 00:28:21 +02:00
Oscar Hinton
248ac95804
[PS-1474] Bump rust dependencies (#3515)
* Bump rust dependencies

* Selecitvely upgrade only napi

* Upgrade only parking_lot_core
2022-09-13 17:08:40 -04:00
Patrick H. Lauke
06e88a38e0
Make all item fields (except linked fields) draggable (#3321)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2022-09-13 20:38:38 +02:00
André Filipe da Silva Bispo
acf332b689
[SG-659] Classic 2019 plans no longer generating TOTP codes for Free users (#3509)
* [SG-659] Fixed TOTP code visibility for users with classic plans.

* [SG-659] Refactored condition.

* [SG-659] Ran prettier

* [SG-659] Simplified expression.
2022-09-13 17:56:10 +01:00
github-actions[bot]
376389988b
Bump CLI version to 2022.9.0 (#3493)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-12 10:34:24 -06:00
github-actions[bot]
df81de686f
Bump Browser version to 2022.9.0 (#3494)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-12 09:48:26 -06:00
github-actions[bot]
cd9463fef3
Bump Desktop version to 2022.9.1 (#3495)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-12 09:47:58 -06:00
github-actions[bot]
c1d11248ae
Bump Desktop version to 2022.9.0 (#3492)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-12 08:31:09 -06:00
Addison Beck
65641a38b7
[SG-656] Fix Trial Initiation Captcha Issue (#3481)
* [refactor] Isolate form validation logic

* [refactor] Relocate a few input scrubbing lines

* [refactor] Isolate RegisterRequest object construction logic

* [refactor] Isolate account registration logic

* [refactor] Isolate login logic

* [fix] Check for captchas during login from trial initiation

* [fix] Avoid a duplicated toast if the account was already created
2022-09-09 14:56:36 -04:00
Daniel James Smith
bbd7ff3cde
Change name of Windows Store to Microsoft Store (#3476) 2022-09-09 14:26:49 +02:00
github-actions[bot]
d24f749a6b
Autosync the updated translations (#3472)
Co-authored-by: github-actions <>
2022-09-09 12:30:43 +02:00
github-actions[bot]
451f21dd5e
Autosync the updated translations (#3473)
Co-authored-by: github-actions <>
2022-09-09 10:28:20 +01:00
Patrick H. Lauke
9af92fd626
[PS-1387] Desktop: Remove "delete account" from settings (#3406) 2022-09-09 11:27:59 +02:00
github-actions[bot]
f0ed4f2086
Autosync the updated translations (#3471)
Co-authored-by: github-actions <>
2022-09-09 08:26:26 +00:00
Oscar Hinton
4e54b5a077
[SM-204] Add the curly eslint rule (#3464) 2022-09-09 09:30:51 +02:00
Justin Baur
f47dbccdef
Fix file casing (#3468) 2022-09-08 14:57:10 -04:00
Daniel James Smith
28f8f245d9
[PS-1184] Remove specific keyboard shortcut logic (#3173)
* Removed logic for keyboard shortcuts specific to Vivaldi

* Removed shortcut.ts and related parts

* Removed dependency on mousetrap

* Safari: Remove sidebar_action and_execute_sidebar_action from manifest.json

* Rebuilt package-lock.json

* Fixed merge issue from pulling master
2022-09-08 14:48:45 +02:00
Colton Hurst
3b69a60511
SM-90: Add Server Version to Browser About Page (#3223)
* Add structure to display server version on browser

* Add getConfig to State Service interface

* Clean up settings component code

* Switch to ServerConfig, use Observables in the ConfigService, and more

* Fix runtime error

* Sm 90 addison (#3275)

* Use await instead of then

* Rename stateServerConfig -> storedServerConfig

* Move config validation logic to the model

* Use implied check for undefined

* Rename getStateServicerServerConfig -> buildServerConfig

* Rename getApiServiceServerConfig -> pollServerConfig

* Build server config in async

* small fixes and add last seen text

* Move config server to /config folder

* Update with concatMap and other changes

* Config project updates

* Rename fileds to convention and remove unneeded migration

* Update libs/common/src/services/state.service.ts

Update based on Oscar's recommendation

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>

* Update options for Oscar's rec

* Rename abstractions to abstracitons

* Fix null issues and add options

* Combine classes into one file, per Oscar's rec

* Add null checking

* Fix dependency issue

* Add null checks, await, and fix date issue

* Remove unneeded null check

* In progress commit, unsuitable for for more than dev env, just backing up changes made with Oscar

* Fix temp code to force last seen state

* Add localization and escapes in the browser about section

* Call complete on destroy subject rather than unsubscribe

* use mediumDate and formatDate for the last seen date messaging

* Add ThirdPartyServerName in example

* Add deprecated note per Oscar's comment

* [SM-90] Change to using a modal for browser about (#3417)

* Fix inconsistent constructor null checking

* ServerConfig can be null, fixes this

* Switch to call super first, as required

* remove unneeded null checks

* Remove null checks from server-config.data.ts class

* Update via PR comments and add back needed null check in server conf obj

* Remove type annotation from serverConfig$

* Update self-hosted to be <small> per design decision

* Re-fetch config every hour

* Make third party server version <small> and change wording per Oscar's PR comment

* Add expiresSoon function and re-fetch if the serverConfig will expire soon (older than 18 hours)

* Fix misaligned small third party server message text

Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2022-09-08 08:27:19 -04:00
rr-bw
04c594203c
add layout params for ABM campaign (#3459) 2022-09-07 13:54:33 -07:00
Thomas Rittson
09a96e4ee1
Move Injection Tokens to own file (#3456) 2022-09-08 06:23:32 +10:00
Matt Gibson
ae990019c9
Add icons to dev proxies (#3429) 2022-09-07 11:36:05 -05:00
github-actions[bot]
cd1af0a9f1
Bumped web version to 2022.9.0 (#3453)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-06 13:58:30 -07:00