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

1335 Commits

Author SHA1 Message Date
Pragmatic Software
df8e15b39e Fix factlog for deleted factoids not in global channel 2016-11-17 15:57:48 -08:00
Pragmatic Software
107b4e9883 Update version 2016-11-16 19:15:50 -08:00
Pragmatic Software
3fbefa6746 Put some alias linking messages behind a debug toggle 2016-11-16 19:15:45 -08:00
Pragmatic Software
5d3298462a Add error messages to a couple of commands 2016-11-16 19:14:39 -08:00
Pragmatic Software
0e4f2d1447 Minor effective-level /kick derp 2016-11-16 19:14:00 -08:00
Pragmatic Software
fdf529f2ae Update version 2016-11-16 19:07:04 -08:00
Pragmatic Software
f3b3e90cdc Add factoid effective-level metadata and ability to kick from such factoids
Factoids can now have an effective-level metadata field. When set, certain
functionality requiring an effective-level will be enabled.

For now, that is currently only the /kick command, which has an effective-level
of 10.

Factoids with an effective-level set will also have the locked metadata
attribute set as well to prevent people from changing the factoid.  The
locked and/or effective-level attributes will be removable only by admins
whose level is equal to or greater than the effective-level.
2016-11-16 19:07:01 -08:00
Pragmatic Software
39399e78ae Allow debug tracing of event handlers; don't remove handlers on error 2016-11-16 18:59:13 -08:00
Pragmatic Software
4ed61096dd Missing hash dereference 2016-11-04 12:40:17 -07:00
Pragmatic Software
6fbd6d5620 Update version 2016-10-29 10:47:12 -07:00
Pragmatic Software
3bd424aacc Fix possible case-sensitivity issues 2016-10-29 10:47:08 -07:00
Pragmatic Software
72faa9169f Update version 2016-10-23 03:52:03 -07:00
Pragmatic Software
170dac5776 Improve !cmd and nick: !cmd processing 2016-10-23 03:51:59 -07:00
Pragmatic Software
0397068a7f Undo recent blink addition 2016-10-23 03:50:34 -07:00
Pragmatic Software
7f00047af8 Update version 2016-10-14 05:56:57 -07:00
Pragmatic Software
8addeb5d49 Allow "nick: !command" to address to nick; minor improvements 2016-10-14 05:56:54 -07:00
Pragmatic Software
4764b034e1 Update version 2016-09-28 14:13:47 -07:00
Pragmatic Software
c64dca7b07 Forgot a return 0 in an IRC handler, causing other related handlers to not fire after that handler 2016-09-28 14:13:44 -07:00
Pragmatic Software
49a21b2027 Update version 2016-09-25 12:59:05 -07:00
Pragmatic Software
c56b9662b8 Whoops, fix nick-similarity behavior for non-nicks 2016-09-25 12:59:03 -07:00
Pragmatic Software
c6473d0255 Update version 2016-09-25 00:24:52 -07:00
Pragmatic Software
2001fc1908 Whoops, return proper nick-casing for exact-match is_present_similar() result 2016-09-25 00:24:49 -07:00
Pragmatic Software
81e106285e Update version 2016-09-25 00:03:40 -07:00
Pragmatic Software
f34854fcec Add nick similarity completion
Previously, the bot wouldn't address people by nick if the provided nick
argument doesn't exist in the channel.

Now, the bot's nick list is searched for a nick with a certain similarity
percentage in the order of most recently spoken nicks first. This allows
the bot to address nicks when somebody may have forgotten to add a trailing
underscore/punctuation or may have typoed the nick.

