feat(irc): support optional SASL and NickServ auth (#511)

* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): add validation

* feat(indexers): unify and set required values

* feat(irc): add postgres migrations

* feat(irc): use nick as handlerkey

* feat(irc): use account for nickserv

* fix(irc): pg db migration
This commit is contained in:
ze0s 2022-10-27 22:25:58 +02:00 committed by GitHub
parent 4ef0408f33
commit 4bf023d030
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 1404 additions and 631 deletions

View file

@ -13,10 +13,13 @@ source: gazelle
settings:
- name: passkey
type: secret
required: true
label: PassKey
help: Right click download on a torrent and get the passkey.
- name: authkey
type: secret
required: true
label: Auth key
help: Right click download on a torrent and get the authkey.
@ -30,22 +33,30 @@ irc:
announcers:
- HeBoT
settings:
- name: nickserv.account
- name: nick
type: text
required: true
label: Nick
help: "Bot nick. Make sure you follow the naming scheme: username|bot"
- name: auth.account
type: text
required: true
label: NickServ Account
help: "NickServ account name. Make sure you follow the naming scheme: HebitsNickname|bot"
- name: nickserv.password
help: NickServ account. Make sure to group your main user and bot.
- name: auth.password
type: secret
required: true
label: NickServ Password
help: A password of your choice to be used for the bot identification. Save it!
help: NickServ password
- name: invite_command
type: secret
default: "HeBoT !invite IRCKey"
default: "HeBoT !invite IRCKEY"
required: true
label: Invite command
help: "Replace IRCKey with: Edit Profile -> Access Settings -> IRC Key"
help: "Replace IRCKEY with: Edit Profile -> Access Settings -> IRC Key"
parse:
type: multi