thelounge/client/components/Windows/Help.vue

724 lines
18 KiB
Vue
Raw Normal View History

2019-02-18 09:18:32 +00:00
<template>
2019-08-03 19:03:45 +00:00
<div id="help" class="window" role="tabpanel" aria-label="Help">
2019-02-18 09:18:32 +00:00
<div class="header">
<SidebarToggle />
2019-02-18 09:18:32 +00:00
</div>
<div class="container">
<h1 class="title">Help</h1>
<h2 class="help-version-title">
<span>About The Lounge</span>
<small>
v{{ $store.state.serverConfiguration.version }} (<router-link
2019-02-18 09:18:32 +00:00
id="view-changelog"
to="/changelog"
2019-10-17 16:56:44 +00:00
>release notes</router-link
2019-08-03 19:03:45 +00:00
>)
2019-02-18 09:18:32 +00:00
</small>
</h2>
<div class="about">
2019-08-05 14:29:35 +00:00
<VersionChecker />
2019-02-18 09:18:32 +00:00
<template v-if="$store.state.serverConfiguration.gitCommit">
2019-02-20 15:01:33 +00:00
<p>
2019-08-03 19:03:45 +00:00
The Lounge is running from source (<a
:href="
`https://github.com/thelounge/thelounge/tree/${$store.state.serverConfiguration.gitCommit}`
2019-08-03 19:03:45 +00:00
"
2019-02-18 09:18:32 +00:00
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
>commit <code>{{ $store.state.serverConfiguration.gitCommit }}</code></a
2019-08-03 19:03:45 +00:00
>).
2019-02-20 15:01:33 +00:00
</p>
<ul>
<li>
Compare
<a
2019-08-03 19:03:45 +00:00
:href="
`https://github.com/thelounge/thelounge/compare/${$store.state.serverConfiguration.gitCommit}...master`
2019-08-03 19:03:45 +00:00
"
2019-02-20 15:01:33 +00:00
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
>between
<code>{{ $store.state.serverConfiguration.gitCommit }}</code> and
2019-08-03 19:03:45 +00:00
<code>master</code></a
>
2019-02-20 15:01:33 +00:00
to see what you are missing
</li>
<li>
Compare
<a
2019-08-03 19:03:45 +00:00
:href="
`https://github.com/thelounge/thelounge/compare/${$store.state.serverConfiguration.version}...${$store.state.serverConfiguration.gitCommit}`
2019-08-03 19:03:45 +00:00
"
2019-02-20 15:01:33 +00:00
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
>between
<code>{{ $store.state.serverConfiguration.version }}</code> and
<code>{{ $store.state.serverConfiguration.gitCommit }}</code></a
2019-08-03 19:03:45 +00:00
>
to see your local changes
</li>
2019-02-20 15:01:33 +00:00
</ul>
</template>
2019-02-18 09:18:32 +00:00
<p>
<a
href="https://thelounge.chat/"
target="_blank"
rel="noopener"
2019-03-01 14:18:16 +00:00
class="website-link"
2019-08-03 19:03:45 +00:00
>Website</a
>
2019-02-18 09:18:32 +00:00
</p>
<p>
<a
href="https://thelounge.chat/docs/"
target="_blank"
rel="noopener"
2019-03-01 14:18:16 +00:00
class="documentation-link"
2019-08-03 19:03:45 +00:00
>Documentation</a
>
2019-02-18 09:18:32 +00:00
</p>
<p>
<a
href="https://github.com/thelounge/thelounge/issues/new"
target="_blank"
rel="noopener"
2019-03-01 14:18:16 +00:00
class="report-issue-link"
2019-08-03 19:03:45 +00:00
>Report an issue</a
>
2019-02-18 09:18:32 +00:00
</p>
</div>
<h2>Keyboard Shortcuts</h2>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>Shift</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the next lobby in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>Shift</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the previous lobby in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the next window in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the previous window in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>A</kbd></span>
<span v-else><kbd></kbd> <kbd>A</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the first window with unread messages.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>S</kbd></span>
<span v-else><kbd></kbd> <kbd>S</kbd></span>
</div>
<div class="description">
<p>Toggle sidebar.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>U</kbd></span>
<span v-else><kbd></kbd> <kbd>U</kbd></span>
</div>
<div class="description">
<p>Toggle channel user list.</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>K</kbd></span>
<span v-else><kbd></kbd> <kbd>K</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Mark any text typed after this shortcut to be colored. After hitting this
shortcut, enter an integer in the range
<code>015</code> to select the desired color, or use the autocompletion
menu to choose a color name (see below).
2019-02-18 09:18:32 +00:00
</p>
<p>
2019-08-03 19:03:45 +00:00
Background color can be specified by putting a comma and another integer in
the range <code>015</code> after the foreground color number
(autocompletion works too).
2019-02-18 09:18:32 +00:00
</p>
<p>
A color reference can be found
<a
href="https://modern.ircdocs.horse/formatting.html#colors"
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
2019-08-03 19:03:45 +00:00
>here</a
>.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>B</kbd></span>
<span v-else><kbd></kbd> <kbd>B</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-bold">bold</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>U</kbd></span>
<span v-else><kbd></kbd> <kbd>U</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-underline">underlined</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>I</kbd></span>
<span v-else><kbd></kbd> <kbd>I</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-italic">italics</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>S</kbd></span>
<span v-else><kbd></kbd> <kbd>S</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-strikethrough">struck through</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>M</kbd></span>
<span v-else><kbd></kbd> <kbd>M</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-monospace">monospaced</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>O</kbd></span>
<span v-else><kbd></kbd> <kbd>O</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Mark all text typed after this shortcut to be reset to its original
formatting.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<h2>Autocompletion</h2>
<p>
2019-08-03 19:03:45 +00:00
To auto-complete nicknames, channels, commands, and emoji, type one of the
characters below to open a suggestion list. Use the <kbd></kbd> and
<kbd></kbd> keys to highlight an item, and insert it by pressing <kbd>Tab</kbd> or
<kbd>Enter</kbd> (or by clicking the desired item).
2019-02-18 09:18:32 +00:00
</p>
<p>
Autocompletion can be disabled in settings.
</p>
<div class="help-item">
<div class="subject">
<code>@</code>
</div>
<div class="description">
<p>Nickname</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>#</code>
</div>
<div class="description">
<p>Channel</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/</code>
</div>
<div class="description">
<p>Commands (see list of commands below)</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>:</code>
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Emoji (note: requires two search characters, to avoid conflicting with
common emoticons like <code>:)</code>)
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<h2>Commands</h2>
<div class="help-item">
<div class="subject">
<code>/away [message]</code>
</div>
<div class="description">
<p>Mark yourself as away with an optional message.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/back</code>
</div>
<div class="description">
<p>Remove your away status (set with <code>/away</code>).</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ban nick</code>
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Ban (<code>+b</code>) a user from the current channel. This can be a
nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/banlist</code>
</div>
<div class="description">
<p>Load the banlist for the current channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/collapse</code>
</div>
<div class="description">
<p>
Collapse all previews in the current channel (opposite of
<code>/expand</code>)
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/connect host [port]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Connect to a new IRC network. If <code>port</code> starts with a
<code>+</code> sign, the connection will be made secure using TLS.
2019-02-18 09:18:32 +00:00
</p>
<p>Alias: <code>/server</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ctcp target cmd [args]</code>
</div>
<div class="description">
<p>
Send a <abbr title="Client-to-client protocol">CTCP</abbr>
request. Read more about this on
<a
href="https://en.wikipedia.org/wiki/Client-to-client_protocol"
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
2019-08-03 19:03:45 +00:00
>the dedicated Wikipedia article</a
>.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/deop nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Remove op (<code>-o</code>) from one or several users in the current
channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/devoice nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Remove voice (<code>-v</code>) from one or several users in the current
channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/disconnect [message]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Disconnect from the current network with an optionally-provided message.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/expand</code>
</div>
<div class="description">
<p>
Expand all previews in the current channel (opposite of
<code>/collapse</code>)
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/invite nick [channel]</code>
</div>
<div class="description">
<p>
Invite a user to the specified channel. If
2019-08-03 19:03:45 +00:00
<code>channel</code> is omitted, user will be invited to the current
channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ignore nick</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Block any messages from the specified user on the current network. This can
be a nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ignorelist</code>
</div>
<div class="description">
<p>Load the list of ignored users for the current network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/join channel</code>
</div>
<div class="description">
<p>Join a channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/kick nick</code>
</div>
<div class="description">
<p>Kick a user from the current channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/list</code>
</div>
<div class="description">
<p>Retrieve a list of available channels on this network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/me message</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Send an action message to the current channel. The Lounge will display it
inline, as if the message was posted in the third person.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/mode flags [args]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Set the given flags to the current channel if the active window is a
channel, another user if the active window is a private message window, or
yourself if the current window is a server window.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/msg channel message</code>
</div>
<div class="description">
<p>Send a message to the specified channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/nick newnick</code>
</div>
<div class="description">
<p>Change your nickname on the current network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/notice channel message</code>
</div>
<div class="description">
<p>Sends a notice message to the specified channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/op nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Give op (<code>+o</code>) to one or several users in the current channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/part [channel]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Close the specified channel or private message window, or the current
channel if <code>channel</code> is omitted.
2019-02-18 09:18:32 +00:00
</p>
<p>Aliases: <code>/close</code>, <code>/leave</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/rejoin</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Leave and immediately rejoin the current channel. Useful to quickly get op
from ChanServ in an empty channel, for example.
2019-02-18 09:18:32 +00:00
</p>
<p>Alias: <code>/cycle</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/query nick</code>
</div>
<div class="description">
<p>Send a private message to the specified user.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/quit [message]</code>
</div>
<div class="description">
<p>
Disconnect from the current network with an optional message.
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/raw message</code>
</div>
<div class="description">
<p>Send a raw message to the current IRC network.</p>
<p>Aliases: <code>/quote</code>, <code>/send</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/slap nick</code>
</div>
<div class="description">
<p>Slap someone in the current channel with a trout!</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/topic [newtopic]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Get the topic in the current channel. If <code>newtopic</code> is specified,
sets the topic in the current channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/unban nick</code>
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Unban (<code>-b</code>) a user from the current channel. This can be a
nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/unignore nick</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Unblock messages from the specified user on the current network. This can be
a nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/voice nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Give voice (<code>+v</code>) to one or several users in the current channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/whois nick</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Retrieve information about the given user on the current network.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
</div>
</div>
</template>
<script>
import SidebarToggle from "../SidebarToggle.vue";
2019-08-05 14:29:35 +00:00
import VersionChecker from "../VersionChecker.vue";
2019-02-18 09:18:32 +00:00
export default {
name: "Help",
components: {
SidebarToggle,
2019-08-05 14:29:35 +00:00
VersionChecker,
},
data() {
return {
isApple: navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i) || false,
};
},
2019-02-18 09:18:32 +00:00
};
</script>