3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-05 11:39:34 +01:00
Commit Graph

2024 Commits

Author SHA1 Message Date
Pragmatic Software
807bfbf235 Persist-key now works on VM-based code-factoids 2017-09-18 21:36:40 -07:00
Pragmatic Software
5062dc0be9 Remove annoying /msg about kicking 2017-09-18 21:24:30 -07:00
Pragmatic Software
4c5aa39c1b Update version 2017-09-15 16:41:50 -07:00
Pragmatic Software
e43d2ef144 Improvements to code-factoids
Most code languages now accept factoida arguments as command-line
arguments; e.g., argc and argv in C/C++, args[] in Java, @ARGV in Perl, etc.

No longer say "Same output" for code-factoids.
2017-09-15 16:41:36 -07:00
Pragmatic Software
1ec94d6956 Update version 2017-09-14 19:37:46 -07:00
Pragmatic Software
df9689f32c Disable gdb auto-solib-add in compiler VM 2017-09-14 19:11:02 -07:00
Pragmatic Software
76764a06bf Use JSON to communicate wtih compiler VM 2017-09-14 19:10:21 -07:00
Pragmatic Software
cf960261aa Update version 2017-09-12 05:53:57 -07:00
Pragmatic Software
c8eb5fa5d3 Update cc factoid to use JSON syntax (and everything else) 2017-09-12 05:53:51 -07:00
Pragmatic Software
eaad5b1c65 Update version 2017-09-12 05:50:55 -07:00
Pragmatic Software
4389d01b54 code-factoids now support native variables (currently only C-family and Perl are implemented) 2017-09-12 05:50:49 -07:00
Pragmatic Software
a03c1c1d0d Update version 2017-09-10 19:53:33 -07:00
Pragmatic Software
85693f905a Convert code-factoids to use VM
Code-factoids can now use the compiler virtual machine. Any languages installed
in the VM are valid candidates for code-factoids!

Syntax: factadd keyword /code language code here
2017-09-10 19:53:29 -07:00
Pragmatic Software
345ca99185 Update factoids 2017-09-10 19:36:16 -07:00
Pragmatic Software
278fffdad6 Use re2 for regfind and factfind 2017-09-09 22:37:11 -07:00
Pragmatic Software
58f21b3bf7 Add newlines to ActionTrigger list 2017-09-09 22:32:14 -07:00
Pragmatic Software
f15423774b Update version 2017-09-09 18:23:13 -07:00
Pragmatic Software
549c7f8704 Add missing module to MODULES 2017-09-09 18:22:57 -07:00
Pragmatic Software
76b9aa49bd Harden compiler vm server a bit
Instead of adding compiler user to dialout/serial/ttyS0 group, we now
run compiler_vm_server.pl as root to access ttyS0 and then drop privileges
to the compiler user to compile snippets that do not have access to ttyS0.
2017-09-09 18:21:20 -07:00
Pragmatic Software
2361436d34 Fix virsh compiler server forking issues 2017-09-08 13:47:15 -07:00
Pragmatic Software
dfa6c4a9e1 Add virsh compiler server 2017-09-08 05:32:33 -07:00
Pragmatic Software
9ef69ec005 Update compiler watchdog 2017-09-08 05:32:10 -07:00
Pragmatic Software
9608cac9cb Properly pass date to default VM languages 2017-09-08 00:21:41 -07:00
Pragmatic Software
6fb1c3a142 Compiler VM now resets after each execution 2017-09-07 17:51:13 -07:00
Pragmatic Software
7792fd9bb0 Update version 2017-09-05 17:22:57 -07:00
Pragmatic Software
8f9875cf18 Correct $tonick/$nick behavior in factiod interpolation 2017-09-05 17:22:47 -07:00
Pragmatic Software
9a082ede38 Restrict factsetting action to admins 2017-09-05 17:20:23 -07:00
Pragmatic Software
fd8a43c9cd factundo/factredo now respect locked metadata 2017-09-05 02:18:02 -07:00
Pragmatic Software
3fa44a1a19 Update version 2017-09-05 00:48:17 -07:00
Pragmatic Software
d6a845f988 Do some basic string validation for factoids and such 2017-09-05 00:27:28 -07:00
Pragmatic Software
5262934e0d Improve Logger text escaping 2017-09-05 00:18:35 -07:00
Pragmatic Software
c3938ed8bb Add ValidateString utilities 2017-09-05 00:18:03 -07:00
Pragmatic Software
a805fe26e4 Use SafeFilename in factlog and factundo/redo 2017-09-04 19:07:10 -07:00
Pragmatic Software
5e6e5cb21d Add SafeFilename module 2017-09-04 19:06:31 -07:00
Pragmatic Software
ba6cfdca92 Add utility script to generate an initial undo states for all factoids that lack one 2017-09-04 18:44:20 -07:00
Pragmatic Software
47e295f8cd Add ParseDate plugin 2017-09-03 20:46:34 -07:00
Pragmatic Software
b6aecce701 Temporarily disable code-factoids
There are a wide range of potential denial-of-service attacks possible
without severely restricting the allowed opcodes. As such, we are
setting code-factoids' default state to disabled. Enable at your own risk.

There are plans to move the code-factoid logic to a virtual machine.
2017-09-03 01:38:25 -07:00
Pragmatic Software
58a629eca4 Correct 0-value factoid var expansion 2017-09-02 01:44:57 -07:00
Pragmatic Software
a2cd25facd factundo and factlog now handle deleted factoids 2017-09-02 01:05:11 -07:00
Pragmatic Software
12a92ea7d3 Replace control chars with escaped ordinals 2017-09-02 00:40:46 -07:00
Pragmatic Software
1b70de807b Change split / / to split /\s+/ throughout 2017-09-02 00:39:29 -07:00
Pragmatic Software
793303fcde Fix factoid var expansion such that 0 can now be yielded 2017-09-02 00:27:01 -07:00
Pragmatic Software
5ee07e08d2 Replace control chars with escaped ordinals 2017-09-02 00:19:39 -07:00
Pragmatic Software
2f014ba2f0 Use /say on returns whose first word is a variable 2017-09-02 00:14:13 -07:00
Pragmatic Software
5cd0f85e65 Strip control characters from log messages 2017-08-31 03:30:22 -07:00
Pragmatic Software
678d82676d Add interpolate factoid metadata to control interpolation 2017-08-31 03:10:20 -07:00
Pragmatic Software
d20ea65155 Update version 2017-08-31 00:04:37 -07:00
Pragmatic Software
0272a457d3 Read-only fact* commands no longer require explicit channel confirmation 2017-08-30 22:54:38 -07:00
Pragmatic Software
9c3097b8f9 Remove unused legacy list messages functionality 2017-08-30 22:23:35 -07:00
Pragmatic Software
0fd81482d7 Follow factoid aliases when checking for use_output_queue 2017-08-30 18:03:10 -07:00