feat(irc): add bouncer/znc support (#951)

* feat(irc): add initial bouncer support

* feat(irc): add bouncer fields to irc update form

* fix: make fields optional

* feat(db): add migrations
This commit is contained in:
ze0s 2023-06-14 21:06:28 +02:00 committed by GitHub
parent 28f0b878e1
commit 2677c16ff8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 79 additions and 29 deletions

View file

@ -14,6 +14,8 @@ interface IrcNetwork {
pass: string;
auth: IrcAuth; // optional
invite_command: string;
use_bouncer: boolean;
bouncer_addr: string;
channels: IrcChannel[];
connected: boolean;
connected_since: string;
@ -29,6 +31,8 @@ interface IrcNetworkCreate {
nick: string;
auth: IrcAuth; // optional
invite_command: string;
use_bouncer?: boolean;
bouncer_addr?: string;
channels: IrcChannel[];
connected: boolean;
}
@ -58,6 +62,8 @@ interface IrcNetworkWithHealth {
nick: string;
auth: IrcAuth; // optional
invite_command: string;
use_bouncer: boolean;
bouncer_addr: string;
channels: IrcChannelWithHealth[];
connected: boolean;
connected_since: string;