new(all): WebDav support for all bots.
This commit is contained in:
parent
02e78c6c88
commit
9207cffa52
4 changed files with 23 additions and 7 deletions
|
|
@ -90,18 +90,24 @@ export class GBConfigService {
|
|||
case 'STORAGE_NAME':
|
||||
value = null;
|
||||
break;
|
||||
case 'WEBDAV_USERNAME':
|
||||
value = null;
|
||||
break;
|
||||
case 'WEBDAV_PASSWORD':
|
||||
value = null;
|
||||
break;
|
||||
case 'CLOUD_USERNAME':
|
||||
value = undefined;
|
||||
break;
|
||||
case 'CLOUD_PASSWORD':
|
||||
value = undefined;
|
||||
break;
|
||||
case 'STORAGE_LIBRARY':
|
||||
value = `${process.env.HOME}/gbpackages`;
|
||||
break;
|
||||
case 'BOT_ID':
|
||||
value = 'default';
|
||||
break;
|
||||
case 'CLOUD_PASSWORD':
|
||||
value = undefined;
|
||||
break;
|
||||
case 'CLOUD_SUBSCRIPTIONID':
|
||||
value = undefined;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1648,7 +1648,6 @@ export class GBMinService {
|
|||
if (GBServer.globals.server.apiServer) {
|
||||
GBServer.globals.server.apiServer.close(cb => {
|
||||
resolve(true);
|
||||
GBLogEx.info(0, 'Reloading General Bots API...');
|
||||
});
|
||||
} else {
|
||||
resolve(true);
|
||||
|
|
|
|||
|
|
@ -57,6 +57,17 @@
|
|||
/* filter: opacity(0); Problem in recent Chrome 68+ */
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
// Focus the input field after rendering
|
||||
setTimeout(() => {
|
||||
const input = document.querySelector('.webchat-input');
|
||||
if (input) {
|
||||
input.focus();
|
||||
}
|
||||
}, 3000); // Adjust timing as needed
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body style="background-color: lightgrey;">
|
||||
|
|
|
|||
|
|
@ -47,10 +47,10 @@ Twitter Access Token,
|
|||
Twitter Access Token Secret,
|
||||
Twitter Consumer Key,
|
||||
Twitter Consumer Key Secret,
|
||||
Website, https:/github.com/GeneralBots
|
||||
Website,
|
||||
Welcome Article,
|
||||
WhatsApp Admins,
|
||||
WhatsApp Group ID,
|
||||
WhatsApp Group Shortcuts,
|
||||
WebDav Username,admin
|
||||
WebDav Password,&y5F9$B.1*Q6
|
||||
WebDav Username,
|
||||
WebDav Password,
|
||||
|
Loading…
Add table
Reference in a new issue