3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-30 07:59:42 +01:00
Commit Graph

2832 Commits

Author SHA1 Message Date
Pragmatic Software
4d87fa1682 PBot: fix reload blacklist 2020-06-01 21:48:17 -07:00
Pragmatic Software
eb09de1da4 Update version 2020-05-31 17:14:06 -07:00
Pragmatic Software
76dcc0a8ee MessageHistory: allow recalling multiple messages in-channel again 2020-05-31 17:14:03 -07:00
Pragmatic Software
675d03fe73 Update version 2020-05-31 15:32:59 -07:00
Pragmatic Software
0692f2614a Interpreter: support give nick cmd [args] command 2020-05-31 15:32:56 -07:00
Pragmatic Software
158b13006c Factoids: minor whitespace reformatting 2020-05-31 15:32:05 -07:00
Pragmatic Software
141230b78b Update version 2020-05-31 02:39:36 -07:00
Pragmatic Software
91b7fa8558 BanList: add banlist.mute_mode_char registry setting to configure MODE character used for muting 2020-05-31 02:39:33 -07:00
Pragmatic Software
273b87e52a Update version 2020-05-30 23:18:54 -07:00
Pragmatic Software
4d888729e5 ChanOpCommands: fix "Can't locate object method 'mode'" error 2020-05-30 23:18:49 -07:00
Pragmatic Software
54b5cdeba6 Update version 2020-05-30 02:47:10 -07:00
Pragmatic Software
945b81f12d Factoids: properly set range for pick $variable modifier 2020-05-30 02:47:08 -07:00
Pragmatic Software
b8ec975f67 Update version 2020-05-30 01:29:02 -07:00
Pragmatic Software
0a4ef4eb40 Factoids: change sort+/sort- to +sort/-sort in $var modifier 2020-05-30 01:28:59 -07:00
Pragmatic Software
f5ca8324b5 Update version 2020-05-30 01:03:09 -07:00
Pragmatic Software
2e3fed5bae Factoids: more improvements to $variable expansion:
* removed debug code
* index() with a negative value will index from tail end
* improved handling of trailing modifier punctuation
2020-05-30 01:03:07 -07:00
Pragmatic Software
03b3a0a519 Update version 2020-05-29 23:05:55 -07:00
Pragmatic Software
6f9170ecbc Factoids: improvements to $var modifiers 2020-05-29 23:05:51 -07:00
Pragmatic Software
9ed88800cf Update version 2020-05-29 22:34:32 -07:00
Pragmatic Software
76863dea5c Factoids: strip quotes from pick() $var modifier 2020-05-29 22:34:29 -07:00
Pragmatic Software
6a94dc6651 Update version 2020-05-29 22:22:25 -07:00
Pragmatic Software
9a165a129c Factoids: fix index() $var modifier 2020-05-29 22:22:22 -07:00
Pragmatic Software
a50751ef4e Update version 2020-05-29 22:18:11 -07:00
Pragmatic Software
669bf7460c Factoids: add more :modifiers to $var expansion: index(x), pick(x, y), enumerate, etc 2020-05-29 22:18:07 -07:00
Pragmatic Software
8985620970 Update version 2020-05-29 20:49:59 -07:00
Pragmatic Software
52f183deae Registerable: add register_front method to register to head of list 2020-05-29 20:49:24 -07:00
Pragmatic Software
c9be31a9c0 PBot: fix execute_and_dequeue atexit 2020-05-29 20:48:53 -07:00
Pragmatic Software
b57fea8120 Factoids: fix export errors upon exit by correcting atexit registration order 2020-05-29 20:43:07 -07:00
Pragmatic Software
75eac99ea1 PBot: strip trailing directory separator from directory command-line overrides 2020-05-29 18:57:22 -07:00
Pragmatic Software
159124cbe9 Channels: fix chanrem 2020-05-29 18:25:55 -07:00
Pragmatic Software
d170b6b1ec Update version 2020-05-29 18:19:45 -07:00
Pragmatic Software
cd665619ee AntiFlood: devoice +v users when banning 2020-05-29 18:19:42 -07:00
Pragmatic Software
50e000923a Update version 2020-05-29 18:10:57 -07:00
Pragmatic Software
f8b6cee54e AntiFlood: check for +v/+o on user when enforcing anti-flood 2020-05-29 18:10:49 -07:00
Pragmatic Software
85e08eee9e PBot: refactor the two argument parsing loops into one loop 2020-05-26 19:21:11 -07:00
Pragmatic Software
bd38b53288 Update version 2020-05-21 19:57:15 -07:00
Pragmatic Software
8f024aa140 Commands: do not expand variables for commands with dont-replace-pronouns, in order to preserve expected behavior 2020-05-21 19:57:11 -07:00
Pragmatic Software
395f13020b Update version 2020-05-21 19:38:08 -07:00
Pragmatic Software
0ac20aa4b1 Commands: fix some cases in which $args would not expand 2020-05-21 19:38:05 -07:00
Pragmatic Software
0f377d4497 Update version 2020-05-21 19:25:38 -07:00
Pragmatic Software
beef46f120 Variables such as $0 can now be escaped, e.g. in factset, etc 2020-05-21 19:23:30 -07:00
Pragmatic Software
7e38ee6793 BanList: fix warning about odd elements in anonymous hash 2020-05-18 12:17:04 -07:00
Pragmatic Software
10b4332556 Update version 2020-05-18 10:57:25 -07:00
Pragmatic Software
f293366ad0 MessageHistory: override sort method to seen if -l is specified without -sort 2020-05-18 10:57:23 -07:00
Pragmatic Software
b3a5b57f71 Update version 2020-05-18 09:54:59 -07:00
Pragmatic Software
74e0f9a1ce Plugins: ignore blank lines in plugin_autoload 2020-05-18 09:54:55 -07:00
Pragmatic Software
b0bdde34a5 Update version 2020-05-18 01:00:22 -07:00
Pragmatic Software
aa778304d8 MessageHistory: add gecos to aka -sort 2020-05-18 01:00:18 -07:00
Pragmatic Software
852c54d210 Update version 2020-05-18 00:05:18 -07:00
Pragmatic Software
da9abb4fbc MessageHistory: aka can now sort output; added option -l to show last seen time 2020-05-18 00:05:15 -07:00
Pragmatic Software
565f4b080b NickList: improve nicklist usage message 2020-05-18 00:04:12 -07:00
Pragmatic Software
46cad2050c NickList: slightly improve error-checking for nicklist arguments 2020-05-17 23:31:25 -07:00
Pragmatic Software
33fd788988 NickList: improve nicklist usage message 2020-05-17 23:10:49 -07:00
Pragmatic Software
1daf86df46 NickList: add text about using -/+ to invert sort direction 2020-05-17 22:56:14 -07:00
Pragmatic Software
d656b01aa6 Update version 2020-05-17 16:47:50 -07:00
Pragmatic Software
5bb026f33e NickList: nicklist command now can accept options for sorting and display 2020-05-17 16:47:48 -07:00
Pragmatic Software
40a2728737 Update version 2020-05-16 23:13:19 -07:00
Pragmatic Software
9898634b3a NickList: improve output of nicklist command 2020-05-16 23:13:13 -07:00
Pragmatic Software
72eb7f9e24 Users: do not repeat names for each hostmask per channel in users 2020-05-16 22:43:54 -07:00
Pragmatic Software
0436294090 MessageHistory: aka can optionally bypass alias table 2020-05-16 22:39:48 -07:00
Pragmatic Software
8871d88ff2 Update version 2020-05-14 17:42:13 -07:00
Pragmatic Software
08caa120fe BanList: increase save queue delay to 15s 2020-05-14 17:42:11 -07:00
Pragmatic Software
6ff311267e Update version 2020-05-14 16:58:38 -07:00
Pragmatic Software
4166da140e BanList: use save queue to prevent repeated saves when handling multiple bans 2020-05-14 16:58:29 -07:00
Pragmatic Software
506ebf13c6 DualIndexHashObject can now enqueue saves to prevent repeated-save thrashing 2020-05-14 16:57:34 -07:00
Pragmatic Software
a91c2cd71e DualIndexSQLiteObject: do not interrupt atexit queue 2020-05-14 16:55:23 -07:00
Pragmatic Software
37f3bc5467 Timer: add more flexible ways to enqueue and dequeue events 2020-05-14 16:54:10 -07:00
Pragmatic Software
559b058dd1 ChanOpCommands: fix unban * 2020-05-14 16:53:10 -07:00
Pragmatic Software
5633bf8798 Update version 2020-05-09 03:22:44 -07:00
Pragmatic Software
2ef70f76fb BlackList: case-insensitive channel test 2020-05-09 03:16:14 -07:00
Pragmatic Software
b5ec951df1 AntiFlood: check_ban(): correct order of ban_user_timed() arguments 2020-05-09 03:15:12 -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
1270bef010 Update version 2020-05-08 13:09:36 -07:00
Pragmatic Software
aa1273f16f Users: correct spelling of account name 2020-05-08 12:56:49 -07:00
Pragmatic Software
b04df81f81 Update version 2020-05-04 23:50:04 -07:00
Pragmatic Software
fdc8cd54d5 Factoids: fix spelling of cmd_factfind in interpreter() 2020-05-04 23:49:59 -07:00
Pragmatic Software
c733a5253b Update version 2020-05-04 23:37:18 -07:00
Pragmatic Software
c9b69e0b50 Interpreter: ensure $context->{hostmask} is set in interpret() 2020-05-04 23:37:13 -07:00
Pragmatic Software
8b7a9d46bd Users: fix minor autovivification issue when decaching non-existent users 2020-05-04 19:05:11 -07:00
Pragmatic Software
467fcaaf74 Update version 2020-05-04 16:52:01 -07:00
Pragmatic Software
2dfae83478 ProcessManager: show "No output." for processes that exit without output; add $context flag to suppress this 2020-05-04 16:51:55 -07:00
Pragmatic Software
ba3b22d124 Update version; bot restart required 2020-05-04 13:25:05 -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
5df95b45e9 Update version 2020-05-03 19:27:18 -07:00
Pragmatic Software
ea67642872 Channels: fix gain_ops() call 2020-05-03 19:27:04 -07:00
Pragmatic Software
a26411fbc4 Factoids: remove debug statement 2020-05-02 23:54:49 -07:00
Pragmatic Software
a6202c09c6 Interpreter: adjust interpret_depth for pronouns 2020-05-02 23:52:35 -07:00
Pragmatic Software
b514acffae Update version 2020-05-02 23:50:07 -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
aee7f706c7 DualIndexSQLiteObject: improve formatting of set output 2020-05-02 15:00:57 -07:00
Pragmatic Software
ec7eb3828d Update version 2020-05-02 02:38:44 -07:00
Pragmatic Software
bfce579480 Fix reload banlist 2020-05-02 02:38:39 -07:00
Pragmatic Software
cfba96e8ae Rename $stuff to $context throughout 2020-05-01 20:59:51 -07:00
Pragmatic Software
195dd39330 Update version 2020-05-01 11:26:32 -07:00
Pragmatic Software
0bd2718e05 Functions: correct issue causing truncation at 0 2020-05-01 11:26:27 -07:00
Pragmatic Software
92ed6dd016 Update version 2020-05-01 09:55:19 -07:00
Pragmatic Software
e155b2958e Commands: show how to add help text when help text is missing 2020-05-01 09:55:15 -07:00
Pragmatic Software
1124f4716a DualIndexSQLiteObject: add missing get_key_name() subroutine 2020-05-01 09:54:50 -07:00
Pragmatic Software
b54360485d IgnoreList: correct formatting of pasted ignore list output 2020-05-01 09:45:38 -07:00
Pragmatic Software
b9fb3dcb7d Update version 2020-04-30 14:27:16 -07:00
Pragmatic Software
e071005cd4 Fix ban list type flag inconsistency due to BanList refactor 2020-04-30 14:27:10 -07:00
Pragmatic Software
54971a6051 Update version 2020-04-30 11:49:04 -07:00
Pragmatic Software
3a3ed38162 MessageHistory: correct behavior of recall -n without history 2020-04-30 11:48:53 -07:00
Pragmatic Software
de73fa6d56 Update version 2020-04-29 20:01:57 -07:00
Pragmatic Software
f23df0d4ac DualIndexSQLiteObject: quote unprepared keys 2020-04-29 20:01:49 -07:00
Pragmatic Software
e1d1e83512 MessageHistory: Remove "It's a nick-change!" message 2020-04-29 19:58:15 -07:00
Pragmatic Software
91890a2d33 Update version 2020-04-29 17:49:38 -07:00
Pragmatic Software
2b0a0550b5 MessageHistory: recall: add -raw and -random; fix mixing -x -t and -n 2020-04-29 17:49:31 -07:00
Pragmatic Software
88a13847c8 IgnoreList: properly set global channel; fix whitespace in ignore list 2020-04-29 16:55:09 -07:00
Pragmatic Software
5e7955a51b Update version 2020-04-28 22:43:17 -07:00
Pragmatic Software
54a938b54d BanList: Remove repeated "ago" 2020-04-28 22:43:13 -07:00
Pragmatic Software
f347d1798b Finalize BanList refactor; add updater 2020-04-28 22:36:13 -07:00
Pragmatic Software
ea19abad4f Refactor BanTracker into BanList; move stuff out off ChanOps 2020-04-28 21:33:49 -07:00
Pragmatic Software
8b6b969b97 DualIndexHashObject: do not overwrite existing data when adding 2020-04-28 16:59:58 -07:00
Pragmatic Software
848a6c4e3d IRC/Event: add event 729 endofquietlist 2020-04-28 16:59:03 -07:00
Pragmatic Software
90de77e523 Users: clear user cache when rebuilding index 2020-04-28 16:18:53 -07:00
Pragmatic Software
e98cd759fd Rename BanTracker to BanList 2020-04-25 20:31:48 -07:00
Pragmatic Software
381902b042 Update version 2020-04-24 23:27:10 -07:00
Pragmatic Software
3f2158cab2 Users: Fix issue with exact-match hostmasks 2020-04-24 23:27:06 -07:00
Pragmatic Software
599dab7ef6 Update version 2020-04-24 23:10:00 -07:00
Pragmatic Software
4e71cb0674 Add object name to JSON metadata when saving 2020-04-24 23:04:07 -07:00
Pragmatic Software
4fb1ed815b Users: add id command 2020-04-24 22:58:40 -07:00
Pragmatic Software
c077410107 Update version 2020-04-24 18:17:29 -07:00
Pragmatic Software
39683e6da3 DualIndexHashObject: Fix precedence issue 2020-04-24 18:17:25 -07:00
Pragmatic Software
96b1ffde2d Update version 2020-04-24 17:28:39 -07:00
Pragmatic Software
e31fe57017 Timer: eventqueue remove will now list removed events 2020-04-24 17:28:27 -07:00
Pragmatic Software
8d9e3da249 Major refactor of Users 2020-04-23 16:19:36 -07:00
Pragmatic Software
66f6d867e9 Remove redundant _name metadata from JSON files 2020-04-22 16:46:09 -07:00
Pragmatic Software
012f2bd061 Update version 2020-04-21 21:31:58 -07:00
Pragmatic Software
b3a5637d9f Plugins: pluglist now shows count 2020-04-21 21:31:53 -07:00
Pragmatic Software
28da37fca5 Update version 2020-04-21 19:45:01 -07:00
Pragmatic Software
f8c55355dc Add version metadata to JSON files 2020-04-21 19:44:14 -07:00
Pragmatic Software
e740883430 Update version 2020-04-21 15:18:22 -07:00
Pragmatic Software
2c2d547b51 MessageHistory: Increase limits back to 100; remove "I have messages for them in ..." 2020-04-21 15:14:11 -07:00
Pragmatic Software
903d663d18 Update version 2020-04-20 17:53:45 -07:00
Pragmatic Software
f6ac46956f Rename Migration to Updater 2020-04-20 17:53:32 -07:00
Pragmatic Software
340f9d9fd7 Update version 2020-04-20 10:53:43 -07:00
Pragmatic Software
b9d3fa5f03 Add data/config migration framework 2020-04-20 10:53:35 -07:00
Pragmatic Software
b007cb3b9d MessageHistory: Increase in-channel recall message limit to ~5 2020-04-19 14:47:30 -07:00
Pragmatic Software
9576c20dc4 Update version 2020-04-19 12:42:47 -07:00
Pragmatic Software
87461f38e7 MessageHistory_SQLite: replace REGEXP with LIKE 2020-04-19 12:42:44 -07:00
Pragmatic Software
700e7b3945 Update version 2020-04-19 10:25:43 -07:00
Pragmatic Software
38c080e665 MessageHistory_SQLite: Remove SQLite pcre.so extension 2020-04-19 10:25:31 -07:00
Pragmatic Software
0771552a11 DualIndexSQLiteObject: Remove unused SQLite pcre.so extension 2020-04-19 10:24:10 -07:00
Pragmatic Software
66d0369990 FactoidCommands: fix display of owner text in factfind 2020-04-16 20:03:59 -07:00
Pragmatic Software
88b8ecc452 Update version 2020-04-09 14:42:45 -07:00
Pragmatic Software
317ed4fe9e Update version 2020-04-05 20:33:19 -07:00
Pragmatic Software
3eac19d65e Timer: remove case-sensitivity 2020-04-05 20:33:14 -07:00
Pragmatic Software
dde93db0ac ChanOps: dequeue existing identical ban/mute timeouts when adding/updating timeout 2020-04-05 16:58:56 -07:00
Pragmatic Software
7ce2eb87d2 MessageHistory: recall must be used via /msg if count > 2 2020-04-03 13:12:24 -07:00
Pragmatic Software
ea54fad8c6 Update version 2020-03-25 00:51:57 -07:00
Pragmatic Software
c88e5647e0 Interpreter: remove < and > as nick characters in dehighlight_nicks() 2020-03-25 00:51:53 -07:00
Pragmatic Software
d6ca9474c3 Update version 2020-03-24 15:53:25 -07:00
Pragmatic Software
5f741ba69d Interpreter: simplify dehighlight_nicks() a bit 2020-03-24 15:53:21 -07:00
Pragmatic Software
b915b7c489 Update version 2020-03-24 15:17:36 -07:00
Pragmatic Software
1cadd1d87d Interpreter: improve and optimize dehighlight_nicks() 2020-03-24 15:17:33 -07:00
Pragmatic Software
864e6853ea Update version 2020-03-23 17:49:53 -07:00
Pragmatic Software
a7df1a3be7 FactoidCommands: fix factfind to show usage message if no arguments 2020-03-23 17:49:50 -07:00
Pragmatic Software
39d1c1e7ee Update version 2020-03-23 16:36:05 -07:00
Pragmatic Software
0b9bc60690 FactoidCommands: simplify factfind 2020-03-23 16:35:58 -07:00
Pragmatic Software
78e91c1b82 Update version 2020-03-22 15:52:50 -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
3c7ad2c529 Update version 2020-03-22 13:28:08 -07:00
Pragmatic Software
55de922aa6 AntiFlood: update last_spoken_nick properly 2020-03-22 13:28:04 -07:00
Pragmatic Software
0e1a496001 Update version 2020-03-19 18:58:27 -07:00
Pragmatic Software
cac4ac81ad Factoids: Fix undo/redo via DualIndexSQLiteObject 2020-03-19 18:58:24 -07:00
Pragmatic Software
f0300f873a Update version 2020-03-19 18:03:38 -07:00
Pragmatic Software
9ad611dd60 DualIndexSQLiteObject: do not return partially cached object for get_data(x, y) 2020-03-19 18:03:35 -07:00
Pragmatic Software
5e2dfff2cc Update version 2020-03-17 23:56:53 -07:00
Pragmatic Software
47661f4a21 Commands: factoid-based $variables now expand in command arguments 2020-03-17 23:56:44 -07:00
Pragmatic Software
55115d8d16 Factoids: improve "No such factoid" message when no matches found 2020-03-17 23:08:56 -07:00
Pragmatic Software
8c3f600e72 Update version 2020-03-10 01:52:36 -07:00
Pragmatic Software
85a98d5a8b Timer: update eventqueue usage message 2020-03-10 01:52:32 -07:00
Pragmatic Software
39cec8e35a Update version 2020-03-09 15:24:51 -07:00
Pragmatic Software
d69682efc1 eventqueue command now accepts -repeat flag 2020-03-09 15:24:47 -07:00
Pragmatic Software
e193fc734f Timer: use normal wildcard for eventqueue remove 2020-03-09 12:58:30 -07:00
Pragmatic Software
9c8da0238a MessageHistory_SQLite: give timer a more concise name 2020-03-08 22:46:02 -07:00
Pragmatic Software
b5fad6c279 Revert "Timer: minor visual style change"
This reverts commit 2bd034c951.
2020-03-08 19:15:15 -07:00
Pragmatic Software
2bd034c951 Timer: minor visual style change 2020-03-08 19:11:52 -07:00
Pragmatic Software
cc6fe1e4f5 Update version 2020-03-08 16:06:13 -07:00
Pragmatic Software
86a1ed42ae Timer: eventqueue command can now add and remove events 2020-03-08 16:05:37 -07:00
Pragmatic Software
bac855c1f4 ChanOps: save permanent bans/mutes better 2020-03-07 18:19:24 -08:00
Pragmatic Software
08667eda5d Update version 2020-03-06 20:25:07 -08:00
Pragmatic Software
857021f25f Interpreter: $self is no longer passed through event queue 2020-03-06 20:23:44 -08:00
Pragmatic Software
5624d2d166 Timer: intelligently wait for next tick; eventqueue command can now filter 2020-03-06 20:23:17 -08:00
Pragmatic Software
471422a4f8 Update version 2020-03-06 13:31:27 -08:00
Pragmatic Software
c815ccbc0d Use event queue for unban/unmute timeouts 2020-03-06 13:31:22 -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
74b3f35d3e ProcessManager: properly add "can-kill" cap without triggering saving 2020-03-06 13:29:37 -08:00
Pragmatic Software
16ac6d95fb Give sensible names to various existing timers 2020-03-06 13:28:06 -08:00
Pragmatic Software
e98072f98d IgnoreList: use event queue for ignore timeouts 2020-03-06 13:23:40 -08:00
Pragmatic Software
25623ac80e Timer: refactor to use event queue 2020-03-06 13:21:44 -08:00
Pragmatic Software
41728783ed AntiFlood: fix private message ignorelist 2020-03-04 18:26:39 -08:00
Pragmatic Software
326fac5a6e Update version 2020-03-04 13:25:48 -08:00
Pragmatic Software
c467f92904 DualIndexHashObject: get_keys: ensure index actually exists 2020-03-04 13:25:41 -08:00
Pragmatic Software
6c4f56f9df IgnoreList: refactored to use DualIndexHashObject 2020-03-04 13:24:40 -08:00
Pragmatic Software
c46783eca1 Update version 2020-03-04 09:56:29 -08:00
Pragmatic Software
e28d664cd5 Factoids: /msg caller for unknown command instead of silently disregarding 2020-03-04 09:56:22 -08:00
Pragmatic Software
48361191bd DualIndexSQLiteObject: Add comment about compatibility with DualIndexHashObject 2020-03-04 05:54:20 -08:00
Pragmatic Software
dc0c00e847 Update version 2020-03-03 12:51:04 -08:00