Skip to content

update for deployment #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 66 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
4ad2335
work
thomaswoehlke Aug 28, 2022
6eb2f8c
work
thomaswoehlke Aug 30, 2022
0333d99
Bump jsoup from 1.14.2 to 1.15.3
dependabot[bot] Sep 1, 2022
42da054
work
thomaswoehlke Sep 4, 2022
8f883f9
work
thomaswoehlke Sep 4, 2022
5d441c7
work
thomaswoehlke Sep 4, 2022
84640a6
work
thomaswoehlke Sep 4, 2022
8f7b066
work
thomaswoehlke Sep 4, 2022
5eb9cb5
work
thomaswoehlke Sep 4, 2022
4349099
work
thomaswoehlke Sep 4, 2022
bf4b362
work
thomaswoehlke Sep 4, 2022
2eb0e2e
work
thomaswoehlke Sep 4, 2022
73b0e5f
work
thomaswoehlke Sep 4, 2022
7ccf900
work
thomaswoehlke Sep 4, 2022
8296eb2
work
thomaswoehlke Sep 4, 2022
daf4077
work
thomaswoehlke Sep 5, 2022
ef1518a
[maven-release-plugin] prepare release v2.3.66
thomaswoehlke Sep 5, 2022
07004ec
[maven-release-plugin] prepare for next development iteration
thomaswoehlke Sep 5, 2022
5c43b8f
work
thomaswoehlke Sep 5, 2022
6245efd
work
thomaswoehlke Sep 5, 2022
885cf16
work
thomaswoehlke Sep 5, 2022
83f6266
[maven-release-plugin] prepare release v2.3.67
thomaswoehlke Sep 5, 2022
50af74a
[maven-release-plugin] prepare for next development iteration
thomaswoehlke Sep 5, 2022
b5a6dbc
work
thomaswoehlke Sep 5, 2022
dd054f7
work
thomaswoehlke Sep 5, 2022
0c4676f
[maven-release-plugin] prepare release v2.3.68
thomaswoehlke Sep 5, 2022
b98d980
[maven-release-plugin] prepare for next development iteration
thomaswoehlke Sep 5, 2022
c1d5638
work
thomaswoehlke Sep 5, 2022
8a7a737
work
thomaswoehlke Sep 5, 2022
14a770e
Merge pull request #360 from Spring-Framework-Java-Apps/dependabot/ma…
thomaswoehlke Sep 6, 2022
29c6646
work
thomaswoehlke Sep 6, 2022
d86d7cb
work
thomaswoehlke Sep 7, 2022
5d451a1
work
thomaswoehlke Sep 7, 2022
4598092
work
thomaswoehlke Sep 7, 2022
ef360c1
work
thomaswoehlke Sep 7, 2022
7b88659
work
thomaswoehlke Sep 7, 2022
9b6e107
work
thomaswoehlke Sep 7, 2022
ce704e9
work
thomaswoehlke Sep 7, 2022
07062e5
work
thomaswoehlke Sep 7, 2022
2dee808
work
thomaswoehlke Sep 7, 2022
5954336
work
thomaswoehlke Sep 7, 2022
eb7b88f
work
thomaswoehlke Sep 7, 2022
6490008
work
thomaswoehlke Sep 7, 2022
07728cc
work
thomaswoehlke Sep 7, 2022
7e4fdea
work
thomaswoehlke Sep 7, 2022
3c7762f
work
thomaswoehlke Sep 7, 2022
fc5d355
work
thomaswoehlke Sep 7, 2022
c10ac2b
work
thomaswoehlke Sep 7, 2022
cc53bc7
work
thomaswoehlke Sep 7, 2022
a9e7431
work
thomaswoehlke Sep 7, 2022
69acd4a
work
thomaswoehlke Sep 7, 2022
9530e84
work
thomaswoehlke Sep 7, 2022
40989c5
work
thomaswoehlke Sep 7, 2022
76d20ae
work
thomaswoehlke Sep 7, 2022
82a339b
work
thomaswoehlke Sep 8, 2022
8a50960
work
thomaswoehlke Sep 8, 2022
b52283e
Merge pull request #363 from Spring-Framework-Java-Apps/RENAME_TABLES
thomaswoehlke Sep 8, 2022
8aab2a8
[maven-release-plugin] prepare release v2.3.69
thomaswoehlke Sep 8, 2022
f447064
[maven-release-plugin] prepare for next development iteration
thomaswoehlke Sep 8, 2022
69441e8
fixed #361, fixed #362
thomaswoehlke Sep 8, 2022
2611dda
work
thomaswoehlke Sep 8, 2022
68a4c1a
work
thomaswoehlke Sep 8, 2022
152e356
work
thomaswoehlke Sep 8, 2022
7ee8b6d
work
thomaswoehlke Sep 8, 2022
9448dd7
[maven-release-plugin] prepare release v2.3.70
thomaswoehlke Sep 8, 2022
e904875
[maven-release-plugin] prepare for next development iteration
thomaswoehlke Sep 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/dataSources.local.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

