Compare commits

..

No commits in common. "d49e7106096c56407a6dea75a4d4049e62ede976" and "2878f87879cab30eabedbe2376507dae33295f22" have entirely different histories.

5 changed files with 377 additions and 1289 deletions

View File

@ -5,13 +5,13 @@
<img <img
:src="`img/logo-${isPublic() ? 'horizontal-' : ''}transparent-bg.svg`" :src="`img/logo-${isPublic() ? 'horizontal-' : ''}transparent-bg.svg`"
class="logo" class="logo"
alt="SuperNETs" alt="The Lounge"
role="presentation" role="presentation"
/> />
<img <img
:src="`img/logo-${isPublic() ? 'horizontal-' : ''}transparent-bg-inverted.svg`" :src="`img/logo-${isPublic() ? 'horizontal-' : ''}transparent-bg-inverted.svg`"
class="logo-inverted" class="logo-inverted"
alt="SuperNETs" alt="The Lounge"
role="presentation" role="presentation"
/> />
<span <span

File diff suppressed because it is too large Load Diff

View File

@ -90,30 +90,31 @@ export type State = {
searchEnabled: boolean; searchEnabled: boolean;
}; };
const state = (): State => ({ const state = () =>
appLoaded: false, ({
activeChannel: undefined, appLoaded: false,
currentUserVisibleError: null, activeChannel: undefined,
desktopNotificationState: detectDesktopNotificationState(), currentUserVisibleError: null,
isAutoCompleting: false, desktopNotificationState: detectDesktopNotificationState(),
isConnected: false, isAutoCompleting: false,
networks: [], isConnected: false,
mentions: [], networks: [],
hasServiceWorker: false, mentions: [],
pushNotificationState: "unsupported", hasServiceWorker: false,
serverConfiguration: null, pushNotificationState: "unsupported",
sessions: [], serverConfiguration: null,
sidebarOpen: false, sessions: [],
sidebarDragging: false, sidebarOpen: false,
userlistOpen: storage.get("thelounge.state.userlist") !== "false", sidebarDragging: false,
versionData: null, userlistOpen: storage.get("thelounge.state.userlist") !== "false",
versionStatus: "loading", versionData: null,
versionDataExpired: false, versionStatus: "loading",
serverHasSettings: false, versionDataExpired: false,
messageSearchResults: null, serverHasSettings: false,
messageSearchPendingQuery: null, messageSearchResults: null,
searchEnabled: false, messageSearchPendingQuery: null,
}); searchEnabled: false,
} as State);
type Getters = { type Getters = {
findChannelOnCurrentNetwork: (state: State) => (name: string) => ClientChan | undefined; findChannelOnCurrentNetwork: (state: State) => (name: string) => ClientChan | undefined;

View File

@ -1,5 +1,5 @@
{ {
"name": "thelounge-sn", "name": "thelounge",
"description": "The self-hosted Web IRC client", "description": "The self-hosted Web IRC client",
"version": "4.4.1", "version": "4.4.1",
"preferGlobal": true, "preferGlobal": true,
@ -8,9 +8,9 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.supernets.org/supernets/thelounge" "url": "https://github.com/thelounge/thelounge.git"
}, },
"homepage": "https://git.supernets.org/supernets/thelounge", "homepage": "https://thelounge.chat/",
"scripts": { "scripts": {
"build:client": "webpack", "build:client": "webpack",
"build:server": "tsc -p server/tsconfig.json", "build:server": "tsc -p server/tsconfig.json",
@ -91,14 +91,14 @@
"@istanbuljs/nyc-config-typescript": "1.0.2", "@istanbuljs/nyc-config-typescript": "1.0.2",
"@textcomplete/core": "0.1.10", "@textcomplete/core": "0.1.10",
"@textcomplete/textarea": "0.1.12", "@textcomplete/textarea": "0.1.12",
"@types/bcryptjs": "2.4.4", "@types/bcryptjs": "2.4.2",
"@types/chai": "4.3.5", "@types/chai": "4.3.5",
"@types/cheerio": "0.22.31", "@types/cheerio": "0.22.31",
"@types/content-disposition": "0.5.5", "@types/content-disposition": "0.5.5",
"@types/express": "4.17.13", "@types/express": "4.17.13",
"@types/is-utf8": "0.2.1", "@types/is-utf8": "0.2.1",
"@types/ldapjs": "2.2.2", "@types/ldapjs": "2.2.2",
"@types/linkify-it": "3.0.3", "@types/linkify-it": "3.0.2",
"@types/lodash": "4.14.195", "@types/lodash": "4.14.195",
"@types/mime-types": "2.1.1", "@types/mime-types": "2.1.1",
"@types/mocha": "9.1.1", "@types/mocha": "9.1.1",

View File

@ -1304,10 +1304,10 @@
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e"
integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==
"@types/bcryptjs@2.4.4": "@types/bcryptjs@2.4.2":
version "2.4.4" version "2.4.2"
resolved "https://registry.yarnpkg.com/@types/bcryptjs/-/bcryptjs-2.4.4.tgz#cd3c4c007f600f1d21db09c9bd4ced8b49d04670" resolved "https://registry.yarnpkg.com/@types/bcryptjs/-/bcryptjs-2.4.2.tgz#e3530eac9dd136bfdfb0e43df2c4c5ce1f77dfae"
integrity sha512-9wlJI7k5gRyJEC4yrV7DubzNQFTPiykYxUA6lBtsk5NlOfW9oWLJ1HdIA4YtE+6C3i3mTpDQQEosJ2rVZfBWnw== integrity sha512-LiMQ6EOPob/4yUL66SZzu6Yh77cbzJFYll+ZfaPiPPFswtIlA/Fs1MzdKYA7JApHU49zQTbJGX3PDmCpIdDBRQ==
"@types/body-parser@*": "@types/body-parser@*":
version "1.19.2" version "1.19.2"
@ -1447,10 +1447,10 @@
dependencies: dependencies:
"@types/node" "*" "@types/node" "*"
"@types/linkify-it@3.0.3": "@types/linkify-it@3.0.2":
version "3.0.3" version "3.0.2"
resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.3.tgz#15a0712296c5041733c79efe233ba17ae5a7587b" resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9"
integrity sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g== integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==
"@types/lodash@4.14.195": "@types/lodash@4.14.195":
version "4.14.195" version "4.14.195"
@ -8225,9 +8225,9 @@ with-open-file@^0.1.6:
pify "^4.0.1" pify "^4.0.1"
word-wrap@^1.2.3: word-wrap@^1.2.3:
version "1.2.5" version "1.2.3"
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==
workerpool@6.2.0: workerpool@6.2.0:
version "6.2.0" version "6.2.0"