Commit Graph

44 Commits

Author SHA1 Message Date
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
jaskaranSM b7e65d9c9c Changed sleep() call for Fixing Delay.
- Also Tweaked Torrent Metadata Status Logic a bit.
2019-10-19 16:44:26 +05:30
lzzy12 35f99c849f Handle an crash when user deletes the bot message manually
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-15 21:41:04 +05:30
lzzy12 9f26ed107c Allow owner to unauthorize a user or a chat
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-14 21:53:31 +05:30
lzzy12 a0cdda9e6e Improve gdrive progress tracking
* Still bugged

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-14 19:49:33 +05:30
lzzy12 c9ede8bf16 Fix torrent download from telegram
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 23:40:04 +05:30
lzzy12 17a08973e1 Handle some more crashes related download cleanup
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 22:54:30 +05:30
lzzy12 7b485d13b0 Fix crashes related to cancel mirror
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 22:45:30 +05:30
lzzy12 bb74416eca Stop trying to add invalid urls
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 21:02:12 +05:30
lzzy12 16886f5ac8 Make changing of bot commands easier
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 20:56:49 +05:30
lzzy12 5d6c0c8ff7 Implementing auto delete message
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 20:22:21 +05:30
lzzy12 a432ad8a5d Fix some messages sent by bot
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 19:50:50 +05:30
lzzy12 6fe360ebaa Delete the element from download_dict if the download failed
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-11 19:56:54 +05:30
lzzy12 fad3913e26 Implement cancelall
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-11 00:30:58 +05:30
lzzy12 9d83cd31c7 Random fixes all around the source
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-11 00:30:58 +05:30
lzzy12 c683c7732f Fix authorization on bot restart
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-10 21:44:52 +05:30
lzzy12 65303e3143 Change status while archiving download
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 23:05:05 +05:30
lzzy12 80388249c5 Implement tar-mirror invoked by /tarmirror
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30
lzzy12 d36ba18a9f Categorise modules according to their jobs
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30