Releases: hlf20010508/telegram-onedrive
Releases · hlf20010508/telegram-onedrive
3.8.0
New Feature
- Support reverse proxy.
3.7.2
Improvements
- Won't raise exception if the upload from url progress status is
waiting
. - Reply upload from url progress response content when failed.
- Reply OneDrive authorization response content when failed.
- Update
/help
content.
3.7.1
Improvements
- Fix auth server not ready when relogin to OneDrive. Bot will wait until auth server is ready.
- Handle
Content-Length
missing in response headers. When noContent-Length
found in headers, progess won't display total file size. If not supported by OneDrive, this url can't be uploaded by local uploader.
3.7
New Features
- Support OneDrive business accounts.
- Support OneDrive logout, use command
/logout
.
Improvements
- Improve logic of
modules.utils.get_filename
. - Simplify conditional statements in
modules.handlers.transfer
. - Simplify exception handling statements in
modules.handlers.url
. - Add
headers
includingUser-Agent
andReferer
forrequests.get
inmodules.utils.get_filename
to avoid receiving404
from some website. - Support Telegram login retry.
- Add response to OneDrive authorization failure.
Adjustment
- Set
sleep
time from0.1s
to5s
inmodules.onedrive
.
3.6
Improvements
- Add response to
telethon.errors.rpcerrorlist.MessageDeleteForbiddenError
. - Support url whose ssl verification is invalid for
/url
. - Improve the logic of using local uploader in
/url
. - Support
basic-group
type group.
3.5
New Feature
- Support links for normal (not restricted) content.
Adjustment
- Remove deprecated instruction about channel.
3.4
New Features
- Reply more error message.
- Auto retry
upload_from_url
if needed. - Use bot's uploader to upload from url if the url is invalid to OneDrive API.
- Unquote file name when upload from url.
- Add
/clearLogs
to clear logs. - Add
/logs
and/logs range
to show logs.
Improvements
- Stop propagation if
auth_handler
is called by user to avoid duplicate auth request. - Update
docker-publish.yml
. Both release and dev publish will generate dev package. - Fix progress error when uploading from url with large file.
- Use respond instead of reply for status to avoid notification if muted.
- Add gif demo for
README.md
.
Adjustments
- Refactor all files.
- Adjust status output when uploading from url with OneDrive API, to show file size and current size.
- Remove
/status
, use reply for status. /autoDelete
now is a toggle, no need parameter./start
and/help
will check in-group status./autoDelete
will check in-group status and login status.
3.3
New Feature
- Support storing sessions in volume for docker container.
3.2
Improvement
- Offer response when receiving url which is not a message link.
3.1
Improvements
- Offer more information of error with details and analysis.
- Use pre-built
cryptg
docker image to accelerate building progress.