1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-07 12:25:46 +02:00
Commit Graph

157 Commits

Author SHA1 Message Date
Rui Tomé
ab8af657c6
[EC-280] Update policies page content (#3059)
* Changed policies dialog “enabled” checkboxes title to “Turn on”

* Changed policies “Enabled” badge text to “On”

* Moved master password reset policy up to 3rd row

* Changed the wording on the Single-Sign-On page

* Updated policies page content

* Master-password component now uses new title text

* Two-factor-auth component now uses new title text

* Updated personal-ownership model checkbox text

* Updated texts for send options policy

* Updated the single-sign-on policy description
2022-07-11 11:24:02 +01:00
Robyn MacCallum
9347b13a76
[SG-73] Make Organization Info a reusable component (#3007)
* Create reusable organization info component

* remove extra import

* Use observable for form value changes

* Remove unnecessary null checks

* Refactor reactive controls
2022-07-08 21:05:35 -04:00
Addison Beck
7d5df80d2f
[fix] Adjust extraResources in electronBuilder to account for the monorepo move (#3072) 2022-07-08 14:28:02 -04:00
Oscar Hinton
f79c4f0c65
Extract API logic from FolderService to FolderApiService (#3011) 2022-07-08 15:40:31 +02:00
Andreas Coroiu
ce2606b406
[EC-267] Unassigned collection has disappeared in web vault (#3000)
* feat: add unassigned collection to decrypted collections

* feat: add support for unassigned in individual vault

* fix: dont activate collection when not selected

* fix: remove collection selection completely when pruning

* feat: prune collection selection if selecting my vault

* fix: filter and only show organization ciphers when unassigned collection is selected

* fix: only show unassigned for admins

* feat: add unassigned logic to organizational vault buildFilter

* refactor: move buildFilter to VaultFilterModel

* chore: add buildFilter tests

* fix: bugs in filtering logic

* refactor: use VaultFilter.buildFilter on desktop

* chore: group and reword tests for better readability

* feat: add additional test

* fix: connect unassigned collection to organization

* fix: test by adding missing

* chore: tweak test group naming

* fix: change undefined to null to better reflect real values
2022-07-08 10:18:07 +02:00
github-actions[bot]
30200c2c3c
Autosync the updated translations (#3069)
Co-authored-by: github-actions <>
2022-07-08 08:48:40 +02:00
github-actions[bot]
cc9a6e12f7
Autosync the updated translations (#3068)
Co-authored-by: github-actions <>
2022-07-08 08:34:46 +02:00
github-actions[bot]
75cf617a50
Autosync the updated translations (#3067)
Co-authored-by: github-actions <>
2022-07-08 08:30:38 +02:00
Rui Tomé
847d972b0e
Added warning when Vault timeout is set to "Never" (#3037) 2022-07-07 17:22:37 +01:00
github-actions[bot]
97598f5ba4
Bumped cli version to 2022.6.2 (#3061)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-07 07:28:16 -07:00
github-actions[bot]
a65964cd97
Bumped browser version to 2022.6.1 (#3060)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-07 07:27:49 -07:00
Joseph Flinn
340beb1b87
Manual Web Version Bump 2022.6.1 (#3052) 2022-07-06 15:44:03 -07:00
Matt Gibson
12615c203f
[PS-1051] Fix/add master pass hash to all org reset key requests (#3049)
* clarify master password reset calls

* Add master password hash to master password change requests
2022-07-06 14:19:58 -05:00
Michał Chęciński
4dd149e912
Fix download URL on choco update script (#3029) 2022-07-06 10:50:59 +02:00
Rui Tomé
2ecce7215f
Changed the wording of the Bitwarden account deletion text. (#3035) 2022-07-06 09:48:42 +01:00
github-actions[bot]
2f290e406d
Bumped cli version to 2022.6.1 (#3041)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-05 14:43:54 -07:00
Robyn MacCallum
fb70d8a2d3
Merge Feature/trial initiation (#3036)
* [SG-74] Trial Initiation Component with Vertical Stepper (#2913)

* Vertical stepper PoC

* Convert stepper css to tailwind

* trial component start

* trial component params

* tailwind-ify header

* Support teams, enterprise, and families layout param and more layout ui work

* Some more theming fixes

* Rename TrialModule to TrialInitiationModule

* Stepper fixes, plus more functionality demo

* Cleanup

* layout params and placeholders

* Only allow trial route to be hit if not logged in

* fix typo

* Use background-alt2 color for header

* Move vertical stepper out of trial-initiation

* Create components for the different plan types

* Remove width on steps

* Remove content projection for label

* Tailwind style fixes

* Extract step content into a component

* Remove layout param for now

* Remove step tags

* remove pointer classes from step button

* Remove most tailwind important designations

* Update apps/web/src/app/modules/vertical-stepper/vertical-step.component.ts

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

* Tailwind and layout fixes

* Remove container

* lint & prettier fixes

* Remove extra CdkStep declaration

* Styles fixes

* Style logo directly

* Remove 0 margin on image

* Fix tiling and responsiveness

* Minor padding fixes for org pages

* Update apps/web/src/app/modules/trial-initiation/trial-initiation.component.html

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

* prettier fix

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

* [SG-65] Reusable Registration Form (#2946)

* created reusable registration form

* fixed conflicts

* replicated reactive form changes in other clients

* removed comments

* client template cleanup

* client template cleanup

* removed comments in template file

* changed to component suffix

* switched show password to use component

* comments resolution

* comments resolution

* added toast disable functionality

* removed unused locale

* mode custom input validator generic

* fixed button

* fixed linter

* removed horizontal rule

* switched to button component

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: gbubemismith <gsmithwalter@gmail.com>
2022-07-05 15:25:14 -04:00
github-actions[bot]
9d1312f2af
Bumped desktop version to 2022.6.1 (#3033)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-05 08:47:28 -07:00
Oscar Hinton
c1ace45915
[SM-71] Update all badges to use component library (#2999) 2022-07-04 11:00:13 +02:00
github-actions[bot]
a2360aebd2
Autosync the updated translations (#3021)
Co-authored-by: github-actions <>
2022-07-01 08:06:15 +02:00
github-actions[bot]
86eb6315e9
Autosync the updated translations (#3020)
Co-authored-by: github-actions <>
2022-07-01 08:04:00 +02:00
github-actions[bot]
3b16e7241e
Autosync the updated translations (#3019)
Co-authored-by: github-actions <>
2022-07-01 08:02:16 +02:00
Addison Beck
bb7dce031c
[fix] Force send attachment to always download and never open (#2908)
* [refactor] Introduce a file download service

* [refactor] Point platformUtilsService.saveFile() callers to fileDownloadService.download() instead

* [refactor] Remove platformUtilsService.saveFile()

* [fix] Force send attachments to always download and never open

* [fix] Remove the window property from FileDownloadRequest

* [fix] Move FileDownloadRequest to /abstractions/fileDownload

* [fix] Simplify FileDownloadRequest to a type

* [fix] Move BrowserApi.saveFile logic into BrowserFileDownloadService

* [fix] Use proper blob types for file downloads

* [fix] forceDownload -> downloadMethod on FileDownloadRequest

* [fix] Remove fileType from FileDownloadRequest

* [fix] Make fileType private
2022-06-29 17:15:29 -04:00
Vincent Salucci
a89b745f0b
[EC-282/EC-286] Update queryParams to use new filter object (#2985)
* [EC-282] Update queryParams to use new filter object

* Removed unused properties

* Removed unused method/property for organization vault

* Fixed organization trash filter
2022-06-29 15:12:08 -05:00
Patrick H. Lauke
3ae30d866c
[PS-1030] Desktop: suppress user-select for most interface elements (#2650)
* Desktop: suppress user-select for most interface elements

* Better way to target .box-footer

make it non-selectable everywhere (to avoid missing stragglers) but explicitly make it selectable in the `app-vault-view` (so we can select the "Updated: ..." footer text)

* Prettier

* Remove orphaned jslibs
2022-06-29 21:13:20 +02:00
Patrick H. Lauke
3bf1aa5053
[PS-1029] Browser: suppress user-select for most interface elements (#2674)
* Browser: suppress `user-select` for most interface elements

* Remove orphaned jslib folders
2022-06-29 20:08:49 +02:00
github-actions[bot]
d71161be3b
Bumped desktop version to 2022.6.0 (#3005)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-29 11:24:14 -05:00
github-actions[bot]
11e12d910b
Bumped cli version to 2022.6.0 (#3004)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-29 11:23:10 -05:00
github-actions[bot]
0d36c94068
Bumped browser version to 2022.6.0 (#3003)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-29 11:22:11 -05:00
Oscar Hinton
e105a8f222
[CL-11] Submit button (#2971)
* Begin implementing submit button

* Add submit button

* Update figma url

* Add disabled when loading

* Update existing submit buttons

* Move template to it's own file
2022-06-29 16:27:42 +02:00
Oscar Hinton
db3e1a51e9
[SM-44] Lazy loaded import and exporters (#2918) 2022-06-28 22:24:21 +02:00
Joseph Flinn
74a3b05a0f
Web Version Bump to 2022.6.0 (#2992) 2022-06-28 13:24:13 -07:00
Thomas Rittson
3b3d60e102
Add webpack-bundle-analyzer command using npx (#2955) 2022-06-28 07:32:17 +10:00
Matt Gibson
399b8c2b34
PS-813 Add memory storage to state service (#2892)
* Use abstract methods and generics in StorageService

* Prepend `Abstract` to abstract classes

* Create session browser storage service

* Use memory storage service for state memory

* Inject memory storage service

* Maintain filename extensions to help ide formatting

* Preserve state if it's still in memory

* Use jslib's memory storage service

* linter

* Create prototypes on stored objects

* standardize package scripts

* Add type safety to `withPrototype` decorators

* webpack notify manifest version

* Fix desktop

* linter

* Fix script

* Improve prototye application

* do not change prototype if it already matches desired
* fix error with object values prototype application

* Handle null state

* Apply prototypes to browser-specific state

* Add angular language server to recommended extensions

* Improve browser state service tests

* Start testing state Service

* Fix abstract returns

* Move test setup files to not be picked up by default glob matchers

* Add key generation service

* Add low-dependency encrypt service

* Back crypto service with encrypt service.

We'll want to work items that don't require state over to encrypt service

* Add new storage service and tests

* Properly init more stored values

* Fix reload issues when state service is recovering state from session storage

Co-authored-by: Thomas Avery <Thomas-Avery@users.noreply.github.com>
Co-authored-by: Justin Baur <admin@justinbaur.com>

* Simplify encrypt service

* Do not log mac failures for local-backed session storage

* `content` changed to `main` in #2245

* Fix CLI

* Remove loggin

* PR feedback

* Merge remote-tracking branch 'origin/master' into add-memory-storage-to-state-service

* Fix desktop

* Fix decrypt method signature

* Minify if not development

* Key is required

Co-authored-by: Thomas Avery <Thomas-Avery@users.noreply.github.com>
Co-authored-by: Justin Baur <admin@justinbaur.com>
2022-06-27 12:38:12 -05:00
Robyn MacCallum
c044c5c770
Use ngSwitchDefault so that ‘singleOrgPolicy’ affected users see org filter (#2975) 2022-06-27 09:09:51 -04:00
Jake Fink
81c61c8cec
[PS-998] Add button type to premium badge (#2973)
* prevent default on premium badge

* change type to button to stop submit
2022-06-27 08:49:10 -04:00
Gbubemi Smith
37e46dab48
[PS-968] regression bug fix on custom timeout switch for the browser (#2969)
* regression bug fix on custom timeout switch for the browser

* regression bug fix on custom timeout switch for the browser

* locale key fix

* suggestion fixes
2022-06-24 23:19:55 +01:00
Brandon Maharaj
af8f83980f
fix: changed param (#2964) 2022-06-24 12:46:16 -04:00
github-actions[bot]
ce707d2e05
Autosync the updated translations (#2968)
Co-authored-by: github-actions <>
2022-06-24 13:21:07 +02:00
github-actions[bot]
96a280916a
Autosync the updated translations (#2967)
Co-authored-by: github-actions <>
2022-06-24 13:12:03 +02:00
github-actions[bot]
a64c9cc997
Autosync the updated translations (#2966)
Co-authored-by: github-actions <>
2022-06-24 12:43:28 +02:00
Addison Beck
e00fe8edae
[fix] Unsubscribe from activeAccount in AppComponent (#2960) 2022-06-23 09:38:12 -04:00
Addison Beck
57b8144013
[refactor] Introduce ThemingService (#2943)
* [refactor] Introduce ThemingService

* [refactor] Implement ThemingService for web

* [refactor] Implement ThemingService on browser

* [refactor] Implement ThemingService for desktop

* [refactor] Remove deprecated platformUtils.service theme methods

* [fix] Move ThemingService from libs/common to libs/angular

* [fix] Simplify ThemeBuilder's constructor

* [fix] Dont notify subscribers of null values from theme$

* [fix] Always notify PaymentComponent of theme changes
2022-06-23 07:36:05 -04:00
Andreas Coroiu
fd69e163ff
[PS-683] Update negative copy (#2912)
* feat(browser): Update auto biometrics copy

* refactor(common): remove TotpService.isAutoCopyEnabled and use state directly

The TotpService was just taking the value from StateService and forwarding it, making it depend on state service.
All services that depended on the TotpService.isAutoCopyEnable flag also depended on StateService.
This therefore simplifies things by using StateService directly.

* feat(browser): update auto totp copy

* feat(browser): update add login notification copy

* feat(browser): update change password notification copy

* feat(browser): update context menu copy

* feat(browser): update show cards current tab copy

* feat(browser): update show identities current tab copy

* feat(browser): update enable favicon copy

* feat(browser): update badge counter copy

* feat(browser): update auto-fill copy

* feat(desktop): update auto biometrics prompt copy

* feat(desktop): update favicon copy

* feat(desktop): adjust copy

* feat(web): update favicons copy

* feat(web): adjust copy

* feat(web): update preference settings to sentence case

* feat(browser): update settings and options page to sentence case

* feat(desktop): update settings to sentence case

* feat(web): update copy

* feat(desktop): update copy
2022-06-23 09:53:42 +02:00
Vince Grassia
fdc1ecef98
Update Plist files for MAS (#2951) 2022-06-22 15:10:21 -04:00
Chad Scharf
b28c07790d
EC-263 - Deactivate/activate in user management (#2893)
* SM-48 - Disable/enable in user management

* SM-48 - Disabled badge added to edit user

* SM-48 - Fix linter issues

* SM-48 - Color adjustments to badging

* SM-48 - Fix prettier formatting

* EC-263 - Rename disable to deactivate

* EC-263 - lint errors and cleanup

* EC-263 - Fix build and importer errors

* EC-263 - import grouping order fix

* EC-263 - PR review feedback and cleanup

* EC-263 - Fix build error in loose components

* EC-263 - Fix build error on formPromise in user edit

* EC-263 - Fix a11y bindings and modal handling
2022-06-20 10:21:50 -04:00
Oscar Hinton
98152fee54
Add storybook to web (#2926) 2022-06-17 16:23:04 +02:00
Oscar Hinton
19caa7bfe0
Simplify our gitignore files (#2925) 2022-06-17 15:33:51 +02:00
github-actions[bot]
230c5e626c
Autosync the updated translations (#2922)
Co-authored-by: github-actions <>
2022-06-17 09:57:36 +02:00
github-actions[bot]
e817d68e6a
Autosync the updated translations (#2920)
Co-authored-by: github-actions <>
2022-06-17 09:53:49 +02:00