Commit Graph

68 Commits

Author SHA1 Message Date
jaskaranSM 236b6eb30e use args from CallbackContext 2020-04-16 13:28:44 +05:30
jaskaranSM 8341fe08c8 watch: context based callbacks 2020-04-16 13:00:35 +05:30
jaskaranSM d7bc8f3c9a switch to context based callbacks 2020-04-16 12:26:28 +05:30
lzzy12 c6b4c542b7 fixup after e0f4c4347c
- Also fixed copying of netrc file in the container

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-15 14:47:33 +05:30
lzzy12 e0f4c4347c Separate out youtube-dl command
- /watch [youtube-dl supported link]

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-14 23:20:52 +05:30
lzzy12 b2f2ee4335 Fix aria downloads cancellation after b58eb87b11
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-06 13:14:40 +05:30
lzzy12 0536472e28 Expose message object from Status objects
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-05 13:28:35 +05:30
lzzy12 b58eb87b11 Improvements in cancelling mirrors
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-05 12:34:08 +05:30
lzzy12 9fa41f68c1 Some minor Fix-ups
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-30 18:16:54 +05:30
lzzy12 3754e8b3ce Fix tg torrent file mirror broken
since 7d74cf29d8

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-30 17:02:31 +05:30
jaskaranSM 6262b26fe5 youtube-dl: fixed downloading from sites that provide encrypted content (m3u8) 2020-03-28 18:44:02 +05:30
lzzy12 7c304d449a Fix uploading for YT-DL
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-28 14:38:08 +05:30
lzzy12 9057d3fc4e Fixed yt-dl support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-28 13:47:19 +05:30
jaskaranSM 3a06458609 Added Youtube-dl support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-27 20:04:13 +05:30
lzzy12 0de6915222 Remove redundant exception classes and fix existing ones
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-27 14:35:51 +05:30
lzzy12 f50981b3a2 Implement cancel downloads of tg mirrors
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-23 15:21:54 +05:30
lzzy12 7d74cf29d8 Fixed support for mirror of video and audio telegram files
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-22 16:30:57 +05:30
jaskaranSM a44d0da9f6 Implement cancellation of downloads by gid 2020-03-22 15:05:11 +05:30
jaskaranSM 6b60ca4491 Squash of clone command
Implement clone feature
- clones a public/driveAccountAccessible Drive Link to bot G-Drive

use BotCommands for clone command trigger
2020-03-22 15:05:11 +05:30
lzzy12 94ccdcbeef Add support for mirror of telegram files
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Add a script to generate string session for user

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Some fix ups

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Fix telegram download

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-22 15:04:31 +05:30
lzzy12 898977df97 Use proper url-encoding methods to replace special characters from url
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-20 17:03:33 +05:30
lzzy12 ae9d972add Tag the author of replied message of mirror command
This closes #24

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

# Conflicts:
#	bot/modules/mirror.py
2020-03-19 15:36:11 +05:30
lzzy12 7ba7bc92ac Add support for Direct Download generation
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-19 14:22:33 +05:30
jaskaranSM 5598159626
Refactor parse logic 2020-01-04 07:46:23 +05:30
lzzy12 e5f997d1f3 Revert "Fixed potential race conditions in GoogleDriveHelper class"
This reverts commit 20dae25dc9.

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-01-03 10:41:54 +05:30
jaskaranSM 7b2d5d50ab Implement Exponential Backoff
- for handling Google Drive API errors such as 5xx,4xx
2020-01-03 10:15:40 +05:30
jaskaranSM 1543da735c Fixed bugs in MirrorListener 2020-01-02 13:41:39 +05:30
jaskaranSM b84ffcc416 prevent cleaning of uploading/archiving downloads 2020-01-02 10:25:45 +05:30
jaskaranSM 22d5797942 Fixed variable assignment 2019-12-29 20:20:16 +05:30
jaskaranSM 38fa1ec2a6 Fixed Handling of Cancellation of uploads/archivals 2019-12-29 19:13:10 +05:30
jaskaranSM 7c4779cfc6
Added Authorization for Drive List Command. 2019-12-29 18:07:12 +05:30
lzzy12 20dae25dc9 Fixed potential race conditions in GoogleDriveHelper class
* Also simplified code a bit
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-26 16:39:59 +05:30
lzzy12 ac24ff0371 Optimise adding index url to messsage
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-25 14:53:58 +05:30
Shubham dubey eb388c7cea Fix Index trailing issue on directories 2019-12-25 14:53:58 +05:30
jaskaranSM e69625c406 Fix git conflict 2019-12-24 21:16:46 +05:30
jaskaranSM 8a516024cb Fixed Folder upload to Team Drives 2019-12-24 21:11:33 +05:30
lzzy12 b31a39f11a Enable TeamDrive support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 20:12:39 +05:30
lzzy12 0ed1ca3531 Enable TeamDrive support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 19:49:48 +05:30
lzzy12 82ae49a33a Re implement upload progress after rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 17:24:35 +05:30
Shivam Jha c4964ad9d0
Fix hardcoded value of status Update interval 2019-12-23 17:36:35 +05:30
jaskaranSM 0d30f19a4e Project Rebase
- Changelog:
 Improved Performance
 Fixed Stucked Messages
 Seperated Download Progress Status From Listener
 Disabled Upload Progress (Temporarily)
2019-12-23 13:26:32 +05:30
lzzy12 db0dcb0d8b [DO NOT DEPLOY] Incomplete save
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-11-12 17:32:58 +05:30
jaskaranSM 584bd138df Refactored Download start logic 2019-11-12 15:01:08 +05:30
jaskaranSM a0d8947d6b
list: fix bug 2019-10-30 21:04:32 +05:30
Shivam Jha 8e65b6280d
Only Allow owner to cancell all downloads 2019-10-30 17:28:59 +05:30
jaskaranSM 03952750e2 Fix tagging users without username (#7) 2019-10-28 11:59:40 +05:30
lzzy12 fd1c49d93f Fix indentation error
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-27 19:02:36 +05:30
jaskaranSM deb4b43fdd Validate Url and Magnet with Regex 2019-10-27 17:29:02 +05:30
jaskaranSM 3bac006fb3 Output file size in list search results
- Also Listing Recent Uploads Fixed. ( * )
2019-10-22 19:47:50 +05:30
jaskaranSM fdb49ac62a Fixed Cancelled Downloads stuck in Download Queue.
- Also some minor Modifications.
2019-10-22 18:20:47 +05:30