Conner Turnbull
2ee75d619c
Moved cqrs stuff to billing
2025-06-10 12:18:04 -04:00
Conner Turnbull
d357dcc853
Moved license services over to billing
2025-06-10 11:55:32 -04:00
Conner Turnbull
3a163a96d7
Moved license models over to billing folder
2025-06-10 11:45:33 -04:00
Conner Turnbull
5751cc029e
Removed obsolete tag for now
2025-06-10 11:24:26 -04:00
Conner Turnbull
35d32cf46b
Merge branch 'main' into billing/license-refactor
2025-06-10 11:22:53 -04:00
Rui Tomé
021e69bc5d
[PM-17154] Limit item deletion feature flag logic removal ( #5925 )
...
* Refactor CiphersController and related tests by removing unused IFeatureService dependency and associated feature flag checks. Cleaned up tests to reflect these changes, ensuring they focus on manage permissions without reliance on feature flags.
* Refactor CipherService and related tests by removing feature flag checks for item deletion permissions. Updated tests to focus on user manage permissions without reliance on feature flags, ensuring cleaner and more maintainable code.
* Enhance CiphersControllerTests by adding user retrieval and organization ability checks. Updated test cases to ensure proper handling of item deletion permissions based on user roles and organization settings, improving test coverage and reliability.
2025-06-10 09:57:29 +01:00
cyprain-okeke
fbdd62fadd
[PM-20416]Downgraded paid org cannot upgrade from Free ( #5748 )
...
* enable the downgrade of free org
* resolve the free org update issue
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Retain the canceled subscriptionId
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* resolve the pr coments
* Refactor the code base on the pr comment
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the pr comments
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the pr comment
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the failing test
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Resolve the repeated condition
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* apply the condition suggestion
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
* Add the missing MaxCollection
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-06-10 07:50:09 +01:00
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