mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-04 07:23:22 +02:00
Fix linting and tests
This commit is contained in:
parent
a8935376a1
commit
46de99d50e
|
@ -369,12 +369,12 @@ p {
|
||||||
.context-menu-action-revoke-mode::before { content: "\f068"; /* http://fontawesome.io/icon/minus/ */ }
|
.context-menu-action-revoke-mode::before { content: "\f068"; /* http://fontawesome.io/icon/minus/ */ }
|
||||||
.context-menu-network::before { content: "\f233"; /* https://fontawesome.com/icons/server?style=solid */ }
|
.context-menu-network::before { content: "\f233"; /* https://fontawesome.com/icons/server?style=solid */ }
|
||||||
.context-menu-edit::before { content: "\f303"; /* https://fontawesome.com/icons/pencil-alt?style=solid */ }
|
.context-menu-edit::before { content: "\f303"; /* https://fontawesome.com/icons/pencil-alt?style=solid */ }
|
||||||
|
|
||||||
.context-menu-clear-favorites::before,
|
.context-menu-clear-favorites::before,
|
||||||
.context-menu-clear-history::before { content: "\f1f8"; /* https://fontawesome.com/icons/trash?style=solid */ }
|
.context-menu-clear-history::before { content: "\f1f8"; /* https://fontawesome.com/icons/trash?style=solid */ }
|
||||||
.context-menu-mute::before { content: "\f6a9"; /* https://fontawesome.com/v5.15/icons/volume-mute?style=solid */ }
|
.context-menu-mute::before { content: "\f6a9"; /* https://fontawesome.com/v5.15/icons/volume-mute?style=solid */ }
|
||||||
.context-menu-favorite::before { content: "\f005"; /* http://fontawesome.io/icon/star/ */ }
|
.context-menu-favorite::before { content: "\f005"; /* http://fontawesome.io/icon/star/ */ }
|
||||||
|
|
||||||
|
|
||||||
.channel-list-item .not-secure-icon::before {
|
.channel-list-item .not-secure-icon::before {
|
||||||
content: "\f071"; /* https://fontawesome.com/icons/exclamation-triangle?style=solid */
|
content: "\f071"; /* https://fontawesome.com/icons/exclamation-triangle?style=solid */
|
||||||
}
|
}
|
||||||
|
@ -512,7 +512,6 @@ p {
|
||||||
color: #2ecc40;
|
color: #2ecc40;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#chat .msg[data-type="action"] .from::before {
|
#chat .msg[data-type="action"] .from::before {
|
||||||
content: "\f005"; /* http://fontawesome.io/icon/star/ */
|
content: "\f005"; /* http://fontawesome.io/icon/star/ */
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,7 +220,8 @@ describe("Chan", function () {
|
||||||
"topic",
|
"topic",
|
||||||
"type",
|
"type",
|
||||||
"unread",
|
"unread",
|
||||||
"users"
|
"users",
|
||||||
|
"favorite"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -79,12 +79,17 @@ describe("Network", function () {
|
||||||
saslAccount: "testaccount",
|
saslAccount: "testaccount",
|
||||||
saslPassword: "testpassword",
|
saslPassword: "testpassword",
|
||||||
channels: [
|
channels: [
|
||||||
new Chan({name: "#thelounge", key: "", muted: false}),
|
new Chan({name: "#thelounge", key: "", muted: false, favorite: true}),
|
||||||
new Chan({name: "&foobar", key: "", muted: false}),
|
new Chan({name: "&foobar", key: "", muted: false, favorite: false}),
|
||||||
new Chan({name: "#secret", key: "foo", muted: false}),
|
new Chan({name: "#secret", key: "foo", muted: false, favorite: true}),
|
||||||
new Chan({name: "&secure", key: "bar", muted: true}),
|
new Chan({name: "&secure", key: "bar", muted: true, favorite: false}),
|
||||||
new Chan({name: "Channel List", type: Chan.Type.SPECIAL}),
|
new Chan({name: "Channel List", type: Chan.Type.SPECIAL, favorite: false}),
|
||||||
new Chan({name: "PrivateChat", type: Chan.Type.QUERY, muted: true}),
|
new Chan({
|
||||||
|
name: "PrivateChat",
|
||||||
|
type: Chan.Type.QUERY,
|
||||||
|
muted: true,
|
||||||
|
favorite: false,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
network.setNick("chillin`");
|
network.setNick("chillin`");
|
||||||
|
@ -113,11 +118,11 @@ describe("Network", function () {
|
||||||
proxyPassword: "",
|
proxyPassword: "",
|
||||||
proxyUsername: "",
|
proxyUsername: "",
|
||||||
channels: [
|
channels: [
|
||||||
{name: "#thelounge", key: "", muted: false},
|
{name: "#thelounge", key: "", muted: false, favorite: true},
|
||||||
{name: "&foobar", key: "", muted: false},
|
{name: "&foobar", key: "", muted: false, favorite: false},
|
||||||
{name: "#secret", key: "foo", muted: false},
|
{name: "#secret", key: "foo", muted: false, favorite: true},
|
||||||
{name: "&secure", key: "bar", muted: true},
|
{name: "&secure", key: "bar", muted: true, favorite: false},
|
||||||
{name: "PrivateChat", type: "query", muted: true},
|
{name: "PrivateChat", type: "query", muted: true, favorite: false},
|
||||||
],
|
],
|
||||||
ignoreList: [],
|
ignoreList: [],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue