0.45.7 — recherche fédérée : ShaarIt, 5e source de « Rechercher partout »
- static/js/recherche.js re-vendangé depuis commons v0.2.1 : source
ShaarIt (bases, onglet, normaliseur — lien profond
{base}shaare/<shorturl>).
- Gabarit /recherche : data-base-shaarit (draco_urls.shaarit),
onglet et section « ShaarIt — bookmarks ».
- app/recherche.py : origines ShaarIt prod/dev, clé sœur et
dictionnaire résolu (urls.shaarit_url).
- Tests : recherche.test.js 83 assertions ; allowlist à 12 origines ;
suite complète 377/377.
This commit is contained in:
@@ -18,6 +18,7 @@ RESOLVED_DEV = {
|
||||
"flowdeck": "https://flowdeck-dev.dracodev.net",
|
||||
"tiktak": "https://tiktak-dev.dracodev.net/",
|
||||
"kanbante": "https://kanbante-dev.dracodev.net/",
|
||||
"shaarit": "https://shaarit-dev.dracodev.net/",
|
||||
}
|
||||
|
||||
|
||||
@@ -34,17 +35,20 @@ def test_origin_of():
|
||||
|
||||
|
||||
def test_sister_origins_dev():
|
||||
# Correctif 2026-10-28 : 10 origines officielles (8 sœurs + 2 agent), prod ET dev,
|
||||
# quelle que soit la résolution.
|
||||
# Correctif 2026-10-28 : origines officielles prod ET dev, quelle
|
||||
# que soit la résolution ; ShaarIt ajoutée par la fédération
|
||||
# v0.2.1 (12 origines : 10 sœurs + 2 agent).
|
||||
assert sister_origins(RESOLVED_DEV) == {
|
||||
"https://og.dracodev.net",
|
||||
"https://flowdeck.dracodev.net",
|
||||
"https://tiktak.dracodev.net",
|
||||
"https://kanbante.dracodev.net",
|
||||
"https://shaarit.dracodev.net",
|
||||
"https://og-dev.dracodev.net",
|
||||
"https://flowdeck-dev.dracodev.net",
|
||||
"https://tiktak-dev.dracodev.net",
|
||||
"https://kanbante-dev.dracodev.net",
|
||||
"https://shaarit-dev.dracodev.net",
|
||||
"https://agent.dracodev.net",
|
||||
"https://agent-dev.dracodev.net",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user