Commit Graph

50 Commits

Author SHA1 Message Date
60925fa6dd Upstream # 97c3e6be von Brawlbot 2015-12-05 21:36:56 +01:00
ea622733f6 Erster privater commit 2015-11-12 17:42:03 +01:00
a0307c84b3 merge upstream 2015-09-07 18:11:32 +02:00
77b85701b4 fixed savepath for files 2015-07-21 22:08:58 +02:00
fdfc057a08 put function run_sh in utils.lua 2015-07-21 16:10:51 +02:00
f3571e2091 added function unescape 2015-06-25 22:10:29 +02:00
f0c4cb25bf Function to unscape HTML XML entities and other bla 2015-06-23 16:42:40 +02:00
a474a1f940 new plugin rss (does not work atm) 2015-06-02 21:52:21 +02:00
bd5ae0d642 big update
too much changed ._.
2015-05-28 16:47:30 +02:00
281d01859b merge upstream
LoWeR cAsE
Show red error if loading plugin fails
2015-05-14 21:37:51 +02:00
a38049eb00 german translation on bot.lua 2015-05-09 16:35:22 +02:00
41c18ef046 added blacklist 2015-05-03 13:51:33 +02:00
fe78a49367 merge upstream
Colors on Non valids. Check msg.to.id and msg.from.id
function load_from_file(file)
vardump uses serpent
tabs on scandir
Failed on Free games (no price info)
Google with unescaped URLs
2015-04-26 19:16:44 +02:00
afd79c2500 function sleep added 2015-04-22 16:48:05 +02:00
b2b41f2311 few changes on bot.lua and utils.lua
TIMEOUT set to 10s
Uglify on serialize_to_file
Random name if previous patterns fails
2015-04-16 20:16:37 +02:00
ce629850e2 First commit of Mikubot 2015-04-14 20:21:23 +02:00
yago
ca97baa60d match_pattern checks if text exists 2015-04-12 23:26:01 +02:00
yago
dca731c18e Check channel enabled as pre_processor 2015-04-12 23:08:42 +02:00
yago
0438abeee3 Merge branch 'master' of https://github.com/soend/telegram-bot into soend-master
Conflicts:
	bot/bot.lua
2015-04-12 22:08:56 +02:00
yago
267f90d674 moved match_pattern to utils 2015-04-12 21:57:18 +02:00
yago
e399e669cf send_large_msg_callback, send_large_msg, user_allowed, warns_user_not_allowed on utils.lua. match_pattern on bot.lua 2015-04-12 19:16:06 +02:00
Yago
843e7dedd3 Headers are lower cased by luasocket 2015-04-10 12:30:57 +02:00
yago
c58e507032 format_http_params function 2015-03-14 17:22:52 +01:00
soend
061dee2fa2 Merge pull request #1 from yagop/master
Updating to latest
2015-03-12 09:46:42 +02:00
yago
2890acc04e require libraries on bot/utils.lua 2015-03-10 20:40:08 +01:00
yago
9d52c6103c Support for encr_chat 2015-03-10 20:35:19 +01:00
yago
9eb136b734 string.trim(s) is deprecated. Removed some spaces tabulations 2015-02-28 14:53:39 +01:00
yago
dab0c97bb6 Controll HTTP errors downloading images 2015-02-28 14:22:53 +01:00
yago
6a8be34956 HTTPS support for download_to_file 🔒 and string:starts(text) function 2015-02-28 14:09:25 +01:00
Yago
2e6c0f823d get_http_file_name if not content_type 2015-02-27 22:20:05 +01:00
Yago
73f3a21904 Update utils.lua 2015-02-27 21:36:50 +01:00
Priit Heinsaar
edd8a50629 Added functionality to disable bot responding in disable channels 2015-02-27 15:06:12 +02:00
yago
72a94106f0 Merge branch 'method-test-blank-strings' of git://github.com/joenio/telegram-bot into joenio-method-test-blank-strings
Conflicts:
	bot/utils.lua
2015-02-22 22:37:20 +01:00
Joenio Costa
12aa89c0f1 new util method to test if string is blank 2015-02-21 23:31:30 -03:00
yago
874d2b3bf9 added send_photo_from_url_callback function 2015-02-15 20:26:00 +01:00
yago
b391bb26d2 Improved how bot saves file extension 2015-02-15 16:52:08 +01:00
yago
fc5d204750 send_photo_from_url with callback 2015-02-15 14:37:23 +01:00
yago
ccb101560b Functions _send_document and send_document_from_url 2015-02-15 14:33:08 +01:00
yago
3df9d9c3f3 Functions for downloading and removing images async. The magic of cackbacks 🌟 2015-02-15 14:06:01 +01:00
yago
d012c26fa6 starts function and little change on download_to_file 2015-02-02 22:22:05 +01:00
yago
737738a330 Trim string function 2015-01-31 16:46:59 +01:00
yago
08e5a6c85f Checks if Twitter keys are empty 2015-01-06 14:10:26 +01:00
yago
a889d410f1 serialize config with function 2015-01-01 16:06:24 +01:00
yago
e811ea8a52 Enable / Diable plugins. libs folder. Generate config.lua with serpent, defined enabled_plugins. Plugins config, is inside them, not in config.lua. 2014-12-31 17:14:48 +01:00
yago
d0a728e214 Initial test of plugins handler 2014-12-24 01:38:41 +01:00
yago
3b67918a3e moved to utils is_sudo and get_name 2014-12-22 21:52:11 +01:00
Gökçen Eraslan
f3b522cde8 Try to follow 301/302 redirected URLs 2014-12-21 18:19:33 +01:00
Yago
8775f720a6 run_command 2014-12-17 13:01:34 +01:00
yago
5bbf754d73 Stats are private by Chat 2014-12-14 21:28:32 +01:00
yago
fe05645a39 Common functions moved to utils.lua. Indentation ... 2014-12-14 20:52:48 +01:00