Skip to content

Commit

Permalink
Merge pull request #1 from compgeniuses/perm
Browse files Browse the repository at this point in the history
Perm
  • Loading branch information
compgeniuses authored Jan 19, 2024
2 parents 2ed3d2c + fb05026 commit 21b4adc
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 45 deletions.
51 changes: 23 additions & 28 deletions imageroot/actions/configure-module/validate-input.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "configure-module input",
"$id": "http://schema.nethserver.org/sogo/configure-module-input.json",
"description": "Configure paperless",
"title": "Get kickstart settings",
"$id": "http://nethserver.org/json-schema/task/input/kickstart/get-configuration",
"description": "Get kickstart settings",
"examples": [
{

"host": "b8n.host.com",
"PHP_ENABLE_OPCACHE": "mysql",
"PHP_MEMORY_LIMIT": "mysql"
"host": "kickstart.domain.org",
"http2https": true,
"lets_encrypt": true
}
],
"type": "object",
"required": [
"host",
"http2https",
"lets_encrypt"
],
"properties": {
"host": {
"type": "string"
},
"POSTGRES_DB": {
"type": "string"
"type": "string",
"description": "Host name for the application, like 'kickstart.domain.org'",
"format": "idn-hostname"
},
"POSTGRES_USER": {
"type": "string"
"lets_encrypt": {
"type": "boolean",
"title": "Let's Encrypt certificate",
"description": "Request a valid Let's Encrypt certificate."
},
"POSTGRES_PASSWORD": {
"type": "string"
},
"PHP_ENABLE_OPCACHE": {
"type": "boolean"
},
"PHP_MEMORY_LIMIT": {
"type": "string"
"http2https": {
"type": "boolean",
"title": "HTTP to HTTPS redirection",
"description": "Redirect all the HTTP requests to HTTPS"
}


},
"required": [
"host"

]
}
}
40 changes: 23 additions & 17 deletions imageroot/actions/get-configuration/validate-output.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "configure-module input",
"$id": "http://schema.nethserver.org/sogo/configure-module-input.json",
"description": "Configure paperless",
"title": "Get kickstart settings",
"$id": "http://nethserver.org/json-schema/task/input/kickstart/get-configuration",
"description": "Get kickstart settings",
"examples": [
{
"host": "host.n8n.tld",
"PHP_ENABLE_OPCACHE": "mysql",
"PHP_MEMORY_LIMIT": "mysql"
"host": "kickstart.domain.org",
"http2https": true,
"lets_encrypt": true
}
],
"type": "object",
"required": [
"host",
"http2https",
"lets_encrypt"
],
"properties": {
"host": {
"type": "string"
"type": "string",
"description": "Host name for the application, like 'kickstart.domain.org'",
"format": "idn-hostname"
},
"PHP_ENABLE_OPCACHE": {
"type": "boolean"
"lets_encrypt": {
"type": "boolean",
"title": "Let's Encrypt certificate",
"description": "Request a valid Let's Encrypt certificate."
},
"PHP_MEMORY_LIMIT": {
"type": "string"
"http2https": {
"type": "boolean",
"title": "HTTP to HTTPS redirection",
"description": "Redirect all the HTTP requests to HTTPS"
}


},
"required": [
"host"
]
}
}
Binary file modified ui/src/assets/module_default_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 21b4adc

Please sign in to comment.