The similarity percentage can be set via the interpreter->nick_similiarty
registry key.  A value of 0 should disable the behavior.
2016-09-25 00:03:37 -07:00
Pragmatic Software
6369a8df99 Update version 2016-09-23 18:32:03 -07:00
Pragmatic Software
3fd2519a87 Minor text change; don't aggressively pursue ping-timeouts 2016-09-23 18:32:00 -07:00
Pragmatic Software
d8854603c3 Update version 2016-09-22 08:26:46 -07:00
Pragmatic Software
0cd4102d37 Whoops, NickList should be registered after IRCHandlers since IRCHandlers depends on NickList for AntiFlood QUIT handling 2016-09-22 08:26:42 -07:00
Pragmatic Software
4091127213 Make aka usage message more concise 2016-09-22 08:25:50 -07:00
Pragmatic Software
e4d62a2e18 Update version 2016-09-13 12:43:31 -07:00
Pragmatic Software
754d38b50e Fix mismatching WHO id if no WHO replies 2016-09-13 12:43:27 -07:00
Pragmatic Software
1f03985178 Update version 2016-09-02 02:17:12 -07:00
Pragmatic Software
687a5e0ae2 Check WHO when joining channels
When joining a channel, check the WHO list for that channel in order
to obtain all hostmask, nickserv and gecos information and check for
potential ban evasions.
2016-09-02 02:17:10 -07:00
Pragmatic Software
87d02af264 check_bans now can do a dry-run 2016-09-02 02:12:20 -07:00
Pragmatic Software
ca5b832ddf Replace baninfo dump with terse line 2016-09-02 02:09:43 -07:00
Pragmatic Software
3225d74206 Update version 2016-08-30 02:14:36 -07:00
Pragmatic Software
2c554328c9 Whoops, do check-bans on join for unidentified users as well when extended-join capability is active 2016-08-30 02:14:21 -07:00
Pragmatic Software
8102e1bc21 Update version 2016-08-29 20:47:49 -07:00
Pragmatic Software
d07458425f No need to WHOIS on joins if extended-join is available 2016-08-29 20:47:46 -07:00
Pragmatic Software
ca349804ca Update version 2016-08-28 22:36:50 -07:00
Pragmatic Software
eff8046f2c kick command now provides random insult if no kick reason is given 2016-08-28 22:36:46 -07:00
Pragmatic Software
c93d3db39c Update version 2016-08-28 03:49:30 -07:00
Pragmatic Software
1442485d0b Support account-notify and extended-join capabilities 2016-08-28 03:49:27 -07:00
Pragmatic Software
43351ed8c2 Update version 2016-08-26 04:52:43 -07:00
Pragmatic Software
08a26a70a7 Minor derp with log message 2016-08-26 04:52:38 -07:00
Pragmatic Software
255b42efee Update version 2016-08-26 04:31:55 -07:00
Pragmatic Software
2dea20130f Missed a spot 2016-08-26 04:31:51 -07:00
Pragmatic Software
26c80d8351 Update version 2016-08-26 04:02:33 -07:00
Pragmatic Software
c13f3ae9dc Catch more rare scenarios for strongly linking accounts 2016-08-26 04:02:30 -07:00
Pragmatic Software
e532c5711f Update version 2016-08-25 01:42:11 -07:00
Pragmatic Software
568c1c8732 Use ? instead of ! to denote nickchange akas 2016-08-25 01:42:06 -07:00
Pragmatic Software
ba6fb2c2d7 Improve linking of accounts 2016-08-25 01:41:32 -07:00
Pragmatic Software
6d0a548c26 Update version 2016-08-17 20:34:49 -07:00
Pragmatic Software
857d1aa0d3 Refactor message account linking
Linking of message accounts is now significantly less likely to produce
false-positives.

Previously, any hostmasks with matching nick!*@* would be strongly linked
together.  This led to falsely-linking accounts, either inadvertently or
intentionally.

For example, Bob might also be known as Bob_ and Bobby,
but primarily uses Bob as his main nick.  Somebody else might join with
Bobby and end up being linked to Bob.  Now both Bob and the new Bobby are
linked together as the same person, but likely with different *!user@host.

Now if the new Bobby ever gets banned, then Bob will also end up being
banned for evading Bobby's ban.

This was a sore spot in the previous linking implementation.

This new implementation has several adjustments to more intelligently link
accounts only when they're proven beyond a reasonable doubt to be the same
person (e.g. by matching nickserv accounts, etc).

Consequently, rather than aggressively linking accounts and catching more
ban-evaders at the risk of potentially falsely-linking accounts and falsely
detecting innocent people as ban-evaders, this new implementation will instead
link accounts more reliably at the risk of potential ban-evaders not yet being
linked together and thus being able to evade a ban.

