This commit is contained in:
50
.vscode/launch.json
vendored
50
.vscode/launch.json
vendored
@@ -4,7 +4,6 @@
|
|||||||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
|
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": ".NET Core Launch (web)",
|
"name": ".NET Core Launch (web)",
|
||||||
"type": "coreclr",
|
"type": "coreclr",
|
||||||
@@ -38,29 +37,30 @@
|
|||||||
// "command": "xdg-open"
|
// "command": "xdg-open"
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
"env": {
|
"env": {
|
||||||
// "ASPNETCORE_ENVIRONMENT": "Development",
|
// "ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
// "AYANOVA_JWT_SECRET": "UNLICENSED5G*QQJ8#bQ7$Xr_@sXfHq4",
|
// "AYANOVA_JWT_SECRET": "UNLICENSED5G*QQJ8#bQ7$Xr_@sXfHq4",
|
||||||
// //"AYANOVA_SET_SUPERUSER_PW": "l3tm3in",
|
// //"AYANOVA_SET_SUPERUSER_PW": "l3tm3in",
|
||||||
// "AYANOVA_LOG_LEVEL": "Info",
|
// "AYANOVA_LOG_LEVEL": "Info",
|
||||||
// //"AYANOVA_LOG_LEVEL": "Debug",
|
// //"AYANOVA_LOG_LEVEL": "Debug",
|
||||||
// // "AYANOVA_LOG_LEVEL": "Trace",
|
// // "AYANOVA_LOG_LEVEL": "Trace",
|
||||||
// "AYANOVA_DEFAULT_TRANSLATION": "en",
|
// "AYANOVA_DEFAULT_TRANSLATION": "en",
|
||||||
// //"AYANOVA_PERMANENTLY_ERASE_DATABASE": "true",
|
// //"AYANOVA_PERMANENTLY_ERASE_DATABASE": "true",
|
||||||
"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;",
|
"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;",
|
||||||
// //"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=abraxis;Database=AyaNova;CommandTimeout=120;",
|
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
|
||||||
// "AYANOVA_USE_URLS": "http://*:7575;",
|
// //"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=abraxis;Database=AyaNova;CommandTimeout=120;",
|
||||||
// //"AYANOVA_REPORT_RENDERING_TIMEOUT": "20000",
|
// "AYANOVA_USE_URLS": "http://*:7575;",
|
||||||
// //"AYANOVA_REPORT_RENDERING_MAX_INSTANCES": "3",
|
// //"AYANOVA_REPORT_RENDERING_TIMEOUT": "20000",
|
||||||
//"AYANOVA_ATTACHMENT_FILES_PATH": "c:\\temp\\RavenTestData\\userfiles",
|
// //"AYANOVA_REPORT_RENDERING_MAX_INSTANCES": "3",
|
||||||
"AYANOVA_ATTACHMENT_FILES_PATH":"%ProgramData%\\ayanova\\userfiles",
|
//"AYANOVA_ATTACHMENT_FILES_PATH": "c:\\temp\\RavenTestData\\userfiles",
|
||||||
"AYANOVA_BACKUP_FILES_PATH": "c:\\temp\\RavenTestData\\backupfiles",
|
// "AYANOVA_ATTACHMENT_FILES_PATH":"%ProgramData%\\ayanova\\userfiles",
|
||||||
"AYANOVA_TEMP_FILES_PATH": "c:\\temp\\RavenTestData\\tempfiles",
|
// "AYANOVA_BACKUP_FILES_PATH": "c:\\temp\\RavenTestData\\backupfiles",
|
||||||
// "AYANOVA_SERVER_TEST_MODE": "false",
|
// "AYANOVA_TEMP_FILES_PATH": "c:\\temp\\RavenTestData\\tempfiles",
|
||||||
// "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
// "AYANOVA_SERVER_TEST_MODE": "false",
|
||||||
// "AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-8",
|
// "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||||
// "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"
|
// "AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-8",
|
||||||
},
|
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"
|
||||||
|
},
|
||||||
"sourceFileMap": {
|
"sourceFileMap": {
|
||||||
"/Views": "${workspaceFolder}/Views"
|
"/Views": "${workspaceFolder}/Views"
|
||||||
}
|
}
|
||||||
@@ -72,4 +72,4 @@
|
|||||||
"processId": "${command:pickProcess}"
|
"processId": "${command:pickProcess}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -15,7 +15,7 @@ AyaNova expects the backup files folder path to be provided by an environment va
|
|||||||
`AYANOVA_BACKUP_FILES_PATH`
|
`AYANOVA_BACKUP_FILES_PATH`
|
||||||
|
|
||||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||||
`c:\data\ayanova\backupfiles`
|
`c:\ProgramData\ayanova\backupfiles`
|
||||||
|
|
||||||
Example command line parameter
|
Example command line parameter
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ Example environment variable
|
|||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
`set "AYANOVA_BACKUP_FILES_PATH=c:\data\ayanova\backupfiles"`
|
`set "AYANOVA_BACKUP_FILES_PATH=c:\ProgramData\ayanova\backupfiles"`
|
||||||
|
|
||||||
Linux / MAC
|
Linux / MAC
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ AyaNova expects the temporary files folder path to be provided by an environment
|
|||||||
`AYANOVA_TEMP_FILES_PATH`
|
`AYANOVA_TEMP_FILES_PATH`
|
||||||
|
|
||||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||||
`c:\data\ayanova\tempfiles`
|
`c:\ProgramData\ayanova\tempfiles`
|
||||||
|
|
||||||
Example command line parameter
|
Example command line parameter
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ Example environment variable
|
|||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
`set "AYANOVA_TEMP_FILES_PATH=c:\data\ayanova\tempfiles"`
|
`set "AYANOVA_TEMP_FILES_PATH=c:\ProgramData\ayanova\tempfiles"`
|
||||||
|
|
||||||
Linux / MAC
|
Linux / MAC
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# USER FILES FOLDER SETTING
|
# ATTACHMENTS FOLDER SETTING
|
||||||
|
|
||||||
This setting controls where AyaNova stores user uploaded files used by features that allow file attachment or uploads.
|
This setting controls where AyaNova stores user uploaded files used by features that allow file attachment or uploads.
|
||||||
AyaNova stores these files with random names in the folder specified.
|
AyaNova stores these files with random names in the folder specified.
|
||||||
@@ -7,7 +7,7 @@ Warning: this folder MUST NOT be the same location set for [AYANOVA_BACKUP_FILES
|
|||||||
|
|
||||||
## Default
|
## Default
|
||||||
|
|
||||||
If no override is specified AyaNova will store user files in a `userfiles` folder in the location specified by [AYANOVA_DATA_PATH](ops-config-data-path.md) setting.
|
If no override is specified AyaNova will store user files in a `attachments` folder in the location specified by [AYANOVA_DATA_PATH](ops-config-data-path.md) setting.
|
||||||
|
|
||||||
## Overriding
|
## Overriding
|
||||||
|
|
||||||
@@ -16,20 +16,20 @@ AyaNova expects the user files folder path to be provided by an environment vari
|
|||||||
`AYANOVA_ATTACHMENT_FILES_PATH`
|
`AYANOVA_ATTACHMENT_FILES_PATH`
|
||||||
|
|
||||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||||
`c:\data\ayanova\userfiles`
|
`c:\ProgramData\ayanova\attachments`
|
||||||
|
|
||||||
Example command line parameter
|
Example command line parameter
|
||||||
|
|
||||||
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/userfiles"`
|
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
|
||||||
|
|
||||||
Example environment variable
|
Example environment variable
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
`set "AYANOVA_ATTACHMENT_FILES_PATH=c:\data\ayanova\userfiles"`
|
`set "AYANOVA_ATTACHMENT_FILES_PATH=c:\ProgramData\ayanova\attachments"`
|
||||||
|
|
||||||
Linux / MAC
|
Linux / MAC
|
||||||
|
|
||||||
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/userfiles"`
|
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
|
||||||
|
|
||||||
If both a command line parameter and an environment variable are set the command line parameter takes precedence.
|
If both a command line parameter and an environment variable are set the command line parameter takes precedence.
|
||||||
|
|||||||
@@ -138,7 +138,8 @@ nav:
|
|||||||
- 'View server settings': 'ops-server-information.md'
|
- 'View server settings': 'ops-server-information.md'
|
||||||
- 'Server locale settings': 'ops-server-locale.md'
|
- 'Server locale settings': 'ops-server-locale.md'
|
||||||
- 'Translation / Language': 'ops-config-default-translation.md'
|
- 'Translation / Language': 'ops-config-default-translation.md'
|
||||||
- 'User files folder': 'ops-config-folder-user-files.md'
|
- 'Data path': 'ops-config-data-path.md'
|
||||||
|
- 'Attachments folder': 'ops-config-folder-user-files.md'
|
||||||
- 'Server temporary files folder': 'ops-config-folder-temporary-files.md'
|
- 'Server temporary files folder': 'ops-config-folder-temporary-files.md'
|
||||||
- 'Database configuration': 'ops-config-db.md'
|
- 'Database configuration': 'ops-config-db.md'
|
||||||
- 'PORT and URL configuration': 'ops-config-use-urls.md'
|
- 'PORT and URL configuration': 'ops-config-use-urls.md'
|
||||||
@@ -153,8 +154,8 @@ nav:
|
|||||||
- 'Metrics': 'ops-metrics.md'
|
- 'Metrics': 'ops-metrics.md'
|
||||||
- 'Notification system': 'ops-notification-system.md'
|
- 'Notification system': 'ops-notification-system.md'
|
||||||
- 'Notification queue': 'ops-notify-queue.md'
|
- 'Notification queue': 'ops-notify-queue.md'
|
||||||
- 'Backup config PGDUMP path': 'ops-config-backup-pgdump-path.md'
|
- 'Backup utility PGDUMP path': 'ops-config-backup-pgdump-path.md'
|
||||||
- 'Backup config folder': 'ops-config-folder-backup-files.md'
|
- 'Backup folder': 'ops-config-folder-backup-files.md'
|
||||||
- 'Restore backup': 'ops-restore.md'
|
- 'Restore backup': 'ops-restore.md'
|
||||||
- Developer guide:
|
- Developer guide:
|
||||||
- 'Introduction': 'api-intro.md'
|
- 'Introduction': 'api-intro.md'
|
||||||
|
|||||||
Reference in New Issue
Block a user