Compare commits

..

10 Commits

Author SHA1 Message Date
hgw
d49e710609
Change package.json to have supernets branding 2023-10-05 04:17:36 +00:00
hgw
b639ebe7be
Change sidebar meta text, will change logos later 2023-10-05 04:16:57 +00:00
hgw
de584541d8
Tweak client CSS 2023-10-05 04:16:25 +00:00
Reto Brunner
f999db99c7 Merge branch 'renovate/linkify-it-3.x' 2023-09-18 21:03:10 +02:00
Reto Brunner
76c896aea2 Merge branch 'renovate/bcryptjs-2.x' 2023-09-18 20:22:50 +02:00
dependabot[bot]
08413c7b6b
build(deps): bump word-wrap from 1.2.3 to 1.2.5
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 18:13:29 +00:00
renovate[bot]
48301b1ca3
chore(deps): update dependency @types/bcryptjs to v2.4.4 2023-09-16 19:28:31 +00:00
renovate[bot]
2985727996
chore(deps): update dependency @types/linkify-it to v3.0.3 2023-09-01 01:55:02 +00:00
Max Leiter
9f05a75c39
Merge pull request #4770 from thelounge/smallTScleanup 2023-07-31 11:04:08 -07:00
Reto Brunner
c0b38d4762 store: use return type over a type cast 2023-07-31 10:50:48 +02:00
5 changed files with 1292 additions and 380 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="The Lounge" alt="SuperNETs"
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="The Lounge" alt="SuperNETs"
role="presentation" role="presentation"
/> />
<span <span

File diff suppressed because it is too large Load Diff

View File

@ -90,31 +90,30 @@ export type State = {
searchEnabled: boolean; searchEnabled: boolean;
}; };
const state = () => const state = (): State => ({
({ appLoaded: false,
appLoaded: false, activeChannel: undefined,
activeChannel: undefined, currentUserVisibleError: null,
currentUserVisibleError: null, desktopNotificationState: detectDesktopNotificationState(),
desktopNotificationState: detectDesktopNotificationState(), isAutoCompleting: false,
isAutoCompleting: false, isConnected: false,
isConnected: false, networks: [],
networks: [], mentions: [],
mentions: [], hasServiceWorker: false,
hasServiceWorker: false, pushNotificationState: "unsupported",
pushNotificationState: "unsupported", serverConfiguration: null,
serverConfiguration: null, sessions: [],
sessions: [], sidebarOpen: false,
sidebarOpen: false, sidebarDragging: false,
sidebarDragging: false, userlistOpen: storage.get("thelounge.state.userlist") !== "false",
userlistOpen: storage.get("thelounge.state.userlist") !== "false", versionData: null,
versionData: null, versionStatus: "loading",
versionStatus: "loading", versionDataExpired: false,
versionDataExpired: false, serverHasSettings: false,
serverHasSettings: false, messageSearchResults: null,
messageSearchResults: null, messageSearchPendingQuery: null,
messageSearchPendingQuery: null, searchEnabled: false,
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", "name": "thelounge-sn",
"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://github.com/thelounge/thelounge.git" "url": "https://git.supernets.org/supernets/thelounge"
}, },
"homepage": "https://thelounge.chat/", "homepage": "https://git.supernets.org/supernets/thelounge",
"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.2", "@types/bcryptjs": "2.4.4",
"@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.2", "@types/linkify-it": "3.0.3",
"@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.2": "@types/bcryptjs@2.4.4":
version "2.4.2" version "2.4.4"
resolved "https://registry.yarnpkg.com/@types/bcryptjs/-/bcryptjs-2.4.2.tgz#e3530eac9dd136bfdfb0e43df2c4c5ce1f77dfae" resolved "https://registry.yarnpkg.com/@types/bcryptjs/-/bcryptjs-2.4.4.tgz#cd3c4c007f600f1d21db09c9bd4ced8b49d04670"
integrity sha512-LiMQ6EOPob/4yUL66SZzu6Yh77cbzJFYll+ZfaPiPPFswtIlA/Fs1MzdKYA7JApHU49zQTbJGX3PDmCpIdDBRQ== integrity sha512-9wlJI7k5gRyJEC4yrV7DubzNQFTPiykYxUA6lBtsk5NlOfW9oWLJ1HdIA4YtE+6C3i3mTpDQQEosJ2rVZfBWnw==
"@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.2": "@types/linkify-it@3.0.3":
version "3.0.2" version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.3.tgz#15a0712296c5041733c79efe233ba17ae5a7587b"
integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA== integrity sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g==
"@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.3" version "1.2.5"
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"
integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==
workerpool@6.2.0: workerpool@6.2.0:
version "6.2.0" version "6.2.0"