#2 Folder sharing
This commit is contained in:
@@ -2,10 +2,21 @@ package de.nbscloud.webcontainer;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||
import org.springframework.security.config.http.SessionCreationPolicy;
|
||||
import org.springframework.security.web.SecurityFilterChain;
|
||||
|
||||
@SpringBootApplication
|
||||
public class Application {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
|
||||
http.sessionManagement()
|
||||
.sessionCreationPolicy(SessionCreationPolicy.ALWAYS);
|
||||
return http.build();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
v19:
|
||||
- #22 Fix a bug with password protected shares
|
||||
- Add Apache httpd config example
|
||||
- #2 Add folder sharing
|
||||
|
||||
v18:
|
||||
- #22 Password protected shares
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<div id="header-container" th:fragment="header">
|
||||
<div th:each="app : ${apps}" class="menu-entry">
|
||||
<a th:href="@{/} + ${app.startPath}" th:text="${app.id}"/>
|
||||
<div th:if="${restricted == null || restricted == false}">
|
||||
<div th:each="app : ${apps}" class="menu-entry">
|
||||
<a th:href="@{/} + ${app.startPath}" th:text="${app.id}"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user