This is a more preferable and reasonable risk.  Active channel ops should be
able to catch any obnoxious ban-evaders that slip through this net.
2016-08-17 20:34:45 -07:00
Pragmatic Software
d77ea29b47 Update version 2016-08-01 01:46:30 -07:00
Pragmatic Software
96afc969b3 Update version 2016-07-15 14:09:33 -07:00
Pragmatic Software
674a96431b Improve nick-change evasion detection logic 2016-07-15 14:09:29 -07:00
Pragmatic Software
133b5d1875 Update version 2016-07-01 13:29:46 -07:00
Pragmatic Software
949dc14525 Command queue no longer delays commands relative to each other 2016-07-01 13:29:26 -07:00
Pragmatic Software
b03a4b68e6 Update version 2016-07-01 13:03:10 -07:00
Pragmatic Software
41030b5686 Quick rough-draft of auto-rejoin plugin 2016-07-01 13:02:58 -07:00
Pragmatic Software
de856f3887 Now joins channel if /invited (and channel is registered and enabled) 2016-07-01 13:01:34 -07:00
Pragmatic Software
b215dfe9de Add command queue for delayed command processing 2016-07-01 13:00:20 -07:00
Pragmatic Software
4cb77ba143 Minor fix max_recall_time/max_messages initialization 2016-07-01 12:59:31 -07:00
Pragmatic Software
bdfd17612c Add is_active($channel) to determine if $channel is added and enabled 2016-07-01 12:58:29 -07:00
Pragmatic Software
2792a0cb0b Ensure lowercased parameters 2016-07-01 12:56:25 -07:00
Pragmatic Software
ff7141a3d6 Minor improvements 2016-07-01 12:55:52 -07:00
Pragmatic Software
35ef8a7af6 Update version 2016-06-25 18:09:53 -07:00
Pragmatic Software
dcacec18c6 Totally not a bug
Extremely minor rearrangement of interpreter logic so that `!commands` are
parsed before `command, botnick`. Totally not a bug at all. Pay no attention.
2016-06-25 18:09:47 -07:00
Pragmatic Software
bc2bbb8fde Update version 2016-04-10 18:35:18 -07:00
Pragmatic Software
b5c107bcbb Remove extraneous comma 2016-04-10 18:35:11 -07:00
Pragmatic Software
5d62f9e728 Update version 2016-03-15 12:45:17 -07:00
Pragmatic Software
3d90b8fbea Update version 2016-03-06 22:25:26 -08:00
Pragmatic Software
1e892f4ca1 Add silent option to countertriggers 2016-03-06 22:25:22 -08:00
Pragmatic Software
40c5ba8268 Update version 2016-02-25 00:51:55 -08:00
Pragmatic Software
b87db378cf Do not trigger ban evasion if mask matches banmask; use *!*@host instead of *!user@ip-mask for evasions 2016-02-25 00:51:52 -08:00
Pragmatic Software
75b29e78c5 Update version 2016-02-25 00:47:54 -08:00
Pragmatic Software
76d9184c1d Add explicit dereferences 2016-02-25 00:46:55 -08:00
Pragmatic Software
fb846a36ed Obey ignorelist in Counter plugin on_public() 2016-02-25 00:45:46 -08:00
Pragmatic Software
99e505b811 Add silent parameter to prevent logging of ignored messages 2016-02-25 00:45:03 -08:00
Pragmatic Software
d344e6d667 Update version 2016-02-21 01:41:51 -08:00
Pragmatic Software
00d5cef482 Update version 2016-02-19 20:45:01 -08:00
Pragmatic Software
f82a0cd64e Improvements to Counter plugin 2016-02-19 20:44:57 -08:00
Pragmatic Software
f2bd3986b7 Update version 2016-02-19 00:18:03 -08:00
Pragmatic Software
be18316268 For default installs, revert aka level and don't set max_recall_time 2016-02-19 00:17:54 -08:00
Pragmatic Software
b70cf6ad0e Update version 2016-02-18 16:11:29 -08:00
Pragmatic Software
7cc0912712 Restrict aka to admins, and add max_recall_time limit 2016-02-18 16:11:26 -08:00
Pragmatic Software
94026f4488 Update version 2016-02-17 14:57:30 -08:00
Pragmatic Software
1339b30c4b Only admins can add counter triggers 2016-02-17 14:57:24 -08:00
Pragmatic Software
8792633b6a Minor improvement to aka -w 2016-02-17 14:56:57 -08:00
Pragmatic Software
124c5c3577 Update version 2016-02-14 18:29:06 -08:00
Pragmatic Software
d48cc9d976 Skip only bad triggers instead of all triggers 2016-02-14 18:29:00 -08:00
Pragmatic Software
a8983d3a86 Update version 2016-02-14 18:13:33 -08:00
Pragmatic Software
d251d0ac7a Add countertrigger command to Counter plugin 2016-02-14 18:13:27 -08:00
Pragmatic Software
d8c2084587 Update version 2016-02-13 18:39:18 -08:00
Pragmatic Software
98ee3bef02 Add Counter plugin 2016-02-13 18:39:12 -08:00
Pragmatic Software
a3ade65954 Rename unregister_by_name to unregister 2016-02-13 18:38:43 -08:00
Pragmatic Software
8af19a75e9 Delete plugin subs /after/ calling unload() 2016-02-13 18:37:53 -08:00
Pragmatic Software
f59e00e5c9 Update version 2016-02-10 10:14:15 -08:00
Pragmatic Software
7bb18e00a7 Use binary attribute for CSV 2016-02-10 10:14:12 -08:00
Pragmatic Software
194bff37db Update version 2016-02-10 07:10:39 -08:00
Pragmatic Software
110c9cc548 Use CSV for GECOS field 2016-02-10 07:10:37 -08:00
Pragmatic Software
c97ba1de20 Update version 2016-02-10 03:42:45 -08:00
Pragmatic Software
ddeef3cc62 Add support for GECOS 2016-02-10 03:42:42 -08:00
Pragmatic Software
15da1428be Update version 2016-01-29 20:02:58 -08:00
Pragmatic Software
7ccd36d042 Update version 2016-01-29 19:56:34 -08:00
Pragmatic Software
0411249b29 Add AntiRepeat plugin 2016-01-29 19:56:29 -08:00
Pragmatic Software
2b00ce0af5 Update version 2016-01-29 13:09:01 -08:00
Pragmatic Software
b4e8302f32 Do not override pre-existing registry with default values 2016-01-29 13:08:40 -08:00
Pragmatic Software
0d70d85506 Update version 2016-01-29 12:59:17 -08:00
Pragmatic Software
4c5227b351 Unregister timers by id instead of subref 2016-01-29 12:59:07 -08:00
Pragmatic Software
6e4c7853f2 Update version 2016-01-26 19:23:06 -08:00
Pragmatic Software
0b5435bc7d Refactor whitelist 2016-01-26 19:23:03 -08:00
Pragmatic Software
6631b5752e Update version 2016-01-26 09:04:06 -08:00
Pragmatic Software
4a3ec27d78 Improve whitelist functionality 2016-01-26 09:04:03 -08:00
Pragmatic Software
5caa814e44 Update version 2016-01-24 03:02:18 -08:00
Pragmatic Software
8ac4a5999d Add whitelist to blacklist check 2016-01-24 03:02:14 -08:00
Pragmatic Software
01eb05a05e Update version 2016-01-23 06:03:51 -08:00
Pragmatic Software
745686eb75 Update ban-whitelist to support user-whitelist 2016-01-23 06:03:47 -08:00
Pragmatic Software
54973eca0b Update version 2016-01-20 08:13:37 -08:00
Pragmatic Software
d1e3d8267d Update version 2016-01-19 06:51:42 -08:00
Pragmatic Software
14124da3ac Embedded triggers now work at beginning of message 2016-01-19 06:51:40 -08:00
Pragmatic Software
6fe7d4bd75 Update version 2016-01-16 16:55:53 -08:00
Pragmatic Software
4ef978963c Improve unbanme behavior 2016-01-16 16:55:48 -08:00
Pragmatic Software
2e0a5e411c Make "is" optional in factadd 2016-01-16 16:55:18 -08:00
Pragmatic Software
4d6348c5b0 Update version 2015-12-22 17:24:13 -08:00
Pragmatic Software
01fa391fec Update version 2015-12-22 08:13:02 -08:00
Pragmatic Software
c306ae4ce6 Minor text reformatting 2015-12-22 08:12:59 -08:00
Pragmatic Software
b01f29491b Update version 2015-12-14 16:13:46 -08:00
Pragmatic Software
8b66bd82ec Improve factlog command
Now, by default, uses concise timestamp relative durations; e.g. "2d5h ago"
instead of "2 days and 5 hours ago".

