3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-27 06:19:25 +01:00
Commit Graph

2942 Commits

Author SHA1 Message Date
Pragmatic Software
503db9417d Update version 2020-07-20 01:32:04 -07:00
Pragmatic Software
dd5dfe08be Update version 2020-07-19 16:40:22 -07:00
Pragmatic Software
cc5e31e9cf Update version 2020-07-19 16:11:44 -07:00
Pragmatic Software
b5f0abefb8 Factoids: fix a thing 2020-07-19 16:11:40 -07:00
Pragmatic Software
f9b55e56e3 Update version 2020-07-19 14:49:22 -07:00
Pragmatic Software
eec28803d0 Update version 2020-07-18 19:48:15 -07:00
Pragmatic Software
184d6faf8f Update version 2020-07-18 12:52:49 -07:00
Pragmatic Software
93b444e3f5 Factoids: whoops, missed a character 2020-07-18 12:52:47 -07:00
Pragmatic Software
0e03541460 Update version 2020-07-18 12:46:50 -07:00
Pragmatic Software
d6e81a4781 Factoids: fix expansion modifiers 2020-07-18 12:46:44 -07:00
Pragmatic Software
2c48d483f7 Update version 2020-07-15 21:47:06 -07:00
Pragmatic Software
db6b85efa0 Update version 2020-07-15 11:07:41 -07:00
Pragmatic Software
d88b516e01 Significantly improve delay of background-processing 2020-07-15 11:07:35 -07:00
Pragmatic Software
00c212857a Update version 2020-07-13 19:32:05 -07:00
Pragmatic Software
0f8773ebe8 Update version 2020-07-12 22:10:05 -07:00
Pragmatic Software
457ee84556 Update version 2020-07-12 21:18:20 -07:00
Pragmatic Software
975b474187 Update version 2020-07-12 19:18:06 -07:00
Pragmatic Software
5f65b79504 Update version 2020-07-12 18:33:33 -07:00
Pragmatic Software
462d348734 Update version 2020-07-11 17:38:28 -07:00
Pragmatic Software
bbf4eddba9 PBot: do not connect if env PBOT_LOCAL is true 2020-07-11 17:38:24 -07:00
Pragmatic Software
7ccde2e2a5 Update version 2020-07-08 23:22:05 -07:00
Pragmatic Software
a51d81db21 Update version 2020-07-08 14:48:33 -07:00
Pragmatic Software
fc648c3351 Update version 2020-07-06 20:56:08 -07:00
Pragmatic Software
be06b8e241 Factoids: revert $var expansion relocation 2020-07-06 20:56:06 -07:00
Pragmatic Software
2d5a86356e Update version 2020-07-02 16:35:47 -07:00
Pragmatic Software
a09f220872 Update version 2020-07-01 21:03:00 -07:00
Pragmatic Software
7deefb242a FactoidCommands: factadd -f no longer requires ownership to overwrite 2020-07-01 21:02:57 -07:00
Pragmatic Software
91b5e17640 Update version 2020-06-29 09:48:47 -07:00
Pragmatic Software
40ab17beed BanList: remove "Finalizing" log messages 2020-06-28 20:31:32 -07:00
Pragmatic Software
c305a9aa5b Fix "null" argument converting to "{}" 2020-06-28 20:28:54 -07:00
Pragmatic Software
53da187acc Update version 2020-06-27 23:10:14 -07:00
Pragmatic Software
38b9853aad Factoids: $var expansion was happening too early in the pipeline 2020-06-27 23:10:11 -07:00
Pragmatic Software
fd16b6be3e Update version 2020-06-26 17:22:43 -07:00
Pragmatic Software
8610a9a7c9 ChanOpCommands: alternate case of kick message if case of kick command is alternated 2020-06-26 17:22:38 -07:00
Pragmatic Software
8d5d7eaff5 Update version 2020-06-25 09:53:13 -07:00
Pragmatic Software
7e31a3ee26 ChanOpCommands: uppercase kick reason if kick command is uppercased 2020-06-25 09:53:09 -07:00
Pragmatic Software
be2376cf4b Update version 2020-06-20 21:38:15 -07:00
Pragmatic Software
236c101e3e Interpreter: when result is "/say" output a space 2020-06-20 21:38:12 -07:00
Pragmatic Software
bbbfcbb25a Factoids: minor formatting clean-up 2020-06-20 21:37:21 -07:00
Pragmatic Software
20a6485c5d Update version 2020-06-20 20:55:26 -07:00
Pragmatic Software
2efd91d382 Factoids: do not prepend $ref_from if pipe or subcmd exists; misc clean-ups 2020-06-20 20:55:22 -07:00
Pragmatic Software
bd04feda81 Interpreter: minor formatting clean-up 2020-06-20 20:52:54 -07:00
Pragmatic Software
da43217d3e Update version 2020-06-19 19:58:55 -07:00
Pragmatic Software
2d47802cff Factoids: allow empty %() items without needing quotes 2020-06-19 19:58:52 -07:00
Pragmatic Software
7e2caa58af Factoids: add some error-checking for expansion modifiers 2020-06-19 13:12:50 -07:00
Pragmatic Software
047b2ec4c5 Update version 2020-06-19 12:07:04 -07:00
Pragmatic Software
bb6d9a5919 Factoids: disallow whitespace around ":" in modifiers 2020-06-19 12:07:01 -07:00
Pragmatic Software
4b3aea4916 Update version 2020-06-19 09:24:43 -07:00
Pragmatic Software
5495a6b406 Factoids: weights can now be fractional 2020-06-19 09:24:38 -07:00
Pragmatic Software
56451e3514 Update version 2020-06-18 10:03:23 -07:00
Pragmatic Software
4c795c4d4f BlackList: hostmask parameter is now full regex 2020-06-18 10:03:20 -07:00
Pragmatic Software
ddfbf027d2 Update version 2020-06-17 11:36:45 -07:00
Pragmatic Software
6ea523f608 Factoids: fix off-by-one in weighted selection 2020-06-17 11:36:42 -07:00
Pragmatic Software
f2ab97e681 Update version 2020-06-17 04:11:20 -07:00
Pragmatic Software
afcb4a0f98 Factoids: unescape certain symbols after expansion 2020-06-17 04:11:18 -07:00
Pragmatic Software
0adcce52ef Update version 2020-06-17 02:26:49 -07:00
Pragmatic Software
13cb0f9dc6 Factoids: sorting unnecessary for weighted selection 2020-06-17 02:24:46 -07:00
Pragmatic Software
a2c918c94e Factoids: remove unnecessary statement 2020-06-16 21:29:47 -07:00
Pragmatic Software
cbfcab6d77 Update version 2020-06-16 21:26:11 -07:00
Pragmatic Software
914e844f11 Factoids: add weighted list selection; factadd list a:weight(1) b:weight(2) 2020-06-16 21:26:09 -07:00
Pragmatic Software
ed4a36e025 Update version 2020-06-14 22:34:28 -07:00
Pragmatic Software
0b94ada897 Factoids: fix issue where pick_unique() could repeat a selection 2020-06-14 22:34:24 -07:00
Pragmatic Software
f71eb269cb Update version 2020-06-13 13:22:48 -07:00
Pragmatic Software
a412c98ea9 BanList: ensure !ban/!mute mask is wildcard-complete when appropriate 2020-06-13 13:22:44 -07:00
Pragmatic Software
c952a84d82 Update version 2020-06-12 19:53:46 -07:00
Pragmatic Software
1f3a12fcf6 BanList: overwrite timeout when updating ban/mute 2020-06-12 19:53:43 -07:00
Pragmatic Software
9efe5ad9ab Update version 2020-06-12 18:57:29 -07:00
Pragmatic Software
b3ca5e69cd Factoids: expand_factoid_vars(): special-case Perl's $a and $b, etc 2020-06-12 18:57:01 -07:00
Pragmatic Software
85d887ff5c Update version 2020-06-12 12:05:29 -07:00
Pragmatic Software
eb9b18cf37 Factoids: fix potential infinite recursion in $var expansion 2020-06-12 12:05:25 -07:00
Pragmatic Software
9b0696b898 Factoids: minor style clean-up 2020-06-12 01:53:25 -07:00
Pragmatic Software
287d102aed Update version 2020-06-12 01:37:58 -07:00
Pragmatic Software
1d98efe9b0 Factoids: expand_factoid_vars(): support multi-line text 2020-06-12 01:37:55 -07:00
Pragmatic Software
407cb7bbaa Update version 2020-06-12 00:02:35 -07:00
Pragmatic Software
ead2d5d55f Factoids: correct recursive $var expansion 2020-06-12 00:02:32 -07:00
Pragmatic Software
0191a2914b Update version 2020-06-11 23:34:56 -07:00
Pragmatic Software
90b23d5391 Factoids: Fix typo and edge case 2020-06-11 23:34:53 -07:00
Pragmatic Software
c95afe65bc Update version 2020-06-11 23:03:20 -07:00
Pragmatic Software
d81482a5c5 Factoids: restore select_indefinite_article to $variable expansion 2020-06-11 23:03:14 -07:00
Pragmatic Software
fb461b6773 Update version 2020-06-11 22:51:43 -07:00
Pragmatic Software
78de682320 Factoids: refactor and improve $variable parsing and replacement 2020-06-11 22:51:40 -07:00
Pragmatic Software
9ec2622183 Ensure params to track_mode are defined 2020-06-11 19:30:07 -07:00
Pragmatic Software
71ae499dfa Update version 2020-06-10 23:41:51 -07:00
Pragmatic Software
af7573a20a Factoids: Selectors now fix leading indefinite articles; i.e. a %(orange) -> an orange 2020-06-10 23:06:08 -07:00
Pragmatic Software
3aab402e10 Update version 2020-06-07 15:22:55 -07:00
Pragmatic Software
5676d6f13b Factoids: improve nested selectors 2020-06-07 15:22:48 -07:00
Pragmatic Software
b0789099df Update version 2020-06-07 00:12:20 -07:00
Pragmatic Software
ef072602fa Factoids: test enabled for definedness 2020-06-07 00:12:09 -07:00
Pragmatic Software
a40b443c66 Factoids: improve nested Selectors such that %(%(f|b)oo):pick_unique(2) -> foo boo 2020-06-07 00:07:52 -07:00
Pragmatic Software
e88a18e782 Update version 2020-06-05 15:23:18 -07:00
Pragmatic Software
6e4ea442db FactoidCommands: fix another case-sensitivity location 2020-06-05 15:23:16 -07:00
Pragmatic Software
8d0d2bcb21 Update version 2020-06-05 15:12:55 -07:00
Pragmatic Software
041646676f FactoidCommands: fix a couple of minor issues 2020-06-05 15:12:52 -07:00
Pragmatic Software
0afbed1380 Update version 2020-06-05 14:56:59 -07:00
Pragmatic Software
87d7b7bbaf MessageHistory: fix typo 2020-06-05 14:56:53 -07:00
Pragmatic Software
b609077671 Update version 2020-06-05 14:50:37 -07:00
Pragmatic Software
8aabfe96bb Factoidcommands: fix case-sensitivity issue with channel name 2020-06-05 14:50:33 -07:00
Pragmatic Software
2617b2a844 Update version 2020-06-05 14:32:42 -07:00
Pragmatic Software
e0f4e9cdd5 MessageHistory: recall: -h and -t separated into distinct flags; -t no longer does integral indexing 2020-06-05 14:32:37 -07:00
Pragmatic Software
95ec0201ed Update version 2020-06-04 02:28:15 -07:00
Pragmatic Software
03fb043ec6 Factoids: significantly improve expansion modifier parsing 2020-06-04 02:28:11 -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
e63e425622 Update version 2020-06-03 20:47:20 -07:00
Pragmatic Software
20febe7ccd Factoids: add quick-and-dirty early version of :join() modifier with many broken edge cases 2020-06-03 20:47:18 -07:00
Pragmatic Software
128c3014c7 Factoids: Selectors can now be nested within each other 2020-06-03 20:11:41 -07:00
Pragmatic Software
fd6a124009 Update version 2020-06-02 22:41:22 -07:00
Pragmatic Software
5e574624b4 Factoids: Remove debug statement 2020-06-02 22:41:19 -07:00
Pragmatic Software
62b50861cb Update version 2020-06-02 22:25:12 -07:00
Pragmatic Software
a3a7319497 Factoids: add %(a|b|c) syntax to select a random item 2020-06-02 22:25:09 -07:00
Pragmatic Software
4b1c36bca2 Update version 2020-06-01 21:48:23 -07:00
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