Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SIGPUBLIC
unantes-orientation-active
Commits
334b62ca
Commit
334b62ca
authored
Apr 12, 2021
by
Julien BOUYER
Browse files
Merge branch 'feature/front_backoffice' into 'develop'
Feature/front backoffice See merge request
!51
parents
4f5e49ec
b9ef2355
Changes
126
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/unantes/orientactive/OrientactiveApp.java
View file @
334b62ca
...
...
@@ -21,7 +21,6 @@ import tech.jhipster.config.JHipsterConstants;
@SpringBootApplication
@EnableConfigurationProperties
({
LiquibaseProperties
.
class
,
ApplicationProperties
.
class
})
public
class
OrientactiveApp
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
OrientactiveApp
.
class
);
private
final
Environment
env
;
...
...
src/main/java/com/unantes/orientactive/aop/logging/LoggingAspect.java
View file @
334b62ca
...
...
@@ -20,7 +20,6 @@ import tech.jhipster.config.JHipsterConstants;
*/
@Aspect
public
class
LoggingAspect
{
private
final
Environment
env
;
public
LoggingAspect
(
Environment
env
)
{
...
...
src/main/java/com/unantes/orientactive/config/ApplicationProperties.java
View file @
334b62ca
...
...
@@ -11,7 +11,6 @@ import org.springframework.core.io.Resource;
*/
@ConfigurationProperties
(
prefix
=
"application"
,
ignoreUnknownFields
=
false
)
public
class
ApplicationProperties
{
/**
* Fichier de base de données GeoIP.
*/
...
...
src/main/java/com/unantes/orientactive/config/AsyncConfiguration.java
View file @
334b62ca
...
...
@@ -18,7 +18,6 @@ import tech.jhipster.async.ExceptionHandlingAsyncTaskExecutor;
@EnableAsync
@EnableScheduling
public
class
AsyncConfiguration
implements
AsyncConfigurer
{
private
final
Logger
log
=
LoggerFactory
.
getLogger
(
AsyncConfiguration
.
class
);
private
final
TaskExecutionProperties
taskExecutionProperties
;
...
...
src/main/java/com/unantes/orientactive/config/CacheConfiguration.java
View file @
334b62ca
...
...
@@ -18,7 +18,6 @@ import tech.jhipster.config.cache.PrefixedKeyGenerator;
@Configuration
@EnableCaching
public
class
CacheConfiguration
{
private
GitProperties
gitProperties
;
private
BuildProperties
buildProperties
;
private
final
javax
.
cache
.
configuration
.
Configuration
<
Object
,
Object
>
jcacheConfiguration
;
...
...
src/main/java/com/unantes/orientactive/config/Constants.java
View file @
334b62ca
...
...
@@ -9,7 +9,10 @@ public final class Constants {
public
static
final
String
LOGIN_REGEX
=
"^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$"
;
public
static
final
String
SYSTEM
=
"system"
;
public
static
final
String
DEFAULT_LANGUAGE
=
"fr"
;
public
static
final
String
ANONYMOUS_USER
=
"anonymoususer"
;
private
Constants
()
{}
}
src/main/java/com/unantes/orientactive/config/LiquibaseConfiguration.java
View file @
334b62ca
...
...
@@ -19,7 +19,6 @@ import tech.jhipster.config.liquibase.SpringLiquibaseUtil;
@Configuration
public
class
LiquibaseConfiguration
{
private
final
Logger
log
=
LoggerFactory
.
getLogger
(
LiquibaseConfiguration
.
class
);
private
final
Environment
env
;
...
...
src/main/java/com/unantes/orientactive/config/LoggingConfiguration.java
View file @
334b62ca
...
...
@@ -23,7 +23,8 @@ public class LoggingConfiguration {
@Value
(
"${server.port}"
)
String
serverPort
,
JHipsterProperties
jHipsterProperties
,
ObjectMapper
mapper
)
throws
JsonProcessingException
{
)
throws
JsonProcessingException
{
LoggerContext
context
=
(
LoggerContext
)
LoggerFactory
.
getILoggerFactory
();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
...
...
src/main/java/com/unantes/orientactive/config/SecurityConfiguration.java
View file @
334b62ca
...
...
@@ -22,7 +22,6 @@ import org.zalando.problem.spring.web.advice.security.SecurityProblemSupport;
@EnableGlobalMethodSecurity
(
prePostEnabled
=
true
,
securedEnabled
=
true
)
@Import
(
SecurityProblemSupport
.
class
)
public
class
SecurityConfiguration
extends
WebSecurityConfigurerAdapter
{
private
final
TokenProvider
tokenProvider
;
private
final
CorsFilter
corsFilter
;
...
...
src/main/java/com/unantes/orientactive/config/StaticResourcesWebConfiguration.java
View file @
334b62ca
...
...
@@ -13,7 +13,6 @@ import tech.jhipster.config.JHipsterProperties;
@Configuration
@Profile
({
JHipsterConstants
.
SPRING_PROFILE_PRODUCTION
})
public
class
StaticResourcesWebConfiguration
implements
WebMvcConfigurer
{
protected
static
final
String
[]
RESOURCE_LOCATIONS
=
new
String
[]
{
"classpath:/static/app/"
,
"classpath:/static/content/"
,
...
...
src/main/java/com/unantes/orientactive/config/WebConfigurer.java
View file @
334b62ca
...
...
@@ -29,7 +29,6 @@ import tech.jhipster.config.JHipsterProperties;
*/
@Configuration
public
class
WebConfigurer
implements
ServletContextInitializer
,
WebServerFactoryCustomizer
<
WebServerFactory
>
{
private
final
Logger
log
=
LoggerFactory
.
getLogger
(
WebConfigurer
.
class
);
private
final
Environment
env
;
...
...
src/main/java/com/unantes/orientactive/domain/AbstractAuditingEntity.java
View file @
334b62ca
...
...
@@ -19,7 +19,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
@MappedSuperclass
@EntityListeners
(
AuditingEntityListener
.
class
)
public
abstract
class
AbstractAuditingEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@CreatedBy
...
...
src/main/java/com/unantes/orientactive/domain/Answer.java
View file @
334b62ca
...
...
@@ -31,7 +31,6 @@ import org.hibernate.annotations.Type;
@Table
(
name
=
"answer"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
READ_WRITE
)
public
class
Answer
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
src/main/java/com/unantes/orientactive/domain/Authority.java
View file @
334b62ca
...
...
@@ -18,7 +18,6 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@Table
(
name
=
"jhi_authority"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
NONSTRICT_READ_WRITE
)
public
class
Authority
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@NotNull
...
...
src/main/java/com/unantes/orientactive/domain/Form.java
View file @
334b62ca
...
...
@@ -19,7 +19,6 @@ import org.hibernate.annotations.Type;
@Table
(
name
=
"form"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
READ_WRITE
)
public
class
Form
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
src/main/java/com/unantes/orientactive/domain/Screen.java
View file @
334b62ca
...
...
@@ -18,7 +18,6 @@ import org.hibernate.annotations.Type;
@Table
(
name
=
"screen"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
READ_WRITE
)
public
class
Screen
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
src/main/java/com/unantes/orientactive/domain/User.java
View file @
334b62ca
...
...
@@ -24,7 +24,6 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@Table
(
name
=
"jhi_user"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
NONSTRICT_READ_WRITE
)
public
class
User
extends
AbstractAuditingEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
src/main/java/com/unantes/orientactive/domain/UserAction.java
View file @
334b62ca
...
...
@@ -16,7 +16,6 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@Table
(
name
=
"user_action"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
READ_WRITE
)
public
class
UserAction
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
src/main/java/com/unantes/orientactive/domain/Variable.java
View file @
334b62ca
...
...
@@ -17,7 +17,6 @@ import org.hibernate.annotations.Type;
@Table
(
name
=
"variable"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
READ_WRITE
)
public
class
Variable
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
src/main/java/com/unantes/orientactive/domain/Workspace.java
View file @
334b62ca
...
...
@@ -17,7 +17,6 @@ import org.hibernate.annotations.Type;
@Table
(
name
=
"workspace"
)
@Cache
(
usage
=
CacheConcurrencyStrategy
.
READ_WRITE
)
public
class
Workspace
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment