Conner Turnbull
9721d4bfb3
Removed constructors from OrganizationLicense
2025-06-09 16:00:39 -04:00
Conner Turnbull
a7c532171b
Removed remaining methods out of org and user licenses
2025-06-09 15:45:54 -04:00
Conner Turnbull
10ed9aa1b3
Moved the remaining methods out of BaseLicense
. Renamed GetDataBytes
to ToByteArray
2025-06-09 15:35:42 -04:00
Conner Turnbull
b8f26cbe60
Moved VerifySignature
out of the licenses and into an extension method
2025-06-09 15:15:54 -04:00
Conner Turnbull
0a4dad6c3d
Moved ComputeHash
out of the licenses and into an extension method
2025-06-09 15:09:33 -04:00
Conner Turnbull
4592eb1fd4
Merge branch 'main' into billing/license-refactor
2025-06-09 15:00:53 -04:00
Conner Turnbull
65ec7fd6c1
Removed obsolete methods
2025-06-09 14:58:04 -04:00
Jared McCannon
84e5ea1265
[PM-22097] Add Columns to Collections for Org User Default Collection ( #5908 )
...
* Adding columns and database migrations for organization DefaultUserCollection.
2025-06-09 13:50:15 -05:00
renovate[bot]
52c392d668
[deps] Billing: Update swashbuckle-aspnetcore monorepo to 7.3.2 ( #5731 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 10:53:17 -05:00
renovate[bot]
88ffc91b99
[deps] Billing: Update coverlet.collector to 6.0.4 ( #5720 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 10:49:41 -05:00
Conner Turnbull
169f22ef3b
Updated UserLicense to use ValidLicenseVersion
2025-06-09 11:48:59 -04:00
Alex Morask
87b6606bc2
Append EUVAT to Spanish NIF tax ID types ( #5843 )
2025-06-09 09:30:26 -05:00
Conner Turnbull
a4a9af9863
Updated expiration, refresh, and isTrial logic to ensure it matches the original logic
2025-06-06 14:19:52 -04:00
Conner Turnbull
71cb4a4ea8
Merge branch 'main' into billing/license-refactor
2025-06-06 09:57:31 -04:00
Alex Morask
dcf97a5772
[PM-20485] [PM-20486] Add missing mappings to PlanAdapter ( #5791 )
...
* Add missing mappings to PlanAdapter
* PM-20485: Fix SM base seats
2025-06-06 08:04:10 -05:00
Ben Bryant
20d3911b80
[PM-22380] Enable NRT for some Core project files ( #5912 )
...
* Enable NRT for Core/Jobs files
* Enable NRT for Core/HostedServices files
* Enable NRT for Core/Exceptions files
* Enable NRT for Core/NotificationHub files
---------
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2025-06-06 13:59:57 +02:00
Conner Turnbull
21e850de67
Removed SignatureBytes since it had only one usage
2025-06-05 15:26:35 -04:00
Conner Turnbull
eefc1a2e58
Updated LicenseIgnore to target Signature instead of Hash
2025-06-05 15:26:35 -04:00
Conner Turnbull
598259a785
Moved expires/refresh/trial methods to extension methods to be reused later
2025-06-05 15:26:35 -04:00
Conner Turnbull
ede86fea1f
Extracted the core logic of GetDataBytes to be shared between both files
2025-06-05 15:26:35 -04:00
Conner Turnbull
e67a7d8f0c
Reordered properties so that they appear in order according to their version number first, then data type, then name
2025-06-05 15:26:35 -04:00
Conner Turnbull
5f192c33ba
Updated GetDataBytes to use the new attributes instead of hardcoding the version logic
2025-06-05 15:26:35 -04:00
Conner Turnbull
4b2a437951
Decorated license properties with newly created attributes
2025-06-05 15:26:35 -04:00
Conner Turnbull
18e13fd480
Created LicenseIgnoreAttribute
2025-06-05 15:26:35 -04:00
Conner Turnbull
ef30464c13
Moved common properties/methods between organization and user licenses to common base class
2025-06-05 15:26:35 -04:00
Conner Turnbull
78ce88138f
Created LicenseVersionAttribute
2025-06-05 15:26:35 -04:00
aj-bw
25d5efacd8
set 0 when workflow is not ran ( #5910 )
2025-06-05 14:32:40 -04:00
sneakernuts
ce61a01f29
SRE-2299 cleanup ( #5926 )
2025-06-05 12:23:01 -06:00
cyprain-okeke
acb18c55b3
Resolve the error and consider the free org ( #5920 )
2025-06-05 18:48:02 +01:00
Matt Bishop
2435063ac8
Move team SQL underneath dbo ( #5923 )
2025-06-05 12:58:46 -04:00
SmithThe4th
66301bb4dc
[PM-19632] Remove security task flag - step 1 ( #5856 )
...
* step 1- remove flag on security task controller
* Fixed lint issues
2025-06-04 16:37:42 -04:00
Jordan Aasen
5c4c06baa0
add restricted item type policy ( #5914 )
2025-06-04 13:06:52 -07:00
SmithThe4th
ed780d45d3
replace fallback icon default with response ( #5878 )
2025-06-04 15:25:21 -04:00
Alex Morask
769313abbf
Only set automatic tax to true w/ reverse charge flag if customer has billing location ( #5917 )
2025-06-04 13:31:17 -05:00
Jordan Aasen
2e14a46cee
[PM-22344] - fix Error: Cannot Decrypt when moving a vault item to a collection ( #5911 )
...
* use ToCipher instead of casting
* return ListResponseModel
* fix test
* remove ToArray
* have ShareManyAsync return CipherDetails
* fix test
* fix tests
* fix test
* fix test
2025-06-03 14:02:13 -07:00
renovate[bot]
812fe94c16
[deps]: Update Microsoft.Build.Sql to v1 ( #5875 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 16:41:49 -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
Brant DeBow
59f5fafb87
[PM-17562] Add strict delay support for RabbitMQ; Refactor implementation ( #5899 )
...
* [PM-17562] Add strict delay support for RabbitMQ
* fix lint error
* Added more robust FailureReason handling and some additional tests
* Fix two issues noted by SonarQube
* Fix typo; Add alternate handling if MessageId is null or empty
* Set MessageId on all message publishers
2025-06-03 10:48:24 -04:00
Alex Morask
8165651285
Remove pm-18794-provider-payment-method ( #5850 )
2025-06-03 07:50:52 -05:00
Bernd Schoolmann
14e68428f6
[PM-20225] Block no-userkey legacy users ( #5640 )
...
* Block legacy users on all clients over 2025.5
* Update message
* Fix test
* Fix test
* Update blocked version
2025-06-02 22:04:01 +02: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
Jordan Aasen
2c4393cc16
[PM-22204] - update cipher/share endpoint to return revision date ( #5900 )
...
* return ciper response model in cipher share endpoint. add tests
* return dict instead of full cipher response. adjust specs
* rename vars
* rename vars
* rename vars
* reinsert braces
* add specs
* return CipherMiniResponseModel
2025-06-02 09:05:58 -07:00
Github Actions
8c14630481
Bumped version to 2025.6.0
2025-06-02 15:15:43 +00:00
Daniel James Smith
c7b1c7f6d5
[PM-22190] Remove gathering and reporting of ReferenceEvents ( #5897 )
...
* Remove gathering and reporting of ReferenceEvents
* Fix test that relied on reference events throwing
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-06-02 16:49:49 +02:00
Oscar Hinton
d7d90e7f3e
[PM-21079] Add support to integration tests for using sqlserver ( #5823 )
...
Adds a SqlServerApiApplicationFactory which allows you to run api tests using SqlServer. Currently a new database is create and destroyed for each test. In the future we'd like a more optimized way to do this.
The database logic is abstracted away in a ITestDatabase interface which handles the configuration, migration and teardown.
2025-06-02 11:06:16 +02: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 32c2f6236a894534de09ffe847ffff064a7174bd.
* 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 c93be6d52b12599040d3c3d8a7b3bc854c6c6802.
* Revert "fix: build failures caused by bad merge"
This reverts commit 3e4639489b6b6c06b5a977a069002fe0c0eb2057.
* Revert "Use `IHttpClientFactory` in more places"
This reverts commit 284501a4932b819b093406e0bcdf76def22b6eea.
* 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
Justin Baur
0b2b573bd3
Add DynamicClientStore ( #5670 )
...
* Add DynamicClientStore
* Formatting
* Fix Debug assertion
* Make Identity internals visible to its unit tests
* Add installation client provider tests
* Add internal client provider tests
* Add DynamicClientStore tests
* Fix namespaces after merge
* Format
* Add docs and remove TODO comments
* Use preferred prefix for API keys
---------
Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
2025-05-30 12:58:54 -04:00
sneakernuts
63f836a73a
SRE-1913 find & replace twitter w/ x ( #5586 )
2025-05-30 09:58:24 -06:00
Alex Morask
390b93f6ce
[PM-21250] Remove pm-18770-enable-organization-business-unit-conversion
( #5848 )
...
* Remove pm-18770-enable-organization-business-unit-conversion
* Run dotnet format
2025-05-30 09:58:36 -04:00