Releases: hlf20010508/telegram-onedrive
Releases · hlf20010508/telegram-onedrive
3.10.3
Improvements
- Fix endless loop caused by invalid characters in file name.
- Fix
/drive
command format error response missing.
3.10.2
Improvement
- Fix error when using link for restricted content.
- Use
id.ext
to name uploaded file if the file doesn't have name.
3.10.1
Adjustment
- Use file's real name.
Improvement
- Fix
ad-hoc
dependencies error.
3.10.0
New Feature
- Support multiple OneDrive accounts using command
/drive
. - Support OneDrive directory changing using command
/dir
.
Adjustments
- Delete self-signed ssl files under
server/ssl
, use self-signed ssl provided by flask instead. - Move
/logout
to/drive logout
, support account index specified. - Move
/clearLogs
to/logs clear
.
3.9.1
New Feature
- Support multiple users specified.
3.9.0
Adjustment
- Use constant
8080
as server port.
New Feature
- Support two-step verification.
Improvements
- Use relative path in front end.
- Improve instructions in
README.md
and comments indocker-compose.yml
.
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
.