These versions of the project are currently being supported with security updates.

| Version | Supported |
| -------- | ------------------ |
| 2.3.x | :white_check_mark: |
| < 2.3.25 | :x: |
| Version | Supported |
|---------|-----------|
| 2.3.70 | #361 |
| 2.3.70 | #362 |

## Reporting a Vulnerability

Expand Down
73 changes: 2 additions & 71 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.woehlke</groupId>
<artifactId>simpleworklist</artifactId>
<version>2.3.66-SNAPSHOT</version>
<version>2.3.71-SNAPSHOT</version>
<packaging>jar</packaging>

<parent>
Expand Down Expand Up @@ -80,7 +80,6 @@
<version.thymeleaf-testing>3.1.0.M2</version.thymeleaf-testing>
<version.thymeleaf-spring-data-dialect>3.5.0</version.thymeleaf-spring-data-dialect>


<!-- Webjars -->
<webjars.jquery.version>3.6.0</webjars.jquery.version>
<webjars.popper.js.version>2.9.3</webjars.popper.js.version>
Expand All @@ -94,7 +93,7 @@
<htmlunit.version>2.63.0</htmlunit.version>
<groovy-all.version>2.4.21</groovy-all.version>
<hamcrest.version>2.2</hamcrest.version>
<jsoup.version>1.14.2</jsoup.version>
<jsoup.version>1.15.3</jsoup.version>
<pmdVersion>6.46.0</pmdVersion>

<!-- SCM and Releasing -->
Expand All @@ -109,8 +108,6 @@
<docker-compose-maven-plugin.detachedMode>true</docker-compose-maven-plugin.detachedMode>

<!-- Maven Plugins -->


<maven-release-plugin.version>3.0.0-M6</maven-release-plugin.version>

<!-- Maven Reports for Site -->
Expand All @@ -129,11 +126,6 @@
</properties>

