3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 12:29:27 +01:00
Commit Graph

1497 Commits

Author SHA1 Message Date
Pragmatic Software
4d99f1655c Fix unencoded entity in factoids HTML export 2017-11-19 14:37:02 -08:00
Pragmatic Software
1557bbc219 Fix UrlTitles properly 2017-11-19 14:06:17 -08:00
Pragmatic Software
b84183e30c Update version 2017-11-19 13:39:03 -08:00
Pragmatic Software
edfc01686c Fix UrlTitles to use $stuff 2017-11-19 13:38:55 -08:00
Pragmatic Software
0b9aaf8f79 Update version 2017-11-17 21:38:36 -08:00
Pragmatic Software
45dcefc752 /kick factoids can now be piped 2017-11-17 21:38:28 -08:00
Pragmatic Software
7b903854a3 Remove secretstuff; use $stuff context instead 2017-11-17 21:37:54 -08:00
Pragmatic Software
efb53e397f count now does whole-word matching 2017-11-17 21:36:41 -08:00
Pragmatic Software
a0d3b3271b Update version 2017-11-17 13:55:59 -08:00
Pragmatic Software
33dd854086 Update version 2017-11-17 13:53:30 -08:00
Pragmatic Software
656adae53c Improvements to piping and stuff 2017-11-17 13:53:23 -08:00
Pragmatic Software
73e61b72a7 Update version 2017-11-16 09:24:04 -08:00
Pragmatic Software
3ed4d58570 Significant refactoring of command passing
Instead of passing locally-scoped short-lived parameters to subroutines,
we now create and pass around a "stuff" context hash.

This allows contextual state to be passed and updated throughout the life
of a command.

