1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00
Commit Graph

144 Commits

Author SHA1 Message Date
26768b7bf8 [AC-1682] Removed other temp table drops 2024-04-04 10:41:49 +01:00
eb7794d592 [AC-1682] Removed dropping temporary table from scripts 2024-04-04 06:30:47 +01:00
bd3b21b969 [AC-1682] Reverted scripts back to enabling Flexible Collections to all existing Orgs 2024-04-03 11:25:03 +01:00
deee483ab7 [AC-1682] Fixed MySql script 2024-03-29 14:17:15 +00:00
a957530d5e [AC-1682] Updated queries to check for OrganizationId 2024-03-29 14:10:57 +00:00
28bba94d81 [AC-1682] Setting FlexibleCollections = 1 only for Orgs that had data migrated in previous steps 2024-03-29 12:13:04 +00:00
7b54d78d67 [AC-1682] Removed MySql transaction from script because EF migration already wraps it under its own transaction 2024-03-29 12:03:29 +00:00
c20912f95c [AC-1682] Drop temp tables if they exist when starting the scripts 2024-03-29 12:00:24 +00:00
00eea0621c [AC-1682] dotnet format 2024-03-25 15:28:46 +00:00
d367f6de6b [AC-1682] Added MySql migration and script 2024-03-22 15:58:07 +00:00
5383cd16fb [AC-1682] Removed MySql scripts and migrations 2024-03-22 15:41:06 +00:00
6c21d4e96a Merge branch 'main' into ac/ac-1682/ef-migrations 2024-03-22 11:53:01 +00:00
9f7e05869e [AC-1900] Update Vault DB to support provider billing (#3875)
* Add Gateway columns to Provider table

* Add ProviderId column to Transaction table

* Create ProviderPlan table

* Matt's feedback

* Rui's feedback

* Fixed Gateway parameter on Provider
2024-03-21 11:15:49 -04:00
Tom
997af0f6ab [PM-221] Adding CipherId to the Send table, create/update sprocs, and added mi… (#3646)
* Adding CipherId to the Send table, create/update sprocs, and added migrations

* changing migrator script to drop create sprocs

* fixing double brackets

* Revert "changing migrator script to drop create sprocs"

This reverts commit 2d5171e7e5.

* Remove comment I nitpicked

* Script best practices

* Fix typo

* Try recreate again

* Fix missing output

* Revert "Try recreate again"

This reverts commit 38257ebeaa.

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: federicom09 <fmonesiglio@bitwarden.com>
2024-03-04 19:31:33 -05:00
0f3aa5d1ae Merge branch 'main' into ac/ac-1682/ef-migrations 2024-02-26 13:32:30 +00:00
1499d1e2c6 [SM-713] Add database support for secret access policies (#3681)
* mssql add column and migration

* Add secret access policies to EF models and config

* Clear new access policies on service account delete

* Add SM cleanup code on delete

* Fix EF org user bulk delete

* Run EF migrations
2024-02-22 10:06:39 -06:00
4e6360cc4f [deps] DbOps: Update EntityFrameworkCore (#3823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 09:42:30 -05:00
a24465b137 [AC-1682] Bumped up dates on EF migrations 2024-02-16 14:43:12 +00:00
6d1ead5b61 [AC-1682] Bumped up date on migration scripts 2024-02-16 13:09:58 +00:00
f7f692cf08 [AC-1682] Update RevisionDate in Group table 2024-02-16 12:51:13 +00:00
39e336eddd Merge branch 'main' into ac/ac-1682/ef-migrations
# Conflicts:
#	src/Sql/dbo/Stored Procedures/Organization_EnableCollectionEnhancements.sql
#	util/SqliteMigrations/SqliteMigrations.csproj
2024-02-16 12:47:39 +00:00
7cbe888b82 SM-1012: Removing SM Beta (Phase 2) (#3663)
* SM-1012: Phase 2, removing SM Beta from the server (but not db)

* SM-1012: Add migration for RemoveSMBetaFromOrganization

* SM-1012: Dotnet format

* SM-1012: Undo RemoveSMBetaFromOrganization EF migration

* SM-1012: Redo RemoveSMBetaFromOrganization EF migration

* SM-1012: Ran dotnet format
2024-02-05 15:51:31 -05:00
880ceafe9f [BEEEP] [SM-1059] Add missing auth table indexes to EF config (#3625)
* Add missing indexes to EF auth tables

* Add EF migrations
2024-01-17 10:42:43 -06:00
b97a1a9ed2 [PM-5519] [PM-5526] [PM-5624] [PM-5600] More Grant SQL fixes (#3668)
* SQLite scripts to apply autoincrementing Id key

* Drop erroneous Id column if created
2024-01-16 09:08:55 -05:00
2df5fe1340 [deps] SM: Update EntityFrameworkCore to v7.0.15 (#3666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 16:30:23 -07:00
752e2c01ea [AC-1682] Updated mysql migrations 2024-01-12 15:01:01 +00:00
19fb7e583e [AC-1682] Bumped up the dates on the migration scripts 2024-01-12 12:54:34 +00:00
5c08d181a4 Merge branch 'main' into ac/ac-1682/ef-migrations 2024-01-12 12:02:14 +00:00
db4d7aa609 [PM-5519] [PM-5526] [PM-5624] [PM-5600] Tweak EF settings for MySQL grant auto-increment (#3662)
* Tweak EF settings for grant auto-increment

* Go back to zero generated default as that doesn't matter

* Explicit value generation callout

* Go with custom SQL for direct automatic increment

* Proper column creation

* Lint
2024-01-11 16:06:29 -05:00
b829812a3f [AC-2025] Add Organization.FlexibleCollections to database and sprocs (#3642)
* Add Organization.FlexibleCollections property and column

* Add new property to OrganizationAbility

* Add SQL and EF migrations
2024-01-11 13:25:57 +10:00
3392ede534 [BEEEP][SM-1062] Add missing table indexes to EF config (#3628)
* Add missing EF indexes

* Add EF migrations

* move configs

* regenerate migrations
2024-01-10 12:03:16 -06:00
a480bd16e4 [BEEEP] [SM-1060] Add missing tools table indexes to EF config (#3626)
* Add missing indexes

* Add EF migrations
2024-01-09 09:46:45 -06:00
bfa9269b42 [PM-5294][deps]: Update Duende.IdentityServer to v6.3.7 (#3499)
* [deps]: Update Duende.IdentityServer to v6.3.6

* Fix test

* Grant table changes

* Reassert view

* EF migrations

* Restore non-null key and simpler index

* Master SQL sync

* Lint

* Fix ID setting since the property isn't exposed

* Bump to .7

* Point to new Duende package

* Drop unused indexes first

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2023-12-28 15:04:45 -05:00
c5f1be4d79 [AC-1682] MySql migrations 2023-12-19 19:49:57 +00:00
fc8606acab [AC-1682] mySql scripts formatting 2023-12-19 15:46:23 +00:00
5f1f7d6f23 [AC-1682] Added new mysql migration 2023-12-19 15:37:39 +00:00
87d420a5e1 Merge branch 'ac/ac-1682/data-migrations-for-deprecated-permissions' into ac/ac-1682/ef-migrations 2023-12-19 15:19:59 +00:00
2e9be13ffe [AC-1682] dotnet format 2023-12-17 21:28:30 +00:00
003b6dcc4d [AC-1682] Added EF migrations 2023-12-17 21:26:12 +00:00
Ike
8bf798a79f added webauthncredential ef migrations (#3555) 2023-12-13 07:03:42 -08:00
890a09804f Stop using lockfiles (#3550) 2023-12-12 09:09:42 -05:00
43eea0d297 [deps] Billing: Update Braintree to v5.21.0 (#3537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 14:46:39 -05:00
62bf2a146f [deps] Tools: Update MailKit to v4.3.0 (#3533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 18:21:26 +01:00
baafbe4576 [deps] Tools: Update SendGrid to v9.28.1 (#3534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 18:07:33 +01:00
3e323ae3d9 [deps] Platform: Update dotnet monorepo to v6.0.25 (#3507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 12:04:13 -05:00
3ecec808b6 [deps] Billing: Update Serilog.Extensions.Logging.File to v3 (#3069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 11:54:20 -05:00
26e6093c14 Bumped version to 2023.12.0 (#3519)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-12-05 10:55:20 -05:00
333a51b3f2 [deps] Tools: Update Handlebars.Net to v2.1.4 (#3508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 12:02:30 +01:00
85df9716d8 [deps] SM: Update EntityFrameworkCore (#3494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 16:49:15 -06:00
14bd7d1415 [deps] Billing: Update Newtonsoft.Json to v13.0.3 (#3439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:47:04 -05:00