Now, by default, shows only nick instead of full hostmask for each entry.

Now accepts optional arguments -t and -h to control the above behavior.

If -t is specified, then it shows a full timedate instead of a relative duration;
e.g., "Sun Dec 13 14:26:56 PST 2015" instead of "2d5h ago".

If -h is specified, then it shows the full hostmask for each entry instead of
just the nick.
2015-12-14 16:13:43 -08:00
Pragmatic Software
d199b3c26c Update version 2015-12-14 14:30:49 -08:00
Pragmatic Software
167d8c2143 Correct error handling for log_factoid() failure to open file 2015-12-14 14:30:44 -08:00
Pragmatic Software
20a8c30d4c Update version 2015-12-13 22:28:11 -08:00
Pragmatic Software
3a25afdb01 Minor textual correct for factlog disambig text 2015-12-13 22:28:00 -08:00
Pragmatic Software
edcf966d56 Update version 2015-12-13 22:21:05 -08:00
Pragmatic Software
1540483639 Show factlog for currently deleted factoids if log file exists 2015-12-13 22:20:57 -08:00
Pragmatic Software
4a765277cb Update version 2015-12-13 22:08:24 -08:00
Pragmatic Software
eb5d90ec48 Fix minor bug creating empty factoid in factset without key argument 2015-12-13 22:08:17 -08:00
Pragmatic Software
03389d4d08 Update version 2015-12-13 14:24:28 -08:00
Pragmatic Software
e6ac123fe1 Add factlog command to see factoid changelogs 2015-12-13 14:24:25 -08:00
Pragmatic Software
66ceac3916 Update version 2015-12-13 13:58:13 -08:00
Pragmatic Software
e6e7f325fb Add individual change-logs for factoid triggers 2015-12-13 13:58:01 -08:00
Pragmatic Software
31cd5d8388 Update version 2015-11-26 12:36:40 -08:00
Pragmatic Software
2962a44c12 No longer remove trailing punctuation from embedded factoid commands 2015-11-26 12:36:36 -08:00
Pragmatic Software
1f1631935b Update version 2015-11-20 21:11:45 -08:00
Pragmatic Software
4cd1211684 Improve unbanme handling
Sometimes people might join the channel uncloaked and get join-flood banned
with their uncloaked hostmask, and then later attempt to join the channel while
cloaked but the network will prevent them from joining since it checks their IP
address against the banlist in addition to their cloak.

