1
0

Basic implementation for files app

This commit is contained in:
2022-05-06 23:01:23 +02:00
parent 4e12f4805e
commit 7d6c6c6321
54 changed files with 2381 additions and 94 deletions

View File

@@ -1,14 +0,0 @@
### This is the main configuration file of the application.
### Filtering of the @...@ values happens via the maven-resource-plugin. The execution of the plugin is configured in
### the Spring Boot parent POM.// The same property exists on the server, look there for documentation
spring.profiles.active=@activeProfiles@
info.app.name=NoBullShit Cloud - Files app
info.app.description=A simple web file admin app
info.build.group=@project.groupId@
info.build.artifact=@project.artifactId@
info.build.version=@project.version@
nbs-cloud.files.baseDir=/home/marius
spring.flyway.enabled=false

View File

@@ -0,0 +1,29 @@
spring.profiles.active=@activeProfiles@
info.app.name=NoBullShit Cloud - Files app
info.app.description=A simple web file admin app
# Knob to configure the base dir where files stores and reads files
# Make sure the permissions match
#nbs-cloud.files.baseDir=/home/marius/nbstest
nbs-cloud.files.baseDir=/home/marius
# Knob to configure whether hidden files (e.g. starting with '.' on *NIX)
# will be filtered in the file view
# Possible values: true|false
nbs-cloud.files.filterHidden=true
# Knob to configure whether a trash bin should be used
# or the files should be hard deleted
# Possible values: true|false
nbs-cloud.files.useTrashBin=true
# Knob to configure the name of the trash bin directory
nbs-cloud.files.trashBinName=nbs.internal/nbs.trashbin
# Knob to configure the amount of character after which the filename
# will be truncated
nbs-cloud.files.truncateFileNameChars=130
# Knob to configure the name of the shares directory
nbs-cloud.files.sharesName=nbs.internal/nbs.shares