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

@ -15,6 +15,7 @@ source: custom
settings:
- name: passkey
type: secret
required: true
label: Passkey
help: "Go to https://scenehd.org/getrss.php and extract your Passkey"
@ -28,12 +29,19 @@ irc:
announcers:
- SceneHD
settings:
- name: nickserv.account
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user_bot
- name: auth.account
type: text
required: false
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user_bot
- name: nickserv.password
help: NickServ account. Make sure to group your user and bot.
- name: auth.password
type: secret
required: false
label: NickServ Password
@ -41,10 +49,10 @@ irc:
- name: invite_command
type: secret
default: "SceneHD .invite <IRC_KEY> #annnonce"
default: "SceneHD .invite IRCKEY #annnonce"
required: true
label: Invite command
help: Invite auth with SceneHD. Replace <IRC_KEY> with your IRC key
help: Invite auth with SceneHD. Replace IRCKEY with your IRC key
parse:
type: single