3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00
Commit Graph

2847 Commits

Author SHA1 Message Date
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