From f6a3f4ce6618ea3cb1bbef20bdf44ff86737abf2 Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 10 May 2024 17:27:30 +0200 Subject: [PATCH] feat: Update pantalaimon-related scripts and configuration** Renamed `pantalaimon_first_login.py` to `fetch_access_token.py` to better reflect its purpose. Additionally, updated README to remove obsolete instructions for using pantalaimon with the bot. --- README.md | 9 ++------- pantalaimon_first_login.py => fetch_access_token.py | 0 pantalaimon.example.conf | 5 ----- pyproject.toml | 6 +----- 4 files changed, 3 insertions(+), 17 deletions(-) rename pantalaimon_first_login.py => fetch_access_token.py (100%) delete mode 100644 pantalaimon.example.conf diff --git a/README.md b/README.md index 88caea5..ed3fb15 100644 --- a/README.md +++ b/README.md @@ -86,14 +86,9 @@ file attachments, especially in rooms that are not encrypted, if the same user also uses the bot in encrypted rooms. The bot itself does not implement end-to-end encryption. However, it can be -used in conjunction with [pantalaimon](https://github.com/matrix-org/pantalaimon), -which is actually installed as a dependency of the bot. +used in conjunction with [pantalaimon](https://github.com/matrix-org/pantalaimon). -To use pantalaimon, create a `pantalaimon.conf` following the example in -`pantalaimon.example.conf`, making sure to change the homeserver URL to match -your homeserver. Then, start pantalaimon with `pantalaimon -c pantalaimon.conf`. - -You first have to log in to your homeserver using `python pantalaimon_first_login.py`, +You first have to log in to your homeserver using `python fetch_access_token.py`, and can then use the returned access token in your bot's `config.ini` file. Make sure to also point the bot to your pantalaimon instance by setting diff --git a/pantalaimon_first_login.py b/fetch_access_token.py similarity index 100% rename from pantalaimon_first_login.py rename to fetch_access_token.py diff --git a/pantalaimon.example.conf b/pantalaimon.example.conf deleted file mode 100644 index 5cc48fd..0000000 --- a/pantalaimon.example.conf +++ /dev/null @@ -1,5 +0,0 @@ -[Homeserver] -Homeserver = https://example.com -ListenAddress = localhost -ListenPort = 8010 -IgnoreVerification = True \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0cb3bf1..dbf2b2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,16 +47,12 @@ wolframalpha = [ "wolframalpha", ] -e2ee = [ - "pantalaimon>=0.10.5", -] - trackingmore = [ "trackingmore-api-tool", ] all = [ - "matrix-gptbot[openai,wolframalpha,e2ee,trackingmore]", + "matrix-gptbot[openai,wolframalpha,trackingmore]", "geopy", "beautifulsoup4", ]