James Lu
|
733d7d7c87
|
exec: add ieval command using the isolated local scope
|
2017-03-04 22:05:03 -08:00 |
|
James Lu
|
42ba1775d7
|
exec: add irc, source, and args to isolated locals scopes
This allows basic things like irc.reply() to work in 'iexec'.
|
2017-03-04 21:59:42 -08:00 |
|
James Lu
|
18826ad5c6
|
exec: add 'iexec' to run code in an isolated, persistent local scope
|
2017-02-05 20:26:40 -08:00 |
|
James Lu
|
a3a5569156
|
exec: print a "Done" after executing code
|
2017-02-05 20:14:30 -08:00 |
|
James Lu
|
3d4cb02ce2
|
exec: rewrap docstirngs
|
2016-12-09 21:43:58 -08:00 |
|
James Lu
|
9e2598612a
|
exec: port to permissions API (#367)
|
2016-12-09 21:43:58 -08:00 |
|
James Lu
|
b79e693808
|
exec: Drop 'raw' text logging to DEBUG for security purposes
Closes #347.
|
2016-11-07 21:25:57 -08:00 |
|
James Lu
|
1660705658
|
exec: repr() eval output for proper formatting
This ensures that results that are an empty string, for example, are properly formatted as ''.
|
2016-08-09 10:57:31 -07:00 |
|
James Lu
|
bcf5f612cc
|
exec: make pylinkirc and importlib accessible
|
2016-07-24 11:51:44 -07:00 |
|
James Lu
|
481d70eff8
|
New import paths for properly installed pylinkirc
|
2016-06-20 18:18:54 -07:00 |
|
James Lu
|
2fe2e9c8c4
|
core: move isOper, checkAuthenticated to Irc (#199)
|
2016-04-30 16:54:11 -07:00 |
|
James Lu
|
78f8a2fc8d
|
core: move isManipulatableClient, getHostmask to Irc
|
2016-04-30 16:44:37 -07:00 |
|
James Lu
|
cc79871eaf
|
exec: add some more default imports for convenience
|
2015-12-29 11:14:19 -08:00 |
|
James Lu
|
4e7396b1ac
|
exec: add 'inject' and raw' commands (Closes #148)
|
2015-12-22 10:47:02 -08:00 |
|
James Lu
|
375dbe8427
|
exec: accept newlines and other backslash escapes (in only "exec")
This way, more complex code can be entered using newlines: e.g. "for x in range(3):\n irc.reply('hello world')"
|
2015-12-22 10:41:42 -08:00 |
|
James Lu
|
cecb7f3800
|
plugins: chmod -x
|
2015-10-23 18:31:48 -07:00 |
|
James Lu
|
17a2dcd21f
|
plugins: use irc.reply(...) instead of irc.msg(irc.called_by, ...) whereever possible
|
2015-10-23 18:29:10 -07:00 |
|
James Lu
|
0d3a7a5ce0
|
exec: import world, for easier access to it
|
2015-09-27 12:15:10 -07:00 |
|
James Lu
|
8e444c5dbe
|
plugins: support FANTASY (where reasonable) by using irc.msg(irc.called_by, ...) instead of irc.msg(source, ...)
|
2015-09-26 10:20:23 -07:00 |
|
James Lu
|
dfe09263b9
|
plugins/exec: add 'eval' command too
|
2015-09-19 10:39:05 -07:00 |
|
James Lu
|
62e7cc4fca
|
move utils.msg() => classes.Irc.msg()
New function gets an extra (optional) "source" argument for specifying a sender UID. It's also shorter since no IRC object has to be passed to utils.
|
2015-09-06 22:23:44 -07:00 |
|
James Lu
|
d059bd4ff1
|
Move 'exec' command into its separate plugin
|
2015-08-25 20:47:21 -07:00 |
|