1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00
Commit Graph

5929 Commits

Author SHA1 Message Date
580987f0e5 EC-293 Fix device verification state when getting its settings (#2094) 2022-07-05 18:44:07 -03:00
45a005d652 Fix failing tests (#2095) 2022-07-05 18:39:43 +02:00
113627dcd5 Add Swagger generation for Identity (#2058) 2022-07-04 12:05:46 +02:00
1a89056c61 Create new file when adding license file and updating (#2092) 2022-06-30 12:19:15 -04:00
231eb84e69 Turn On ImplicitUsings (#2079)
* Turn on ImplicitUsings

* Fix formatting

* Run linter
2022-06-29 19:46:41 -04:00
890e6bb48a Add Seats to Org note (#2086) 2022-06-29 06:34:34 -04:00
81cb41850a Update the Release Version Check (#2089) 2022-06-28 13:54:49 -07:00
f5ae2fe340 Bump version to 2022.6.0 (#2088)
* Bumped version to 2022.6.0

* manually bumping version since automation is broken

* remove the newline at the end

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
2022-06-28 12:56:42 -07:00
cc21a04801 Address Analyzer Warnings (#2078)
* Address potential errors

* Add tests

* Add clarity

* Run formatting
2022-06-28 12:17:14 -04:00
9ff071e926 [SG-357] Update email text to reflect EUVR updates (#2073)
* fix: made text changes

* chore: html changes
2022-06-28 11:52:49 -04:00
882d1e0b26 Fix VSCode Launch file (#2077)
* Fix launch.json

* Also change pull request template
2022-06-26 10:03:33 -04:00
fe062dc987 [fix] Payment Failed webhook fix (#2076) 2022-06-24 17:20:32 -04:00
75ab5826e0 [fix] Only cancel premium subscriptions after failed payments (#2075) 2022-06-24 15:17:58 -04:00
daeaa42851 [PS-40] Upgrade to .NET 6 (#2056)
* Bump to .NET 6

* Update Docker images

* Update docs

* Update workflow for linter

* Add all common versions to props file

* Update tools manifest

* Update csproj files

* Update packages.lock.json files

* Switch to setup-dotnet

* Remove msbuild

* Fix deps breaking changes

* Manually install msbuild

* Use msbuild for build

* Fix verbosity switch

* Remove unused exceptions

* Address linter feedback

* Make Obsolete warnings suggestions for now.

* Force Evaluate

* Format on tests

* Run formatting again.

* Use windows 2022

* force evaluate

* Fix restore

* Fix linter

* Skip test

* Update Directory.Build.props

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Address PR feedback

* Add IntegationTest for Rate limiter

* Fix test

* Reenable test

* Reorder test

* Skip test again

* Add tracking link

* Update .github/workflows/build.yml

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-06-24 10:39:34 -04:00
b8d41b47f1 [PS-794] Fix password reset email templates email format (#2068)
* Fix password reset email templates email format
2022-06-23 10:44:41 -05:00
94059a2b06 Fix OrganizationConnection Update (#2071)
* Force CloudOrganizationId to be read only

* Fix tests
2022-06-23 07:50:10 -04:00
d918f5aae3 Check for ascii-only in entire local part of emails (#2072) 2022-06-22 17:51:16 -05:00
f2a02e040c [SG-378] Get and send collectionIds when a cipher is updated (#2066)
* Get and send collectionIds when a cipher is updated

* Make Put method parameters Guids instead of strings
2022-06-21 08:25:54 -04:00
a94823f648 Bumped version to 2022.5.2 (#2067)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-20 13:40:34 -07:00
b19cded4f8 [PS-721] Left align all email template text (#2033)
Make all email template text left-aligned, excluding call-to-actions buttons which should remain centered

In the emails needing updates, remove font styling from HTML tags other than <td> and <p>

Add an additional margin above and below each call-to-action button

For emails that include only the “ignore” warning below the call-to-action button move the warning up, so the button is the last item displayed

Fix the unit test that allows developers to locally generate test emails
2022-06-20 09:20:28 -05:00
904193560c [PS-293] Update admin portal to use the new version.json (#2006)
* PS-293: Get latest version no comes from GitHub instead of DockerHub.

* PS-293: format fixes

* PS-293: code refactor and clean up

* PS-293: deserialization to class, argument typification.

* PS-293: formating fix

* PS-293: Moved ProjectType to HomeController

* PS-293: updated version endpoint to CDN

* PS-293: Update endpoint to CF protected
2022-06-20 12:53:09 +01:00
ee5946c4b9 EC-262 - add missing validation on deactivate (#2064) 2022-06-17 11:04:25 -04:00
3360d40592 [EC-243] Grant premium status when member accepts org invite (#2043) 2022-06-17 06:30:50 +10:00
b2a0aa2860 EC-262 - implement org user deactivated flag and behavior server (#2050)
* SM-47 - Add Disabled status to enum + schema

* SM-47 - Enable and disable sprocs and repositories

* SM-47 - Organization service enble/disable user

* SM-47 - Fix lint errors

* SM-47 - add disable/enable endpoints to API

* SM-47 - Add bulk operations for enable/disable

* SM-47 - Fix linting errors, one of these days I'll do this first

* SM-47 - Codesense fix DRY warnings

* EC-262 - Code review changes, async cleanup

* EC-262 - Fix build issues, async refs

* EC-262 - Update controller param types

* EC-262 - Ensure mutable state is correct

* EC-262 - rename disabled to deactivated
2022-06-16 15:59:57 -04:00
8e79c20dce [SG-72] Sync changed email address with stripe (#2042)
* sync changed email address with strip

* sync changed email address with strip

* fixed formatting

* throw exception if not successful

* Added revert if stripe sync fails

* Added revert if stripe sync fails

* Added revert if stripe sync fails

* created stripe sync service

* fixed lint issue

* reverted to use stripe exception message

* added null checks to customer id and email address

* added braces

* removed empty email
2022-06-16 17:45:26 +01:00
b39a43210d [EC-235] Reapply permissions fix for Admin cipher endpoint (#2061)
* Reapply fix from PR 2036, accidentally clobbered by PR 2022
2022-06-15 12:47:36 +10:00
8e110b5c41 Remove (mark with an X) from PR template (#2059) 2022-06-14 17:45:57 +02:00
4bedf140cc Remove labeler action (#2054) 2022-06-14 10:23:50 +10:00
d626174f7e Fix null collectionIds after live-syncing a cipher (#2057) 2022-06-13 13:50:44 -04:00
46b4207ab6 [PS-899] Fix unawaited Task (#2055)
* Fix unawaited task and switch to Guid parameters

* Remove whitespace

* Formatting

* Fix unwanted Assert
2022-06-13 11:18:53 -04:00
e3699156de [PS-589] Fix DeviceUnknownVerification User_Update proc (#2041)
* PS-589 Fix 2022-05-24_00_DeviceUnknownVerification User_Update proc to remove the NULL and set the default value

* PS-589 updated stored procedures on Sql project to have UnknownDeviceVerificationEnabled with default 1 instead of NULL
2022-06-13 16:42:24 +02:00
76e0790ff8 Add docker-compose profile for openldap (#2052) 2022-06-13 17:34:50 +10:00
9ed4314d8d Bumped version to 2022.5.1 (#2049)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-10 11:37:55 -07:00
498aabfd2c Fix file path (#2048) 2022-06-10 08:10:49 -05:00
83b530a5bd [PIQ-127] Add Github Actions to help manage issues and PRs (#1981)
* Update glob matching pattern for labeler

Ref: https://github.com/actions/labeler/issues/28#issuecomment-552362351
2022-06-10 13:33:48 +10:00
9ff82ab176 Use the correct policy enum type (#2045)
Explicit conversion from non-generics to generics doesn't seem to work
here, so I moved to using the read methods already on base Policy.
2022-06-09 18:57:56 -05:00
65ac9a527f Fix bitwarden typo in API URI (#2044) 2022-06-09 12:21:55 -04:00
f5622dd956 Update README and CONTRIBUTING to point to contributing.bitwarden.com (#2028) 2022-06-09 12:00:58 +02:00
ef403b4362 [PS-616] [PS-795] Fix/auto enroll master password reset without user verification (#2038)
* Fix parameter name to match entity

* Deserialize policy data in object

* Add policy with config type to fixtures

* Return policy with deserialized config

* Use CoreHelper serializers

* Add master password reset on accept request

* Simplify policy data parsing

* Linter
2022-06-08 08:44:28 -05:00
194b76c13d Add Spanish version of healthcare.gov (#2040)
The site for USA government health insurance has a separate base domain in Spanish.
2022-06-07 21:39:18 +02:00
64edad8f49 [PS-165] Missing copy verification code (#2022)
* Made changes to organization details endpoint

* Fixed formatting

* Added script to utils directory
2022-06-07 16:52:07 +01:00
60a167f2b7 Update swashbuckle for swaggerUI (#2039) 2022-06-07 10:11:18 -04:00
496c9a5d50 protonmail.com domain has been replaced by proton.me (#2034)
* protonmail.com domain has been replaced by proton.me

Protonvpn.com is still in use so there is still a need for equivalent domains for Proton.

* Update StaticStore.cs
2022-06-06 21:06:58 -04:00
f602df2eb9 [EC-235] Give Admins (and above) access to all items (#2036) 2022-06-07 10:33:39 +10:00
b070e9a387 [PS-589] Fix emergency contact takeover device verification and endpoints for its settings (#2016)
* Added UnknownDeviceVerificationEnabled on User that is turned off when emergency contact takes over the account. Also added endpoints to get and update 2fa device verification settings. And Updated migrations & tests

* Applied dotnet format

* Fixed method rename call on TwoFactorController

* PS-589 Format fixes

* PS-589 changed UnknownDeviceVerificationEnabled to be non-nullable
2022-06-06 14:52:50 -03:00
16c6b23a27 PR template info as code (#2032)
Template items here aren't really tasks as interpreted by github, this
allows us to have the same MD experience without hinting to Github that
there are 2/8 tasks done, which was annoying.
2022-06-03 10:39:22 -05:00
14302efa2c CSA-2 - Require user interaction for SSO redirect (#1948)
* CSA-2 - adding validation before redirecting for SSO login

* Updating server to use generated and signed JWT for SSO redirect

* Removing erroneous file

* Removing erroneous file

* Updating for PR feedback, adding domain_hint to Login and fixing invalid domain_hint name reference

* Some code styling changes from PR feedback

* Removing unnecessary JSON serialization

* Couple small changes from PR feedback

* Fixing linting errors

* Update formatting in AccountController.cs

* Remove unused dependency

* Add token lifetime to settings

* Use tokenable directly

* Return defined models

* Revert sso proj file changes

* Check expiration validity when validating org

* Show error message with expired token

* Formatting fixes

* Add SsoTokenLifetime to Sso settings

* Fix build errors

* Fix sql warnings

Co-authored-by: Carlos J. Muentes <cmuentes@bitwarden.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2022-06-01 12:23:52 -05:00
c27645265c Fix Master Password Hint Email template (#2019) 2022-06-01 11:05:08 -05:00
99de655190 Patch release workflow (#2027) 2022-05-31 19:08:56 -06:00
fb5452bd10 Fixing the Release Version Check action path (#2026) 2022-05-31 17:49:02 -07:00