From bf4ca0e08661c4867de87dddfec27110c6ebe78f Mon Sep 17 00:00:00 2001 From: Martin Kleinschrodt Date: Mon, 18 Jul 2022 14:58:48 +0200 Subject: [PATCH] Update naming of notes and totp features --- packages/core/src/item.ts | 4 ++-- packages/server/src/provisioning/stripe.ts | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/core/src/item.ts b/packages/core/src/item.ts index 60f6ec6e..4ca81e63 100644 --- a/packages/core/src/item.ts +++ b/packages/core/src/item.ts @@ -212,7 +212,7 @@ export const FIELD_DEFS: { [t in FieldType]: FieldDef } = { multiline: false, icon: "totp", get name() { - return $l("2FA Code"); + return $l("One-Time Password"); }, async transform(value: string) { return await totp(base32ToBytes(value)); @@ -578,7 +578,7 @@ export const ITEM_TEMPLATES: ItemTemplate[] = [ fields: [ { get name() { - return $l("2FA Code"); + return $l("One-Time Password"); }, type: FieldType.Totp, }, diff --git a/packages/server/src/provisioning/stripe.ts b/packages/server/src/provisioning/stripe.ts index b82ae7ea..47ddf5f2 100644 --- a/packages/server/src/provisioning/stripe.ts +++ b/packages/server/src/provisioning/stripe.ts @@ -90,8 +90,8 @@ export class StripeProvisioner extends BasicProvisioner { "Shared vaults", "Encrypted file storage", "Security Report", - "Built-in Authenticator", - "Advanced Note-Taking", + "Built-in Authenticator / One-Time Passwords", + "Rich text notes with markdown support", ], }, [Tier.Premium]: { @@ -106,8 +106,8 @@ export class StripeProvisioner extends BasicProvisioner { "Multi-Factor Authentication", "Up to 1GB encrypted file storage", "Security Report", - "Built-in Authenticator", - "Advanced Note-Taking", + "Built-in Authenticator / One-Time Passwords", + "Rich text notes with markdown support", ], disabledFeatures: ["Shared Vaults"], }, @@ -123,8 +123,8 @@ export class StripeProvisioner extends BasicProvisioner { "Multi-Factor Authentication", "Up to 1GB encrypted file storage", "Security Report", - "Built-in Authenticator", - "Advanced Note-Taking", + "Built-in Authenticator / One-Time Passwords", + "Rich text notes with markdown support", "Share data between up to 5 users", "Up to 5 Shared Vaults", ], @@ -142,8 +142,8 @@ export class StripeProvisioner extends BasicProvisioner { "Multi-Factor Authentication", "Up to 5GB encrypted file storage", "Security Report", - "Built-in Authenticator", - "Advanced Note-Taking", + "Built-in Authenticator / One-Time Passwords", + "Rich text notes with markdown support", "Up to 20 Shared Vaults", "Up to 10 groups for easier permission management", ], @@ -161,8 +161,8 @@ export class StripeProvisioner extends BasicProvisioner { "Multi-Factor Authentication", "Up to 20GB encrypted file storage", "Security Report", - "Built-in Authenticator", - "Advanced Note-Taking", + "Built-in Authenticator / One-Time Passwords", + "Rich text notes with markdown support", "Unlimited Vaults", "Unlimited Groups", "Directory Sync / Automatic Provisioning", @@ -445,7 +445,7 @@ export class StripeProvisioner extends BasicProvisioner { undefined, undefined, true, - "Advanced Note-Taking" + "Rich text notes with markdown support" ); features.securityReport.disabled = true; features.securityReport.message = await this._getUpgradeMessage(