Attempts to use unbanme while cloaked will look for a ban matching the cloak
instead of the IP address and will not find their uncloaked join-flood ban.

To fix this, we now traverse all known aliases/hostmasks for an individual
requesting a join-flood unban and remove any and all bans matching any of the
hostmasks linked to this individual.
2015-11-20 21:08:30 -08:00
Pragmatic Software
742eb849e8 Remove duplicate blank line 2015-11-20 21:02:21 -08:00
Pragmatic Software
77d94af516 Update version 2015-10-25 04:01:48 -07:00
Pragmatic Software
aa749860c0 Look for module in global channel before falling back to local channel 2015-10-25 04:01:45 -07:00
Pragmatic Software
4f875f9c4c Update version 2015-10-19 12:21:50 -07:00
Pragmatic Software
89eda8f0a9 Fix undefined variable warning in find_factoid 2015-10-19 12:21:42 -07:00
Pragmatic Software
b23f025a12 Update version 2015-10-10 06:07:30 -07:00
Pragmatic Software
43418c1bc6 Require curly braces or backticks around embedded commands 2015-10-10 06:07:24 -07:00
Pragmatic Software
8bb7dfece6 Update version 2015-10-10 04:27:39 -07:00
Pragmatic Software
930801a5fb Require curly braces or backticks around embedded commands 2015-10-10 04:27:36 -07:00
Pragmatic Software
f364075bff Update version 2015-10-06 17:35:28 -07:00
Pragmatic Software
0fb098ded1 Update version 2015-10-05 02:11:55 -07:00
Pragmatic Software
54b8750d1b Allow adding channels as factoid adlib modifier 2015-10-05 02:11:52 -07:00
Pragmatic Software
2c59908ee8 Update version 2015-10-05 02:03:17 -07:00
Pragmatic Software
cf72a11658 Improve factoid expansions 2015-10-05 02:03:13 -07:00
Pragmatic Software
0f0797c0ee Update version 2015-10-02 20:14:53 -07:00
Pragmatic Software
a5c700eec3 Correct encode_entities() in export_factoids() for URLs, etc 2015-10-02 20:14:48 -07:00
Pragmatic Software
52d437f0da Update version 2015-10-02 20:06:28 -07:00
Pragmatic Software
dc2f372551 Add missing encode_entities() to export_factoids() 2015-10-02 20:06:25 -07:00
Pragmatic Software
f5c1846458 Update version 2015-09-30 09:51:06 -07:00
Pragmatic Software
01f543b3b7 Fix recall from /msg not ignoring the command itself 2015-09-30 09:51:04 -07:00
Pragmatic Software
a3df01bae3 Escape delim in factchange command to allow delimiters such as the pipe character 2015-09-30 09:50:37 -07:00
Pragmatic Software
a562f79956 Update version 2015-09-19 20:02:16 -07:00
Pragmatic Software
43c0361354 Add botnick to "Why would I want to do that to myself?" condition 2015-09-19 20:02:11 -07:00
Pragmatic Software
5abf047602 Update version 2015-09-19 00:27:18 -07:00
Pragmatic Software
04aaeb5475 Fix handling of no factoid found from find_factoid() 2015-09-19 00:27:15 -07:00
Pragmatic Software
d4eb08856a Fix recall logic for integer history 2015-09-18 17:45:25 -07:00
Pragmatic Software
8691e6d7bb Update version 2015-09-17 22:18:22 -07:00
Pragmatic Software
43db8ab34e Update version 2015-09-14 10:32:09 -07:00
Pragmatic Software
b5c5162ad0 Minor refactor of title case of adlib modifier 2015-09-14 10:29:28 -07:00
Pragmatic Software
739c28125b Remove extraneous whitespace 2015-09-14 10:25:16 -07:00
Pragmatic Software
e1d557e75f Update version 2015-09-14 10:22:58 -07:00
Pragmatic Software
aed3f34c43 Add optional modifiers to factoid variables
Adlib list variables can now accept trailing modifier keywords prefixed with
a colon. These can be chained together to combine their effects.

     :uc - uppercases the expansion
     :lc - lowercases the expansion
     :ucfirst - uppercases the first letter in the expansion
     :title - lowercases the expansion and then uppercases the first letter
              (effectively an alias for :lc:ucfirst)