This commit is a WIP and is 90% finished. There are likely to be a couple of
edge-cases where strange things may happen. But command-piping mostly works!
2017-11-16 09:23:58 -08:00
Pragmatic Software
b12cf1d799 Update version 2017-11-14 15:30:16 -08:00
Pragmatic Software
ae1e30051d Allow UTF in output again 2017-11-14 15:30:05 -08:00
Pragmatic Software
749377106b Update version 2017-11-14 15:27:38 -08:00
Pragmatic Software
68279d7a82 Minor refactor of process_line to ignore embedded commands within full commands 2017-11-14 15:27:30 -08:00
Pragmatic Software
bfec3ff9e8 Update version 2017-11-13 12:00:55 -08:00
Pragmatic Software
d644ac04d5 Limit factoid keywords to 30 characters 2017-11-13 12:00:34 -08:00
Pragmatic Software
f71dcfcf0e Limit max comma-separated kicks to 5 2017-11-13 08:42:56 -08:00
Pragmatic Software
541b8a31eb Update version 2017-11-12 08:04:49 -08:00
Pragmatic Software
69c081fd9a Limit maximum number of factoid variable expansions 2017-11-12 08:04:42 -08:00
Pragmatic Software
9acb38d790 Update version 2017-11-11 18:39:04 -08:00
Joey Pabalinas
353fd96022 Prettify recall messages for JOIN/QUIT/KICK/NICKCHANGE/etc (#12) 2017-11-11 18:37:54 -08:00
Pragmatic Software
94169b89a2 Update version 2017-11-11 12:59:34 -08:00
Pragmatic Software
8997534ce6 Can now kick comma-separated nicks 2017-11-11 12:59:27 -08:00
Pragmatic Software
7b4d9cc4cc Update version 2017-11-10 20:30:11 -08:00
Krokodile Glue
250337927b Modify the syntax of the kick command (#10)
* Modify the syntax of the kick command

* Modify the syntax of the kick command

* Beautify helpful comment
2017-11-09 19:26:05 -08:00
Pragmatic Software
efe5d838f7 Update version 2017-11-08 11:17:14 -08:00
Pragmatic Software
a119ed815f AutoRejoin delay can now be overriden per-channel 2017-11-08 11:17:07 -08:00
Pragmatic Software
5c954dc43c Correct "counter" to "action" in minor text message 2017-11-08 11:16:46 -08:00
Pragmatic Software
39c9efd7d1 Add unban-queue option to unban usage message 2017-11-08 11:15:36 -08:00
Pragmatic Software
7e9c116712 unban command can now take comma-separated list of targets; can also opt to use unban queue or not 2017-11-08 11:11:43 -08:00
Pragmatic Software
34fee863e0 Update version 2017-11-03 12:28:44 -07:00
Pragmatic Software
1172d7b262 Ensure admins actually have rights in $channel to use $command 2017-11-03 12:28:41 -07:00
Pragmatic Software
9e24f43ff7 login command now accepts optional channel argument 2017-11-03 12:27:59 -07:00
Pragmatic Software
c1f57d5839 Update version 2017-11-03 11:58:20 -07:00
Pragmatic Software
2b1230a894 Update version 2017-10-17 22:05:10 -07:00
Pragmatic Software
62891fea01 Allow things like user@host in AntiTwitter 2017-10-17 22:05:00 -07:00
Pragmatic Software
ae157908ce Update version 2017-10-15 10:56:56 -07:00
Pragmatic Software
62d05f398f Restrict admin level setting to appropriate admins 2017-10-15 10:56:51 -07:00
Pragmatic Software
9219f02654 Update version 2017-10-14 21:44:48 -07:00
Pragmatic Software
456e239afe Update version 2017-10-13 20:54:14 -07:00
Pragmatic Software
665457ff3e Update version 2017-10-10 20:31:48 -07:00
Pragmatic Software
26b6f90c7c Update version 2017-10-10 18:53:14 -07:00
Pragmatic Software
a451b0f767 Clean up previous commit 2017-10-10 18:53:11 -07:00
Pragmatic Software
12fcf7479e Update version 2017-10-10 17:19:34 -07:00
Pragmatic Software
cffcd04895 Handle module results in parent instead of child 2017-10-10 17:19:02 -07:00
Pragmatic Software
fda67f3739 Add buffering to StdinReader 2017-10-10 14:31:31 -07:00
Pragmatic Software
3464df6901 Update version 2017-10-09 19:41:06 -07:00
Pragmatic Software
0a5f64d818 Log when reminders fire off 2017-10-09 19:41:00 -07:00
Pragmatic Software
240b4a6df0 Fix scalar keys thing 2017-10-09 19:40:32 -07:00
Pragmatic Software
7e76740f5b Move special var expansion to expand_special_vars 2017-10-09 19:39:54 -07:00
Pragmatic Software
c119043d2a Update version 2017-10-09 19:35:18 -07:00
Pragmatic Software
d771d66d8f fact_find no longer treats some aliases as regex when they alias a built-in command 2017-10-09 19:35:11 -07:00
Pragmatic Software
95b16daae8 Update version 2017-10-05 19:37:08 -07:00
Pragmatic Software
0fcbaaad4b Update version 2017-10-05 14:32:04 -07:00
Pragmatic Software
f07c34f53f Paste to ix.io instead of sprunge; set 10 second timeout for pastes 2017-10-05 14:31:58 -07:00
Pragmatic Software
8ba0664b85 Improve parsing of embedded factoids 2017-10-05 14:31:00 -07:00
Pragmatic Software
b46dfe31fc Update version 2017-10-04 17:56:43 -07:00
Pragmatic Software
9710ad2b28 Remove capture from factchange 2017-10-04 17:56:34 -07:00
Pragmatic Software
652cad7ddf Fix factundo on deleted factoids 2017-10-04 17:56:16 -07:00
Pragmatic Software
0ab6a46008 Update version 2017-10-04 11:32:29 -07:00
Pragmatic Software
e1db291c35 Fix captures in factchange regex 2017-09-29 12:40:40 -07:00
Pragmatic Software
492ee7b6a4 Update version 2017-09-29 12:07:59 -07:00
Pragmatic Software
688cafde3c factchange now understands modifiers like /g and /i, etc 2017-09-29 12:07:50 -07:00
Pragmatic Software
d0c2395d25 Update version 2017-09-27 22:44:53 -07:00
Pragmatic Software
9af866a65a Update version 2017-09-23 21:04:33 -07:00
Pragmatic Software
ab7aa990a0 Add :json modifier to escape variables for JSON 2017-09-23 21:04:21 -07:00
Pragmatic Software
346dcd3320 Uh, fix weird typo 2017-09-21 11:52:45 -07:00
Pragmatic Software
339e677732 Update version 2017-09-18 21:36:48 -07:00
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
cf960261aa Update version 2017-09-12 05:53:57 -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
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
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
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