mirror of
https://github.com/bitwarden/server.git
synced 2025-01-07 19:37:51 +01:00
4c77f993e5
* [AC-1423] Add AddonProduct and BitwardenProduct properties to BillingSubscriptionItem (#3037) * [AC-1423] Add AddonProduct and BitwardenProduct properties to BillingSubscriptionItem - Add a helper method to determine the appropriate addon type based on the subscription items StripeId * [AC-1423] Add helper to StaticStore.cs to find a Plan by StripePlanId * [AC-1423] Use the helper method to set SubscriptionInfo.BitwardenProduct * Add SecretsManagerBilling feature flag to Constants * [AC 1409] Secrets Manager Subscription Stripe Integration (#3019) * Adding the Secret manager to the Plan List * Adding the unit test for the StaticStoreTests class * Fix whitespace formatting * Fix whitespace formatting * Price update * Resolving the PR comments * Resolving PR comments * Fixing the whitespace * only password manager plans are return for now * format whitespace * Resolve the test issue * Fixing the failing test * Refactoring the Plan separation * add a unit test for SingleOrDefault * Fix the whitespace format * Separate the PM and SM plans * Fixing the whitespace * Remove unnecessary directive * Fix imports ordering * Fix imports ordering * Resolve imports ordering * Fixing imports ordering * Fix response model, add MaxProjects * Fix filename * Fix format * Fix: seat price should match annual/monthly * Fix service account annual pricing * Changes for secret manager signup and upgradeplan * Changes for secrets manager signup and upgrade * refactoring the code * Format whitespace * remove unnecessary using directive * Resolve the PR comment on Subscription creation * Resolve PR comment * Add password manager to the error message * Add UseSecretsManager to the event log * Resolve PR comment on plan validation * Resolving pr comments for service account count * Resolving pr comments for service account count * Resolve the pr comments * Remove the store procedure that is no-longer needed * Rename a property properly * Resolving the PR comment * Resolve PR comments * Resolving PR comments * Resolving the Pr comments * Resolving some PR comments * Resolving the PR comments * Resolving the build identity build * Add additional Validation * Resolve the Lint issues * remove unnecessary using directive * Remove the white spaces * Adding unit test for the stripe payment * Remove the incomplete test * Fixing the failing test * Fix the failing test * Fix the fail test on organization service * Fix the failing unit test * Fix the whitespace format * Fix the failing test * Fix the whitespace format * resolve pr comments * Fix the lint message * Resolve the PR comments * resolve pr comments * Resolve pr comments * Resolve the pr comments * remove unused code * Added for sm validation test * Fix the whitespace format issues --------- Co-authored-by: Thomas Rittson <trittson@bitwarden.com> Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com> * SM-802: Add SecretsManagerBetaColumn SQL migration and Org table update * SM-802: Run EF Migrations for SecretsManagerBeta * SM-802: Update the two Org procs and View, and move data migration to a separate file * SM-802: Add missing comma to Organization_Create * [AC-1418] Add missing SecretsManagerPlan property to OrganizationResponseModel (#3055) * SM-802: Remove extra GO statement from data migration script * [AC 1460] Update Stripe Configuration (#3070) * change the stripeseat id * change service accountId to align with new product * make all the Id name for consistent * SM-802: Add SecretsManagerBeta to OrganizationResponseModel * SM-802: Move SecretsManagerBeta from OrganizationResponseModel to OrganizationSubscriptionResponseModel. Use sp_refreshview instead of sp_refreshsqlmodule in the migration script. * SM-802: Remove OrganizationUserOrganizationDetailsView.sql changes * [AC 1410] Secrets Manager subscription adjustment back-end changes (#3036) * Create UpgradeSecretsManagerSubscription command --------- Co-authored-by: Thomas Rittson <trittson@bitwarden.com> * SM-802: Remove SecretsManagerBetaColumn migration * SM-802: Add SecretsManagerBetaColumn migration * SM-802: Remove OrganizationUserOrganizationDetailsView update * [AC-1495] Extract UpgradePlanAsync into a command (#3081) * This is a pure lift & shift with no refactors * Only register subscription commands in Api --------- Co-authored-by: cyprain-okeke <cokeke@bitwarden.com> * [AC-1503] Fix Stripe integration on organization upgrade (#3084) * Fix SM parameters not being passed to Stripe * Fix flaky test * Fix error message * [AC-1504] Allow SM max autoscale limits to be disabled (#3085) * [AC-1488] Changed SM Signup and Upgrade paths to set SmServiceAccounts to include the plan BaseServiceAccount (#3086) * [AC-1510] Enable access to Secrets Manager to Organization owner for new Subscription (#3089) * Revert changes to ReferenceEvent code (#3091) * Revert changes to ReferenceEvent code This will be done in AC-1481 * Revert ReferenceEventType change * Move NoopServiceAccountRepository to SM and update namespace * [AC-1462] Add secrets manager service accounts autoscaling commands (#3059) * Adding the Secret manager to the Plan List * Adding the unit test for the StaticStoreTests class * Fix whitespace formatting * Fix whitespace formatting * Price update * Resolving the PR comments * Resolving PR comments * Fixing the whitespace * only password manager plans are return for now * format whitespace * Resolve the test issue * Fixing the failing test * Refactoring the Plan separation * add a unit test for SingleOrDefault * Fix the whitespace format * Separate the PM and SM plans * Fixing the whitespace * Remove unnecessary directive * Fix imports ordering * Fix imports ordering * Resolve imports ordering * Fixing imports ordering * Fix response model, add MaxProjects * Fix filename * Fix format * Fix: seat price should match annual/monthly * Fix service account annual pricing * Changes for secret manager signup and upgradeplan * Changes for secrets manager signup and upgrade * refactoring the code * Format whitespace * remove unnecessary using directive * Changes for subscription Update * Update the seatAdjustment and update * Resolve the PR comment on Subscription creation * Resolve PR comment * Add password manager to the error message * Add UseSecretsManager to the event log * Resolve PR comment on plan validation * Resolving pr comments for service account count * Resolving pr comments for service account count * Resolve the pr comments * Remove the store procedure that is no-longer needed * Add a new class for update subscription * Modify the Update subscription for sm * Add the missing property * Rename a property properly * Resolving the PR comment * Resolve PR comments * Resolving PR comments * Resolving the Pr comments * Resolving some PR comments * Resolving the PR comments * Resolving the build identity build * Add additional Validation * Resolve the Lint issues * remove unnecessary using directive * Remove the white spaces * Adding unit test for the stripe payment * Remove the incomplete test * Fixing the failing test * Fix the failing test * Fix the fail test on organization service * Fix the failing unit test * Fix the whitespace format * Fix the failing test * Fix the whitespace format * resolve pr comments * Fix the lint message * refactor the code * Fix the failing Test * adding a new endpoint * Remove the unwanted code * Changes for Command and Queries * changes for command and queries * Fix the Lint issues * Fix imports ordering * Resolve the PR comments * resolve pr comments * Resolve pr comments * Fix the failing test on adjustSeatscommandtests * Fix the failing test * Fix the whitespaces * resolve failing test * rename a property * Resolve the pr comments * refactoring the existing implementation * Resolve the whitespaces format issue * Resolve the pr comments * [AC-1462] Created IAvailableServiceAccountsQuery along its implementation and with unit tests * [AC-1462] Renamed ICountNewServiceAccountSlotsRequiredQuery * [AC-1462] Added IAutoscaleServiceAccountsCommand and implementation * Add more unit testing * fix the whitespaces issues * [AC-1462] Added unit tests for AutoscaleServiceAccountsCommand * Add more unit test * Remove unnecessary directive * Resolve some pr comments * Adding more unit test * adding more test * add more test * Resolving some pr comments * Resolving some pr comments * Resolving some pr comments * resolve some pr comments * Resolving pr comments * remove whitespaces * remove white spaces * Resolving pr comments * resolving pr comments and fixing white spaces * resolving the lint error * Run dotnet format * resolving the pr comments * Add a missing properties to plan response model * Add the email sender for sm seat and service acct * Add the email sender for sm seat and service acct * Fix the failing test after email sender changes * Add staticstorewrapper to properly test the plans * Add more test and validate the existing test * Fix the white spaces issues * Remove staticstorewrapper and fix the test * fix a null issue on autoscaling * Suggestion: do all seat calculations in update model * Resolve some pr comments * resolving some pr comments * Return value is unnecessary * Resolve the failing test * resolve pr comments * Resolve the pr comments * Resolving admin api failure and adding more test * Resolve the issue failing admin project * Fixing the failed test * Clarify naming and add comments * Clarify naming conventions * Dotnet format * Fix the failing dependency * remove similar test * [AC-1462] Rewrote AutoscaleServiceAccountsCommand to use UpdateSecretsManagerSubscriptionCommand which has the same logic * [AC-1462] Deleted IAutoscaleServiceAccountsCommand as the logic will be moved to UpdateSecretsManagerSubscriptionCommand * [AC-1462] Created method AdjustSecretsManagerServiceAccountsAsync * [AC-1462] Changed SecretsManagerSubscriptionUpdate to only be set by its constructor * [AC-1462] Added check to CountNewServiceAccountSlotsRequiredQuery and revised unit tests * [AC-1462] Revised logic for CountNewServiceAccountSlotsRequiredQuery and fixed unit tests * [AC-1462] Changed SecretsManagerSubscriptionUpdate to receive Organization as a parameter and fixed the unit tests * [AC-1462] Renamed IUpdateSecretsManagerSubscriptionCommand methods UpdateSubscriptionAsync and AdjustServiceAccountsAsync * [AC-1462] Rewrote unit test UpdateSubscriptionAsync_ValidInput_Passes * [AC-1462] Registered CountNewServiceAccountSlotsRequiredQuery for dependency injection * [AC-1462] Added parameter names to SecretsManagerSubscriptionUpdateRequestModel * [AC-1462] Updated SecretsManagerSubscriptionUpdate logic to handle null parameters. Revised the unit tests to test null values --------- Co-authored-by: cyprain-okeke <cokeke@bitwarden.com> Co-authored-by: Thomas Rittson <trittson@bitwarden.com> Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com> * Add UsePasswordManager to sync data (#3114) * [AC-1522] Fix service account check on upgrading (#3111) * Resolved the checkmarx issues * [AC-1521] Address checkmarx security feedback (#3124) * Reinstate target attribute but add noopener noreferrer * Update date on migration script * Remove unused constant * Revert "Remove unused constant" This reverts commit |
||
---|---|---|
.. | ||
2017-08-19_00_InitialSetup.sql | ||
2017-08-22_00_LicenseCheckScripts.sql | ||
2017-08-30_00_CollectionWriteOnly.sql | ||
2017-09-06_00_CipherDetails.sql | ||
2017-09-08_00_OrgUserCounts.sql | ||
2017-10-25_00_OrgUserUpdates.sql | ||
2017-11-06_00_FamilyPlanAdjustments.sql | ||
2017-11-13_00_IndexTuning.sql | ||
2017-11-24_00_UpdateProcs.sql | ||
2017-12-12_00_Events.sql | ||
2018-02-28_00_LoginUris.sql | ||
2018-03-12_00_FixLoginUris.sql | ||
2018-03-21_00_AdminPortal.sql | ||
2018-04-02_00_Org2fa.sql | ||
2018-04-24_00_CipherQueryTuning.sql | ||
2018-06-11_00_WebVaultUpdates.sql | ||
2018-07-28_00_DbTuning.sql | ||
2018-08-14_00_UserKdf.sql | ||
2018-08-28_00_PremiumOrgAbilities.sql | ||
2018-09-25_00_OrgPurge.sql | ||
2018-10-17_00_ManagerRole.sql | ||
2018-12-19_00_OrgUserTwoFactorEnabled.sql | ||
2019-01-31_00_Transactions.sql | ||
2019-03-01_00_OrgApi.sql | ||
2019-05-01_00_CipherOrgDetailsFix.sql | ||
2019-05-15_00_GroupNameFixes.sql | ||
2019-05-28_00_CollectionCipherImprovements.sql | ||
2020-02-18_00_PolicySetup.sql | ||
2020-03-26_00_CipherSoftDelete.sql | ||
2020-04-01_00_CipherSoftDelete.sql | ||
2020-04-02_00_CipherSoftDelete.sql | ||
2020-04-09_00_CipherSoftDelete.sql | ||
2020-05-02_00_SprocPerfTweaks.sql | ||
2020-05-22_00_HiddenPassword.sql | ||
2020-06-23_00_OrgIdentifier.sql | ||
2020-06-24_00_SsoConfig.sql | ||
2020-06-25_00_ReferenceId.sql | ||
2020-07-17_00_ReferenceData.sql | ||
2020-07-20_00_OrgSso.sql | ||
2020-07-21_00_BulkDeleteCiphersAsOrgAdmin.sql | ||
2020-07-27_00_SsoUser.sql | ||
2020-07-28_00_SsoBound.sql | ||
2020-07-30_00_IdServerv4.sql | ||
2020-08-12_00_OrgIdentifierProc.sql | ||
2020-08-13_00_AllowNullMasterPassword.sql | ||
2020-08-19_00_AddIdentifierToOrgView.sql | ||
2020-08-19_00_SsoConfigGetAll.sql | ||
2020-08-28_00_OrgByIdentifierFix.sql | ||
2020-09-01_00_DeleteSsoUser.sql | ||
2020-09-01_01_DeleteSsoUser2.sql | ||
2020-09-02_00_DeleteSsoConfig.sql | ||
2020-10-06_00_Send.sql | ||
2020-10-08_00_DeleteOrgUserWithOrg.sql | ||
2020-10-14_00_OrgUserReadByUserIds.sql | ||
2020-10-20_00_OrgReadAbilities.sql | ||
2020-10-28_00_UserApiKey.sql | ||
2020-11-16_00_SalesTax.sql | ||
2020-11-18_00_EmergencyAccess.sql | ||
2020-12-04_00_OrgUserReadByOrgEmail.sql | ||
2020-12-06_00_OrgUserOrgDetailsReadByUserIdStatusOrgId.sql | ||
2020-12-14_00_Permissions.sql | ||
2021-01-05_00_ReturnRevisionDateOnCipherRestore.sql | ||
2021-01-28_00_AddDeleteSendsToUserDeleteById.sql | ||
2021-02-26_00_EmergencyAccess_ReadToNotify.sql | ||
2021-03-04_00_Installation_Enlarge_Email_Column.sql | ||
2021-03-04_01_User_Enlarge_Email_Column.sql | ||
2021-03-04_02_Organization_Enlarge_Email_Column.sql | ||
2021-03-04_03_OrganizationUser_Enlarge_Email_Column.sql | ||
2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql | ||
2021-03-22_00_Send_Add_HideEmail_Column.sql | ||
2021-03-23_00_AddResetPasswordKey.sql | ||
2021-03-26_00_CipherDeletedIndex.sql | ||
2021-04-07_00_IncreaseOrgSeatSize.sql | ||
2021-04-16_00_OrganizationUser_DeleteMany.sql | ||
2021-04-27_00_OrganizationUser_UpsertMany.sql | ||
2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql | ||
2021-04-30_00_Select_Known_OrganizationUsers_Emails.sql | ||
2021-05-04_00_CipherPasswordPromptFixed.sql | ||
2021-05-11_00_BulkReinvite.sql | ||
2021-05-18_00_BulkConfirm.sql | ||
2021-05-27_00_SetQuotedIdentifier.sql | ||
2021-07-07_00_FixBulkConfirm.sql | ||
2021-07-08_00_EntityFrameworkSupport.sql | ||
2021-07-13_00_UserForcePasswordReset.sql | ||
2021-07-15_00_OrganizationUserReadByMinimumRole.sql | ||
2021-07-22_00_FixCollectionReadBy.sql | ||
2021-07-22_00_Provider.sql | ||
2021-08-12_00_ReadByMinimumRoleCheckStatus.sql | ||
2021-08-18_00_AutoscaleOrganizationsSeats.sql | ||
2021-08-19_00_FixTaxRate.sql | ||
2021-09-02_00_SsoUserReadyByUserIdOrganizationId.sql | ||
2021-09-10_00_DeleteProviderUser.sql | ||
2021-09-16_00_PolicyApplicableToUser.sql | ||
2021-09-21_01_SplitManageCollectionsJson.sql | ||
2021-10-21_00_DefaultAutoscaleLimitToCurrentSeats.sql | ||
2021-11-01_00_FixPolicyApplicableToUser.sql | ||
2021-11-02_00_OrganizationSponsorship.sql | ||
2021-11-08_00_KeyConnector.sql | ||
2021-11-09_00_DropUsesCryptoAgent.sql | ||
2021-11-12_00_KeyConnectorFlag.sql | ||
2021-11-18_00_MergeKeyConnectorAndFFE.sql | ||
2021-11-23_00_NullOrganizationSponsorshipOnFkDelete.sql | ||
2021-11-30_00_NullOrganizationSponsorshipOnOrgDelete.sql | ||
2022-01-21_00_RemoveU2F.sql | ||
2022-02-10_00_FailedLoginCaptcha.sql | ||
2022-03-01_00_AddApiKeysTable.sql | ||
2022-04-06_00_SponsorshipBulkActions.sql | ||
2022-04-13_00_OrganizationSponsorshipUpdates.sql | ||
2022-04-14_00_ReadOrganizationConnectionsByOrganizationId.sql | ||
2022-04-15_00_FixOrganizationConnectionCreate.sql | ||
2022-04-20_00_AddInstalltionIdToEvents.sql | ||
2022-05-10_00_RebuildMetadata.sql | ||
2022-05-23_00_OrgUserDelete.sql | ||
2022-05-24_00_DeviceUnknownVerification.sql | ||
2022-05-31_00_CipherOrganizationDetails.sql | ||
2022-06-08_00_DeactivatedUserStatus.sql | ||
2022-06-24_00_UseScimFlag.sql | ||
2022-07-15_00_FixOrgUserDetails.sql | ||
2022-07-19_00_FixUseScimFlag.sql | ||
2022-07-20_00_ProviderOrganizationListDetails.sql | ||
2022-07-28_00_CheckPoliciesOnRestore.sql | ||
2022-09-08_00_CipherMovePermissions.sql | ||
2022-09-12_00_AuthRequestInit.sql | ||
2022-09-12_01_AuthRequestUpdate.sql | ||
2022-09-20_00_AvatarColor.sql | ||
2022-09-26_00_EventsSystemUser.sql | ||
2022-10-11_00_UseCustomPermissionsFlag.sql | ||
2022-10-24_00_AuthRequestAddApprovedColumn.sql | ||
2022-10-24_00_CollectionManagement.sql | ||
2022-10-24_01_ReadGroupsWithCollectionsByOrgId.sql | ||
2022-10-25_00_CollectionsWithGroupsAndUsers.sql | ||
2022-11-03_00_OrganizationDomainInit.sql | ||
2022-11-18_00_PolicyReadByUserIdRemoveEnabledOrgCheck.sql | ||
2022-12-08_00_EventsDomainName.sql | ||
2022-12-08_00_OrgUserGroupsAndCollections.sql | ||
2022-12-26_00_ProviderAddProviderTypeBillingPhone.sql | ||
2023-01-06_00_SecretsManager.sql | ||
2023-01-13_00_AddAvatarColorToEmergencyAccess.sql | ||
2023-01-15_00_KDFOptions.sql | ||
2023-01-17_00_SecretsManagerOrganizationUser.sql | ||
2023-01-18_00_FixOrganizationDeleteOrgDomain.sql | ||
2023-01-20_00_OrganizationStatus.sql | ||
2023-01-20_00_SecretsManager_Admin_Fix.sql | ||
2023-01-23_00_AddAvatarToOrganizationUsers.sql | ||
2023-01-24_00_AutoscalingProviderOrgFixes.sql | ||
2023-01-26_00_FixUserReadKdfByEmail.sql | ||
2023-02-01_00_LastUserDates.sql | ||
2023-02-06_00_ProviderReadByOrganizationId.sql | ||
2023-02-14_00_RevokeApiKeys.sql | ||
2023-02-16_00_SecretsManagerEvent.sql | ||
2023-02-16_00_SelfHostedOrganizationDetails.sql | ||
2023-02-16_FixSsoAvailableOrganizationDomain.sql | ||
2023-02-22_FixOrganizationUserUserDetailsViewOutOfSync.sql | ||
2023-02-22_FixReturningExpiredDomainsAfterSpecifiedPeriod.sql | ||
2023-03-08_OrganizationProviderType.sql | ||
2023-03-10_00_OrganizationUserReadByUserIdWithPolicyDetails.sql | ||
2023-03-15_AuthRequestRemoveFingerprintPhrase.sql | ||
2023-03-22_00_ProviderAddExistingOrganizations.sql | ||
2023-03-30_00_RemovePolicyCheckOrganizationDomainSsoDetais.sql | ||
2023-04-13_00_ProviderReadCountByOrganizationIds.sql | ||
2023-04-21_00_CipherRestoreByIdsOrganizationId.sql | ||
2023-04-21_00_DeleteAccessPoliciesOnOrganizationDelete.sql | ||
2023-04-26_00_FixOrganizationView.sql | ||
2023-04-26_01_FixOrganizationStatus.sql | ||
2023-05-03_00_ProviderUserReadByOrganizationIdStatus.sql | ||
2023-05-16_00_ClientSecretHash.sql | ||
2023-05-18_00_UserHasMasterPassword.sql | ||
2023-05-21_00_AddKeysToDevice.sql | ||
2023-05-27_00_OrganizationSecretsManagerBillingColumns.sql | ||
2023-06-01_00_TdeAdminApproval.sql | ||
2023-06-07_00_DropUnusedCollectionSprocs.sql | ||
2023-06-07_01_DropUnusedPolicySprocs.sql | ||
2023-06-27_00_AuthRequestExpirationUpdates.sql | ||
2023-07-10_00_FixTdeAdminApprovalEmail.sql | ||
2023-07-17_00_DeleteUserSproc.sql | ||
2023-07-18_00_OrganizationUserReadByUserIdWithPolicyDetails.sql | ||
2023-07-24_00_OrgUserReadOccupiedSmSeatCountByOrgId.sql | ||
2023-07-26_00_SecretsManagerBetaColumn.sql | ||
2023-08-04_00_SecretsManagerBetaColumnData.sql | ||
2023-08-09_00_OrgAbilitiesUsePolicies.sql | ||
2023-08-16_00_HotfixRevertOrganizationUserReadByUserIdWithPolicyDetails.sql |