lzzy12
7ad7d9388a
Add support for service account
...
Adding support service accounts
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
Added scripts and docs for generating service accounts
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
gen_sa_accounts: Save credentials with indexed file name
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
gdriveTools: Avoid using oauth2 library for service accounts
oauth2 library is deprecated
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-24 15:04:24 +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
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
36df3aa2b4
Improve logic for determining true/false from config.env
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
# Conflicts:
# bot/modules/mirror.py
2020-03-19 15:40:43 +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
Shivam Jha
38348fc2aa
Revert "Set logging level to debug"
...
This reverts 687321ac72
2020-01-17 01:14:54 -08:00
Shivam Jha
687321ac72
Set logging level to debug
2020-01-16 10:46:50 -08:00
lzzy12
4dd1aa4977
Handle empty strings in config variables
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-25 18:20:56 +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
lzzy12
b4cd971930
Read setup variables from environment variables
...
Also Adds support for heroku env variables
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-23 15:46:56 +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
6c66a2ad8a
Read setup variables from environment variables
...
Also Adds support for heroku env variables
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-09 15:34:12 +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
3a3eca2411
Refactored disk to stats and added bot uptime
...
- Also helps tracking auto reboots on Heroku.
2019-11-01 21:18:46 +05:30
Shivam Jha
fa664e6663
Check if log.txt exists before trying to open
...
This fixes #3
2019-10-17 21:45:03 +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
6ce2507c36
Implement /log command for easier debugging
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-14 20:50:35 +05:30
lzzy12
5d6c0c8ff7
Implementing auto delete message
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 20:22:21 +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
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
3a8f284186
Only allow authorized users to use the bot
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-06 23:18:16 +05:30
lzzy12
3bfe24786e
Use threading.Lock to prevent concurrent access to shared resources
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-06 20:56:36 +05:30
lzzy12
b58cb47584
Trying to fix bug
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-05 22:48:37 +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
jaskaranSM
53fb5bda2e
Fixed Recursive Directory Upload
2019-09-27 20:14:52 +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
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
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
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
d56aaa4729
Add an option to specify download directory
2019-09-18 18:38:45 +05:30
lzzy12
21dacbc8fb
Major project structure rebase
...
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-17 19:17:34 +05:30