Draupnir asks for its access token; Public community leaves it out
The playbook fails validation when Draupnir has no access token (with zero-touch deploy and neither Pantalaimon nor native login), so ticking it broke the deploy, Public community's included. The token belongs to an account that can only be made once the server is up, so the preset no longer ticks it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fce7d7b1ce
commit
2a7bfc650a
7 files changed
+14
-10
No files matched your search
@@ -328,8 +328,12 @@ var Components = []Component{
|
||||
}},
|
||||
{ID: "draupnir", Name: "Draupnir", Category: "Bots", EnableVar: "matrix_bot_draupnir_enabled",
|
||||
Description: "Moderation bot (Mjolnir successor).", Doc: "configuring-playbook-bot-draupnir.md",
|
||||
Extra: map[string]string{"matrix_bot_draupnir_zero_touch_deploy": "true"},
|
||||
Fields: []Field{{Var: "matrix_bot_draupnir_config_initialManager", Label: "Initial manager MXID", Kind: Text, Required: true, Help: "e.g. @you:example.com"}}},
|
||||
Extra: map[string]string{"matrix_bot_draupnir_zero_touch_deploy": "true"},
|
||||
Fields: []Field{
|
||||
{Var: "matrix_bot_draupnir_config_initialManager", Label: "Initial manager MXID", Kind: Text, Required: true, Help: "e.g. @you:example.com"},
|
||||
{Var: "matrix_bot_draupnir_config_accessToken", Label: "Bot access token", Kind: Text, Required: true,
|
||||
Help: "Of an account made for it, bot.draupnir: add it under Manage, then get a token with curl, not from Element (see the playbook's obtaining-access-tokens.md)."},
|
||||
}},
|
||||
{ID: "d4a", Name: "Draupnir for all (D4A)", Category: "Bots", EnableVar: "matrix_appservice_draupnir_for_all_enabled",
|
||||
Description: "Draupnir in appservice mode, multiple instances.", Doc: "configuring-playbook-appservice-draupnir-for-all.md",
|
||||
Extra: map[string]string{"matrix_appservice_draupnir_for_all_zero_touch_deploy": "true"},
|
||||
@@ -445,8 +449,8 @@ var Presets = []Preset{
|
||||
"synapse", []string{"coturn", "element", "sable", "element-call", "mas", "ketesa"}, false},
|
||||
{"bridges", "Bridge hub", "Telegram, WhatsApp, Signal and Discord in one place, encrypted, with your own name on the other side.",
|
||||
"synapse", []string{"coturn", "element", "sable", "mas", "ketesa", "double-puppet", "bridges-e2ee", "telegram", "whatsapp", "signal", "discord"}, false},
|
||||
{"community", "Public community", "Sign-up with a token through MAS, three web clients, moderation, antispam and monitoring.",
|
||||
"synapse", []string{"coturn", "element", "cinny", "sable", "mas", "draupnir", "simple-antispam", "ketesa", "monitoring"}, true},
|
||||
{"community", "Public community", "Sign-up with a token through MAS, three web clients, antispam and monitoring.",
|
||||
"synapse", []string{"coturn", "element", "cinny", "sable", "mas", "simple-antispam", "ketesa", "monitoring"}, true},
|
||||
{"light", "Lightweight", "Tuwunel with Cinny and Sable for a Raspberry Pi or a 1 GB VPS.",
|
||||
"tuwunel", []string{"coturn", "cinny", "sable"}, false},
|
||||
}
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
│ ○ Settings ││ Minimal chat Synapse · 4 components │
|
||||
│ ○ Review ││ Friends & family Synapse · 6 components │
|
||||
│ ○ Deploy ││ Bridge hub Synapse · 11 components │
|
||||
│ ││ Public community Synapse · 9 components │
|
||||
│ ││ Public community Synapse · 8 components │
|
||||
│ ▸ Manage example.org ││ Lightweight Tuwunel · 3 components │
|
||||
│ ││ │
|
||||
│ ▸ Mirrors ││ Or only the homeserver, and pick the components yourself │
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
Minimal chat Synapse · 4 components
|
||||
Friends & family Synapse · 6 components
|
||||
Bridge hub Synapse · 11 components
|
||||
Public community Synapse · 9 components
|
||||
Public community Synapse · 8 components
|
||||
Lightweight Tuwunel · 3 components
|
||||
|
||||
Or only the homeserver, and pick the
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
◢◤ 2/6 Homeserver
|
||||
Choose your homeserver
|
||||
▲ more above
|
||||
Public community Synapse · 9 components
|
||||
Public community Synapse · 8 components
|
||||
Lightweight Tuwunel · 3 components
|
||||
Or only the homeserver, and pick the
|
||||
components yourself
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
│ ▾ Servers ││ │ Calls • Element Call │ │
|
||||
│ ● example.org ││ ╰────────────────────────────────────────────────────────────────────────────────╯ │
|
||||
│ ││ Bridge hub Synapse · 11 components │
|
||||
│ ││ Public community Synapse · 9 components │
|
||||
│ ││ Public community Synapse · 8 components │
|
||||
│ ││ Lightweight Tuwunel · 3 components │
|
||||
│ ││ │
|
||||
│ ││ Or only the homeserver, and pick the components yourself │
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
│ Calls • Element Call │
|
||||
╰────────────────────────────────────────╯
|
||||
Bridge hub Synapse · 11 components
|
||||
Public community Synapse · 9 components
|
||||
Public community Synapse · 8 components
|
||||
Lightweight Tuwunel · 3 components
|
||||
|
||||
Or only the homeserver, and pick the
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
› Friends & family Synapse · 6 components ●
|
||||
Chat plus voice and video calls, and an a…
|
||||
Bridge hub Synapse · 11 components
|
||||
Public community Synapse · 9 components
|
||||
Public community Synapse · 8 components
|
||||
Lightweight Tuwunel · 3 components
|
||||
Or only the homeserver, and pick the
|
||||
components yourself
|
||||
|
||||
Reference in new issue
Block a user