Vince Grassia
25a54b16f7
Fix Dockerfiles that had BUILDPLATFORM specified for App Stages ( #6162 )
2025-08-05 17:36:04 -04:00
aj-bw
574f7cba67
script syntax fix ( #6146 )
2025-07-30 15:48:03 -04:00
aj-bw
d407c164b6
BRE-917 Update to Alpine base ( #5976 )
...
* testing-wolfi
* testing alpine
* fix gosu download
* fix Admin dockerfile
* update dockerfiles
* alpine-compatible-entrypoint-script-for-api-test
* make-entrypoint-scripts-alpine-compatible
* testing nginx with alpine
* cleaning up comments from dockerfile from testing
* restore accidentally deleted icon
* remove unused file
* pin alpine, update apk add no cache
* remove comments from testing
* test shadow implementtaion for entrypoints
* add shadow package, revert entrypoints, change from bash to shell for entry
* add icu to setup container, update helpers to use shell
* update migrator utility
* add missing krb5 libraries
2025-07-28 10:56:20 -04:00
tangowithfoxtrot
24b7cc417f
feat(self-host): [PM-14188] Add option to disable built-in MSSQL container
...
* Add Config Option For Disabling Built In MSSQL Container
* fix: flip bool condition and make it nullable
* fake commit to kick off an ephemeral environment
* Revert "fake commit to kick off an ephemeral environment"
This reverts commit 818f65f4d2 .
* Changed the new setting to not be nullable.
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
Co-authored-by: Todd Martin <tmartin@bitwarden.com >
2025-07-11 11:23:51 -04:00
Justin Baur
fa0c9cb387
Add #nullable disable to platform code ( #6057 )
2025-07-08 10:25:59 -04:00
Henrik
8bac7f0145
[PM-14476] Avoid multiple lookups in dictionaries ( #4973 )
...
* Avoid multiple lookups in dictionaries
* Consistency in fallback to empty CollectionIds
* Readability at the cost of lines changed
* Readability
* Changes after running dotnet format
2025-06-02 11:18:28 -05:00
tangowithfoxtrot
63f5811aa9
feat: non-root self hosted images for standard deployment ( #5701 )
...
* Use IHttpMessageHandlerFactory For HTTP Communication
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
* feat: allow custom app-id.json location for rootless
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
* fix: new build context wont allow copying git context
* feat: allow images to run as non-root user
* fix: build failures caused by bad merge
* build: we don't need to copy the `.git` dir
* Revert "build: we don't need to copy the `.git` dir"
This reverts commit 32c2f6236a .
* Use `IHttpClientFactory` in more places
* update build workflow
* fix: compatibility with the existin run.sh script
* fix: compatibility with existing run.sh script
* Add SelfHosted GlobalSettings for Setup
* Fix my build error
* Add other services
* Add IConfiguration
* fix: missing gosu command for rootful mode
* fix: try using .net core certificate handling
* fix: add `SSL_CERT_DIR` to remaining images
* Remove X509ChainCustomization activation code
* Revert "Use IHttpMessageHandlerFactory For HTTP Communication"
This reverts commit c93be6d52b .
* Revert "fix: build failures caused by bad merge"
This reverts commit 3e4639489b .
* Revert "Use `IHttpClientFactory` in more places"
This reverts commit 284501a493 .
* remove unused code
* re-add error log for installation id
* remove missing error message in log
* build: remove duplicate docker+qemu setup steps
Co-authored-by: Opeyemi <Alaoopeyemi101@gmail.com >
* build: optimize for simpler builds over caching
* build: restore previous method for getting the GIT_HASH
* fix: add missing build args to remaining images
* fix: rm extraneous source revision id arg
* fmt: apply consistent spacing and rm redundant WORKDIR directive
* build: update migrator to use simpler build; apply consistent spacing
* fix: merge conflicts; simplify changes
* fix: add publish branch check back
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
Co-authored-by: Opeyemi <Alaoopeyemi101@gmail.com >
2025-05-30 10:29:47 -07:00
Todd Martin
80e7a0afd6
chore(captcha): [PM-15162] Remove captcha enforcement and issuing of bypass token
...
* Remove captcha enforcement and issuing/verification of bypass token
* Removed more captcha logic.
* Removed logic to enforce failed login attempts
* Linting.
* Fixed order of initialization.
* Fixed merge conflicts
* Renamed registration finish response for clarity
* Remove unnecessary mailService references.
2025-05-09 10:44:38 -04:00
MtnBurrit0
2644efc2b7
Add env variable to override /installations domain ( #5669 )
...
* Add env variable to override /installations domain
2025-04-22 11:21:19 -06:00
Vince Grassia
0153d9dfd9
Update DockerCompose template to point to ghcr.io registry ( #5491 )
2025-03-11 13:01:23 -07:00
孟武.尼德霍格.龍
fb5db40f4c
Update docker reference link ( #5096 )
...
Update docker reference link
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com >
2024-12-06 19:34:50 +01:00
tangowithfoxtrot
751fd33aef
fix: ensure vault URI is propagated from config.yml ( #4925 )
...
* fix: ensure vault URI matches Url from config.yml
* fmt: use camelCase for vaultUri
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
2024-10-31 09:13:57 -07:00
renovate[bot]
6cc097ec49
[deps] Platform: Update dotnet monorepo ( #4886 )
...
* [deps] Platform: Update dotnet monorepo
* Update patch version on missed monorepo packages
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Addison Beck <github@addisonbeck.com >
2024-10-28 13:35:14 -04:00
Vince Grassia
4a607b7406
Add IgnoreUnmatchedProperties when deserializing YAML ( #4061 )
2024-05-07 13:50:04 +00:00
MtnBurrit0
122d1b7ed7
Remove ComposeVersion from template ( #3972 )
2024-04-15 14:38:39 -06:00
renovate[bot]
0512102189
[deps] Tools: Update Handlebars.Net to v2.1.6 ( #3982 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 16:56:50 +02:00
Matt Bishop
743465273c
[PM-6909] Centralize database migration logic ( #3910 )
...
* Centralize database migration logic
* Clean up unused usings
* Prizatize
* Remove verbose flag from Docker invocation
* Allow argument passthrough still
Co-authored-by: Michał Chęciński <mchecinski@bitwarden.com >
* Allow DI logger
---------
Co-authored-by: Michał Chęciński <mchecinski@bitwarden.com >
2024-03-22 10:54:13 -04:00
Alex Morask
97018e2501
Upgrade logging packages for .NET 8 ( #3798 )
2024-02-13 14:34:55 -05:00
Matt Bishop
ae1fdb0992
[PM-5052] Upgrade to .NET 8 ( #3461 )
...
* Upgrade to .NET 8
* Linting
* Clean up old JSON deserialization code
* More .NET 8-oriented linting
* Light feedback
* Get rid of old test we don't know the root issue for
* Fix a new test
* Remove now-unnecessary Renovate constraint
* Use Any()
* Somehow a 6.0 tooling config we don't need snuck back in
* Space out properties that always change per release
* Bump a few core packages since the last update
2024-02-05 13:03:42 -05:00
Matt Bishop
890a09804f
Stop using lockfiles ( #3550 )
2023-12-12 09:09:42 -05:00
renovate[bot]
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
renovate[bot]
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
renovate[bot]
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
renovate[bot]
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
renovate[bot]
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
github-actions[bot]
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
renovate[bot]
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
renovate[bot]
3a52e3495a
[deps] DevOps: Update dbup-sqlserver to v5.0.37 ( #3457 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 17:26:34 -05:00
renovate[bot]
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
renovate[bot]
959b2393b3
[deps] Billing: Update Serilog.Sinks.SyslogMessages to v2.0.9 ( #3456 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:41:44 -05:00
github-actions[bot]
636a7646a3
Bumped version to 2023.10.3 ( #3462 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com >
2023-11-21 11:43:57 -05:00
Matt Bishop
87fd4ad97d
[PM-3569] Upgrade to Duende.Identity ( #3185 )
...
* Upgrade to Duende.Identity
* Linting
* Get rid of last IdentityServer4 package
* Fix identity test since Duende returns additional configuration
* Use Configure
PostConfigure is ran after ASP.NET's PostConfigure
so ConfigurationManager was already configured and our HttpHandler wasn't
being respected.
* Regenerate lockfiles
* Move to 6.0.4 for patches
* fixes with testing
* Add additional grant type supported in 6.0.4 and beautify
* Lockfile refresh
* Reapply lockfiles
* Apply change to new WebAuthn logic
* When automated merging fails me
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com >
2023-11-20 16:32:23 -05:00
Matt Bishop
fb89e07df7
Provide LaunchDarkly application info ( #3435 )
...
* Upgrade to SDK v8
* Provide application properties
* Test adjustments
* Clean up tests
* Ensure project name is set
* Add a 'v' for Git tagging support
2023-11-13 14:46:39 -05:00
Daniel James Smith
95680b434b
Update lockfiles by running dotnet restore --force-evaluate ( #3430 )
...
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2023-11-09 14:48:18 +01:00
Justin Baur
81868dc5a3
Add Explicit Reference to Azure.Identity ( #3426 )
2023-11-08 12:58:42 -05:00
github-actions[bot]
3f7ff52f0b
Bumped version to 2023.10.2 ( #3415 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com >
2023-11-06 20:21:47 -05:00
github-actions[bot]
a66528cf46
Bumped version to 2023.10.1 ( #3408 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com >
2023-11-02 14:21:55 -04:00
github-actions[bot]
1800e6ffd3
Bumped version to 2023.10.0 ( #3396 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com >
2023-10-31 09:32:34 -04:00
Michał Chęciński
3e90f57797
[DEVOPS-1519] Add transition mode to mssql migrator utility ( #3259 )
...
* Add RerunableSqlTableJournal
* Add extension to use rerunable sql table journal
* Use rerunable sql journal
* format
* Enable logging
* FIx
* Disable logging
* Rename to SqlTableJournalExtensions
* Move RerunableSqlTableJournal to Extension class
* Fix usings
* Add rerunable schema
* Format
* Fix typo
* Enable logging in db migrator
* add rerunable column in dbo migrations table migration
* Trying
* Fix journal table name
* Trying to migrate first
* After migration
* Testing
* Add update from rerunable to not rerunable script
* Change name
* Add rerunable option and script folder name
* Add rerunable options and folder
* Fix
* Add transition (aka rerunable) migrations to Setup
* Parse parameters on migrator utility
* Fix sql scripts
* Remove CreateSchemaTableSql as it'll be migrated using migration
* Embed dbScripts_data_migration folder
* Remove testing sql script
* Add optins parsing nuget for msSqlMigratorUtility
* Fix sql journal
* Ran dotnet format
* Comment out index
* ▫️ Revert "Comment out index"
This reverts commit df15fa91e0 .
* Disable logging
* Add newline
* Rename rerunable to repeatable
* remove repeatable journal
* Remove migration adding the repeatable column in dbo.Migrations table
* Add using
* Enable log for testing
* Disable logging in the setup
* Remove unused method
* Add migrator constants
* Use constants in yet another place
* Fix
* Add constant
* Fix
* Fix
2023-09-28 16:29:52 +02:00
Conner Turnbull
90d600db9d
[PM-2961] Upgrade Braintree ( #3206 )
...
* Upgraded Braintree to 5.19.0
* Force evaluate of nuget packages
---------
Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com >
2023-09-20 14:11:29 -04:00
Oscar Hinton
8b30b3c7fd
Refresh lockfiles ( #3274 )
2023-09-15 15:49:34 -04:00
Matt Gibson
a5bda60c4e
Platform/pm 2535/upgrade to azure messaging servicebus ( #3102 )
...
* `dotnet add package Azure.Messaging.ServiceBus` 🤖
* Move to Azure.Messaging.ServiceBus
* `dotnet restore --locked-mode --force-evaluate` 🤖
Remove Microsoft.Azure.ServiceBus
* `dotnet restore --locked-mode --force-evaluate` 🤖
* Include broker filter
* `dotnet restore --locked-mode --force-evaluate` 🤖
2023-08-07 08:57:18 -05:00
Vince Grassia
6aff9b7b05
Update Setup project to handle EU region ( #3137 )
2023-07-31 13:14:33 -04:00
Colton Hurst
a565b19ffb
SM-768: Update EFCore and related packages to >= 7.0 ( #3006 )
...
* SM-768: Update EFCore and related packages to >= 7.0
* SM-768: Update more packages for the EF 7 upgrade
* SM-768: Update the PostgreSQL package
* SM-768: Run dotnet restore --force-evaluate
* SM-768: Revert package upgrades for 3 projects
* SM-768: Update the dotnet-ef tool
2023-07-07 09:56:31 -04:00
Rui Tomé
b151605c28
[PM-2594] Added new property "CloudRegion" to GlobalSettings and ConfigResponseModel to be able to override the cloud url value for selfhost instances ( #3024 )
...
* [PM-2594] Added new property "CloudVault" to GlobalSettings and ConfigResponseModel to be able to override this value for selfhost instances
* [PM-2594] Renamed EnvironmentConfigResponseModel.CloudVault to CloudWebVault
* [PM-2594] Added default value for globalSettings__baseServiceUri__cloudWebVault on EnvironmentFileBuilder
* [PM-2594] Erased CloudWebVault environment variable and added CloudVaultRegion
* [PM-2594] Changed var name on EnvironmentFileBuilder
* [PM-2594] Renamed the env. variable and also the output property to CloudRegion
2023-07-03 21:43:13 +01:00
Justin Baur
3bffd480cb
Pin Microsoft.AspNetCore.Http ( #3001 )
2023-06-29 08:37:58 -05:00
SmithThe4th
e96fc56dc2
[SG-497] BEEEP - Health Checks API Project ( #2237 )
...
* health check services added
* health check extension added
* added get connection string
* made changes to hrslth check method
* Added database health check
* added identity server health check
* added identity server health check
* Added logger publisher
* latest changes
* removed file
* Added mail server check for dev
* Added authorization to health check url path
* commented
* Added exception to switch
* Removed exclude code coverage
* Added health check for redis
* Added todos
* Added storage queue checks
* Added checks for mail
* Removed unused references and fixed linting issue
* Lint issues
* Moved healthchecks to sharedWeb project and exposed builder as a parameter to configure more health checks based on a project
* Added health check to API project
* dependencies updated
* Removed ef core health check dependencies
* Added checks to only add a health check when the connection string exists, moved health check from startup to extension class
* Merged with master and fixed conflicts
* Fixed lint issues
* Added check for amazon ses
* merged with master
* fixed lint
* Removed Amazon SES health check
2023-06-26 15:04:21 -04:00
Todd Martin
c08e2a7473
Allow self-hosted notifications to work for Login with Device approval ( #2934 )
...
* Added anonymous hub context.
* Added anonymous hub to nginx setup.
* Added deserialization options to ignore case on deserialization.
2023-05-31 11:12:43 -04:00
Vince Grassia
b55d086c9e
[PM-294] Add Database to MSSQL Environment File ( #2962 )
2023-05-25 16:57:47 -04:00
Justin Baur
ecf885f4d6
Update Azure.Extensions.AspNetCore.DataProtection.Blobs ( #2821 )
2023-04-10 12:10:11 -04:00