The Conversations page calls aimsight-libredesk's conversations/pulling.py (formerly pompage.py, renamed with that repository's English translation); docs follow (pull.sh, pulling.py)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-25 11:45:39 +01:00
1 parent f0470295fa
commit cccdeae67e
5 files changed
+15 -15

No files matched your search

+3 -3
View File
@@ -415,15 +415,15 @@ def check_conversations():
assert "img-src 'self'" in server.conversation_transcript("42").headers["content-security-policy"]
refuses(conversations.transcript, "../analyses", False)
refuses(server.conversation_file, "42", "../../etc/passwd")
if conversations.pompage: # ~/aimsight-libredesk may be on a branch without conversations/ yet
if conversations.pulling: # ~/aimsight-libredesk may be on a branch without conversations/ yet
assert "From and To" in refuses(conversations.pump, {"start": "2026-11-01"})
assert set(conversations.pump_state()) == {"running", "log"}
pompage, conversations.pompage = conversations.pompage, None # no libredesk/ link: the app still runs
pulling, conversations.pulling = conversations.pulling, None # no libredesk/ link: the app still runs
try:
assert "libredesk/" in refuses(conversations.pump, {})
assert conversations.pump_state()["running"] is False and "libredesk/" in conversations.pump_state()["log"][0]
finally:
conversations.pompage = pompage
conversations.pulling = pulling
finally:
conversations.FOLDER = before
shutil.rmtree(root)