1
0
mirror of https://github.com/bitwarden/server synced 2025-12-24 20:23:21 +00:00
Commit Graph

472 Commits

Author SHA1 Message Date
Hinton
685ee37e37 Add cargo to renovate 2025-10-16 15:04:10 -07:00
Hinton
7135fb1e7c Merge branch 'main' of github.com:bitwarden/server into arch/seeder-sdk
# Conflicts:
#	.gitignore
2025-10-12 18:03:09 -07:00
Hinton
4192b08aa5 Configure csproj to build rust 2025-10-09 10:39:28 -07:00
Mick Letofsky
712926996e PM-26727 - First iteration of Claude Code Review tuning (#6435)
* Sticky comments + pre-load specific project files + align prompts with clients repo
2025-10-09 16:54:14 +00:00
renovate[bot]
98210b5e9c [deps]: Update actions/github-script action to v8 (#6332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-10-08 11:44:07 +02:00
Tyler
ca3d05c723 BRE-1040 Dockerfiles shared ownership (#6257)
* Include AppSec team and BRE dept for repository-level ownership of Dockerfile, and Dockerfile related, files.
2025-09-29 14:40:20 -04:00
Mick Letofsky
3dd4ee7a07 Create new Action for Claude code review of Vault Team code (#6379)
Create new action for Claude Code Review of Vault Team Code. Worked to align what we have here with the initial `mcp-server` repo's code review action.
2025-09-29 08:31:56 +02:00
Addison Beck
8c238ce08d fix: adjust permissions of repo management workflow (#6130)
- Specify permissions needed for the repo_management job
- Add required permissions (actions: read, contents: write, id-token: write, pull-requests: write) to the move_edd_db_scripts job
2025-09-22 13:46:35 -04:00
MtnBurrit0
b9f58946a3 Fix load test scheduled default path (#6339) 2025-09-15 12:23:29 -04:00
MtnBurrit0
ba57ca5f67 BRE-1075: Migrate k6 loadtests to Datadog (#6293)
* Remove external loadImpact option that is being replaced by DataDog

* Add load test workflow

Keep otel encrypted, but skip verification

Go back to what was working from Billing-Relay

Tune test configuration based on last test output.

Tune config loadtest

Tune tests a bit more by removing preAllocatedVUs

Revert "Tune tests a bit more by removing preAllocatedVUs"

This reverts commit ab1d170e7a3a6b4296f2c44ed741656a75979c80.

Revert "Tune config loadtest"

This reverts commit 5bbd551421658e8eb0e2651fb1e005c7f1d52c99.

Tune config.js by reducing the amount of pAV

Revert "Tune config.js by reducing the amount of pAV"

This reverts commit 1e238d335c27ebf46992541ca3733178e165b3aa.

Drop MaxVUs

* Update .github/workflows/load-test.yml

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>

* Fix newline at end of load-test.yml file

* Fix github PR accepted code suggestion

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-09-11 15:04:37 -06:00
MtnBurrit0
cdf1d7f074 Add stub for load test work (#6277)
* Add stub for load test work

* Satisfy linter

* Adding required permission for linting
2025-09-04 07:05:11 -07:00
renovate[bot]
4b79b98b31 [deps]: Update actions/create-github-app-token action to v2 (#6216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 10:47:56 +02:00
Justin Baur
e5159a3ba2 [PM-19659] Clean up Notifications code (#6244)
* Move PushType to Platform Folder

- Move the PushType next to the rest of push notification code
- Specifically exclude it from needing Platform code review
- Add tests establishing rules Platform has for usage of this enum, making it safe to have no owner

* Move NotificationHub code into Platform/Push directory

* Update NotificationHub namespace imports

* Add attribute for storing push type metadata

* Rename Push Engines to have PushEngine suffix

* Move Push Registration items to their own directory

* Push code move

* Add expected usage comment

* Add Push feature registration method

- Make method able to be called multipes times with no ill effects

* Add Push Registration service entrypoint and tests

* Use new service entrypoints

* Test changes
2025-08-26 13:30:37 -04:00
Matt Andreko
7a6fa5a457 Revert "Temporarily hold sarif uploads (#6166)" (#6222) 2025-08-20 09:39:11 -04:00
renovate[bot]
3169c5fb85 [deps]: Update github-action minor (#5865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amy Galles <9685081+AmyLGalles@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-08-20 12:19:12 +02:00
Daniel García
6971f0a976 Update Swashbuckle and improve generated OpenAPI files (#6066)
* Improve generated OpenAPI files

* Nullable

* Fmt

* Correct powershell command

* Fix name

* Add some tests

* Fmt

* Switch to using json naming policy
2025-08-18 18:40:50 +02:00
Matt Andreko
4e6a036f22 Temporarily hold sarif uploads (#6166) 2025-08-14 09:30:12 -04:00
Matt Andreko
11cc50af6e Update scan workflow to use centralized reusable component (#6127) 2025-08-05 09:50:36 -04:00
Ruyut
2b0a639b95 fix: remove the duplicate name field (#6133) 2025-07-30 09:28:51 +00:00
aj-bw
3f508cd43b add read actions (#6137) 2025-07-29 11:58:17 +02:00
Justin Baur
7e80e01747 [PM-21948] Warn on deprecated logging methods (#6101)
* Add warnings and scaffold tests

* Do some private reflection

* Add tests for warnings

* Add explainer comment

* Remove Reference to Azure CosmosDb Sink

* Don't warn on old file location

* Update test names

* Add syslog test

* dotnet format

* Add lazy syslog fix

* Add longer wait for file

* Make syslog test local only

* Switch to shortened URL
2025-07-25 17:44:51 -04:00
Matt Bishop
bdadf2af01 Document database projects and complete EDD support (#5855)
* Document database projects and complete EDD support

* Remove an old remnant of a now-unused 'future' state

* Sync finalization scripts

* Fix conflict

* Fix some script issues
2025-07-21 16:43:30 -04:00
Tom
3024576181 Wildcard for dirt subdirectories (#6096) 2025-07-21 15:04:16 -04:00
aj-bw
765c02b7d2 [BRE-1018] improve database test error messaging (#6103)
* improve database test error messaging

* removing repetitive logic
2025-07-21 12:16:16 -04:00
Oscar Hinton
42ff09b84f [PM-22423] Add MJML (#5941)
Scaffolds MJML and adds some initial templates and components.

Of interest are:

* src/Core/MailTemplates/Mjml/components/hero.js demonstrates how to create a custom MJML component. In our case it's a hero component with our logo, a title, a call to action button and an image.
* src/Core/MailTemplates/Mjml/components/head.mjml defines some common styling.
* src/Core/MailTemplates/Mjml/components/footer.mjml social links and footer.
2025-07-15 15:53:29 +02:00
Andy Pixley
5772c467de [BRE-831] migrate secrets AKV (#5962) 2025-07-09 15:02:11 -04:00
Todd Martin
af75fdbe36 [PM-21370] Update Github Action grouping (#5790)
* Update Github Action grouping

* Undid codeowners change.
2025-07-07 16:07:02 -04:00
Andy Pixley
71aae24246 [BRE-848] Fixing release workflow permissions (#6002) 2025-06-25 14:39:35 -04:00
Andy Pixley
b13c950328 [BRE-848] Adding Workflow Permissions (#5985) 2025-06-20 12:15:38 -04:00
Addison Beck
91b4ef756b build(ci): remove the need to cherry pick version bumps to rc (#5977) 2025-06-18 16:47:30 +02:00
Vince Grassia
0bdd18d6b7 Remove logic for generating and uploading checksum artifacts (#5950) 2025-06-12 11:26:35 -04:00
aj-bw
25d5efacd8 set 0 when workflow is not ran (#5910) 2025-06-05 14:32:40 -04:00
aj-bw
6411cc63ca BRE-875/server-builds-intermittently-failing-after-introducing-build-cache (#5909)
* increase logging

* remove caching for troubleshooting

* test max parallel of 3

* up parallel

* test removing cache again

* add permissions read

* edit permissions
2025-06-03 12:40:46 -04:00
tangowithfoxtrot
20105b85aa fix: failing builds; Setup is no longer a dll (#5901) 2025-05-30 13:28:16 -07: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
aj-bw
1e7d02bca2 BRE-857/collect-code-references-fails-against-tags (#5885)
* update code-references file to also check tags

* fix line
2025-05-28 12:43:15 -04:00
Vince Grassia
fbc8e06c99 Update Renovate config (#5882) 2025-05-27 14:24:31 -04:00
Vince Grassia
3aa9812353 Fix actionlint issues (#5841) 2025-05-20 12:44:01 -04:00
Justin Baur
bbbc7a6422 Add docker related files to platform ownership (#5820) 2025-05-15 19:13:55 -04:00
aj-bw
a973a11d90 scan and build target updates (#5783) 2025-05-15 09:38:57 -04:00
Todd Martin
af08d4b2a5 chore(workflows): Update image tag logic to handle forked branches 2025-05-08 11:27:06 -04:00
Todd Martin
051f200d4b [PM-17239] Update Renovate config to configure patch behavior and reassign dependencies (#5775)
* Update config to send patch updates to dashboard

* Added trailing commas.
2025-05-07 17:18:18 -04:00
Graham Walker
10fcff58b2 PM-19715 & PM-19712 Move Files to DIRT ownership on Server (#5769)
* PM-19715 PM-19711 moving reports to dirt directory and adding dirt as codeowners

* PM-19715 creating two sub folders for reports and events

* PM-19714 changing dirt paths for codeowners

* PM-19714 fixing codeowners file

* PM-19714 fixing codeowners

* PM-19714 moving hibpController to dirt ownership

* PM-19715 moving controller
2025-05-06 10:48:40 +02:00
Matt Bishop
9da98d8e97 Run LD reference check on all pushes (#5760)
* Run LD reference check on all pushes

* Fix syntax of code-references.yml

---------

Co-authored-by: Matt Andreko <mandreko@bitwarden.com>
2025-05-01 12:25:52 -07:00
Matt Bishop
706d7a5768 Migrate to new LD Action for code references (#5759) 2025-05-01 10:08:39 -07:00
Opeyemi
735dcb7653 BRE-757: add label for Renovate PR that touches Production workflows (#5661) 2025-04-21 07:36:18 -07:00
Todd Martin
c986cbb208 Added IdentityServer directories to Auth ownership. (#5647) 2025-04-14 10:10:37 -04:00
MtnBurrit0
cb9d7e450f Drop create_branch input, it's enabled by default. (#5634) 2025-04-10 10:44:31 -06:00
MtnBurrit0
8cd14d55dd EE sync improvements (#5620)
* Leverage new workflow changes

* Refactor ephemeral-environment workflow

* Add .has_secrets check back into build
2025-04-09 09:44:42 -06:00
Andy Pixley
39ac93326d [BRE-457] Updating CODEOWNERS for self-host ownership (#5593) 2025-04-04 09:53:12 -04:00