diff --git a/.eslintrc.yml b/.eslintrc.yml index b67991b5..d59c3b80 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -2,7 +2,7 @@ root: true parserOptions: - ecmaVersion: 2018 + ecmaVersion: 2020 env: es6: true diff --git a/.github/ISSUE_TEMPLATE/Bug_Report.md b/.github/ISSUE_TEMPLATE/Bug_Report.md index da44fb06..22efc625 100644 --- a/.github/ISSUE_TEMPLATE/Bug_Report.md +++ b/.github/ISSUE_TEMPLATE/Bug_Report.md @@ -4,7 +4,7 @@ about: Create a bug report labels: "Type: Bug" --- - + - _Node version:_ - _Browser version:_ diff --git a/.github/ISSUE_TEMPLATE/Feature_Request.md b/.github/ISSUE_TEMPLATE/Feature_Request.md index 51f7a656..a0ea13c3 100644 --- a/.github/ISSUE_TEMPLATE/Feature_Request.md +++ b/.github/ISSUE_TEMPLATE/Feature_Request.md @@ -4,7 +4,7 @@ about: Request a new feature labels: "Type: Feature" --- - + ### Feature Description diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 6534742d..a06afb86 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -13,4 +13,4 @@ contact_links: - name: General support url: https://demo.thelounge.chat/?join=%23thelounge - about: "Join #thelounge on Freenode to ask a question before creating an issue" + about: "Join #thelounge on Libera.Chat to ask a question before creating an issue" diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index 1fbda01d..62c3148e 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -6,6 +6,6 @@ need help, you have a few options: - Check out [existing questions on Stack Overflow](https://stackoverflow.com/questions/tagged/thelounge) to see if yours has been answered before. If not, feel free to [ask for a new question](https://stackoverflow.com/questions/ask?tags=thelounge) (using `thelounge` tag so that other people can easily find it). -- Find us on the Freenode channel `#thelounge`. You might not get an answer +- Find us on the Libera.Chat channel `#thelounge`. You might not get an answer right away, but this channel is full of nice people who will be happy to help you. diff --git a/CHANGELOG.md b/CHANGELOG.md index c8c80e33..55a558bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. +## v4.3.0-pre.2 - 2021-06-07 [Pre-release] + +[See the full changelog](https://github.com/thelounge/thelounge/compare/v4.3.0-pre.1...v4.3.0-pre.2) + +This is a pre-release for v4.3.0 to offer latest changes without having to wait for a stable release. +At this stage, features may still be added or modified until the first release candidate for this version gets released. + +Please refer to the commit list given above for a complete list of changes, or wait for the stable release to get a thoroughly prepared change log entry. + +As with all pre-releases, this version requires explicit use of the `next` tag to be installed: + +```sh +yarn global add thelounge@next +``` + ## v4.3.0-pre.1 - 2021-03-02 [Pre-release] [See the full changelog](https://github.com/thelounge/thelounge/compare/v4.2.0...v4.3.0-pre.1) diff --git a/README.md b/README.md index 8ea89439..66d08464 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@

#thelounge IRC channel on freenode + alt="#thelounge IRC channel on Libera.Chat" + src="https://img.shields.io/badge/Libera.Chat-%23thelounge-415364.svg?colorA=ff9e18"> npm version diff --git a/SECURITY.md b/SECURITY.md index 909e8718..7c292045 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,6 +4,6 @@ - Contact us privately first, in a [responsible disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure) manner. -- On IRC, send a private message to any voiced user on our Freenode channel, +- On IRC, send a private message to any voiced user on our Libera.Chat channel, `#thelounge`. - By email, send us your report at . diff --git a/client/components/App.vue b/client/components/App.vue index b136874f..d821ca3c 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -51,6 +51,7 @@ export default { Mousetrap.bind("esc", this.escapeKey); Mousetrap.bind("alt+u", this.toggleUserList); Mousetrap.bind("alt+s", this.toggleSidebar); + Mousetrap.bind("alt+m", this.toggleMentions); // Make a single throttled resize listener available to all components this.debouncedResize = throttle(() => { @@ -72,6 +73,7 @@ export default { Mousetrap.unbind("esc", this.escapeKey); Mousetrap.unbind("alt+u", this.toggleUserList); Mousetrap.unbind("alt+s", this.toggleSidebar); + Mousetrap.unbind("alt+m", this.toggleMentions); window.removeEventListener("resize", this.debouncedResize); clearTimeout(this.dayChangeTimeout); @@ -98,6 +100,11 @@ export default { return false; }, + toggleMentions() { + if (this.$store.state.networks.length !== 0) { + eventbus.emit("mentions:toggle"); + } + }, msUntilNextDay() { // Compute how many milliseconds are remaining until the next day starts const today = new Date(); diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index d12b9405..f0dbb14b 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -183,6 +183,10 @@ export default { }, setInputSize() { this.$nextTick(() => { + if (!this.$refs.input) { + return; + } + const style = window.getComputedStyle(this.$refs.input); const lineHeight = parseFloat(style.lineHeight, 10) || 1; diff --git a/client/components/MessageSearchForm.vue b/client/components/MessageSearchForm.vue index 233e099f..52f43462 100644 --- a/client/components/MessageSearchForm.vue +++ b/client/components/MessageSearchForm.vue @@ -4,7 +4,7 @@ username to {{ message.new_ident }} hostname to {{ message.new_host }} + >hostname to +