small fixes

This commit is contained in:
jusax23 2024-02-25 13:40:35 +01:00
parent 255b3fd215
commit 4393a2b226
Signed by: jusax23
GPG key ID: 4A6CED31031AE931
3 changed files with 9 additions and 4 deletions

View file

@ -124,7 +124,7 @@ async function complete_loaded() {
await nman.shutdown(); await nman.shutdown();
process.exit(1); process.exit(1);
} }
warn("Outbag", "Keep running tue to debug Mode"); warn("Outbag", "Keep running due to debug Mode");
} }
activatePost(); activatePost();
activateWS(); activateWS();

View file

@ -26,3 +26,4 @@ defaultMaxRooms=2
defaultMaxRoomSize=10 defaultMaxRoomSize=10
defaultMaxUsersPerRoom=2 defaultMaxUsersPerRoom=2
defaultViewable=true defaultViewable=true
deletedAccountKeepSec=1728000

View file

@ -139,7 +139,7 @@ const list = [
name: name2, name: name2,
server: "localhost:7224", server: "localhost:7224",
accountKey: accountKey + "lol" accountKey: accountKey + "lol"
}, "error",act_error.AUTH); }, "error", act_error.AUTH);
}], ["admin", async (req) => { }], ["admin", async (req) => {
let resp = await req({ let resp = await req({
"authorization": `Digest name=${name1} server=localhost:7224 accountKey=${accountKey}` "authorization": `Digest name=${name1} server=localhost:7224 accountKey=${accountKey}`
@ -150,6 +150,7 @@ const list = [
name: "testUser1", name: "testUser1",
viewable: true, viewable: true,
deleted: false, deleted: false,
deletedTime: 0,
maxRooms: 2, maxRooms: 2,
maxRoomSize: 10, maxRoomSize: 10,
maxUsersPerRoom: 2 maxUsersPerRoom: 2
@ -159,6 +160,7 @@ const list = [
name: "testUser2", name: "testUser2",
viewable: true, viewable: true,
deleted: true, deleted: true,
deletedTime: null,
maxRooms: 2, maxRooms: 2,
maxRoomSize: 10, maxRoomSize: 10,
maxUsersPerRoom: 2 maxUsersPerRoom: 2
@ -179,15 +181,17 @@ const list = [
name: "testUser1", name: "testUser1",
viewable: true, viewable: true,
deleted: false, deleted: false,
deletedTime: 0,
maxRooms: 2, maxRooms: 2,
maxRoomSize: 10, maxRoomSize: 10,
maxUsersPerRoom: 2 maxUsersPerRoom: 2
}, { }, {
accID: null, accID: 3,
rights: 5, rights: 5,
name: "testUser2", name: "testUser2",
viewable: true, viewable: true,
deleted: true, deleted: true,
deletedTime: null,
maxRooms: 2, maxRooms: 2,
maxRoomSize: 10, maxRoomSize: 10,
maxUsersPerRoom: 2 maxUsersPerRoom: 2