<repositories>
<repository>
<id>jcenter</id>
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
</repository>
<repository>
<id>central</id>
<name>Central</name>
Expand All @@ -144,23 +136,6 @@
<name>Sonatype Repository</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>
<!--
<repository>
<id>springio-plugins-release</id>
<name>Spring Plugins Repository</name>
<url>https://repo.spring.io/plugins-release/</url>
</repository>
<repository>
<id>springio-libs-release</id>
<name>Spring Lib Release Repository</name>
<url>https://repo.spring.io/libs-release/</url>
</repository>
<repository>
<id>spring-libs-milestone</id>
<name>Spring Lib M Repository</name>
<url>https://repo.spring.io/libs-milestone/</url>
</repository>
-->
<repository>
<id>apache-releases</id>
<name>Apache Releases</name>
Expand All @@ -186,13 +161,6 @@
<name>WSO2 Public Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/public/</url>
</repository>
<!--
<repository>
<id>hortonworks-releases</id>
<name>Hortonworks Repository</name>
<url>https://repo.hortonworks.com/content/repositories/releases/</url>
</repository>
-->
<repository>
<id>adobe-public</id>
<name>AdobePublic Repository</name>
Expand All @@ -205,11 +173,6 @@
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jcenter</id>
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
</pluginRepository>
<pluginRepository>
<id>central</id>
<name>Central</name>
Expand All @@ -220,31 +183,6 @@
<name>Sonatype Repository</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</pluginRepository>
<!--
<pluginRepository>
<id>springio-plugins-release</id>
<name>Spring Plugins Repository</name>
<url>https://repo.spring.io/plugins-release/</url>
</pluginRepository>
<pluginRepository>
<id>springio-libs-release</id>
<name>Spring Lib Release Repository</name>
<url>https://repo.spring.io/libs-release/</url>
</pluginRepository>
<pluginRepository>
<id>spring-libs-milestone</id>
<name>Spring Lib M Repository</name>
<url>https://repo.spring.io/libs-milestone/</url>
</pluginRepository>
<pluginRepository>
<id>spring-snapshots</id>
<url>https://repo.spring.io/snapshot/</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone/</url>
</pluginRepository>
-->
<pluginRepository>
<id>apache-releases</id>
<name>Apache Releases</name>
Expand All @@ -270,13 +208,6 @@
<name>WSO2 Public Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/public/</url>
</pluginRepository>
<!--
<pluginRepository>
<id>hortonworks-releases</id>
<name>Hortonworks Repository</name>
<url>https://repo.hortonworks.com/content/repositories/releases/</url>
</pluginRepository>
-->
<pluginRepository>
<id>adobe-public</id>
<name>AdobePublic Repository</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
value = {"rowCreatedAt", "rowUpdatedAt"},
allowGetters = true
)
//@ToString
@Getter
@Setter
//@EqualsAndHashCode(callSuper=false)
public class AuditModel extends Object implements Serializable {

private static final long serialVersionUID = 4399373914714726911L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;
import org.woehlke.java.simpleworklist.domain.search.SearchService;
import org.woehlke.java.simpleworklist.domain.db.search.service.SearchService;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextStartedEvent;
import org.springframework.stereotype.Component;
import org.woehlke.java.simpleworklist.domain.search.SearchService;
import org.woehlke.java.simpleworklist.domain.db.search.service.SearchService;

import org.springframework.beans.factory.annotation.Autowired;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Component
Expand Down Expand Up @@ -126,14 +125,6 @@ public static class WebSecurity {
@NotNull
private Integer strengthBCryptPasswordEncoder;

/*
@NotNull
private Integer hashWidth;

@NotBlank
private String secret;
*/

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
import org.thymeleaf.dialect.springdata.SpringDataDialect;

import javax.validation.constraints.NotNull;
import java.util.Locale;
import java.util.Properties;

Expand Down Expand Up @@ -102,16 +103,16 @@ public MethodValidationPostProcessor methodValidationPostProcessor() {
return new MethodValidationPostProcessor();
}

public void addInterceptors(InterceptorRegistry registry) {
public void addInterceptors(@NotNull InterceptorRegistry registry) {
registry.addInterceptor(localeChangeInterceptor());
}

public void addViewControllers(ViewControllerRegistry registry) {
public void addViewControllers(@NotNull ViewControllerRegistry registry) {
registry.addViewController("/").setViewName("redirect:/taskstate/inbox");
registry.addViewController("/home").setViewName("redirect:/taskstate/inbox");
}

public void addResourceHandlers(ResourceHandlerRegistry registry) {
public void addResourceHandlers(@NotNull ResourceHandlerRegistry registry) {
for(String h : simpleworklistProperties.getWebMvc().getStaticResourceHandler()){
String location = "classpath:/static"+h+"/";
registry.addResourceHandler(h+"/*").addResourceLocations(location);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.woehlke.java.simpleworklist.domain.user.access.ApplicationUserDetailsService;
import org.woehlke.java.simpleworklist.domain.security.access.ApplicationUserDetailsService;


@Configuration
Expand Down Expand Up @@ -54,16 +54,6 @@ public WebSecurityConfig(
this.simpleworklistProperties = simpleworklistProperties;
}

/*
@Override
public void init(WebSecurity builder) throws Exception {

}
@Override
public void configure(WebSecurity builder) throws Exception {
}
*/

@Override
protected void configure(HttpSecurity http) throws Exception {
http
Expand Down Expand Up @@ -102,21 +92,13 @@ public UserDetailsService userDetailsService(){
}

/**
* https://bcrypt-generator.com/
* @see <a href="https://bcrypt-generator.com/">bcrypt-generator.com</a>
* @return PasswordEncoder encoder
*/
@Bean
public PasswordEncoder encoder(){
int strength = simpleworklistProperties.getWebSecurity().getStrengthBCryptPasswordEncoder();
return new BCryptPasswordEncoder(strength);
/*
CharSequence secret=this.simpleworklistProperties.getWebSecurity().getSecret();
int iterations=this.simpleworklistProperties.getWebSecurity().getIterations();
int hashWidth=this.simpleworklistProperties.getWebSecurity().getHashWidth();
Pbkdf2PasswordEncoder encoder = (new Pbkdf2PasswordEncoder(secret,iterations,hashWidth));
encoder.setEncodeHashAsBase64(true);
return encoder;
*/
}

@Bean
Expand Down
Loading