Slack was always marked as untested and is being dropped, leaving Telegram as the sole supported platform. - Delete the internal/platform/slack connector package - Remove Slack registration in the platform factory - Remove SlackConfig and its SLACK_TOKEN env vars from config - Scrub Slack from README, docs, and .env examples - Drop incidental Slack references from the gallerydl plugin copy Also fixes a pre-existing staticcheck SA5011 warning in db_test.go so the tree lints cleanly.
23 lines
1.2 KiB
HTML
23 lines
1.2 KiB
HTML
{{define "plugins/util.gallerydl.html"}}
|
|
<div class="mb-3">
|
|
<label class="form-label">Allowed Users</label>
|
|
<input type="text" class="form-control" name="allowed_users"
|
|
value="{{with .Config}}{{index . "allowed_users"}}{{end}}"
|
|
placeholder="{{with .GlobalConfig}}{{index . "allowed_users"}}{{end}}">
|
|
<div class="form-text text-muted">
|
|
Comma-separated list of users allowed to run <code>!gallerydl</code>. On Telegram this
|
|
is the <code>@username</code> (with or without the leading @).
|
|
<strong>No one is allowed by default</strong> — leave empty to deny everyone.
|
|
Leave blank to inherit the global configuration.
|
|
</div>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label class="form-label">gallery-dl Path</label>
|
|
<input type="text" class="form-control" name="gallery_dl_path"
|
|
value="{{with .Config}}{{index . "gallery_dl_path"}}{{end}}"
|
|
placeholder="{{with .GlobalConfig}}{{with index . "gallery_dl_path"}}{{.}}{{else}}gallery-dl{{end}}{{else}}gallery-dl{{end}}">
|
|
<div class="form-text text-muted">
|
|
Path to the <code>gallery-dl</code> executable. Defaults to <code>gallery-dl</code> (looked up on PATH) if left empty.
|
|
</div>
|
|
</div>
|
|
{{end}}
|