diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml index ff60fb7a9e..47363641bc 100644 --- a/.github/workflows/publish-docker-image.yml +++ b/.github/workflows/publish-docker-image.yml @@ -4,6 +4,7 @@ on: branches: - master - dev + - multiuser tags: - '**' jobs: diff --git a/.gitignore b/.gitignore index a9606b5a04..c56c8edb3b 100644 --- a/.gitignore +++ b/.gitignore @@ -163,7 +163,7 @@ celerybeat.pid .env .venv env/ -venv/ +venv*/ ENV/ env.bak/ venv.bak/ @@ -299,5 +299,8 @@ icon/ *.sh *.bat *.cmd +*.bak docker-compose*.yml -.version \ No newline at end of file +.version +src/db/config_**_sample.py +src/db/create_migrations.py diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 08bc846242..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,173 +0,0 @@ -# Changelog - -## v1.6.1 - -### en - -**This is a rushed release. It bumps the dependency `telethon` to the latest version. Please upgrade to this version -immediately to avoid being unable to login due to the outdated dependency.** - -The bot is currently being actively developed on the `multiuser` branch, but has not been merged back yet to avoid -introducing breaking changes too early. If you would like to try the multi-user version, there is a public -demo [@RSStT_Bot](https://t.me/RSStT_Bot) . - -#### New features - -- `.env` file support (only for manual execution, not for docker) -- Unescape HTML-escaped post title -- Use the title as the content of a post if the latter is of no text - -#### Changes - -- Minor bugfixes -- Introduce some workarounds to avoid being flood-controlled frequently -- Introduce some deps to speedup HTTP requests - -### zh-Hans - -**这是一个仓促的发布。它将依赖 `telethon` 升级到了最新版本。请立即升级到这个版本以免由于依赖过时而无法登录。** - -机器人正在 `multiuser` 分支上被活跃开发,但尚未被合并回来,以免过早引入重大变更。如果你想要尝试多用户版本,这里有一个公开的 demo [@RSStT_Bot](https://t.me/RSStT_Bot) 。 - -#### 新特性 - -- `.env` 文件支持 (仅在手动执行时支持,不支持 docker) -- 反转义受到 HTML 转义的文章标题 -- 当文章内容不含有文本时,将标题作为文章的内容 - -#### 变更 - -- 一些小的错误修复 -- 引入了一些变通解决方案以免频繁受到泛洪控制 -- 引入了一些依赖以加速 HTTP 请求 - -## v1.6.0 - -### en - -#### BREAKING CHANGE - -- Telegram bot library has been migrated from `python-telegram-bot` (which uses HTTP Bot API and is synchronous) - to `telethon` (which uses MTProto Bot API and is asynchronous) - - However, to use MTProto Bot API, an API key is needed. The bot has 7 built-in API keys (collected from the - Internet) and in most cases it should not be unable to log in. But if so, please obtain your own API key ( - see [docker-compose.yml.sample](https://github.com/Rongronggg9/RSS-to-Telegram-Bot/blob/53f11a473933e620d707c9d15f6d48737bd7a982/docker-compose.yml.sample#L43) - for details) - -#### New features - -- Thanks to the migration of Telegram bot library, bot can now connect to its DC directly, need not detour through the - HTTP Bot API and keep polling to get new messages. Which makes the bot receive and reply messages more rapidly and - lightweightedly. Even if the HTTP Bot API is down, the bot can still run unaffectedly. (more - details: [Advantages of MTProto over Bot API](https://docs.telethon.dev/en/latest/concepts/botapi-vs-mtproto.html#advantages-of-mtproto-over-bot-api) - , [MTProto vs HTTP Bot API](https://github.com/LonamiWebs/Telethon/wiki/MTProto-vs-HTTP-Bot-API)) -- Support parsing more HTML elements - - `