J-Rios
|
497247439e
|
Safe ignore commands for edited messages.
|
2020-07-04 12:42:36 +02:00 |
J-Rios
|
8314a9c5f1
|
Added new scripts to check errors, monitorize joins and force kill.
|
2020-07-04 12:41:41 +02:00 |
J-Rios
|
3713cd710a
|
Bot Private support.
|
2020-07-03 21:53:27 +02:00 |
J-Rios
|
618935b584
|
Fix no deleted join msg after kick.
|
2020-07-03 19:51:30 +02:00 |
J-Rios
|
58653d2e1d
|
Support to use Webhook.
|
2020-06-28 14:28:50 +02:00 |
J-Rios
|
ffd63b4024
|
Threads for delete messages and kick/ban users.
|
2020-06-28 14:01:41 +02:00 |
J-Rios
|
fa3218c17e
|
Catch some possible exceptions. Some telegram update object checks. Bot leave groups where it is restricted.
|
2020-06-28 13:51:06 +02:00 |
Jose
|
8a03c5ac50
|
Replace welcome msg config before var substitution.
|
2020-06-27 14:32:32 +02:00 |
Jose
|
29993733b4
|
Setup Bot internal logging. Avoid config nasty stuffs in welcome msg.
|
2020-06-27 13:14:09 +02:00 |
J-Rios
|
3ad5fb5439
|
No private chats config file creation. Speed up safe Kill and Stop Bot using threads.
|
2020-06-22 21:12:16 +02:00 |
Alexey
|
757f3fec5f
|
Fix typo
|
2020-06-16 18:45:52 +08:00 |
Jose
|
1754551706
|
Merge pull request #46 from LIDSOL/master
Dockerfile and Makefile refactor
|
2020-05-30 12:56:48 +02:00 |
Andrés Hernández
|
86c5d9a159
|
Added entrypoint script for docker container
* Added shebang for utility scripts
|
2020-05-29 11:52:13 -05:00 |
Andrés Hernández
|
cea6dd3f27
|
Refactor large lines on python code (1)
Next step is running "black" to reformat code itself
|
2020-05-29 11:51:39 -05:00 |
Andrés Hernández
|
fc5d31fb33
|
dos2unix tsjson.py
|
2020-05-29 11:51:20 -05:00 |
DanyGee
|
5ccb44901b
|
Update pl.json
Deleted one unnecessary character.
|
2020-05-19 08:56:19 +02:00 |
J-Rios
|
f5654f40a4
|
Polish language integration.
|
2020-05-18 21:04:45 +02:00 |
DanyGee
|
c8d8fa6694
|
Small fixes
|
2020-05-18 08:21:58 +02:00 |
DanyGee
|
2964994147
|
Small fixes.
|
2020-05-18 08:19:01 +02:00 |
DanyGee
|
0cb96279f3
|
Translation completed
|
2020-05-18 01:40:31 +02:00 |
DanyGee
|
5343e9a0cc
|
Translation ongoing...
|
2020-05-18 00:25:53 +02:00 |
DanyGee
|
04abaac996
|
Create pl.json
|
2020-05-18 00:10:15 +02:00 |
J-Rios
|
8c9e3aed15
|
Safe remove element from lists.
|
2020-05-17 14:58:09 +02:00 |
J-Rios
|
918eb62bb8
|
Create whitelist at startup if it doesn't exists.
|
2020-05-16 17:02:47 +02:00 |
J-Rios
|
e16b7ef9ea
|
Safe stop Bot and kill.
|
2020-05-16 16:46:55 +02:00 |
J-Rios
|
c74c952304
|
Support for Bot Owner global whitelist blind users.
|
2020-05-16 16:13:47 +02:00 |
J-Rios
|
5cac90b886
|
Commands callbacks refactorization. Make sure that Bot config commands are disallowed in private chats.
|
2020-05-16 13:26:06 +02:00 |
J-Rios
|
95e383db64
|
Support Alias in ignore list.
|
2020-05-16 12:18:19 +02:00 |
Rafael Fontenelle
|
1afe7fa92d
|
Update Brazilian Portuguese translation
|
2020-05-12 12:13:22 -03:00 |
J-Rios
|
17759abe47
|
Normalize all language json files by adding a blank end of file line.
|
2020-05-08 23:30:06 +02:00 |
Abraham Toriz
|
7c64301ca8
|
check english grammar
|
2020-05-08 11:53:34 -05:00 |
J-Rios
|
cd34451113
|
Enable Turkish language support.
|
2020-05-03 19:11:19 +02:00 |
J-Rios
|
0c68fbd567
|
Normalize language json files.
|
2020-05-03 19:03:05 +02:00 |
makyurt
|
e9416ac404
|
Turkish language support
|
2020-05-02 17:44:29 +03:00 |
J-Rios
|
417f104638
|
Added /restrict_non_text command and functionality.
|
2020-04-18 22:10:11 +02:00 |
J-Rios
|
5bd4dc6cf9
|
Normalize language json files.
|
2020-04-11 14:38:59 +02:00 |
J-Rios
|
99410e0c2e
|
Some galician texts fixes.
|
2020-04-11 14:30:28 +02:00 |
J-Rios
|
6ba5a30838
|
Bot mesages send silently.
|
2020-04-04 18:41:42 +02:00 |
J-Rios
|
2b35354649
|
Support for actual python-telegram-bot v12.5.1.
|
2020-04-04 18:30:40 +02:00 |
J-Rios
|
a0f4ce7422
|
Let's listen to some PEP recommendations. Update domains list file.
|
2020-04-04 15:08:17 +02:00 |
J-Rios
|
21e26393c3
|
Don't allow Bot to be added in channels.
|
2020-04-04 14:28:48 +02:00 |
J-Rios
|
93dbbe2420
|
Added ignore list texts to all languages. Don't add duplicate ignore IDs if the provided ID is already ignored. Max number of ignores (100) set to constant. Update version and last modification date.
|
2020-03-05 20:50:27 +01:00 |
ArcSineSoftware
|
0c900f4d75
|
Added ignore list feature
|
2020-03-05 21:44:39 +06:00 |
J-Rios
|
ec1bd35fde
|
Removed language list from /commands text.
|
2020-01-15 21:36:44 +01:00 |
J-Rios
|
b565f0e350
|
Added Russian language support.
|
2020-01-15 21:27:05 +01:00 |
J-Rios
|
00fa1f4196
|
Ignore cases for captcha completion. Some modifications for incorrect solve message.
|
2019-12-11 23:06:00 +01:00 |
J-Rios
|
a6dbb9ccbc
|
Use "write" word instead "send" in captcha message text to avoid confusion. Specify that letters could be found in captcha too. [just in spanish and english languages].
|
2019-12-11 22:45:52 +01:00 |
J-Rios
|
c0e1e65dbd
|
Fix some format errors in Persian json language file (still is not working).
|
2019-11-30 20:10:10 +01:00 |
sajjad_021
|
d2f51c9567
|
Create fa.json
|
2019-11-27 07:43:12 -08:00 |
J-Rios
|
cc42c248ff
|
Auto-remove captcha solved message after 5 mins.
|
2019-11-14 22:04:45 +01:00 |
Rafael Fontenelle
|
a633d76ba6
|
Fix Brazilian Portuguese translation
|
2019-11-12 19:22:04 -03:00 |
J-Rios
|
d33557dea3
|
Added Indonesian language support.
|
2019-11-03 11:19:40 +01:00 |
J-Rios
|
e907242ff5
|
Some texts typos fix.
|
2019-10-25 19:45:28 +02:00 |
Jose
|
9dbaca308d
|
Merge pull request #25 from Aurnytoraink/master
Fix some grammar issues and reformulate sentences
|
2019-10-16 22:07:20 +02:00 |
Mathieu H
|
b19da3f781
|
Fix some grammar issues and reformulate sentences
|
2019-10-16 21:14:49 +02:00 |
Elías Torres
|
6c41ab9e6a
|
Small typos in Spanish translation
|
2019-10-14 12:42:33 -06:00 |
J-Rios
|
2c71aee266
|
Added Italian language support.
|
2019-10-09 23:21:45 +02:00 |
J-Rios
|
4f93104063
|
Replace @ with "o/a\ in spanish texts.
|
2019-10-02 22:40:08 +02:00 |
J-Rios
|
e2b27c42e1
|
Complete French language support.
|
2019-10-02 22:36:40 +02:00 |
Mathieu H
|
3fd731c2cd
|
Add french support
|
2019-10-01 23:56:21 +02:00 |
J-Rios
|
9b1592ad19
|
Change male welcome word to male/female in spanish language.
|
2019-09-20 18:46:13 +02:00 |
J-Rios
|
8bd8b41a4d
|
Added custom welcome message support.
|
2019-09-08 14:17:51 +02:00 |
J-Rios
|
b0c8633433
|
Isolate languages text (no reference to other languages in each lang file). Complete Basque language support.
|
2019-09-06 22:56:14 +02:00 |
J-Rios
|
31c4c29310
|
Format eu.json according to other languages json files.
|
2019-09-06 21:48:04 +02:00 |
xa2er
|
00f97b7593
|
Create eu.json
Basque (Euskara) Traduction
|
2019-09-04 08:54:39 +02:00 |
J-Rios
|
73040aa064
|
Complete German language support. Added german references in other languages.
|
2019-08-30 21:22:39 +02:00 |
anon97945
|
9db86302ed
|
Update de.json
|
2019-08-30 20:15:14 +02:00 |
anon97945
|
a77dd1a539
|
Update de.json
|
2019-08-30 20:07:22 +02:00 |
anon97945
|
83a2335571
|
Create de.json
|
2019-08-30 18:46:31 +02:00 |
Jeudi Prando Araujo
|
198451bab9
|
inform that it is case sensitive to the user.
inform the user that upper and lower case letters make a difference when answering captcha
|
2019-08-22 11:49:02 -03:00 |
Jeudi Prando Araujo
|
fc7b03c755
|
spelling correction
|
2019-08-22 11:48:13 -03:00 |
Jeudi Prando Araujo
|
c501dad92f
|
inform that it is case sensitive to the user.
inform the user that upper and lower case letters make a difference when answering captcha
|
2019-08-22 11:46:50 -03:00 |
J-Rios
|
abdd2c4fec
|
Fix captcha directory path. Modify to a more readable constants file.
|
2019-08-15 14:53:24 +02:00 |
J-Rios
|
7322c1990e
|
Change ' to " in constants file.
|
2019-08-14 20:47:34 +02:00 |
J-Rios
|
8a9fcd9df4
|
Use full paths to allow Bot be executed from differents system paths.
|
2019-08-14 20:30:04 +02:00 |
J-Rios
|
3fb592fd6b
|
Refactoring languages texts into json files and load it at initialization.
|
2019-08-14 19:59:04 +02:00 |
J-Rios
|
f66d2bae62
|
Galician language support added.
|
2019-08-13 16:41:04 +02:00 |
Aleix Vidal Gaya
|
9d139985b1
|
More minor catalan text changes
Final corrections and overall proofreading of catalan strings.
|
2019-08-10 17:22:14 +02:00 |
J-Rios
|
49a21403fb
|
Minor Catalan texts changes.
|
2019-08-10 16:13:08 +02:00 |
Jose
|
90745ee5b2
|
Merge pull request #16 from leixet/patch-1
Some corrections to Catalan strings
|
2019-08-10 14:21:57 +02:00 |
Marco Paganini
|
cf045d05e5
|
Remove changes to error message verifications.
|
2019-08-09 16:46:46 -07:00 |
Aleix Vidal Gaya
|
8b9be48c08
|
Some corrections to Catalan strings
|
2019-08-10 00:12:06 +02:00 |
Marco Paganini
|
531e62b59a
|
A few message improvements (en).
|
2019-08-07 18:32:49 -07:00 |
J-Rios
|
23bae602eb
|
Added missing languages in commands texts.
|
2019-07-09 23:18:04 +02:00 |
J-Rios
|
4620123311
|
Ignore messages from channels (doesn't make sense).
|
2019-07-07 13:11:08 +02:00 |
J-Rios
|
b27a410096
|
Safe checks before remove elements from lists.
|
2019-07-04 22:03:33 +02:00 |
J-Rios
|
5585db7500
|
Increased join fails retries to 5 times.
|
2019-06-30 18:17:17 +02:00 |
J-Rios
|
56903f0a8b
|
Added Catalan language contributor and minor changes in catalan texts.
|
2019-06-30 17:50:14 +02:00 |
J-Rios
|
d0e1775a10
|
Fix /captcha_mode typo in help command texts.
|
2019-06-21 10:58:37 +02:00 |
J-Rios
|
1b5dd06bd3
|
Force left to right texts by adding LRM in usernames and chat titles.
|
2019-06-20 20:34:04 +02:00 |
J-Rios
|
2e89326dc3
|
Fixed Chinese text typos.
|
2019-06-19 21:40:58 +02:00 |
J-Rios
|
75fbf4aaa7
|
Chinese language support added.
|
2019-06-18 21:16:47 +02:00 |
J-Rios
|
362b9f06e2
|
No wait for send captcha message, cause then spam can be send.
|
2019-06-14 22:24:54 +02:00 |
J-Rios
|
281315c540
|
Specify kick and ban meanings in spanish language. Bot wait 1.5s before send captcha message to let other welcome messages be sent first.
|
2019-06-14 17:24:42 +02:00 |
J-Rios
|
b04d64efa1
|
Fix kick messages to send.
|
2019-06-13 20:12:23 +02:00 |
J-Rios
|
7f361d79b8
|
whops! tab... Fix missing bot kick message send.
|
2019-06-13 20:07:14 +02:00 |
J-Rios
|
834b7e2ec2
|
Fix texts line limit to 100.
|
2019-06-12 22:54:07 +02:00 |
Daniel Gray
|
76d07ed920
|
Corrección de algunos mensajes en inglés
|
2019-06-10 21:01:14 -04:00 |
J-Rios
|
a4c182eee8
|
Updated captcha generator lib to lastest.
|
2019-06-10 23:34:34 +02:00 |
J-Rios
|
1d4b8d1f6e
|
Added missing new commands to commands text.
|
2019-06-10 21:48:18 +02:00 |
J-Rios
|
c8948e8f54
|
Check if Bot Token has been set at startup.
|
2019-06-10 20:38:13 +02:00 |
J-Rios
|
829bc98e80
|
Added configurable captcha difficulty level and numeric or alphanumeric captchas generation commands.
|
2019-06-08 21:06:12 +02:00 |
J-Rios
|
be2cb4338a
|
Sleep 1s before check status in run and kill scripts.
|
2019-06-08 14:38:43 +02:00 |
J-Rios
|
da2697cb7d
|
Updated captcha library submodule to lastest version (new difficult levels and number-hex-ascii captchas generation functionalities).
|
2019-06-08 14:34:04 +02:00 |
J-Rios
|
1c0019dd1f
|
Catalan language support added.
|
2019-06-07 21:53:31 +02:00 |
J-Rios
|
69e5235c14
|
Non-text messages not allowed if captcha not solved. New update handler for non-text messages.
|
2019-05-11 15:11:04 +02:00 |
J-Rios
|
d529380cd3
|
Fix overwrited variable due to duplicate named.
|
2019-05-11 13:38:41 +02:00 |
J-Rios
|
a91533817a
|
Detect spam in edited messages.
|
2019-05-11 12:09:41 +02:00 |
J-Rios
|
182adcbfd3
|
Don't auto-remove Bot has no rights for kick user message.
|
2019-05-08 16:51:01 +02:00 |
J-Rios
|
41d1b9f879
|
Fix stop kicking users problem due to uncatched exception when Bot sendMessage.
|
2019-05-08 16:42:55 +02:00 |
Matheus Oliveira
|
de786e1bc2
|
modified text on line 601
modfied text for more gramarly correct text
|
2019-04-16 18:22:09 -03:00 |
J-Rios
|
18feadfadc
|
Fixed expected captcha number in correct chat (to solve multiple captchas resolution from same user in differents chats).
|
2019-04-16 19:43:04 +02:00 |
J-Rios
|
0fe069ce67
|
Dont check if alias exists. Remove any message with @stuff.
|
2019-04-14 15:55:56 +02:00 |
J-Rios
|
ea130b9c06
|
Detect telegram alias too, in not verify users messages send before captcha completion.
|
2019-04-14 15:21:03 +02:00 |
J-Rios
|
05478ffec4
|
Code restructuration and added some prints.
|
2019-04-14 14:18:43 +02:00 |
J-Rios
|
bd14f13e99
|
Use captcha generator library as submodule instead local.
|
2019-04-13 13:52:12 +02:00 |
J-Rios
|
8e67ceacd5
|
Fix captcha generator to support Windows (Use standard font if not supported by system).
|
2019-04-13 12:27:46 +02:00 |
J-Rios
|
96f4d79d30
|
Detect and remove Spam from non text messages too (resend messages, embedded links in text, images, audios, files, etc.).
|
2019-04-13 12:26:45 +02:00 |
J-Rios
|
7bfb395a1c
|
Increase join_retries when kick instead join.
|
2019-04-12 23:43:56 +02:00 |
J-Rios
|
13888d4b78
|
Added some info about new anti-spam functionality.
|
2019-04-12 20:59:41 +02:00 |
J-Rios
|
5cb4538b58
|
Support for detect and remove Spam messages when captcha is not solved.
|
2019-04-12 20:12:17 +02:00 |
J-Rios
|
afeae464a6
|
Fixed missing command chars from usage scripts.
|
2019-04-12 19:50:34 +02:00 |
J-Rios
|
91977fab63
|
Added instructions and usage scripts.
|
2019-04-12 17:22:10 +02:00 |
J-Rios
|
cc457efe11
|
Print using timestamp.
|
2019-04-12 02:15:41 +02:00 |
J-Rios
|
e2e6634a8f
|
Modified join retries keeps and checks for Ban.
|
2019-04-12 02:13:25 +02:00 |
J-Rios
|
53c02791e7
|
Beware to ban users that has join more than 3 times (instead of exactly 3). Start message now tell about remove msgs privileges needs.
|
2019-04-11 22:18:03 +02:00 |
J-Rios
|
edb334ecb7
|
Captcha solve time config command fixed.
|
2019-03-02 11:28:24 +01:00 |
J-Rios
|
0bf599dc4e
|
Limit captcha solve time to 120 mins. Update chat info once message received..
|
2019-02-28 17:17:37 +01:00 |
J-Rios
|
4b6896378b
|
Portuguese (Brazil) language support added.
|
2019-02-09 21:33:59 +01:00 |
J-Rios
|
da1301f19f
|
Added some prints.
|
2019-02-09 15:40:07 +01:00 |
J-Rios
|
33e3b4f7e6
|
Increase allow user name length from 25 chars to 35.
|
2018-10-15 20:42:48 +02:00 |
J-Rios
|
9d45595045
|
Set captcha text message to image caption (Now Telegram API has increase the caption text length from 200 to 1024, sweet).
|
2018-10-15 20:39:33 +02:00 |
J-Rios
|
6810a96133
|
Added Chat title to captcha welcome message.
|
2018-10-07 14:24:16 +02:00 |
J-Rios
|
4dd6240ea6
|
Ban users that try to join multiple times withouth success.
|
2018-10-07 14:12:12 +02:00 |
J-Rios
|
beaf3581eb
|
Bot notify when captcha is not correct.
|
2018-10-05 22:57:57 +02:00 |
J-Rios
|
f6d8dd16a6
|
Set image send timeout explicity to avoid Timed Out.
|
2018-10-05 20:45:39 +02:00 |
J-Rios
|
858cbbcebd
|
Ignore sent messages Timeout.
|
2018-09-27 13:17:36 +02:00 |
J-Rios
|
e78f9e49d3
|
Handle API calls errors.
|
2018-09-21 18:08:38 +02:00 |
J-Rios
|
8eac2297f2
|
Fix saved captcha time with int type in /time command (it was str).
|
2018-09-18 08:50:38 +02:00 |
J-Rios
|
cf0b25122d
|
Disable kick retry when the Bot can't kick an user (avoid anti-flood).
|
2018-09-17 20:13:24 +02:00 |
J-Rios
|
ce830a1a24
|
Added global keywords. Fix missing language read for request other captcha button.
|
2018-09-17 20:06:37 +02:00 |
J-Rios
|
4bbea26290
|
Request other captcha button text multi-language.
|
2018-09-16 22:15:54 +02:00 |
J-Rios
|
1b83bfbb6d
|
Bot join message in Admin client language.
|
2018-09-16 20:33:54 +02:00 |
J-Rios
|
37609a0502
|
Keep join messages too (dont delete them).
|
2018-09-16 17:47:15 +02:00 |
J-Rios
|
7d0baf133d
|
Dont auto-delete captcha result (solve/kick) message.
|
2018-09-16 17:33:37 +02:00 |
J-Rios
|
c94c2c2341
|
Fixed captcha files remove name and remove request other captcha generation files.
|
2018-09-16 15:38:30 +02:00 |
J-Rios
|
a09e023847
|
Handle re-joins of users. Fix bot message when try to kick a user and doesnt has rigths to do it or the user is not in the group. Captchas images files removed from file system when sent to telegram.
|
2018-09-16 00:29:13 +02:00 |
J-Rios
|
ba7500273e
|
16:9 captchas with horizontal blak margins and random mono-color/multi-color background generation.
|
2018-09-15 14:11:50 +02:00 |
J-Rios
|
26c77033b1
|
Ignore Admins joins (group creator only).
|
2018-09-12 00:50:31 +02:00 |
J-Rios
|
74ab0f1f31
|
Fixed request new captcha button handler.
|
2018-09-11 20:02:56 +02:00 |
J-Rios
|
16032456c6
|
WIP Request new capctha image button.
|
2018-09-11 00:43:14 +02:00 |
J-Rios
|
50460d58fa
|
Fix remove join messages when user solved the captcha or is kicked.
|
2018-09-10 22:45:29 +02:00 |
J-Rios
|
0556b61d6f
|
Added first sources. WIP.
|
2018-09-09 22:08:23 +02:00 |