3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00
Commit Graph

238 Commits

Author SHA1 Message Date
Pragmatic Software
b36968ce61 Interpreter: via /msg, restore trigger to command if stripped trigger produces empty command 2021-06-29 09:00:27 -07:00
Pragmatic Software
b7fff15896 Interpreter: allow optional bot trigger prefix in /msg 2021-06-29 08:21:46 -07:00
Pragmatic Software
f1c5b8c706 Progress on refactoring and polishing everything 2021-06-24 18:28:49 -07:00
Pragmatic Software
1a41f9aebb Refactor PBot::Timer into PBot::EventQueue
Make better use of PBot::IRC's select loop
Remove use of SIGALRM
2021-06-21 17:26:24 -07:00
Pragmatic Software
8b093d313c Progress on refactoring and polishing everything 2021-06-20 15:10:16 -07:00
Pragmatic Software
1c2b4da9ab Consolidate imports into PBot::Imports 2021-06-18 21:23:34 -07:00
Pragmatic Software
96e276038e Progress on refactoring and polishing everything 2021-06-11 16:50:09 -07:00
Pragmatic Software
6a4e14ef8d Progress on refactoring and polishing everything 2021-06-11 14:58:16 -07:00
Pragmatic Software
3ddd190d89 Progress on refactoring and polishing everything 2021-06-08 15:52:47 -07:00
Pragmatic Software
33f82c6523 Fix remaining paste truncation Unicode issues
Uses Unicode::Truncate CPAN module to truncate UTF-8 strings to byte lengths
without corruption.
2021-06-06 21:47:06 -07:00
Pragmatic Software
613890707a Progress on refactoring and polishing everything
More to come!
2021-06-06 19:12:14 -07:00
Pragmatic Software
5fc4d8c86a Start refactoring and polishing everything
More to come!
2021-06-05 13:20:03 -07:00
Pragmatic Software
8947d0ca98 Update version 2020-09-12 16:28:44 -07:00
Pragmatic Software
b114d14fb1 Interpreter: fix potential misparse of botnick-prefix trigger 2020-08-20 20:14:28 -07:00
Pragmatic Software
236c101e3e Interpreter: when result is "/say" output a space 2020-06-20 21:38:12 -07:00
Pragmatic Software
bd04feda81 Interpreter: minor formatting clean-up 2020-06-20 20:52:54 -07:00
Pragmatic Software
32e25a1c61 Interpreter: improve split_line (add strip_commas) and split_args (fix whitespace separator issue) 2020-06-04 02:10:24 -07:00
Pragmatic Software
0692f2614a Interpreter: support give nick cmd [args] command 2020-05-31 15:32:56 -07:00
Pragmatic Software
ca228b9e06 Interpreter: extract_bracketed/split_line now properly handle a final trailing backslash 2020-05-09 03:13:56 -07:00
Pragmatic Software
c9b69e0b50 Interpreter: ensure $context->{hostmask} is set in interpret() 2020-05-04 23:37:13 -07:00
Pragmatic Software
976bfcb5e7 Refactor commands to begin with cmd_ and take a $context object
Move all command subroutines closer to top of source file
Do not send WHO to non-chanop channels
Minor misc bugfixes and improvements
2020-05-04 13:21:35 -07:00
Pragmatic Software
a6202c09c6 Interpreter: adjust interpret_depth for pronouns 2020-05-02 23:52:35 -07:00
Pragmatic Software
33f8c5aeab Factoid rate-limit no longer affects factoids piped/substituted/splitted within the same command 2020-05-02 23:49:29 -07:00
Pragmatic Software
cfba96e8ae Rename $stuff to $context throughout 2020-05-01 20:59:51 -07:00
Pragmatic Software
ea19abad4f Refactor BanTracker into BanList; move stuff out off ChanOps 2020-04-28 21:33:49 -07:00
Pragmatic Software
c88e5647e0 Interpreter: remove < and > as nick characters in dehighlight_nicks() 2020-03-25 00:51:53 -07:00
Pragmatic Software
5f741ba69d Interpreter: simplify dehighlight_nicks() a bit 2020-03-24 15:53:21 -07:00
Pragmatic Software
1cadd1d87d Interpreter: improve and optimize dehighlight_nicks() 2020-03-24 15:17:33 -07:00
Pragmatic Software
8e9742a0e4 Interpreter: do not dehighlight single-letter nicks or nicks in URLs 2020-03-22 15:52:47 -07:00
Pragmatic Software
d69682efc1 eventqueue command now accepts -repeat flag 2020-03-09 15:24:47 -07:00
Pragmatic Software
857021f25f Interpreter: $self is no longer passed through event queue 2020-03-06 20:23:44 -08:00
Pragmatic Software
f5927c8761 Interpreter: use event queue for output queue and command queue 2020-03-06 13:30:09 -08:00
Pragmatic Software
6c4f56f9df IgnoreList: refactored to use DualIndexHashObject 2020-03-04 13:24:40 -08:00
Pragmatic Software
999ee4a33c Interpreter: Fix potential undefined variable 2020-02-26 02:30:26 -08:00
Pragmatic Software
108f61d40e Interpreter: subtract IRC command length from truncation length 2020-02-19 15:07:25 -08:00
Pragmatic Software
f13df2245a Fix incorrect truncation length when web-pasting content containing Unicode 2020-02-18 20:05:47 -08:00
Pragmatic Software
212ae97122 Interpreter: minor quote change 2020-02-16 10:46:26 -08:00
Pragmatic Software
a6b2f60175 Tidy things up 2020-02-16 08:41:45 -08:00
Pragmatic Software
fe56b9f0db Tidy things up 2020-02-15 15:16:38 -08:00
Pragmatic Software
5c4e10a35c Tidy things up 2020-02-15 14:38:32 -08:00
Pragmatic Software
dc7cdd8a2c Add ProcessManager and Modules
Improve everything to behave nicely with ProcessManager and Modules
2020-02-14 18:52:41 -08:00
Pragmatic Software
21c1eba0a0 No longer directly access DualIndexHashObject internals 2020-02-13 13:31:36 -08:00
Pragmatic Software
0abdb8c84e Interpreter: use command/factoid metadata to toggle pronoun replacement and self-protection 2020-02-10 01:07:30 -08:00
Pragmatic Software
c4b71347bf Whitelist is now a user-capability
Rework ban-whitelist to ban-exemptions
2020-02-09 16:20:58 -08:00
Pragmatic Software
525b2ee056 Interpreter: do not dehighlight nicks that are followed by a colon 2020-02-08 14:42:20 -08:00
Pragmatic Software
02f93c8721 Significant refactor and clean-up of PBot class instantiation 2020-02-08 11:04:13 -08:00
Pragmatic Software
d4bd248f9d Interpreter: clean up nick-dehighlighter 2020-02-06 10:47:34 -08:00
Pragmatic Software
d38402754e Interpreter: minor bugfix 2020-02-06 04:01:41 -08:00
Pragmatic Software
c7c0b49515 Interpreter: preserve case of dehighlight 2020-02-06 03:49:33 -08:00
Pragmatic Software
2f11ae7114 Interpreter: case-insensitive dehighlight 2020-02-06 03:37:07 -08:00