Commit Graph

26 Commits

Author SHA1 Message Date
yago
c58e507032 format_http_params function 2015-03-14 17:22:52 +01: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
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