Examples:
   <pragma_> echo $colors:uc
   <candide> RED
   <pragma_> echo $colors:ucfirst
   <candide> Blue
2015-09-14 10:22:55 -07:00
Pragmatic Software
d6319b27c5 Update version 2015-09-14 09:06:48 -07:00
Pragmatic Software
ebc7cb9579 Move enter-abuse logic to after chat flood logic to prevent enter-abuse warning and chat flood ban happening at the same time 2015-09-14 09:06:43 -07:00
Pragmatic Software
ecaa45b3dc Expand factoid variables sooner so argument processing occurs on expanded action 2015-09-14 09:06:00 -07:00
Pragmatic Software
ddeb70f1e3 Update version 2015-09-12 01:52:47 -07:00
Pragmatic Software
50fa9ff706 Improve recall error message when no history is found
`recall` now shows all channels a nick was seen in if they weren't seen in
the requested channel.
2015-09-12 01:52:45 -07:00
Pragmatic Software
dfcef63e5e Update version 2015-09-10 01:51:31 -07:00
Pragmatic Software
70f091545b Replace "me" in factoid arguments only during first interpretation pass 2015-09-10 01:51:24 -07:00
Pragmatic Software
d8183fc405 Update version 2015-09-09 05:24:18 -07:00
Pragmatic Software
7ce40fca4d Correct use/package paths 2015-09-09 05:24:16 -07:00
Pragmatic Software
a158e4458f Rename Plugins/_Readme to Plugins/README 2015-09-08 11:50:14 -07:00
Pragmatic Software
8e188b9013 Correct minor typos in description comment 2015-09-08 11:46:08 -07:00
Pragmatic Software
12cd20c072 Update version 2015-09-08 11:42:47 -07:00
Pragmatic Software
17e4cdb8b3 Move Quotegrabs to Plugins 2015-09-08 11:42:43 -07:00
Pragmatic Software
de2774ed00 Update version 2015-09-08 05:30:06 -07:00
Pragmatic Software
6d8b6532b6 Immediate leave UrlTitles if message doesn't contain a URL 2015-09-08 05:30:02 -07:00
Pragmatic Software
c9711e5fa4 Update version 2015-09-08 04:43:26 -07:00
Pragmatic Software
6c5c263ed2 Move URL titles conditional out of loop 2015-09-08 04:43:24 -07:00
Pragmatic Software
c57c9e2f13 Update version 2015-09-08 01:38:02 -07:00
Pragmatic Software
391cd91191 Add $event->{interpreted} example to _Example plugin 2015-09-08 01:37:59 -07:00
Pragmatic Software
e5097eee69 Move URL titles to UrlTitles.pm plugin
Add $event->{interpreted} field to events to notify other handlers
whether an event was successfully interpreted by the interpreter.

