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://immortalseed.me/getrss.php to get the RSS feed link and extract passkey from secret_key"
regex: '[\?&;]secret_key=([\da-fA-F]{32})'
@ -29,15 +30,21 @@ irc:
announcers:
- thoth
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
help: NickServ account. Make sure to group your user and bot.
- name: nickserv.password
- name: auth.password
type: secret
required: true
required: false
label: NickServ Password
help: NickServ password
@ -46,7 +53,7 @@ irc:
default: "immortal invite USERNAME IRCKEY"
required: true
label: Invite command
help: Invite auth with immortal.
help: Invite auth with immortal. Replace USERNAME and IRCKEY.
parse:
type: single