1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 14:13:22 +00:00
Commit Graph

261 Commits

Author SHA1 Message Date
cyprain-okeke
021c23580a Resolve the issue with free bitwarden family redirect (#13672) 2025-03-05 08:33:16 +01:00
Vicki League
1da7f2052c [PM-18663] Fix calls to bit-button loading states (#13592) 2025-02-27 11:39:46 -05:00
Conner Turnbull
19326609e3 Updated to use tailwind's tw-text-muted (#13587) 2025-02-26 19:14:28 +00:00
Conner Turnbull
9395e9495e Updated trial-billing-step.component.html to use tw-text-muted instead of text-muted (#13569) 2025-02-26 14:09:41 -05:00
Conner Turnbull
cdbbbb365b Bootstrap to tailwind updates (#13582) 2025-02-26 14:09:36 -05:00
Conner Turnbull
63ba9f6b31 Fixed typo in tailwind class name (#13586) 2025-02-26 14:09:29 -05:00
Jonas Hendrickx
fb191b1121 [PM-17223] Update comma to period after "Invalid input provided" text (#13455) 2025-02-22 07:51:15 +01:00
cyprain-okeke
92ec2ca85e [PM-17591]Remove feature flag "Refactor self hosting license uploader" (#13330)
* Remove the Refactor self hosting license uploader flag

* Remove the changes when is flag is off
2025-02-21 21:36:57 +01:00
cyprain-okeke
39f241db3d [PM-13620]Existing user email linking to create-organization (#13030)
* Changes for the existing users

* Remove the complicated method

* add the column after the patch value

* Revert removal of plan query params

* Resolve the non blocking issue
2025-02-19 13:13:40 +01:00
Conner Turnbull
c6176ed8a2 Added retry logic when mounting Stripe elements and extended timout to 50 ms (#13142) 2025-02-14 12:00:15 -05:00
Jonas Hendrickx
b1701b6e8a [PM-18321] Fix sales tax calculation for secrets manager (#13409) 2025-02-14 17:58:47 +01:00
Jonas Hendrickx
7984bb329f [PM-15402] Remove TaxInfoComponent from trial-initiation.module.ts (#12996) 2025-02-13 10:23:38 +01:00
Daniel James Smith
13a80ccff2 Remove conditional code around extensionRefreshFlag (#13146)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-02-10 14:31:41 +01:00
cyprain-okeke
03e82224ca Total is showing blank (#13313) 2025-02-08 23:14:59 +01:00
cyprain-okeke
ab243fc88e [PM-17955][Defect] Blank loading modal briefly shown before the Upgrade modal (#13294)
* Resolve the secrets manager loading issue

* Resolve the secrets manager loading issue

* Resolve a pr comment

* Resolve the refreshSalesTax error
2025-02-07 15:43:37 +01:00
Bernd Schoolmann
2f8a7a95bd [PM-15994] Move encrypt service to km ownership (#13220)
* Move encrypt service to km ownership

* Update imports for encrypt service abstraction and move bulk encrypt service abstraction

* Fix imports

* Fix further imports

* Fix imports

* Fix worker import
2025-02-05 17:39:11 +01:00
cyprain-okeke
586cbccdef Remove the feature flag (#13102) 2025-02-05 09:18:31 +01:00
Alex Morask
e7f52d4ba5 Fixed copy for Families upgrade (#13156) 2025-02-04 09:05:41 -05:00
Alex Morask
bcce56e6fd Hide account credit option when purchasing organization (#13081) 2025-02-04 09:05:20 -05:00
cyprain-okeke
72434bfa77 [PM-7317][Web] Clean up old components (#12862)
* Changes base on the ticket request

* Move the trial route to Top

* route the trial to signup

* merge from main

* Remove the register-form component

---------

Co-authored-by: Evan Bassler <ebassler@livefront.com>
2025-02-04 10:05:35 +01:00
cyprain-okeke
27a8b43350 [PM-14921]Customers managed by a Reseller need to see how many seats are in their subscription, while still obfuscating the cost of subscription. (#12726)
* Add the seats info for reseller managed org

* Resolve the remaining seat bug

* Resolve pr comments

* code refactoring
2025-02-03 17:21:00 +01:00
Jonas Hendrickx
2003766f98 [PM-17132] Fix rate limiter error message when upgrading organization (#13157) 2025-02-03 16:16:04 +01:00
Conner Turnbull
26a0594056 [PM-17655] Billing Code Ownership Updates (#13105)
* Moved has-premium.guard under billing

* Moved free-trial.ts to billing

* Moved premium directives to billing

* Moved families-policy.service.ts to billing

* Moved trial initiation from auth to billing
2025-01-28 13:17:00 -05:00
renovate[bot]
c3bb76bee0 [deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0 (#12966)
* [deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0

* Fix linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-01-27 11:12:12 -05:00
Alex Morask
f630ee5f4e [PM-11730] Remove feature flag: AC-2476-deprecate-stripe-sources-api (#13032)
* Remove FF from trial-billing-step.component

* Remove FF from user-subscription.component

* Remove FF from individual-billing-routing.module

* Remove FF from organization-billing.service

* Remove FF from organization-subscription-cloud.component

* Remove FF from organization-billing-routing.mdoule

* Remove FF from organization-plans.component

* Remove FF from change-plan-dialog.component

* Remove FF

* Remove legacy payment.component

* Rename V2: adjust-payment-dialog.component

* Rename V2: adjust-storage-dialog.component

* Rename V2: payment-label.component

* Rename V2: payment.component

* Rename V2: premium.component

* Patrick's feedback
2025-01-24 13:38:44 -05:00
Brandon Treston
b23a41ac86 [PM-17465] refactor PolicyService.getAll$ to make userId not optional (#13031)
* refactor PolicyService.getAll$ to make userId not optional

* add fix to browser

* fix test to read from mock singleUserState

* remove nested pipes, cleanup
2025-01-24 09:58:38 -05:00
Oscar Hinton
382a2a0f24 Ignore more bad imports (#12935)
* Ignore more bad imports
2025-01-23 13:03:17 -08:00
cyprain-okeke
e847f964c5 Fix the unclear error message on add payment (#13005) 2025-01-23 11:17:33 +01:00
Brandon Treston
a949f793ed [PM-15506] Implement vNextOrganizationService (#12839)
* [PM-15506] Wire up vNextOrganizationService for libs/common and libs/angular (#12683)

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* wire vNextOrganizationService for share.component

* wire vNextOrganizationService for collections.component

* wire vNextOrganizationServcie for add-account-credit-dialog

* wire vNextOrganizationService for vault-filter.service

* fix browser errors for vNextOrganizationService implementation in libs

* fix desktop errors for vNextOrganizationService implementation for libs

* fix linter errors

* fix CLI errors on vNextOrganizationServcie implementations for libs

* [PM-15506] Wire up vNextOrganizationService for web client (#12810)

PR to a feature branch, no need to review until this goes to main.

* implement vNextOrganization service for browser client (#12844)

PR to feature branch, no need for review yet.

* wire vNextOrganizationService for licence and some web router guards

* wire vNextOrganizationService in tests

* remove vNext notation for OrganizationService and related

* Merge branch 'main' into ac/pm-15506-vNextOrganizationService

* fix tsstrict error

* fix test, fix ts strict error
2025-01-22 15:20:25 -05:00
cyprain-okeke
c1ebe95cdc Changes for old plan to updated to new plan (#13013) 2025-01-22 19:26:58 +01:00
cyprain-okeke
4066022e18 make the pricing breakdown to show properly (#12982) 2025-01-21 16:01:48 +01:00
cyprain-okeke
ce2ec07f74 [PM-17138][Defect] Submitting blank payment method is displaying unreadable validation message for Bank Account and Account Credit (#12937)
* Changes to display descriptive message for bank account

* resolve message for invalid message display

* Add the paymentMethodType credit

---------

Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
2025-01-17 18:32:29 +01:00
Conner Turnbull
1721552294 Updated org plans component to not call for tax info on self hosted instances (#12888) 2025-01-15 15:53:30 +00:00
Jonas Hendrickx
ee6822c00d [PM-17064] Prevent error being thrown when taxInformation is undefined. (#12884) 2025-01-15 10:05:31 -05:00
cyprain-okeke
f6ec741a4a remove the toggle for restarting cancel sub (#12842)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2025-01-14 11:20:29 +01:00
cyprain-okeke
698479eb5a [PM-15814]Alert owners of reseller-managed orgs to renewal events (#12834)
* Makes changes on the text

* Rename the message names
2025-01-13 18:12:24 +01:00
cyprain-okeke
fe9b0976ee Fix the page loading issue (#12828) 2025-01-13 12:17:30 +01:00
Jonas Hendrickx
aec25b1491 [PM-15840] When org reaches collection limit, organization upgrade pa… (#12648) 2025-01-09 07:53:29 +00:00
cyprain-okeke
02556c1416 Changes to restart cancelled org (#12730) 2025-01-07 20:09:37 +01:00
Conner Turnbull
91d6963074 [PM-14366] Deprecated active user state from billing state service (#12273)
* Updated billing state provider to not rely on ActiveUserStateProvider

* Updated usages

* Resolved browser build

* Resolved web build

* Resolved CLI build

* resolved desktop build

* Update apps/cli/src/tools/send/commands/create.command.ts

Co-authored-by:  Audrey  <ajensen@bitwarden.com>

* Move subscription visibility logic from component to service

* Resolved unit test failures. Using existing userIds where present

* Simplified activeUserId access

* Resolved typescript strict errors

* Resolved broken unit test

* Resolved ts strict error

---------

Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-01-07 10:25:26 -05:00
Alex Morask
15cc4ff1eb [PM-14461] Update organization state after subscription update (#12222)
* Update organization state after subscription update

* QA: Fix SM trial seat adjustment
2025-01-02 15:37:09 -05:00
Jonas Hendrickx
c724b0d974 [PM-13999] show estimated tax for taxable countries (#12245) 2025-01-02 20:28:04 +01:00
cyprain-okeke
899b16966a [PM-15814]Alert owners of reseller-managed orgs to renewal events (#12607)
* Changes for the reseller alert

* Resolve the null error

* Refactor the reseller service

* Fix the a failing test due to null date

* Fix the No overload matches error

* Resolve the null error

* Resolve the null error

* Resolve the null error

* Change the date format

* Remove unwanted comment

* Refactor changes

* Add the feature flag
2024-12-31 18:06:45 +01:00
cyprain-okeke
12b698b11d organization status changed code changes (#12249)
* organization status changed code changes

* Remove the stop so a reconnect can be made
2024-12-18 16:31:16 +01:00
Alex Morask
5c345c9ee4 [PM-15094] Update remove sponsorship modal content (#12319)
* Update remove sponsorship modal content

* PM-15915
2024-12-12 07:07:50 -05:00
Jonas Hendrickx
7abdc7a423 [PM-15139] [Defect] Upgrade dialog - Percentage discount not aligned with the Annually/Monthly toggle (#12314) 2024-12-11 10:34:25 +01:00
cyprain-okeke
84dfa3ab05 prevent access to freefamilies page (#12335) 2024-12-10 21:52:54 +01:00
Jordan Aasen
4003d30b46 [PM-15180] - update copy for free trial banner (#12151)
* update copy for free trial banner

* add v2 translation keys

* remove old keys. don't use V2 in new key name

* re-add removed keys

* fix copy and examples

* fix i18n key
2024-12-10 09:43:13 -08:00
Victoria League
4daba832a2 [CL-351] Prevent tw-group styling conflicts by namespacing (#12261) 2024-12-09 15:13:42 -05:00
Matt Gibson
9c1e2ebd67 Typescript-strict-plugin (#12235)
* Use typescript-strict-plugin to iteratively turn on strict

* Add strict testing to pipeline

Can be executed locally through either `npm run test:types` for full type checking including spec files, or `npx tsc-strict` for only tsconfig.json included files.

* turn on strict for scripts directory

* Use plugin for all tsconfigs in monorepo

vscode is capable of executing tsc with plugins, but uses the most relevant tsconfig to do so. If the plugin is not a part of that config, it is skipped and developers get no feedback of strict compile time issues. These updates remedy that at the cost of slightly more complex removal of the plugin when the time comes.

* remove plugin from configs that extend one that already has it

* Update workspace settings to honor strict plugin

* Apply strict-plugin to native message test runner

* Update vscode workspace to use root tsc version

* `./node_modules/.bin/update-strict-comments` 🤖

This is a one-time operation. All future files should adhere to strict type checking.

* Add fixme to `ts-strict-ignore` comments

* `update-strict-comments` 🤖

repeated for new merge files
2024-12-09 20:58:50 +01:00