Skip to content

Releases: hlf20010508/telegram-onedrive

3.8.0

18 Dec 13:45
Compare
Choose a tag to compare

New Feature

  • Support reverse proxy.

3.7.2

17 Dec 14:56
Compare
Choose a tag to compare

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

25 Nov 09:08
Compare
Choose a tag to compare

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 no Content-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

22 Nov 06:42
Compare
Choose a tag to compare
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 including User-Agent and Referer for requests.get in modules.utils.get_filename to avoid receiving 404 from some website.
  • Support Telegram login retry.
  • Add response to OneDrive authorization failure.

Adjustment

  • Set sleep time from 0.1s to 5s in modules.onedrive.

3.6

03 Nov 07:02
Compare
Choose a tag to compare
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

17 Oct 15:23
Compare
Choose a tag to compare
3.5

New Feature

  • Support links for normal (not restricted) content.

Adjustment

  • Remove deprecated instruction about channel.

3.4

23 Sep 01:30
Compare
Choose a tag to compare
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

15 Sep 07:47
Compare
Choose a tag to compare
3.3

New Feature

  • Support storing sessions in volume for docker container.

3.2

15 Sep 05:49
Compare
Choose a tag to compare
3.2

Improvement

  • Offer response when receiving url which is not a message link.

3.1

14 Sep 13:18
Compare
Choose a tag to compare
3.1

Improvements

  • Offer more information of error with details and analysis.
  • Use pre-built cryptg docker image to accelerate building progress.