An $event->{interpreted} that is equal to or greater than 100 means the entire
message was consumed and handlers shouldn't do any further processing of it
that would generate any output to channels or users.

Otherwise, $event->{interpreted} is incremented by 1 for each referenced
command that was processed.
2015-09-08 01:37:34 -07:00
Pragmatic Software
fa2865fb10 Fix potential undefined variable warning 2015-09-08 01:30:08 -07:00
Pragmatic Software
d51d2367a1 Correct logic of login command ignore check 2015-09-07 05:04:54 -07:00
Pragmatic Software
1582b35db9 Update version 2015-09-07 00:20:11 -07:00
Pragmatic Software
efcca90444 Revert unplug error message 2015-09-07 00:20:06 -07:00
Pragmatic Software
5c83ea62f3 Rename Pluggable to Plugins 2015-09-06 22:53:49 -07:00
Pragmatic Software
70a3a2a354 Update version 2015-09-06 22:52:43 -07:00
Pragmatic Software
adfdccfd27 Rename Pluggable to Plugins 2015-09-06 22:52:39 -07:00
Pragmatic Software
729728a458 Update version 2015-09-06 22:39:59 -07:00
Pragmatic Software
0b74dd070d Pass PBot %conf to auto-loaded plugins 2015-09-06 22:39:40 -07:00
Pragmatic Software
8d666984dc Move AntiAway and AntiKickAutoRejoin to Pluggable 2015-09-06 22:38:59 -07:00
Pragmatic Software
539aeb3e9f Change "not found" to "failed to load" 2015-09-06 22:22:37 -07:00
Pragmatic Software
ce3a3d4b9b Update version 2015-09-06 22:17:20 -07:00
Pragmatic Software
0d7f0bf184 Add loadable core plugins
These are different from the loadable factoid modules.  The factoid modules
are external executable shell commands that take stdin as arguments and print
to stdout as a return value.  As such, they are not integrated into the bot
and cannot make use of the bot's internal subroutines.

These plugins are loaded internally and integrated into the bot such that they
can interface with the bot's internal subroutines and state.

All files in the Pluggable directory not beginning with an underscore will be
automatically loaded at bot start-up.

Plugins (including those starting with an underscore) can be manually loaded
or unloaded with the `plug` and `unplug` commands.  Use `pluglist` to list
loaded plugins.
2015-09-06 22:17:07 -07:00
Pragmatic Software
f8dba73d02 Correct name of file in error message 2015-09-06 22:04:46 -07:00
Pragmatic Software
16f467252b Do not process server NOTICES as public messages
Add time-out to automatically unban ##fix_your_connection ban-forwards
2015-09-06 22:04:21 -07:00
Pragmatic Software
bff1aa34d7 Update version 2015-09-03 20:56:48 -07:00
Pragmatic Software
8c16fbd3e5 Allow factoids to be referenced from within messages
E.g.,

<pragma-> Userbob: You can learn more about candide by reading its !help page and checking out its !source
<candide> Userbob: To learn all about me, see http://www.iso-9899.info/wiki/Candide
<candide> Userbob: My guts can be browsed at https://github.com/pragma-/pbot

Only three triggers will be processed per message.  (I should create a
registry entry to customize this.)

Messages that are addressed at a specific user that exists in the channel will
have that user's name prepended to the factoid output.

Factoid triggers that are referenced from within messages will not produce
error messages if the factoid is not found.

Factoids that have an $arg or $nick special variable will not be triggered as
a reference.

