Изначальная проблема была в том, что 26 таска делалась без учета другой таски про oauth2 (20), поэтому пришлось исправлять.
Исправлена V1 миграция - добавлена запятая после email
Реализован saveWithOAuth2() в UserRepository
Реализован findByProviderAndProviderId() в UserRepository
Обновлен CustomOAuth2UserService для использования OAuth2 методов
Исправил package declaration во всех 7 OAuth2 файлах
Summary by CodeRabbit
New Features
Added OAuth2 authentication with support for Google, Yandex, and VK providers
Enabled Spring Security framework for enhanced application security
Implemented password field for user account management
Изначальная проблема была в том, что 26 таска делалась без учета другой таски про oauth2 (20), поэтому пришлось исправлять.
Исправлена V1 миграция - добавлена запятая после email
Реализован saveWithOAuth2() в UserRepository
Реализован findByProviderAndProviderId() в UserRepository
Обновлен CustomOAuth2UserService для использования OAuth2 методов
Исправил package declaration во всех 7 OAuth2 файлах
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
## New Features
* Added OAuth2 authentication with support for Google, Yandex, and VK providers
* Enabled Spring Security framework for enhanced application security
* Implemented password field for user account management
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Free
Run ID: ebf1c815-5c42-4001-8451-b7238d3ee98e
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
✅ Review completed - (🔄 Check again to review again)
Note
🎁 Summarized by CodeRabbit Free
Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.
Comment @coderabbitai help to get the list of available commands and usage tips.
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: skip review by coderabbit.ai -->
> [!IMPORTANT]
> ## Review skipped
>
> Auto reviews are disabled on base/target branches other than the default branch.
>
>
>
> Please check the settings in the CodeRabbit UI or the `.coderabbit.yaml` file in this repository. To trigger a single review, invoke the `@coderabbitai review` command.
>
> <details>
> <summary>⚙️ Run configuration</summary>
>
> **Configuration used**: Organization UI
>
> **Review profile**: ASSERTIVE
>
> **Plan**: Free
>
> **Run ID**: `ebf1c815-5c42-4001-8451-b7238d3ee98e`
>
> </details>
>
> You can disable this status message by setting the `reviews.review_status` to `false` in the CodeRabbit configuration file.
>
> Use the checkbox below for a quick retry:
> - [ ] <!-- {"checkboxId": "e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> ✅ Review completed - (🔄 Check again to review again)
<!-- end of auto-generated comment: skip review by coderabbit.ai -->
<!-- tips_start -->
---
> [!NOTE]
> <details>
> <summary>🎁 Summarized by CodeRabbit Free</summary>
>
> Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting <https://app.coderabbit.ai/login>.
>
> </details>
<sub>Comment `@coderabbitai help` to get the list of available commands and usage tips.</sub>
<!-- tips_end -->
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
<!-- This is an auto-generated reply by CodeRabbit -->
<details>
<summary>✅ Actions performed</summary>
Review triggered.
> Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
</details>
devitq
(Migrated from github.com)
requested changes 2026-04-23 19:35:14 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Изначальная проблема была в том, что 26 таска делалась без учета другой таски про oauth2 (20), поэтому пришлось исправлять.
Исправлена V1 миграция - добавлена запятая после email
Реализован saveWithOAuth2() в UserRepository
Реализован findByProviderAndProviderId() в UserRepository
Обновлен CustomOAuth2UserService для использования OAuth2 методов
Исправил package declaration во всех 7 OAuth2 файлах
Summary by CodeRabbit
New Features
Comment
@coderabbitai helpto get the list of available commands and usage tips.@coderabbitai help
@coderabbitai review
✅ Actions performed
Review triggered.
There is no like critical mistakes, but worth fixing all issues
@@ -56,7 +58,6 @@ dependencies {testImplementation(libs.spring.boot.starter.test)testImplementation(libs.kotlin.test.junit5)this line is redundant
Remove gpt-like comments
This is port, not an adapter
@@ -0,0 +5,4 @@import org.springframework.security.core.authority.SimpleGrantedAuthorityimport org.springframework.security.core.userdetails.UserDetailsimport org.springframework.security.oauth2.core.user.OAuth2Userimport java.util.*Star imports is bad
@@ -0,0 +1,26 @@package com.project.movienight.adapters.security@Suppress("UNCHECKED_CAST")Same here, remove suppress
@@ -0,0 +1,20 @@package com.project.movienight.adapters.security@Suppress("UNCHECKED_CAST")Remove suppress by fixing unchecked cast
@@ -3,2 +3,3 @@name VARCHAR(255) NOT NULL,email VARCHAR(320) NOT NULL UNIQUEemail VARCHAR(320) NOT NULL UNIQUE,password VARCHAR(255)Editing old migrations is a bad practice, just create a new one
Pull request closed