Flowdeck 7.85.3 — HUB-21 : consommation des réglages généraux du Hub (bannière + drapeau recherche_partout)
FlowDeck CI / test (push) Failing after 0s
FlowDeck CI / docker (push) Skipped
FlowDeck CI / lint (pull_request) Failing after 1s
FlowDeck CI / test (pull_request) Failing after 1s
FlowDeck CI / docker (pull_request) Skipped
FlowDeck CI / lint (push) Failing after 11s

This commit is contained in:
Spark
2026-11-06 16:57:05 +00:00
parent e6f5cff870
commit 463dd7b752
11 changed files with 512 additions and 4 deletions
+13
View File
@@ -197,4 +197,17 @@ ok(rc.recognized === true && rc.items.length === 0, "console : resultats vide re
ok(rp.consoleLinkFor({ type: "discussion", id: "c1" }) === "/?section=conversation&disc=c1", "consoleLinkFor discussion");
ok(rp.resolveConsoleBase({ host: "x.example", tabHrefs: { agent: "https://agent-perso.example/" } }) === "https://agent-perso.example/", "console : href onglet barre agent accepte");
/* federationAutorisee (HUB-21) : seules les valeurs explicitement
négatives désactivent la fédération ; absent/illisible = actif
(repli = comportement actuel, Hub muet compris). */
ok(rp.federationAutorisee("false") === false, "fédération : false désactive");
ok(rp.federationAutorisee("0") === false, "fédération : 0 désactive");
ok(rp.federationAutorisee(" FALSE ") === false, "fédération : casse/espaces ignorés");
ok(rp.federationAutorisee("true") === true, "fédération : true active");
ok(rp.federationAutorisee("1") === true, "fédération : 1 active");
ok(rp.federationAutorisee(null) === true, "fédération : attribut absent = actif");
ok(rp.federationAutorisee(undefined) === true, "fédération : undefined = actif");
ok(rp.federationAutorisee("") === true, "fédération : vide = actif");
ok(rp.federationAutorisee("nimporte") === true, "fédération : illisible = actif");
console.log("recherche.test.js : " + n + " assertions OK");