1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 17:12:49 -05:00
Commit Graph

4046 Commits

Author SHA1 Message Date
5ecffdad74 Add rerunable options and folder 2023-08-28 16:41:01 +02:00
d82025b236 Add rerunable option and script folder name 2023-08-28 15:38:44 +02:00
3d65219f3b Change name 2023-08-25 12:43:48 +02:00
731be1fddd Add update from rerunable to not rerunable script 2023-08-25 12:40:17 +02:00
b5420e1922 Testing 2023-08-25 10:37:43 +02:00
d95c76638c After migration 2023-08-24 18:25:29 +02:00
a74231616c Trying to migrate first 2023-08-24 17:09:28 +02:00
d73dbfbe41 Fix journal table name 2023-08-24 16:30:25 +02:00
98168feb59 Trying 2023-08-24 16:02:54 +02:00
d413b4badd add rerunable column in dbo migrations table migration 2023-08-24 13:42:35 +02:00
edc8139c6d Enable logging in db migrator 2023-08-24 13:01:17 +02:00
c606efe2ab Fix typo 2023-08-24 12:47:39 +02:00
47f8555eab Format 2023-08-23 18:11:59 +02:00
ff021b3854 Add rerunable schema 2023-08-23 17:40:47 +02:00
ee26db7e98 Fix usings 2023-08-21 18:39:05 +02:00
683fd71bb4 Move RerunableSqlTableJournal to Extension class 2023-08-21 18:20:28 +02:00
2c3c869bd8 Rename to SqlTableJournalExtensions 2023-08-21 18:17:53 +02:00
1968d11d4a Disable logging 2023-08-18 10:46:30 +02:00
068c73b83e FIx 2023-08-18 10:08:01 +02:00
7a7585e173 Enable logging 2023-08-17 16:18:45 +02:00
e47d544baf format 2023-08-17 15:02:49 +02:00
4949c62792 Use rerunable sql journal 2023-08-16 17:32:10 +02:00
0d67ee7032 Add extension to use rerunable sql table journal 2023-08-16 17:31:58 +02:00
d83554b850 Add RerunableSqlTableJournal 2023-08-16 17:31:41 +02:00
fc814ff352 [AC-1597] Revert GetByUserIdWithPolicyDetailsAsync changes to unblock SQL CPU (#3203)
* Revert "[PM-3007] Caching user policies on PolicyService variable (#3117)"

This reverts commit 78588d0246.

* Don't delete old migration script

* Add migration to revert sproc
2023-08-16 13:42:09 +10:00
fd1ae91d74 Bumped version to 2023.8.1 (#3204)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-08-15 23:07:23 -04:00
7a9315aec0 Added back alias that was accidentally introduced (#3202) 2023-08-15 19:56:12 -04:00
cf14f42dc9 Fix Attachments base image (#3190) 2023-08-15 19:48:25 -04:00
60eab8a28e [AC-1577] [AC-1575] Prefill Bitwarden portal values etc (#3155)
* [AC-1575] Don't overwrite existing org information when changing plans

* [AC-1577] Prefill SM configuration section when starting trial
2023-08-16 09:03:17 +10:00
Ike
4ec01b0ef0 PM-2427-Defect-Cannot-delete-account-if-User-has-auth-request-on-table-FK-constraint (#3118)
* updated migrations and ef repo

* removed route alias

---------

Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
2023-08-15 17:16:02 -04:00
c7b3759d55 Bumped version to 2023.8.0 (#3201)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-08-15 15:52:02 -04:00
795034cd9d [PM-3430] Refactor organization public key response (#3195) 2023-08-15 15:10:56 +02:00
e0299043a2 UPDATE: dotnet setup run step and to use global version (#3182)
* UPDATE: dotnet setup run step and to use global version

* TEST: make the build run

* Revert attachment base image to latest
2023-08-14 16:40:27 +01:00
0487056afb [DEVOPS-1517] - Update Server release to pull from Prod ACR (#3169)
* UPDATE: Server release to pull from Prod ACR

* UPDATE: condition for DCT setup

* UPDATE: attachment Dockerfile to reference server latest

* REMOVE: push Server image to DockerHub

* FIX: lint error

* Minor changes
2023-08-14 15:56:54 +01:00
115ead00d4 Adding missing test to projectscontroller (#3129) 2023-08-11 15:07:29 -04:00
9d4b98e787 FIX: add more dotnet setup (#3181)
* UPDATE: move dotnet setup to run before checkout
2023-08-11 14:54:40 +01:00
6785908e39 Explicitly install .NET SDK for linting (#3180) 2023-08-11 08:49:04 -04:00
09e396a2d2 [AC-1588] Fix Bitwarden Portal Secrets Manager flag not working (#3178)
* Fix SM Configuration not showing properly

* Undo unnecessary changes

* Undo unnecessary change

* Undo unnecessary change
2023-08-10 17:16:59 -07:00
6b47c3c8d9 Use latest .NET 6 SDK (#3176) 2023-08-10 17:17:13 -04:00
d5a0e97fea Fix github.ref comparison in build.yml (#3177)
+ Convert to case statement
+ Extend comment
2023-08-10 14:49:39 -06:00
ceae31e7bf Update dependency AngleSharp to v1 (#3079)
* Update dependency AngleSharp to v1

* Update lock files

* update test lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2023-08-10 14:34:39 -05:00
d325f1d300 Remove implied default NuGet configuration (#3175)
* Rename NuGet configuration

* Remove reference altogether
2023-08-10 14:23:19 -04:00
0c76969506 [DEVOPS-1516] - Update server build workflow to push images to ACR (#3157)
* Update server build workflow to push images to ACR

* UPDATE: Remove docker_repos matrix variable

* FIX: make docker push command one-liner

* UODATE: revert attachment image source

* UPDATE: add suggestion and update tags in docker build

* UPDATE: docker build tags

* UPDATE: master branch tag to latest

* ADD: push server image to dockerhub

* ADD: sugesstions

* ADD: ACR var name change and usages

* Minor updates

* Fix syntax error

* UPDATE: use ACR var for image name step

---------

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-08-10 18:41:56 +01:00
d4bcaf10ff Remove moq (#3166) 2023-08-10 17:03:42 +02:00
dd82b8a56f Pin Moq to Stay Below 4.20.0 (#3165) 2023-08-08 18:49:26 -04:00
a04fdcdc30 Remove website instance id from launch env (#3163) 2023-08-08 16:16:49 -04:00
4377c7a897 Rewrite Icon fetching (#3023)
* Rewrite Icon fetching

* Move validation to IconUri, Uri, or UriBuilder

* `dotnet format` 🤖

* PR suggestions

* Add not null compiler hint

* Add twitter to test case

* Move Uri manipulation to UriService

* Implement MockedHttpClient

Presents better, fluent handling of message matching and response
building.

* Add redirect handling tests

* Add testing to models

* More aggressively dispose content in icon link

* Format 🤖

* Update icon lockfile

* Convert to cloned stream for HttpResponseBuilder

Content was being disposed when HttResponseMessage was being disposed.
This avoids losing our reference to our content and allows multiple
usages of the same `MockedHttpMessageResponse`

* Move services to extension

Extension is shared by testing and allows access to services from
our service tests

* Remove unused `using`

* Prefer awaiting asyncs for better exception handling

* `dotnet format` 🤖

* Await async

* Update tests to use test TLD and ip ranges

* Remove unused interfaces

* Make assignments static when possible

* Prefer invariant comparer to downcasing

* Prefer injecting interface services to implementations

* Prefer comparer set in HashSet initialization

* Allow SVG icons

* Filter out icons with unknown formats

* Seek to beginning of MemoryStream after writing it

* More appropriate to not return icon if it's invalid

* Add svg icon test
2023-08-08 19:29:40 +00:00
ca368466ce Allow acceptable result ranges for integration tests (#3161) 2023-08-08 12:49:51 -05:00
ab5c6d088b [SM-240] Add encrypted length limits to request models (#3095) 2023-08-08 12:08:53 -05:00
1a21eca481 Update bitwarden/gh-actions digest to f096207 (#3076)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 11:02:43 -06:00