refactor: rename delta-force-guide to ahsarah-guide and merge into monorepo
- Merge delta-force-guide-server into server/ subdirectory - Merge delta-force-guide-web into web/ subdirectory - Rename Java package com.onixbyte.deltaforceguide to com.onixbyte.ahsarahguide - Rename DeltaForceGuideApplication to AhsarahGuideApplication - Update all config files, Dockerfiles, and CI workflows - Update frontend display name and repo links - Update legal documents (EULA, PrivacyPolicy) - Create root-level CLAUDE.md, README.md, LICENCE, .gitignore, .gitattributes - Move CI workflows to root .gitea/workflows/ with working-directory - Delete .gitlab-ci.yml (legacy) - Preserve git history from both original repositories
This commit is contained in:
144 files changed
+492
-966
No files matched your search
+4
-4
@@ -1,20 +1,20 @@
|
||||
package com.onixbyte.deltaforceguide;
|
||||
package com.onixbyte.ahsarahguide;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
/**
|
||||
* Entry point for the Delta Force Guide Server application.
|
||||
* Entry point for the Ahsarah Guide Server application.
|
||||
*
|
||||
* @author zihluwang
|
||||
*/
|
||||
@EnableAsync
|
||||
@SpringBootApplication
|
||||
public class DeltaForceGuideApplication {
|
||||
public class AhsarahGuideApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(DeltaForceGuideApplication.class, args);
|
||||
SpringApplication.run(AhsarahGuideApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.client;
|
||||
package com.onixbyte.ahsarahguide.client;
|
||||
|
||||
import jakarta.mail.MessagingException;
|
||||
import jakarta.mail.internet.InternetAddress;
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
package com.onixbyte.deltaforceguide.client;
|
||||
package com.onixbyte.ahsarahguide.client;
|
||||
|
||||
import com.auth0.jwt.JWT;
|
||||
import com.auth0.jwt.JWTVerifier;
|
||||
import com.auth0.jwt.algorithms.Algorithm;
|
||||
import com.auth0.jwt.interfaces.DecodedJWT;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.deltaforceguide.properties.TokenProperties;
|
||||
import com.onixbyte.deltaforceguide.utils.DateTimeUtil;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.properties.TokenProperties;
|
||||
import com.onixbyte.ahsarahguide.utils.DateTimeUtil;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.onixbyte.deltaforceguide.interceptor.GitHubWebhookInterceptor;
|
||||
import com.onixbyte.deltaforceguide.interceptor.TrafficInterceptor;
|
||||
import com.onixbyte.deltaforceguide.properties.AppProperties;
|
||||
import com.onixbyte.deltaforceguide.security.resolver.CurrentUserArgumentResolver;
|
||||
import com.onixbyte.ahsarahguide.interceptor.GitHubWebhookInterceptor;
|
||||
import com.onixbyte.ahsarahguide.interceptor.TrafficInterceptor;
|
||||
import com.onixbyte.ahsarahguide.properties.AppProperties;
|
||||
import com.onixbyte.ahsarahguide.security.resolver.CurrentUserArgumentResolver;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.onixbyte.deltaforceguide.shared.JacksonRedisSerialiser;
|
||||
import com.onixbyte.ahsarahguide.shared.JacksonRedisSerialiser;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.onixbyte.deltaforceguide.properties.CorsProperties;
|
||||
import com.onixbyte.ahsarahguide.properties.CorsProperties;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.onixbyte.captcha.text.TextProducer;
|
||||
import com.onixbyte.captcha.text.impl.DefaultTextProducer;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.onixbyte.deltaforceguide.filter.WebhookFilter;
|
||||
import com.onixbyte.ahsarahguide.filter.WebhookFilter;
|
||||
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.onixbyte.deltaforceguide.shared.JacksonModules;
|
||||
import com.onixbyte.ahsarahguide.shared.JacksonModules;
|
||||
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
@@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author zihluwang
|
||||
*/
|
||||
@Configuration
|
||||
@MapperScan(basePackages = {"com.onixbyte.deltaforceguide.mapper"})
|
||||
@MapperScan(basePackages = {"com.onixbyte.ahsarahguide.mapper"})
|
||||
public class MyBatisConfig {
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
|
||||
import io.swagger.v3.oas.annotations.info.Contact;
|
||||
@@ -8,8 +8,8 @@ import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@OpenAPIDefinition(
|
||||
info = @Info(
|
||||
title = "Delta Force Guide Server",
|
||||
description = "API for managing Delta Force game firearm builds",
|
||||
title = "Ahsarah Guide Server",
|
||||
description = "API for Ahsarah Guide",
|
||||
version = "1.4.0",
|
||||
contact = @Contact(
|
||||
name = "Zihlu Wang",
|
||||
@@ -17,7 +17,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
),
|
||||
license = @License(
|
||||
name = "MIT",
|
||||
url = "https://onixbyte.dev/onixbyte/delta-force-guide-server/raw/branch/main/LICENCE"
|
||||
url = "https://onixbyte.dev/onixbyte/ahsarah-guide/raw/branch/main/LICENCE"
|
||||
)
|
||||
)
|
||||
)
|
||||
+7
-7
@@ -1,14 +1,14 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.auth0.jwt.JWT;
|
||||
import com.auth0.jwt.JWTVerifier;
|
||||
import com.auth0.jwt.algorithms.Algorithm;
|
||||
import com.onixbyte.deltaforceguide.exeption.ForbiddenException;
|
||||
import com.onixbyte.deltaforceguide.exeption.UnauthorisedException;
|
||||
import com.onixbyte.deltaforceguide.filter.TokenAuthenticationFilter;
|
||||
import com.onixbyte.deltaforceguide.properties.CookieProperties;
|
||||
import com.onixbyte.deltaforceguide.properties.TokenProperties;
|
||||
import com.onixbyte.deltaforceguide.security.provider.UsernamePasswordAuthenticationProvider;
|
||||
import com.onixbyte.ahsarahguide.exeption.ForbiddenException;
|
||||
import com.onixbyte.ahsarahguide.exeption.UnauthorisedException;
|
||||
import com.onixbyte.ahsarahguide.filter.TokenAuthenticationFilter;
|
||||
import com.onixbyte.ahsarahguide.properties.CookieProperties;
|
||||
import com.onixbyte.ahsarahguide.properties.TokenProperties;
|
||||
import com.onixbyte.ahsarahguide.security.provider.UsernamePasswordAuthenticationProvider;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||
@@ -9,7 +9,7 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||
* @author zihluwang
|
||||
*/
|
||||
@Configuration
|
||||
@EnableJpaRepositories(basePackages = {"com.onixbyte.deltaforceguide.repository"})
|
||||
@EnableJpaRepositories(basePackages = {"com.onixbyte.ahsarahguide.repository"})
|
||||
public class SpringDataConfig {
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.config;
|
||||
package com.onixbyte.ahsarahguide.config;
|
||||
|
||||
import com.onixbyte.deltaforceguide.properties.GitHubWebhookProperties;
|
||||
import com.onixbyte.ahsarahguide.properties.GitHubWebhookProperties;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ManageRoleRequest;
|
||||
import com.onixbyte.deltaforceguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.deltaforceguide.service.UserService;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ManageRoleRequest;
|
||||
import com.onixbyte.ahsarahguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.ahsarahguide.service.UserService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.*;
|
||||
import com.onixbyte.deltaforceguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.deltaforceguide.service.AuthService;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.*;
|
||||
import com.onixbyte.ahsarahguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.ahsarahguide.service.AuthService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.DailyPasswordResponse;
|
||||
import com.onixbyte.deltaforceguide.service.DailyPasswordService;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.DailyPasswordResponse;
|
||||
import com.onixbyte.ahsarahguide.service.DailyPasswordService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.FirearmRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.FirearmResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.PageResponse;
|
||||
import com.onixbyte.deltaforceguide.enumeration.FirearmType;
|
||||
import com.onixbyte.deltaforceguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.deltaforceguide.service.FirearmService;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.FirearmRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.FirearmResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.PageResponse;
|
||||
import com.onixbyte.ahsarahguide.enumeration.FirearmType;
|
||||
import com.onixbyte.ahsarahguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.ahsarahguide.service.FirearmService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.constraints.Max;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ErrorResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ErrorResponse;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.security.access.AccessDeniedException;
|
||||
+9
-9
@@ -1,13 +1,13 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ModificationBatchCreateRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ModificationRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ModificationResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.PageResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.deltaforceguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.deltaforceguide.security.resolver.CurrentUser;
|
||||
import com.onixbyte.deltaforceguide.service.ModificationService;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ModificationBatchCreateRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ModificationRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ModificationResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.PageResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.ahsarahguide.security.resolver.CurrentUser;
|
||||
import com.onixbyte.ahsarahguide.service.ModificationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
@@ -6,7 +6,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.onixbyte.deltaforceguide.service.ModificationService;
|
||||
import com.onixbyte.ahsarahguide.service.ModificationService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+10
-10
@@ -1,14 +1,14 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.BuildSummaryResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ChangePasswordRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.PageResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.UpdateProfileRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.UserProfileResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.deltaforceguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.deltaforceguide.security.resolver.CurrentUser;
|
||||
import com.onixbyte.deltaforceguide.service.UserService;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.BuildSummaryResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ChangePasswordRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.PageResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.UpdateProfileRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.UserProfileResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.security.annotation.RequiresAuth;
|
||||
import com.onixbyte.ahsarahguide.security.resolver.CurrentUser;
|
||||
import com.onixbyte.ahsarahguide.service.UserService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.service.AppService;
|
||||
import com.onixbyte.ahsarahguide.service.AppService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
package com.onixbyte.deltaforceguide.controller;
|
||||
package com.onixbyte.ahsarahguide.controller;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.dto.GitHubIssueRequest;
|
||||
import com.onixbyte.deltaforceguide.service.WebhookService;
|
||||
import com.onixbyte.deltaforceguide.shared.GitHubWebhookHeader;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.GitHubIssueRequest;
|
||||
import com.onixbyte.ahsarahguide.service.WebhookService;
|
||||
import com.onixbyte.ahsarahguide.shared.GitHubWebhookHeader;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.slf4j.Logger;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.converter;
|
||||
package com.onixbyte.ahsarahguide.domain.converter;
|
||||
|
||||
import com.onixbyte.deltaforceguide.enumeration.FirearmType;
|
||||
import com.onixbyte.ahsarahguide.enumeration.FirearmType;
|
||||
import jakarta.persistence.AttributeConverter;
|
||||
import jakarta.persistence.Converter;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.converter;
|
||||
package com.onixbyte.ahsarahguide.domain.converter;
|
||||
|
||||
import com.onixbyte.deltaforceguide.enumeration.ModificationStatus;
|
||||
import com.onixbyte.ahsarahguide.enumeration.ModificationStatus;
|
||||
import jakarta.persistence.AttributeConverter;
|
||||
import jakarta.persistence.Converter;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Accessory;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Accessory;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.Pattern;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
/**
|
||||
* DTO representing a single daily-generated password for a map.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
/**
|
||||
* DTO holding metadata about the daily password source and update tracking.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
/**
|
||||
* Response DTO wrapping daily password data with metadata.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
public record EmailVerificationCode(
|
||||
String username,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
/**
|
||||
* Standard error response body returned on API failures.
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.enumeration.FirearmType;
|
||||
import com.onixbyte.ahsarahguide.enumeration.FirearmType;
|
||||
|
||||
/**
|
||||
* Request DTO for creating or updating a firearm.
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Firearm;
|
||||
import com.onixbyte.deltaforceguide.enumeration.FirearmType;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Firearm;
|
||||
import com.onixbyte.ahsarahguide.enumeration.FirearmType;
|
||||
|
||||
/**
|
||||
* Response DTO for a firearm record, including associated modifications.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.Positive;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Modification;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Modification;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import org.springframework.data.domain.Page;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.Email;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
public record SendVerificationCodeResponse(
|
||||
String verificationCodeId
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Tuning;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Tuning;
|
||||
|
||||
/**
|
||||
* Response DTO for a tuning adjustment on an accessory.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import jakarta.validation.constraints.Email;
|
||||
import jakarta.validation.constraints.Size;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.domain.dto;
|
||||
package com.onixbyte.ahsarahguide.domain.dto;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.converter.FirearmTypeConverter;
|
||||
import com.onixbyte.deltaforceguide.enumeration.FirearmType;
|
||||
import com.onixbyte.ahsarahguide.domain.converter.FirearmTypeConverter;
|
||||
import com.onixbyte.ahsarahguide.enumeration.FirearmType;
|
||||
import jakarta.persistence.CascadeType;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Convert;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.converter.ModificationStatusConverter;
|
||||
import com.onixbyte.deltaforceguide.enumeration.ModificationStatus;
|
||||
import com.onixbyte.ahsarahguide.domain.converter.ModificationStatusConverter;
|
||||
import com.onixbyte.ahsarahguide.enumeration.ModificationStatus;
|
||||
import io.hypersistence.utils.hibernate.type.json.JsonType;
|
||||
import jakarta.persistence.*;
|
||||
import org.hibernate.annotations.Type;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import jakarta.persistence.CascadeType;
|
||||
import jakarta.persistence.Column;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.AttributeOverride;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import jakarta.persistence.Embeddable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.domain.entity;
|
||||
package com.onixbyte.ahsarahguide.domain.entity;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.enumeration;
|
||||
package com.onixbyte.ahsarahguide.enumeration;
|
||||
|
||||
/**
|
||||
* Enumeration of firearm types in the Delta Force game.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.enumeration;
|
||||
package com.onixbyte.ahsarahguide.enumeration;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.exeption;
|
||||
package com.onixbyte.ahsarahguide.exeption;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.exeption;
|
||||
package com.onixbyte.ahsarahguide.exeption;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.exeption;
|
||||
package com.onixbyte.ahsarahguide.exeption;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.exeption;
|
||||
package com.onixbyte.ahsarahguide.exeption;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.exeption;
|
||||
package com.onixbyte.ahsarahguide.exeption;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.exeption;
|
||||
package com.onixbyte.ahsarahguide.exeption;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
+7
-7
@@ -1,12 +1,12 @@
|
||||
package com.onixbyte.deltaforceguide.filter;
|
||||
package com.onixbyte.ahsarahguide.filter;
|
||||
|
||||
import com.auth0.jwt.exceptions.JWTVerificationException;
|
||||
import com.onixbyte.deltaforceguide.client.TokenClient;
|
||||
import com.onixbyte.deltaforceguide.exeption.UnauthorisedException;
|
||||
import com.onixbyte.deltaforceguide.manager.CookieManager;
|
||||
import com.onixbyte.deltaforceguide.manager.UserManager;
|
||||
import com.onixbyte.deltaforceguide.manager.UserRoleManager;
|
||||
import com.onixbyte.deltaforceguide.security.authentication.UsernamePasswordAuthentication;
|
||||
import com.onixbyte.ahsarahguide.client.TokenClient;
|
||||
import com.onixbyte.ahsarahguide.exeption.UnauthorisedException;
|
||||
import com.onixbyte.ahsarahguide.manager.CookieManager;
|
||||
import com.onixbyte.ahsarahguide.manager.UserManager;
|
||||
import com.onixbyte.ahsarahguide.manager.UserRoleManager;
|
||||
import com.onixbyte.ahsarahguide.security.authentication.UsernamePasswordAuthentication;
|
||||
import jakarta.servlet.FilterChain;
|
||||
import jakarta.servlet.ServletException;
|
||||
import jakarta.servlet.http.Cookie;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.filter;
|
||||
package com.onixbyte.ahsarahguide.filter;
|
||||
|
||||
import com.onixbyte.deltaforceguide.wrapper.RepeatedlyReadRequestWrapper;
|
||||
import com.onixbyte.ahsarahguide.wrapper.RepeatedlyReadRequestWrapper;
|
||||
import jakarta.servlet.*;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import org.springframework.stereotype.Component;
|
||||
+6
-6
@@ -1,11 +1,11 @@
|
||||
package com.onixbyte.deltaforceguide.interceptor;
|
||||
package com.onixbyte.ahsarahguide.interceptor;
|
||||
|
||||
import com.onixbyte.crypto.util.CryptoUtil;
|
||||
import com.onixbyte.deltaforceguide.exeption.InternalServerErrorException;
|
||||
import com.onixbyte.deltaforceguide.exeption.UnauthorisedException;
|
||||
import com.onixbyte.deltaforceguide.manager.WebhookManager;
|
||||
import com.onixbyte.deltaforceguide.shared.GitHubWebhookHeader;
|
||||
import com.onixbyte.deltaforceguide.wrapper.RepeatedlyReadRequestWrapper;
|
||||
import com.onixbyte.ahsarahguide.exeption.InternalServerErrorException;
|
||||
import com.onixbyte.ahsarahguide.exeption.UnauthorisedException;
|
||||
import com.onixbyte.ahsarahguide.manager.WebhookManager;
|
||||
import com.onixbyte.ahsarahguide.shared.GitHubWebhookHeader;
|
||||
import com.onixbyte.ahsarahguide.wrapper.RepeatedlyReadRequestWrapper;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.jspecify.annotations.NonNull;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.interceptor;
|
||||
package com.onixbyte.ahsarahguide.interceptor;
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.properties.AppProperties;
|
||||
import com.onixbyte.ahsarahguide.properties.AppProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.properties.CookieProperties;
|
||||
import com.onixbyte.ahsarahguide.properties.CookieProperties;
|
||||
import org.springframework.boot.web.server.Cookie;
|
||||
import org.springframework.http.ResponseCookie;
|
||||
import org.springframework.stereotype.Component;
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.DailyPasswordResponse;
|
||||
import com.onixbyte.deltaforceguide.exeption.InternalServerErrorException;
|
||||
import com.onixbyte.deltaforceguide.shared.JacksonModules;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.DailyPasswordResponse;
|
||||
import com.onixbyte.ahsarahguide.exeption.InternalServerErrorException;
|
||||
import com.onixbyte.ahsarahguide.shared.JacksonModules;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
|
||||
+12
-12
@@ -1,16 +1,16 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Accessory;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Firearm;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Modification;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Tuning;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.AccessoryRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ModificationRequest;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.ModificationResponse;
|
||||
import com.onixbyte.deltaforceguide.domain.dto.TuningRequest;
|
||||
import com.onixbyte.deltaforceguide.repository.FirearmRepository;
|
||||
import com.onixbyte.deltaforceguide.repository.ModificationRepository;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Accessory;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Firearm;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Modification;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Tuning;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.AccessoryRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ModificationRequest;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.ModificationResponse;
|
||||
import com.onixbyte.ahsarahguide.domain.dto.TuningRequest;
|
||||
import com.onixbyte.ahsarahguide.repository.FirearmRepository;
|
||||
import com.onixbyte.ahsarahguide.repository.ModificationRepository;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.springframework.data.jpa.domain.Specification;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.UserCredential;
|
||||
import com.onixbyte.deltaforceguide.repository.UserCredentialRepository;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.UserCredential;
|
||||
import com.onixbyte.ahsarahguide.repository.UserCredentialRepository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.UserRole;
|
||||
import com.onixbyte.deltaforceguide.repository.UserRepository;
|
||||
import com.onixbyte.deltaforceguide.repository.UserRoleRepository;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.UserRole;
|
||||
import com.onixbyte.ahsarahguide.repository.UserRepository;
|
||||
import com.onixbyte.ahsarahguide.repository.UserRoleRepository;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.UserRole;
|
||||
import com.onixbyte.deltaforceguide.repository.UserRoleRepository;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.UserRole;
|
||||
import com.onixbyte.ahsarahguide.repository.UserRoleRepository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.manager;
|
||||
package com.onixbyte.ahsarahguide.manager;
|
||||
|
||||
import com.onixbyte.deltaforceguide.properties.GitHubWebhookProperties;
|
||||
import com.onixbyte.ahsarahguide.properties.GitHubWebhookProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.properties;
|
||||
package com.onixbyte.ahsarahguide.properties;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.properties;
|
||||
package com.onixbyte.ahsarahguide.properties;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.bind.DefaultValue;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.properties;
|
||||
package com.onixbyte.ahsarahguide.properties;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.bind.DefaultValue;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.properties;
|
||||
package com.onixbyte.ahsarahguide.properties;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.properties;
|
||||
package com.onixbyte.ahsarahguide.properties;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.bind.DefaultValue;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.repository;
|
||||
package com.onixbyte.ahsarahguide.repository;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Firearm;
|
||||
import com.onixbyte.deltaforceguide.enumeration.FirearmType;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Firearm;
|
||||
import com.onixbyte.ahsarahguide.enumeration.FirearmType;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.repository;
|
||||
package com.onixbyte.ahsarahguide.repository;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.Modification;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.Modification;
|
||||
import org.jspecify.annotations.NonNull;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.onixbyte.deltaforceguide.repository;
|
||||
package com.onixbyte.ahsarahguide.repository;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.UserCredential;
|
||||
import com.onixbyte.deltaforceguide.domain.entity.UserCredentialId;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.UserCredential;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.UserCredentialId;
|
||||
import org.springframework.data.jpa.repository.*;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.repository;
|
||||
package com.onixbyte.ahsarahguide.repository;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import org.jspecify.annotations.NonNull;
|
||||
import org.springframework.data.jpa.repository.EntityGraph;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.repository;
|
||||
package com.onixbyte.ahsarahguide.repository;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.UserRole;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.UserRole;
|
||||
import org.springframework.data.jpa.repository.*;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.security.annotation;
|
||||
package com.onixbyte.ahsarahguide.security.annotation;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.security.annotation;
|
||||
package com.onixbyte.ahsarahguide.security.annotation;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.onixbyte.deltaforceguide.security.annotation;
|
||||
package com.onixbyte.ahsarahguide.security.annotation;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.onixbyte.deltaforceguide.security.authentication;
|
||||
package com.onixbyte.ahsarahguide.security.authentication;
|
||||
|
||||
import com.onixbyte.deltaforceguide.domain.entity.User;
|
||||
import com.onixbyte.ahsarahguide.domain.entity.User;
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.security.core.CredentialsContainer;
|
||||
import org.springframework.security.core.GrantedAuthority;
|
||||
Loaded 100 of 144 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user