Commit Graph

182 Commits

Author SHA1 Message Date
lzzy12 8ddb98595c Fix bugged implementation of 464a633115
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-27 22:44:48 +05:30
lzzy12 464a633115 Only maintain single status message in a chat
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-27 20:35:41 +05:30
lzzy12 3fc9d40292 Implement mirror_status: invoked by /status
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-27 20:18:46 +05:30
lzzy12 c2f1fbadff Introduce message_utils module managing telegram messages
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-27 20:18:46 +05:30
lzzy12 86d624214d gdriveTools: Refactor confusing variable names
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-27 20:15:24 +05:30
lzzy12 d2a65adf18 Fix Yet another bug due to indentation
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-27 20:15:14 +05:30
jaskaranSM 94fc5d0022 Added G-Drive List Feature 2019-09-27 20:15:02 +05:30
jaskaranSM 53fb5bda2e Fixed Recursive Directory Upload 2019-09-27 20:14:52 +05:30
lzzy12 a67ddfb5be download_tools: Fix torrent yet again
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 23:05:19 +05:30
lzzy12 7281c18687 gdrive_tools: Refactor file_ops() to get_mime_type()
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 23:01:34 +05:30
lzzy12 43c95a659b Fix bug of uploaded file not saving with proper name
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 23:01:34 +05:30
lzzy12 84482969f1 Introduce DownloadStatus class for storing stats of downloads
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 22:34:37 +05:30
lzzy12 f0efb4357d Clean up downloads user requests bot shut-down
* Basically for Ctrl + C
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 ab6c01146e Make separate module for fs related jobs
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 54c563ffc4 Make sure there are not other useless downloads in background on startup
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 50020b0e6b Fix logic for is_url
This is not perfect

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 6c082f7e77 download_helper: Fix support for download from magnet links
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 76c6d68d85 download_helper: Avoid instantiating Aria APIs on each new mirror request
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 d403c95c5a gdrivetool: Use console based Flow for authentication
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 b2bd0c2685 Remove unnecessary dependency on CLIENT_SECRET and CLIENT_ID
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 1c56b18724 Separated telegram related code from download upload related code
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 d6b6933ee8 Remove redundant str constructors 2019-09-22 23:08:42 +05:30
lzzy12 ffd1f7f378 ariaTools: Add a function to get file name of download 2019-09-22 22:26:00 +05:30
jaskaranSM 6bb1224aa7 Specify Download Dir with RPC 2019-09-18 11:48:19 -04:00
jaskaranSM 5cb5f228ad
Linux Doesnt like Spaces. 2019-09-18 10:46:50 -04:00
lzzy12 12b66b960c Remove dirty hack
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-18 19:34:39 +05:30
lzzy12 d56aaa4729 Add an option to specify download directory 2019-09-18 18:38:45 +05:30
jaskaranSM e5294b87e6
Added aria2p Lib in Requirements. 2019-09-17 19:18:41 +05:30
lzzy12 21dacbc8fb Major project structure rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-17 19:17:34 +05:30
lzzy12 44fff43553 Separate credentials from code 2019-09-17 16:37:21 +05:30
jaskaranSM 5da3f5139e
bot: inital message will be a reply to user's message
also fixed formatting.
2019-09-17 06:35:10 -04:00
jaskaranSM e826385571 Initial 2019-09-17 06:07:19 -04:00