Commit Graph

185 Commits

Author SHA1 Message Date
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
4fbfd8556f Updated JSON.lua 2014-12-24 19:19:16 +01:00
yago
03e52b1d41 disable plugins and some checks 2014-12-24 12:44:57 +01:00
yago
d0a728e214 Initial test of plugins handler 2014-12-24 01:38:41 +01:00
yago
8ca367e83b Cron check google 2014-12-22 22:12:28 +01:00
yago
6bc4829788 load_plugins ouside 2014-12-22 22:05:46 +01:00
yago
3b67918a3e moved to utils is_sudo and get_name 2014-12-22 21:52:11 +01:00
yago
7881f62e20 closed tcp conexion 2014-12-22 21:43:36 +01:00
yago
aa7ac75d31 fixes SIGNAL received error 2014-12-22 21:42:58 +01:00
yago
3c28c7e1ca Merge branch 'gokceneraslan-patch-1' 2014-12-22 20:05:52 +01:00
Gökçen Eraslan
f3b522cde8 Try to follow 301/302 redirected URLs 2014-12-21 18:19:33 +01:00
Yago
9d161163f4 Update README.md 2014-12-21 12:44:31 +01:00
yago
afe750c06e Merge branch 'mrvdb-newlocation' 2014-12-20 17:00:35 +01:00
Marcel van der Boom
1cd7ce1a9f Improvements for the location plugin
- use an api_key if one is configured
- send the location by using the api
- provide same pin color as standard map
- send overview map based on the type of the location scale
- remove the temporary file after download
2014-12-19 16:31:25 +01:00
Yago
e12690479a Merge pull request #30 from demil133/master
Configure and install upstart script
2014-12-18 10:02:54 +01:00
Daniel I
3de95880f8 Configure and install upstart script 2014-12-17 21:31:52 +01:00
Yago
8775f720a6 run_command 2014-12-17 13:01:34 +01:00
Yago
258c5bfff4 Merge pull request #26 from voiser/master
reload plugins fix
2014-12-17 09:59:52 +01:00
David Muñoz
d525528ad3 fix 2014-12-17 09:48:20 +01:00
yago
8b04aefd45 Basic cron version 2014-12-16 21:50:19 +01:00
yago
198f700f86 Load only ".lua" plugin files 2014-12-16 20:06:04 +01:00
yago
8c6c781f85 Updated tg 2014-12-16 19:49:47 +01:00
Yago
2253dc712e Merge pull request #24 from voiser/master
Plugins reloading
2014-12-16 19:14:13 +01:00
David Muñoz
acbb0ff03b small fix 2014-12-16 15:06:49 +01:00
David Muñoz
6bfc5247bf Reload ALL the plugins! 2014-12-16 15:05:42 +01:00
Yago
61c7a05551 Merge pull request #20 from javierhonduco/patch-2
moar style changes
2014-12-14 23:46:29 +01:00
yago
e8ac29d899 Table key strings 2014-12-14 22:11:54 +01:00
Javier Honduvilla Coto
7410ee1d8f moar style changes 2014-12-14 22:00:07 +01:00
yago
e475659978 set Values arent "shared" any more. I hope nobody will miss that "feature" 2014-12-14 21:44:19 +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
Yago
495bad27ee Merge pull request #19 from mrvdb/nontext
Allow non-text input to plugins
2014-12-14 20:24:25 +01:00
Marcel van der Boom
7173c9831d Merge remote-tracking branch 'upstream/master' into nontext
* upstream/master:
  When text exceds 4096 chars, sends in multiple msgs
  resolves #18
  Update README.md
2014-12-14 16:45:11 +01:00
Marcel van der Boom
542dcd0483 Allow non-text changes to plugins
Implemented by:

- disabling the check for msg.text == nil
- setting the match text to [msg.media.type]
2014-12-14 16:42:49 +01:00
yago
fb138cabf3 When text exceds 4096 chars, sends in multiple msgs 2014-12-11 22:12:27 +01:00
Yago
792ad233c2 resolves #18 2014-12-10 12:25:18 +01:00
Yago
c25820c805 Update README.md 2014-12-10 12:19:50 +01:00
Yago
41f01a031d Merge pull request #12 from voiser/master
Added gps and location plugins
2014-12-01 18:21:52 +01:00
David Muñoz
e5b17fc2bd Added gps and location plugins 2014-12-01 17:12:22 +01:00
Yago
fd4c0ae9f9 Merge pull request #10 from mrvdb/btc
Bitcoin exchange rate plugin
2014-11-28 23:58:52 +01:00
Marcel van der Boom
d2974d295f Add USD support 2014-11-28 22:59:52 +01:00
Yago
1fdb35893e Merge pull request #9 from javierhonduco/patch-1
style fixes
2014-11-28 22:27:40 +01:00
Marcel van der Boom
5cda6ad9e6 Initial implemenation of btc command 2014-11-28 22:25:38 +01:00
Javier Honduvilla Coto
c042a90378 style fixes 2014-11-28 14:50:41 +01:00
yago
0a14948ebd Check allowed user to send tweets 2014-11-27 21:44:29 +01:00
yago
1c96903cc0 save user last name 2014-11-23 14:34:46 +01:00
yago
48b17bd5d0 values.json and users.json are created if not exists 2014-11-23 12:25:33 +01:00
yago
019fdd06ba Updated README 📘 2014-11-23 11:55:02 +01:00
yago
cfc2241f6a Merge branch 'master' of github.com:yagop/telegram-bot 2014-11-23 00:32:03 +01:00
yago
e2403a6e37 get, set, and stats persistence 2014-11-23 00:31:22 +01:00