This is taking longer than it should, there might be connectivity issues.
diff --git a/client/js/socket-events/connection.ts b/client/js/socket-events/connection.ts
index fafc576e..3c816996 100644
--- a/client/js/socket-events/connection.ts
+++ b/client/js/socket-events/connection.ts
@@ -33,7 +33,7 @@ function handleDisconnect(data) {
if (!socket.io.reconnection()) {
store.commit(
"currentUserVisibleError",
- `Disconnected from the server (${message}), The Lounge does not reconnect in public mode.`
+ `Disconnected from the server (${message}), Hard Lounge does not reconnect in public mode.`
);
updateLoadingMessage();
return;
diff --git a/client/js/store-settings.ts b/client/js/store-settings.ts
index bc914be9..e8c15c51 100644
--- a/client/js/store-settings.ts
+++ b/client/js/store-settings.ts
@@ -83,7 +83,7 @@ function loadFromLocalStorage() {
return {};
}
- // Older The Lounge versions converted highlights to an array, turn it back into a string
+ // Older Hard Lounge versions converted highlights to an array, turn it back into a string
if (storedSettings.highlights !== null && typeof storedSettings.highlights === "object") {
storedSettings.highlights = storedSettings.highlights.join(", ");
}
diff --git a/client/js/upload.ts b/client/js/upload.ts
index ddb9e3c6..5a1b19f5 100644
--- a/client/js/upload.ts
+++ b/client/js/upload.ts
@@ -155,8 +155,8 @@ class Uploader {
// Tell the server that we are still upload to this token
// so it does not become invalidated and fail the upload.
- // This issue only happens if The Lounge is proxied through other software
- // as it may buffer the upload before the upload request will be processed by The Lounge.
+ // This issue only happens if Hard Lounge is proxied through other software
+ // as it may buffer the upload before the upload request will be processed by Hard Lounge.
this.tokenKeepAlive = setInterval(() => socket.emit("upload:ping", token), 40 * 1000);
if (
diff --git a/client/service-worker.js b/client/service-worker.js
index e6022696..af17912b 100644
--- a/client/service-worker.js
+++ b/client/service-worker.js
@@ -1,5 +1,5 @@
// @ts-nocheck
-// The Lounge - https://github.com/thelounge/thelounge
+// Hard Lounge - https://github.com/thelounge/thelounge
/* global clients */
"use strict";
diff --git a/client/thelounge.webmanifest b/client/thelounge.webmanifest
index 6d9342e6..31f2bff2 100644
--- a/client/thelounge.webmanifest
+++ b/client/thelounge.webmanifest
@@ -1,6 +1,6 @@
{
- "name": "The Lounge",
- "short_name": "The Lounge",
+ "name": "Hard Lounge",
+ "short_name": "Hard Lounge",
"description": "Self-hosted web IRC client",
"start_url": ".",
"display": "standalone",
diff --git a/defaults/config.js b/defaults/config.js
index 4bbcb5ea..cba10110 100644
--- a/defaults/config.js
+++ b/defaults/config.js
@@ -5,7 +5,7 @@ module.exports = {
// ### `public`
//
- // When set to `true`, The Lounge starts in public mode. When set to `false`,
+ // When set to `true`, Hard Lounge starts in public mode. When set to `false`,
// it starts in private mode.
//
// - A **public server** does not require authentication. Anyone can connect
@@ -45,7 +45,7 @@ module.exports = {
// ### `reverseProxy`
//
- // When set to `true`, The Lounge is marked as served behind a reverse proxy
+ // When set to `true`, Hard Lounge is marked as served behind a reverse proxy
// and will honor the `X-Forwarded-For` header.
//
// This value is set to `false` by default.
@@ -62,7 +62,7 @@ module.exports = {
// ### `https`
//
- // These settings are used to run The Lounge's web server using encrypted TLS.
+ // These settings are used to run Hard Lounge's web server using encrypted TLS.
//
// If you want more control over the webserver,
// [use a reverse proxy instead](https://thelounge.chat/docs/guides/reverse-proxies).
@@ -91,11 +91,11 @@ module.exports = {
// Set the default theme to serve to new users. They will be able to select a
// different one in their client settings among those available.
//
- // The Lounge ships with two themes (`default` and `morning`) and can be
+ // Hard Lounge ships with two themes (`default` and `morning`) and can be
// extended by installing more themes. Read more about how to manage them
// [here](https://thelounge.chat/docs/guides/theme-creation).
//
- // The Lounge: Hard Chats Edition also shiped with an OLED theme which
+ // Hard Lounge also shiped with an OLED theme which
// Is FAR better than either of the default themes. The default themes are
// blowjobs.
//
@@ -108,7 +108,7 @@ module.exports = {
// ### `prefetch`
//
- // When set to `true`, The Lounge will load thumbnails and site descriptions
+ // When set to `true`, Hard Lounge will load thumbnails and site descriptions
// from URLs posted in channels and private messages.
//
// This value is set to `false` by default.
@@ -116,10 +116,10 @@ module.exports = {
// ### `disableMediaPreview`
//
- // When set to `true`, The Lounge will not preview media (images, video and
+ // When set to `true`, Hard Lounge will not preview media (images, video and
// audio) hosted on third-party sites. This ensures the client does not
// make any requests to external sites. If `prefetchStorage` is enabled,
- // images proxied via the The Lounge will be previewed.
+ // images proxied via the Hard Lounge will be previewed.
//
// This has no effect if `prefetch` is set to `false`.
//
@@ -128,19 +128,19 @@ module.exports = {
// ### `prefetchStorage`
- // When set to `true`, The Lounge will store and proxy prefetched images and
+ // When set to `true`, Hard Lounge will store and proxy prefetched images and
// thumbnails on the filesystem rather than directly display the content at
// the original URLs.
//
// This option primarily exists to resolve mixed content warnings by not
// loading images from http hosts. This option does not work for video
- // or audio as The Lounge will only load these from https hosts.
+ // or audio as Hard Lounge will only load these from https hosts.
//
- // If storage is enabled, The Lounge will fetch and store images and thumbnails
+ // If storage is enabled, Hard Lounge will fetch and store images and thumbnails
// in the `${THELOUNGE_HOME}/storage` folder.
//
// Images are deleted when they are no longer referenced by any message
- // (controlled by `maxHistory`), and the folder is cleaned up when The Lounge
+ // (controlled by `maxHistory`), and the folder is cleaned up when Hard Lounge
// restarts.
//
// This value is set to `false` by default.
@@ -167,11 +167,11 @@ module.exports = {
// ### `prefetchTimeout`
//
// When `prefetch` is enabled, this value sets the number of milliseconds
- // before The Lounge gives up attempting to fetch a link. This can be useful
+ // before Hard Lounge gives up attempting to fetch a link. This can be useful
// if you've increased the `prefetchMaxImageSize`.
//
// Take caution, however, that an inordinately large value may lead to
- // performance issues or even a denial of service, since The Lounge will not
+ // performance issues or even a denial of service, since Hard Lounge will not
// be able to clean up outgoing connections as quickly. Usually the default
// value is appropriate, so only change it if necessary.
//
@@ -180,10 +180,10 @@ module.exports = {
// ### `fileUpload`
//
- // Allow uploading files to the server hosting The Lounge.
+ // Allow uploading files to the server hosting Hard Lounge.
//
// Files are stored in the `${THELOUNGE_HOME}/uploads` folder, do not expire,
- // and are not removed by The Lounge. This may cause issues depending on your
+ // and are not removed by Hard Lounge. This may cause issues depending on your
// hardware, for example in terms of disk usage.
//
// The available keys for the `fileUpload` object are:
@@ -198,7 +198,7 @@ module.exports = {
// you can set this option to `"https://example.com/folder/"` and the final URL
// would look like `"https://example.com/folder/aabbccddeeff1234/name.png"`.
// If you use this option, you must have a reverse proxy configured,
- // to correctly proxy the uploads URLs back to The Lounge.
+ // to correctly proxy the uploads URLs back to Hard Lounge.
// This value is set to `null` by default.
fileUpload: {
enable: false,
@@ -218,9 +218,9 @@ module.exports = {
// Set users' default `quit` and `part` messages if they are not providing
// one.
//
- // This value is set to `"The Lounge - https://thelounge.chat"` by
+ // This value is set to `"Hard Lounge - https://thelounge.chat"` by
// default.
- leaveMessage: "The Lounge: Hard Chats Edition - https://git.supernets.org/supernets/thelounge",
+ leaveMessage: "Hard Lounge - https://git.supernets.org/supernets/hardlounge",
// ## Default network
@@ -231,7 +231,7 @@ module.exports = {
//
// The available keys for the `defaults` object are:
//
- // - `name`: Name to display in the channel list of The Lounge. This value is
+ // - `name`: Name to display in the channel list of Hard Lounge. This value is
// not forwarded to the IRC network.
// - `host`: IP address or hostname of the IRC server.
// - `port`: Usually 6667 for unencrypted connections and 6697 for
@@ -249,7 +249,7 @@ module.exports = {
// - `leaveMessage`: Network specific leave message (overrides global leaveMessage)
// - `join`: Comma-separated list of channels to auto-join once connected.
//
- // This value is set to connect to the official channel of The Lounge on
+ // This value is set to connect to the official channel of Hard Lounge on
// Libera.Chat by default:
//
// ```js
@@ -262,7 +262,7 @@ module.exports = {
// rejectUnauthorized: true,
// nick: "thelounge%%",
// username: "thelounge",
- // realname: "The Lounge User",
+ // realname: "Hard Lounge User",
// join: "#thelounge"
// }
// ```
@@ -277,8 +277,7 @@ module.exports = {
username: "webchat",
realname: "",
join: "#superbowl",
- leaveMessage:
- "The Lounge: Hard Chats Edition - https://git.supernets.org/supernets/thelounge",
+ leaveMessage: "Hard Lounge - https://git.supernets.org/supernets/hardlounge",
},
// ### `lockNetwork`
@@ -294,7 +293,7 @@ module.exports = {
// ### `messageStorage`
- // The Lounge can log user messages, for example to access them later or to
+ // Hard Lounge can log user messages, for example to access them later or to
// reload messages on server restart.
// Set this array with one or multiple values to enable logging:
@@ -322,9 +321,9 @@ module.exports = {
// ## WEBIRC support
//
- // When enabled, The Lounge will pass the connecting user's host and IP to the
+ // When enabled, Hard Lounge will pass the connecting user's host and IP to the
// IRC server. Note that this requires to obtain a password from the IRC
- // network that The Lounge will be connecting to and generally involves a lot
+ // network that Hard Lounge will be connecting to and generally involves a lot
// of trust from the network you are connecting to.
//
// There are 2 ways to configure the `webirc` setting:
@@ -361,7 +360,7 @@ module.exports = {
// ### `identd`
//
- // Run The Lounge with `identd` support.
+ // Run Hard Lounge with `identd` support.
//
// The available keys for the `identd` object are:
//
@@ -394,10 +393,10 @@ module.exports = {
//
// The authentication process works as follows:
//
- // 1. The Lounge connects to the LDAP server with its system credentials.
+ // 1. Hard Lounge connects to the LDAP server with its system credentials.
// 2. It performs an LDAP search query to find the full DN associated to the
// user requesting to log in.
- // 3. The Lounge tries to connect a second time, but this time using the
+ // 3. Hard Lounge tries to connect a second time, but this time using the
// user's DN and password. Authentication is validated if and only if this
// connection is successful.
//
@@ -448,7 +447,7 @@ module.exports = {
// When unset, the LDAP auth logic with use `searchDN` instead to locate users.
// - `searchDN`: LDAP search DN settings. This defines the procedure by
- // which The Lounge first looks for the user DN before authenticating them.
+ // which Hard Lounge first looks for the user DN before authenticating them.
// It is ignored if `baseDN` is specified. It is an object with the
// following keys:
searchDN: {
@@ -459,7 +458,7 @@ module.exports = {
// default.
rootDN: "cn=thelounge,ou=system-users,dc=example,dc=com",
- // - `rootPassword`: Password of The Lounge LDAP system user.
+ // - `rootPassword`: Password of Hard Lounge LDAP system user.
rootPassword: "1234",
// - `filter`: it is set to `"(&(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com))"`
@@ -488,7 +487,7 @@ module.exports = {
//
// When set to true, this enables extra debugging output provided by
// [`irc-framework`](https://github.com/kiwiirc/irc-framework), the
- // underlying IRC library for Node.js used by The Lounge.
+ // underlying IRC library for Node.js used by Hard Lounge.
ircFramework: false,
// ### `debug.raw`
diff --git a/docker-compose.yml b/docker-compose.yml
index 01a976f4..0461abfb 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,8 +1,8 @@
services:
- thelounge:
- image: git.supernets.org/supernets/thelounge:latest
+ hardlounge:
+ image: git.supernets.org/supernets/hardlounge:latest
#build: .
ports:
- "9000:9000"
volumes:
- - "$PWD/config:/var/opt/thelounge"
+ - "$PWD/config:/var/opt/hardlounge"
diff --git a/index.js b/index.js
index ce1f76c5..07fa6388 100755
--- a/index.js
+++ b/index.js
@@ -12,13 +12,13 @@ const pkg = require("./package.json");
if (!require("semver").satisfies(process.version, pkg.engines.node)) {
/* eslint-disable no-console */
console.error(
- "The Lounge requires Node.js " +
+ "Hard Lounge requires Node.js " +
pkg.engines.node +
" (current version: " +
process.version +
")"
);
- console.error("Please upgrade Node.js in order to use The Lounge");
+ console.error("Please upgrade Node.js in order to use Hard Lounge");
console.error("See https://thelounge.chat/docs/install-and-upgrade");
console.error();
diff --git a/package.json b/package.json
index c073e3be..2ebbb4ec 100644
--- a/package.json
+++ b/package.json
@@ -1,16 +1,16 @@
{
- "name": "@supernets/thelounge",
+ "name": "@supernets/hardlounge",
"description": "The self-hosted Web IRC client",
"version": "4.4.1",
"preferGlobal": true,
"bin": {
- "thelounge": "index.js"
+ "hardlounge": "index.js"
},
"repository": {
"type": "git",
- "url": "https://git.supernets.org/supernets/thelounge"
+ "url": "https://git.supernets.org/supernets/hardlounge"
},
- "homepage": "https://git.supernets.org/supernets/thelounge",
+ "homepage": "https://git.supernets.org/supernets/hardlounge",
"scripts": {
"build:client": "webpack",
"build:server": "tsc -p server/tsconfig.json",
diff --git a/server/command-line/index.ts b/server/command-line/index.ts
index e164e63a..44d79a2a 100644
--- a/server/command-line/index.ts
+++ b/server/command-line/index.ts
@@ -74,7 +74,7 @@ function createPackagesFolder() {
{
private: true,
description:
- "Packages for The Lounge. Use `thelounge install
` command to add a package.",
+ "Packages for Hard Lounge. Use `thelounge install ` command to add a package.",
dependencies: {},
},
null,
@@ -93,7 +93,7 @@ function verifyFileOwner() {
if (uid === 0) {
log.warn(
- `You are currently running The Lounge as root. ${colors.bold.red(
+ `You are currently running Hard Lounge as root. ${colors.bold.red(
"We highly discourage running as root!"
)}`
);
@@ -103,7 +103,7 @@ function verifyFileOwner() {
if (configStat && configStat.uid !== uid) {
log.warn(
- "Config file owner does not match the user you are currently running The Lounge as."
+ "Config file owner does not match the user you are currently running Hard Lounge as."
);
log.warn(
"To prevent any issues, please run thelounge commands " +
diff --git a/server/command-line/install.ts b/server/command-line/install.ts
index adce9618..0e0f7490 100644
--- a/server/command-line/install.ts
+++ b/server/command-line/install.ts
@@ -67,7 +67,7 @@ program
const humanVersion = isLocalFile ? packageName : `${json.name} v${json.version}`;
if (!("thelounge" in json)) {
- log.error(`${colors.red(humanVersion)} does not have The Lounge metadata.`);
+ log.error(`${colors.red(humanVersion)} does not have Hard Lounge metadata.`);
process.exit(1);
}
@@ -81,7 +81,7 @@ program
log.error(
`${colors.red(
humanVersion
- )} does not support The Lounge v${Helper.getVersionNumber()}. Supported version(s): ${
+ )} does not support Hard Lounge v${Helper.getVersionNumber()}. Supported version(s): ${
json.thelounge.supports
}`
);
diff --git a/server/command-line/utils.ts b/server/command-line/utils.ts
index 835fda16..a1a8ea6d 100644
--- a/server/command-line/utils.ts
+++ b/server/command-line/utils.ts
@@ -122,7 +122,7 @@ class Utils {
// We only ever operate in production mode
NODE_ENV: "production",
- // If The Lounge runs from a user that does not have a home directory,
+ // If Hard Lounge runs from a user that does not have a home directory,
// yarn may fail when it tries to read certain folders,
// we give it an existing folder so the reads do not throw a permission error.
// Yarn uses os.homedir() to figure out the path, which internally reads
diff --git a/server/identification.ts b/server/identification.ts
index 1c01d793..2c59c0b9 100644
--- a/server/identification.ts
+++ b/server/identification.ts
@@ -114,7 +114,7 @@ class Identification {
}
refresh() {
- let file = "# Warning: file generated by The Lounge: changes will be overwritten!\n";
+ let file = "# Warning: file generated by Hard Lounge: changes will be overwritten!\n";
this.connections.forEach((connection, id) => {
if (!connection.socket.remotePort || !connection.socket.localPort) {
diff --git a/server/models/user.ts b/server/models/user.ts
index ea2d39b0..7e1c0cda 100644
--- a/server/models/user.ts
+++ b/server/models/user.ts
@@ -28,7 +28,7 @@ class User {
}
setModes(modes: string[], prefix: Prefix) {
- // irc-framework sets character mode, but The Lounge works with symbols
+ // irc-framework sets character mode, but Hard Lounge works with symbols
this.modes = modes.map((mode) => prefix.modeToSymbol[mode]);
}
diff --git a/server/plugins/changelog.ts b/server/plugins/changelog.ts
index cc049a68..22991164 100644
--- a/server/plugins/changelog.ts
+++ b/server/plugins/changelog.ts
@@ -127,7 +127,7 @@ function checkForUpdates(manager: ClientManager) {
}
log.info(
- `The Lounge ${colors.green(
+ `Hard Lounge ${colors.green(
versionData.latest.version
)} is available. Read more on GitHub: ${versionData.latest.url}`
);
diff --git a/server/plugins/clientCertificate.ts b/server/plugins/clientCertificate.ts
index c52ff967..e7b6ba44 100644
--- a/server/plugins/clientCertificate.ts
+++ b/server/plugins/clientCertificate.ts
@@ -101,7 +101,7 @@ function generate() {
const attrs = [
{
name: "commonName",
- value: "The Lounge IRC Client",
+ value: "Hard Lounge IRC Client",
},
];
cert.setSubject(attrs);
diff --git a/server/plugins/irc-events/ctcp.ts b/server/plugins/irc-events/ctcp.ts
index 15195b5c..bc3807b9 100644
--- a/server/plugins/irc-events/ctcp.ts
+++ b/server/plugins/irc-events/ctcp.ts
@@ -13,7 +13,7 @@ const ctcpResponses = {
PING: ({message}: {message: string}) => message.substring(5),
SOURCE: () => pkg.repository.url,
VERSION: () =>
- "The Lounge: Hard Chats Edition - COLD HARD CHATS ONLY IN IRC.SUPERNETS.ORG #SUPERBOWL FUCK YOUR NETWORK - " +
+ "Hard Lounge - COLD HARD CHATS ONLY IN IRC.SUPERNETS.ORG #SUPERBOWL FUCK YOUR NETWORK - " +
Helper.getVersion() +
" -- " +
pkg.homepage,
diff --git a/server/plugins/irc-events/link.ts b/server/plugins/irc-events/link.ts
index 63a86dc0..3ecf8bcd 100644
--- a/server/plugins/irc-events/link.ts
+++ b/server/plugins/irc-events/link.ts
@@ -396,7 +396,7 @@ function getRequestHeaders(headers: Record) {
// Certain websites like Amazon only add tags to known bots,
// lets pretend to be them to get the metadata
"User-Agent":
- "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge)" +
+ "Mozilla/5.0 (compatible; Hard Lounge IRC Client; COLD HARD CHATS; +https://git.supernets.org/supernets/hardlounge)" +
" facebookexternalhit/1.1 Twitterbot/1.0",
Accept: headers.accept || "*/*",
"X-Purpose": "preview",
@@ -422,7 +422,7 @@ function fetch(uri: string, headers: Record) {
if (!prefetchTimeout) {
log.warn(
- "prefetchTimeout is missing from your The Lounge configuration, defaulting to 5000 ms"
+ "prefetchTimeout is missing from your Hard Lounge configuration, defaulting to 5000 ms"
);
}
diff --git a/server/plugins/messageStorage/sqlite.ts b/server/plugins/messageStorage/sqlite.ts
index e0a32859..880abf06 100644
--- a/server/plugins/messageStorage/sqlite.ts
+++ b/server/plugins/messageStorage/sqlite.ts
@@ -208,7 +208,7 @@ class SqliteMessageStorage implements SearchableMessageStorage {
const version = await this.current_version();
if (version > currentSchemaVersion) {
- throw `sqlite messages schema version is higher than expected (${version} > ${currentSchemaVersion}). Is The Lounge out of date?`;
+ throw `sqlite messages schema version is higher than expected (${version} > ${currentSchemaVersion}). Is Hard Lounge out of date?`;
} else if (version === currentSchemaVersion) {
return; // nothing to do
}
diff --git a/server/plugins/packages/index.ts b/server/plugins/packages/index.ts
index 7aa0af48..dfbb0ec3 100644
--- a/server/plugins/packages/index.ts
+++ b/server/plugins/packages/index.ts
@@ -133,7 +133,7 @@ function loadPackage(packageName: string) {
includePrerelease: true, // our pre-releases should respect the semver guarantees
})
) {
- throw `v${packageInfo.version} does not support this version of The Lounge. Supports: ${packageInfo.thelounge.supports}`;
+ throw `v${packageInfo.version} does not support this version of Hard Lounge. Supports: ${packageInfo.thelounge.supports}`;
}
packageFile = require(packagePath);
@@ -176,7 +176,7 @@ function loadPackage(packageName: string) {
log.info(
"There are packages using the experimental plugin API. " +
- "Be aware that this API is not yet stable and may change in future The Lounge releases."
+ "Be aware that this API is not yet stable and may change in future Hard Lounge releases."
);
}
}
diff --git a/server/server.ts b/server/server.ts
index 5ecdea92..4aecc5e1 100644
--- a/server/server.ts
+++ b/server/server.ts
@@ -71,7 +71,7 @@ export default async function (
dev: false,
}
) {
- log.info(`The Lounge ${colors.green(Helper.getVersion())} \
+ log.info(`Hard Lounge ${colors.green(Helper.getVersion())} \
(Node.js ${colors.green(process.versions.node)} on ${colors.green(process.platform)} ${
process.arch
})`);
@@ -678,7 +678,7 @@ function initializeClient(
client.manager.webPush.pushSingle(client, registration, {
type: "notification",
timestamp: Date.now(),
- title: "The Lounge",
+ title: "Hard Lounge",
body: "🚀 Push notifications have been enabled",
});
}
diff --git a/test/client/js/helpers/parse.ts b/test/client/js/helpers/parse.ts
index 1a3f108a..31a75648 100644
--- a/test/client/js/helpers/parse.ts
+++ b/test/client/js/helpers/parse.ts
@@ -275,8 +275,8 @@ describe("IRC formatted message parser", () => {
},
{
name: "hex foreground and background colors",
- input: "\x04415364,ff9e18The Lounge",
- expected: 'The Lounge',
+ input: "\x04415364,ff9e18Hard Lounge",
+ expected: 'Hard Lounge',
},
{
name: "italic",
diff --git a/test/models/msg.ts b/test/models/msg.ts
index 3f418de9..ba55d109 100644
--- a/test/models/msg.ts
+++ b/test/models/msg.ts
@@ -39,8 +39,8 @@ describe("Msg", function () {
},
{
body: "",
- head: "The Lounge",
- link: "https://thelounge.chat/",
+ head: "Hard Lounge",
+ link: "https://git.supernets.org/supernets/hardlounge",
thumb: "",
type: "link",
shown: true,
@@ -49,11 +49,14 @@ describe("Msg", function () {
});
it("should find a preview given an existing link", function () {
- expect(msg.findPreview("https://thelounge.chat/")?.head).to.equal("The Lounge");
+ expect(
+ msg.findPreview("https://git.supernets.org/supernets/hardlounge/")?.head
+ ).to.equal("Hard Lounge");
});
it("should not find a preview that does not exist", function () {
- expect(msg.findPreview("https://github.com/thelounge/thelounge")).to.be.undefined;
+ expect(msg.findPreview("https://git.supernets.org/supernets/hardlounge")).to.be
+ .undefined;
});
});
});
diff --git a/test/plugins/packages/indexTest.ts b/test/plugins/packages/indexTest.ts
index ca4c0d13..b04f208a 100644
--- a/test/plugins/packages/indexTest.ts
+++ b/test/plugins/packages/indexTest.ts
@@ -56,7 +56,7 @@ describe("packages", function () {
packages.loadPackages();
expect(stdout).to.deep.equal(
- "Package thelounge-package-foo vdummy loaded\nThere are packages using the experimental plugin API. Be aware that this API is not yet stable and may change in future The Lounge releases.\n"
+ "Package thelounge-package-foo vdummy loaded\nThere are packages using the experimental plugin API. Be aware that this API is not yet stable and may change in future Hard Lounge releases.\n"
);
});
});
diff --git a/test/server.ts b/test/server.ts
index de7e921f..550cd0cd 100644
--- a/test/server.ts
+++ b/test/server.ts
@@ -54,7 +54,7 @@ describe("Server", function () {
it("should run a web server on " + webURL, async () => {
const response = await got(webURL);
expect(response.statusCode).to.equal(200);
- expect(response.body).to.include("The Lounge");
+ expect(response.body).to.include("Hard Lounge");
expect(response.body).to.include("js/bundle.js");
});
@@ -63,7 +63,7 @@ describe("Server", function () {
const body = JSON.parse(response.body);
expect(response.statusCode).to.equal(200);
- expect(body.name).to.equal("The Lounge");
+ expect(body.name).to.equal("Hard Lounge");
expect(response.headers["content-type"]).to.equal("application/manifest+json");
});
});
@@ -100,7 +100,7 @@ describe("Server", function () {
client.on("init", () => {
client.emit("network:new", {
username: "test-user",
- realname: "The Lounge Test",
+ realname: "Hard Lounge Test",
nick: "test-user",
join: "#thelounge, #spam",
name: "Test Network",