chore(projectsend): some UI fixes (#3103)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
name: projectsend
|
name: projectsend
|
||||||
version: 3.0.9
|
version: 3.0.10
|
||||||
appVersion: "2021.12.10"
|
appVersion: "2021.12.10"
|
||||||
description: Projectsend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself.
|
description: Projectsend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself.
|
||||||
type: application
|
type: application
|
||||||
|
|||||||
@@ -85,11 +85,18 @@ questions:
|
|||||||
attrs:
|
attrs:
|
||||||
- variable: MAX_UPLOAD
|
- variable: MAX_UPLOAD
|
||||||
label: "MAX_UPLOAD"
|
label: "MAX_UPLOAD"
|
||||||
description: "MAX_UPLOAD"
|
description: "Maximum size (in mb.) that is allowed on each file to be uploaded."
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
default: 5000
|
default: 5000
|
||||||
|
- variable: PHP_MAX_FILE_UPLOAD
|
||||||
|
label: "PHP_MAX_FILE_UPLOAD"
|
||||||
|
description: "The maximum number of files allowed to be uploaded simultaneously. "
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
required: true
|
||||||
|
default: 200
|
||||||
- variable: PHP_MEMORY_LIMIT
|
- variable: PHP_MEMORY_LIMIT
|
||||||
label: "PHP_MEMORY_LIMIT"
|
label: "PHP_MEMORY_LIMIT"
|
||||||
description: "PHP_MEMORY_LIMIT"
|
description: "PHP_MEMORY_LIMIT"
|
||||||
@@ -97,13 +104,6 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
default: "512M"
|
default: "512M"
|
||||||
- variable: PHP_MAX_FILE_UPLOAD
|
|
||||||
label: "PHP_MAX_FILE_UPLOAD"
|
|
||||||
description: "PHP_MAX_FILE_UPLOAD"
|
|
||||||
schema:
|
|
||||||
type: int
|
|
||||||
required: true
|
|
||||||
default: 200
|
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
|
|
||||||
- variable: service
|
- variable: service
|
||||||
@@ -209,6 +209,15 @@ questions:
|
|||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
# Include{persistenceBasic}
|
# Include{persistenceBasic}
|
||||||
|
# Include{persistenceAdvanced}
|
||||||
|
- variable: data
|
||||||
|
label: "App Data Storage"
|
||||||
|
description: "Stores the Application Data."
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
# Include{persistenceBasic}
|
||||||
# Include{persistenceAdvanced}
|
# Include{persistenceAdvanced}
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ mariadb:
|
|||||||
mariadbDatabase: projectsend
|
mariadbDatabase: projectsend
|
||||||
existingSecret: "mariadbcreds"
|
existingSecret: "mariadbcreds"
|
||||||
|
|
||||||
|
|
||||||
installContainers:
|
installContainers:
|
||||||
initconfig:
|
initconfig:
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
@@ -63,25 +62,25 @@ installContainers:
|
|||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args:
|
args:
|
||||||
- >
|
- |-
|
||||||
export configFile="/config/projectsend/sys.config.php";
|
export configFile="/config/projectsend/sys.config.php";
|
||||||
if [ ! -f $configFile ];
|
if [ ! -f $configFile ];
|
||||||
then
|
then
|
||||||
echo "Creating initial config file...";
|
echo "Creating initial config file...";
|
||||||
mkdir -p /config/projectsend
|
mkdir -p /config/projectsend;
|
||||||
touch $configFile;
|
touch $configFile;
|
||||||
echo "<?php" >> $configFile
|
echo "<?php" >> $configFile;
|
||||||
echo "# This is generated on initial setup of this TrueCharts App" >> $configFile;
|
echo "# This is generated on initial setup of this TrueCharts App" >> $configFile;
|
||||||
echo "# Do not change below values, or DB connection will fail." >> $configFile
|
echo "# Do not change below values, or DB connection will fail." >> $configFile;
|
||||||
echo "define('DB_DRIVER', 'mysql');" >> $configFile;
|
echo "define('DB_DRIVER', 'mysql');" >> $configFile;
|
||||||
echo "define('DB_NAME', '$DBNAME');" >> $configFile;
|
echo "define('DB_NAME', '$DBNAME');" >> $configFile;
|
||||||
echo "define('DB_HOST', '$DBHOST');" >> $configFile;
|
echo "define('DB_HOST', '$DBHOST');" >> $configFile;
|
||||||
echo "define('DB_USER', '$DBUSER');" >> $configFile;
|
echo "define('DB_USER', '$DBUSER');" >> $configFile;
|
||||||
echo "define('DB_PASSWORD', '$DBPASS');" >> $configFile;
|
echo "define('DB_PASSWORD', '$DBPASS');" >> $configFile;
|
||||||
|
echo "define('MAX_FILESIZE', $MAX_UPLOAD);" >> $configFile;
|
||||||
echo "define('TABLES_PREFIX', 'tbl_');" >> $configFile;
|
echo "define('TABLES_PREFIX', 'tbl_');" >> $configFile;
|
||||||
echo "# You can manually change below values if you like." >> $configFile
|
echo "# You can manually change below values if you like." >> $configFile;
|
||||||
echo "define('SITE_LANG', 'en');" >> $configFile;
|
echo "define('SITE_LANG', 'en');" >> $configFile;
|
||||||
echo "define('MAX_FILESIZE',2048);" >> $configFile;
|
|
||||||
echo "define('EMAIL_ENCODING', 'utf-8');" >> $configFile;
|
echo "define('EMAIL_ENCODING', 'utf-8');" >> $configFile;
|
||||||
echo "define('DEBUG', false);" >> $configFile;
|
echo "define('DEBUG', false);" >> $configFile;
|
||||||
echo "# End of generated config values." >> $configFile;
|
echo "# End of generated config values." >> $configFile;
|
||||||
|
|||||||
Reference in New Issue
Block a user