Factoids that have the `noembed` meta-data value set to a true value will not
be invoked as a reference.
2015-09-03 20:56:44 -07:00
Pragmatic Software
d570dd7dd4 Fix undefined variable warnings in recall 2015-09-03 20:50:07 -07:00
Pragmatic Software
675760289c Allow wild-card in recall/grab text
Do not iterate through weak links when looking for also-known-as
2015-09-03 20:49:06 -07:00
Pragmatic Software
8e1f008f9b Redirect NOTICEs as public messages (anti-flood, command parsing, etc) 2015-09-03 20:46:12 -07:00
Pragmatic Software
34a653b05a Stop appending !*@* to $a:account banmasks 2015-09-03 20:44:33 -07:00
Pragmatic Software
97bbb298e4 Allow bot admins to factset factoids from /msg
Fix some channel/from discrepancies in factset, etc.
2015-09-03 20:43:16 -07:00
Pragmatic Software
b6f7dd87e5 Update version 2015-08-22 11:05:57 -07:00
Pragmatic Software
050714e359 Improve ban command to accept nick as argument and determine an appropriate banmask 2015-08-22 11:05:53 -07:00
Pragmatic Software
d317f2a0c5 Update version 2015-08-19 22:26:32 -07:00
Pragmatic Software
eb8a49cc74 Improve unban command to find all matching bans given a nick argument
Instead of only taking a hostmask argument, `unban` will now determine
if the argument is a nick, and if so it will then find all bans that
match various hostmasks used by that nick and unban them all.
2015-08-19 22:26:28 -07:00
Pragmatic Software
f5b23532ae Update version 2015-08-16 05:21:02 -07:00
Pragmatic Software
3fa12c208e Improve handling of word-boundaries in searches 2015-08-16 05:20:57 -07:00
Pragmatic Software
b15267c587 Update version 2015-08-08 12:40:12 -07:00
Pragmatic Software
260b1405a7 Enforce nick-change flood on Guest nicks 2015-08-08 12:40:06 -07:00
Pragmatic Software
499d91e07d Do not exempt bot-admins lower than level 10 from ignore list 2015-08-08 12:39:17 -07:00
Pragmatic Software
89c1ad7efa Update version 2015-08-05 12:29:10 -07:00
Pragmatic Software
35653cb996 Add word-boundaries around text searches 2015-08-05 12:28:15 -07:00
Pragmatic Software
2d875dc5fd Update version 2015-07-28 17:50:09 -07:00
Pragmatic Software
025a8bfc38 Set ##stop_join_flood bans in $channel-floodbans to reduce channel noise 2015-07-28 17:50:06 -07:00
Pragmatic Software
028fe40a8b Correct location of alias_type 2015-07-28 17:49:18 -07:00
Pragmatic Software
154b46194f Use comma-separated list of channels when auto-joining to reduce IRC commands 2015-07-28 17:47:53 -07:00
Pragmatic Software
9cf59888c0 join_channel() can now take a comma-separated list of channels and issue them as one IRC command 2015-07-28 17:47:22 -07:00
Pragmatic Software
f6a99818f0 Update version 2015-07-23 17:47:19 -07:00
Pragmatic Software
dbfb8a6add Remove unnecessary printing of ignored messages 2015-07-23 17:47:16 -07:00
Pragmatic Software
bded959ba4 Remove unnecessary logic 2015-07-23 17:46:33 -07:00
Pragmatic Software
cc9f4926ee Make channel argument optional for factrem as well 2015-07-23 17:46:01 -07:00
Pragmatic Software
5305ac43a9 Update version 2015-07-21 15:07:58 -07:00
Pragmatic Software
ba87aef524 Improve factshow/factfind behavior
factshow's and factfind's channel argument is now optional.

The commands will now automatically determine the channel a factoid lives in
if it is the only factoid of that name.

If there are multiple factoids existing in different channels then the commands
will display a disambiguation message and require an explicit channel argument
to choose a specific channel's factoid.
2015-07-21 15:07:56 -07:00
Pragmatic Software
8cdad15207 Show enter-abuse warning message just before it would temp-ban
Fix address_to_mask regex
2015-07-21 13:44:42 -07:00
Pragmatic Software
9194f3e871 Update version 2015-07-18 08:13:23 -07:00
Pragmatic Software
1fed4d4de5 Update version 2015-07-17 00:33:09 -07:00
Pragmatic Software
454d305605 Update version 2015-07-15 00:18:59 -07:00
Pragmatic Software
850c8a0525 Add weak/strong also-known-as linking
PBot will now use weak links if the ip address portion of a hostmask
hasn't been seen in the last 48 hours in order to prevent false-positive
linking of dynamic ip addresses.

Weak links are excluded from ban-evasion logic.

Weak links can be manually upgraded to strong links with the `akalink`
command if a human confirms they are the same person through the `aka -w`
command.

Individuals with matching nicks or matching nickserv accounts, etc, will
automatically be strongly linked, as usual.
2015-07-15 00:18:57 -07:00
Pragmatic Software
6a6eff1150 Support nat cloaks for banmasks 2015-07-14 07:29:27 -07:00
Pragmatic Software
cbd4e182a6 Update version 2015-07-13 04:01:06 -07:00
Pragmatic Software
4b66f61552 Update version 2015-07-13 02:47:32 -07:00