Compare commits

..

No commits in common. "4fc28697f96fd2bc73ad65c94319f23aed24d189" and "e33eb5243c058de8c9ad67917d947530ce5edb21" have entirely different histories.

6 changed files with 53 additions and 49 deletions

View File

@ -1,18 +1 @@
.vscode/ config/
config/
coverage/
dist/
node_modules/
public/
.browserslistrc
.editorconfig
.eslintignore
.eslintrc.cjs
.gitattributes
.gitignore
.npmrc
.prittierignore
LICENSE
README.md
README.old
SECURITY.md

View File

@ -4,8 +4,7 @@ RUN apk add --no-cache --virtual=build-dependencies build-base git python3-dev &
USER node USER node
WORKDIR /var/opt/thelounge-src WORKDIR /var/opt/thelounge-src
ENV THELOUNGE_HOME /var/opt/thelounge ENV THELOUNGE_HOME /var/opt/thelounge
COPY . . RUN git clone https://git.supernets.org/supernets/thelounge.git --depth 1 .
#RUN git clone https://git.supernets.org/supernets/thelounge.git --depth 1 .
RUN yarn install && \ RUN yarn install && \
NODE_ENV=production yarn build && \ NODE_ENV=production yarn build && \
yarn link && \ yarn link && \

View File

@ -131,7 +131,7 @@ export default defineComponent({
const getInputPlaceholder = (channel: ClientChan) => { const getInputPlaceholder = (channel: ClientChan) => {
if (channel.type === "channel" || channel.type === "query") { if (channel.type === "channel" || channel.type === "query") {
return `HARD CHATS IN ${channel.name}`; return `Write to ${channel.name}`;
} }
return ""; return "";

View File

@ -7,7 +7,7 @@
<h1 class="title">Help</h1> <h1 class="title">Help</h1>
<h2 class="help-version-title"> <h2 class="help-version-title">
<span>About The Lounge: Hard Chats Edition</span> <span>About The Lounge</span>
<small> <small>
v{{ store.state.serverConfiguration?.version }} (<router-link v{{ store.state.serverConfiguration?.version }} (<router-link
id="view-changelog" id="view-changelog"
@ -19,9 +19,48 @@
<div class="about"> <div class="about">
<VersionChecker /> <VersionChecker />
<template v-if="store.state.serverConfiguration?.gitCommit">
<p>
The Lounge is running from source (<a
:href="`https://github.com/thelounge/thelounge/tree/${store.state.serverConfiguration?.gitCommit}`"
target="_blank"
rel="noopener"
>commit <code>{{ store.state.serverConfiguration?.gitCommit }}</code></a
>).
</p>
<ul>
<li>
Compare
<a
:href="`https://github.com/thelounge/thelounge/compare/${store.state.serverConfiguration?.gitCommit}...master`"
target="_blank"
rel="noopener"
>between
<code>{{ store.state.serverConfiguration?.gitCommit }}</code> and
<code>master</code></a
>
to see what you are missing
</li>
<li>
Compare
<a
:href="`https://github.com/thelounge/thelounge/compare/${store.state.serverConfiguration?.version}...${store.state.serverConfiguration?.gitCommit}`"
target="_blank"
rel="noopener"
>between
<code>{{ store.state.serverConfiguration?.version }}</code> and
<code>{{ store.state.serverConfiguration?.gitCommit }}</code></a
>
to see your local changes
</li>
</ul>
</template>
<p> <p>
<a <a
href="https://git.supernets.org/supernets/thelounge/" href="https://thelounge.chat/"
target="_blank" target="_blank"
rel="noopener" rel="noopener"
class="website-link" class="website-link"
@ -39,7 +78,7 @@
</p> </p>
<p> <p>
<a <a
href="https://git.supernets.org/supernets/thelounge/issues/new" href="https://github.com/thelounge/thelounge/issues/new"
target="_blank" target="_blank"
rel="noopener" rel="noopener"
class="report-issue-link" class="report-issue-link"
@ -48,17 +87,6 @@
</p> </p>
</div> </div>
<h2>COLD HARD CHATS</h2>
<div class="help-item">
<div class="description">
<p>
IRC.SUPERNETS.ORG #SUPERBOWL FUCK YOUR NETWORK COLD HARD CHATS THIS IS NOT
YOUR DADS FOOTBALL CHANNEL
</p>
</div>
</div>
<h2 v-if="isTouch">Gestures</h2> <h2 v-if="isTouch">Gestures</h2>
<div v-if="isTouch" class="help-item"> <div v-if="isTouch" class="help-item">

View File

@ -216,7 +216,7 @@ module.exports = {
// //
// This value is set to `"The Lounge - https://thelounge.chat"` by // This value is set to `"The Lounge - https://thelounge.chat"` by
// default. // default.
leaveMessage: "The Lounge: Hard Chats Edition - https://git.supernets.org/supernets/thelounge", leaveMessage: "The Lounge - https://thelounge.chat",
// ## Default network // ## Default network
@ -263,18 +263,17 @@ module.exports = {
// } // }
// ``` // ```
defaults: { defaults: {
name: "SuperNETs", name: "Libera.Chat",
host: "irc.supernets.org", host: "irc.libera.chat",
port: 6697, port: 6697,
password: "", password: "",
tls: true, tls: true,
rejectUnauthorized: true, rejectUnauthorized: true,
nick: "webchat%%", nick: "thelounge%%",
username: "webchat", username: "thelounge",
realname: "", realname: "",
join: "#superbowl", join: "#thelounge",
leaveMessage: leaveMessage: "",
"The Lounge: Hard Chats Edition - https://git.supernets.org/supernets/thelounge",
}, },
// ### `lockNetwork` // ### `lockNetwork`

View File

@ -12,12 +12,7 @@ const ctcpResponses = {
.join(" "), .join(" "),
PING: ({message}: {message: string}) => message.substring(5), PING: ({message}: {message: string}) => message.substring(5),
SOURCE: () => pkg.repository.url, SOURCE: () => pkg.repository.url,
VERSION: () => VERSION: () => pkg.name + " " + Helper.getVersion() + " -- " + pkg.homepage,
"The Lounge: Hard Chats Edition - COLD HARD CHATS ONLY IN IRC.SUPERNETS.ORG #SUPERBOWL FUCK YOUR NETWORK - " +
Helper.getVersion() +
" -- " +
pkg.homepage,
CHATS: () => "COLD AND HARD",
}; };
export default <IrcEventHandler>function (irc, network) { export default <IrcEventHandler>function (irc, network) {