mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Обновлен фронтенд
This commit is contained in:
parent
dd0dd9aa62
commit
ee7cc00914
2
frontend
2
frontend
@ -1 +1 @@
|
|||||||
Subproject commit a8e75766a1c35171fc1c0c7d3a8f16eed5c5ae6c
|
Subproject commit c3f8cb009107e95905f121ae9907fd691b27acd6
|
||||||
@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.event.EventListener;
|
import org.springframework.context.event.EventListener;
|
||||||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
import org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent;
|
import org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent;
|
||||||
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
|
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
|
||||||
@ -34,6 +35,7 @@ import java.net.UnknownHostException;
|
|||||||
@EnableWebSecurity
|
@EnableWebSecurity
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@EnableWebSocket
|
@EnableWebSocket
|
||||||
|
@EnableAsync
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class ApplicationConfiguration extends WebSecurityConfigurerAdapter implements WebSocketConfigurer {
|
public class ApplicationConfiguration extends WebSecurityConfigurerAdapter implements WebSocketConfigurer {
|
||||||
|
|
||||||
|
|||||||
@ -125,6 +125,7 @@ public class StreamService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Async
|
@Async
|
||||||
|
@Transactional
|
||||||
public void processLookbackPattern(Pattern pattern, long start, long end) {
|
public void processLookbackPattern(Pattern pattern, long start, long end) {
|
||||||
List<Stream> streams = findAllBetweenTimestamps(start, end);
|
List<Stream> streams = findAllBetweenTimestamps(start, end);
|
||||||
|
|
||||||
@ -237,7 +238,6 @@ public class StreamService {
|
|||||||
return repository.findById(id);
|
return repository.findById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("UnusedReturnValue")
|
|
||||||
@Transactional
|
@Transactional
|
||||||
public void setFavorite(long id, boolean favorite) {
|
public void setFavorite(long id, boolean favorite) {
|
||||||
repository.setFavorite(id, favorite);
|
repository.setFavorite(id, favorite);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user