client: Deprecate local highlight, migrate cleanup
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 20 Jun 2020 03:04:59 +0000 (23:04 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 3 Oct 2020 16:13:31 +0000 (18:13 +0200)
commit6f10483c9fe74a9464d7bf9eea53ef83c3403e23
treea1bb1ba522a3f5fe7a2cbde1a59b05749842c236
parentc76b74c18766c1a6631a06bab95f2290dd860395
client: Deprecate local highlight, migrate cleanup

Deprecate "Local Highlights" for client and core setups, adapting the
name "Legacy Highlights" as used with monolithic installs.  Make the
legacy nature more prominent, but keep support enabled.  In the
future, legacy highlights should be disabled and invisible except when
connected to older cores.

Rename "Remote Highlights" to "Highlights" and place first in the
settings list.

When using the "Import Legacy" button, migrate nickname highlight
settings and offer to remove the old local highlight rules, avoiding
redundant highlight rules.

This should help reduce the cases where Highlight Ignore Rules are
configured, but don't seem to respond due to client highlights
overriding the core-side highlight ignore rules.
src/qtui/mainwin.cpp
src/qtui/settingspages/corehighlightsettingspage.cpp
src/qtui/settingspages/corehighlightsettingspage.h
src/qtui/settingspages/highlightsettingspage.cpp
src/qtui/settingspages/highlightsettingspage.ui