mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(indexers): PTP update IRC channel (#1889)
* fix(indexers): PTP update IRC channel * fix(database): add migrations for PTP IRC channel update * fix(database): update PTP IRC channel references in invite commands --------- Co-authored-by: s0up4200 <s0up4200@pm.me>
This commit is contained in:
parent
4009554d10
commit
2c0672f4bc
3 changed files with 18 additions and 2 deletions
|
@ -1339,5 +1339,13 @@ CREATE INDEX release_cut_index
|
||||||
|
|
||||||
CREATE INDEX release_hybrid_index
|
CREATE INDEX release_hybrid_index
|
||||||
ON "release" (hybrid);
|
ON "release" (hybrid);
|
||||||
|
`,
|
||||||
|
`UPDATE irc_channel
|
||||||
|
SET name = '#ptp-announce'
|
||||||
|
WHERE name = '#ptp-announce-dev';
|
||||||
|
|
||||||
|
UPDATE irc_network
|
||||||
|
SET invite_command = REPLACE(invite_command, '#ptp-announce-dev', '#ptp-announce')
|
||||||
|
WHERE invite_command LIKE '%#ptp-announce-dev%';
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1984,5 +1984,13 @@ CREATE INDEX release_cut_index
|
||||||
|
|
||||||
CREATE INDEX release_hybrid_index
|
CREATE INDEX release_hybrid_index
|
||||||
ON "release" (hybrid);
|
ON "release" (hybrid);
|
||||||
|
`,
|
||||||
|
`UPDATE irc_channel
|
||||||
|
SET name = '#ptp-announce'
|
||||||
|
WHERE name = '#ptp-announce-dev';
|
||||||
|
`,
|
||||||
|
`UPDATE irc_network
|
||||||
|
SET invite_command = REPLACE(invite_command, '#ptp-announce-dev', '#ptp-announce')
|
||||||
|
WHERE invite_command LIKE '%#ptp-announce-dev%';
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ irc:
|
||||||
port: 7000
|
port: 7000
|
||||||
tls: true
|
tls: true
|
||||||
channels:
|
channels:
|
||||||
- "#ptp-announce-dev"
|
- "#ptp-announce"
|
||||||
announcers:
|
announcers:
|
||||||
- Hummingbird
|
- Hummingbird
|
||||||
settings:
|
settings:
|
||||||
|
@ -55,7 +55,7 @@ irc:
|
||||||
|
|
||||||
- name: invite_command
|
- name: invite_command
|
||||||
type: secret
|
type: secret
|
||||||
default: "Hummingbird ENTER USERNAME IRCKEY #ptp-announce-dev"
|
default: "Hummingbird ENTER USERNAME IRCKEY #ptp-announce"
|
||||||
required: true
|
required: true
|
||||||
label: Invite command
|
label: Invite command
|
||||||
help: Invite auth with Hummingbird. Replace USERNAME and IRCKEY.
|
help: Invite auth with Hummingbird. Replace USERNAME and IRCKEY.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue