3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 18:39:35 +01:00
Commit Graph

2431 Commits

Author SHA1 Message Date
Pragmatic Software
b2a26100c0 AntiFlood: very, very minor clean-up 2020-02-01 22:15:06 -08:00
Pragmatic Software
f358cd9c73 Interpreter: split_args() now accepts option to toggle preserving of quotes in rest of arguments 2020-02-01 22:14:32 -08:00
Pragmatic Software
a24ddd765d Factoids: fix minor issue with factrem 2020-02-01 20:51:45 -08:00
Pragmatic Software
f173b43c8d Factoids: fix minor issue with factadd 2020-02-01 20:48:34 -08:00
Pragmatic Software
d4fd86d690 Update version 2020-02-01 01:04:15 -08:00
Pragmatic Software
e8e26512bc ChanOps: fix checkmute command 2020-02-01 01:03:16 -08:00
Pragmatic Software
989f072f1a Update version 2020-01-31 23:17:04 -08:00
Pragmatic Software
4883b5effd Update version 2020-01-31 22:51:33 -08:00
Pragmatic Software
3843e24eaa Update version 2020-01-31 22:46:21 -08:00
Pragmatic Software
2d38f71682 ChanOps/ChanOpCommands: make checkban/checkmute API 2020-01-31 22:46:19 -08:00
Pragmatic Software
a9c1f1eebd Update version 2020-01-31 22:03:53 -08:00
Pragmatic Software
7cb7ec0d6c Update version 2020-01-31 19:35:30 -08:00
Pragmatic Software
0af8fc4c5c Commands: add set_meta function 2020-01-31 19:35:22 -08:00
Pragmatic Software
164e4d94ae Update version 2020-01-31 18:53:05 -08:00
Pragmatic Software
0dd8b1587e Update version 2020-01-31 18:42:19 -08:00
Pragmatic Software
78c5200007 Update version 2020-01-31 18:30:14 -08:00
Pragmatic Software
b798fee183 Update version 2020-01-31 12:33:24 -08:00
Pragmatic Software
7373ae6315 Users: Whoops, used $user instead of $u 2020-01-31 12:33:20 -08:00
Pragmatic Software
a5fbb74095 Users: my: must be admin to set "name" 2020-01-31 03:09:24 -08:00
Pragmatic Software
7dda42a181 Update version 2020-01-31 01:56:54 -08:00
Pragmatic Software
cfd6925d0f MessageHistory: add a couple of necessary API functions 2020-01-31 01:56:02 -08:00
Pragmatic Software
f557307a8a EventDispatcher: remove handler if it has errors 2020-01-31 00:58:04 -08:00
Pragmatic Software
b7e622a32e Utils: remove debug statements 2020-01-30 22:33:27 -08:00
Pragmatic Software
1baff41267 Refresher: version factoid does not exist any longer 2020-01-30 22:07:54 -08:00
Pragmatic Software
6081ee11e1 Update version 2020-01-30 21:18:05 -08:00
Pragmatic Software
609523fd67 Add LWPUserAgentCached: always caches get() for specified duration 2020-01-30 21:17:17 -08:00
Pragmatic Software
4a85f79d0d Plugins: minor text change 2020-01-30 19:44:40 -08:00
Pragmatic Software
9446317116 Update version 2020-01-30 11:17:33 -08:00
Pragmatic Software
462be8c3d2 Users: minor bugfix 2020-01-30 11:17:17 -08:00
Pragmatic Software
4288785932 Update version 2020-01-29 20:41:35 -08:00
Pragmatic Software
761b737ccc Update version 2020-01-29 19:14:22 -08:00
Pragmatic Software
61fa6bbb66 Interpreter: recall/mock "me" works again 2020-01-29 16:09:38 -08:00
Pragmatic Software
7d3e49eaa0 Update version 2020-01-29 14:09:37 -08:00
Pragmatic Software
33d9faac52 Users: useradd now properly returns "added" message 2020-01-29 14:09:34 -08:00
Pragmatic Software
95f2cfdd55 DualIndexHashObject: fix removing secondary index on "empty" 2020-01-29 14:09:09 -08:00
Pragmatic Software
4c3f752132 Update version 2020-01-29 13:40:52 -08:00
Pragmatic Software
77119ba978 Do not /msg usage messages 2020-01-29 13:40:48 -08:00
Pragmatic Software
1a8e784b88 Update version 2020-01-29 13:35:59 -08:00
Pragmatic Software
fbc50184dc Fix misc usage messages 2020-01-29 13:35:56 -08:00
Pragmatic Software
af3dbaa5d3 Update version 2020-01-29 12:40:49 -08:00
Pragmatic Software
f2140569f2 FactoidCommands: remove single-quote from some messages 2020-01-29 08:34:30 -08:00
Pragmatic Software
95854497ce Update version 2020-01-29 08:31:20 -08:00
Pragmatic Software
460e7b6ffa Users: oops, forgot about global 2020-01-28 23:21:50 -08:00
Pragmatic Software
7dd486b0dc Users: userset/userunset channel argument now optional 2020-01-28 23:14:17 -08:00
Pragmatic Software
539e599b61 Improve login/logout related messages 2020-01-28 22:58:44 -08:00
Pragmatic Software
cc710fc478 Users: find_user_account() now returns undef for $channel if no account found 2020-01-28 18:01:25 -08:00
Pragmatic Software
5536d55da2 Interpreter: sigh, add more commands to exempt from my->nick -- I really need to change this to use metadata instead 2020-01-26 20:03:50 -08:00
Pragmatic Software
a321adce9b Update version 2020-01-26 19:08:55 -08:00
Pragmatic Software
46940827e0 Interpreter: do not translate my->nick for help, etc 2020-01-26 18:56:45 -08:00
Pragmatic Software
91d80571e0 Users: my command now lists keys if no args 2020-01-26 18:53:30 -08:00
Pragmatic Software
aab2a2b445 Update version 2020-01-26 12:28:42 -08:00
Pragmatic Software
4db3a2ec01 Users.pm: fixes 2020-01-26 12:28:38 -08:00
Pragmatic Software
6a1fbc1c78 Update version 2020-01-26 06:01:57 -08:00
Pragmatic Software
86f59fd304 Update version 2020-01-26 05:29:53 -08:00
Pragmatic Software
4ea8f4ee42 Update version 2020-01-26 05:20:23 -08:00
Pragmatic Software
5952f264e0 Update version 2020-01-25 21:18:47 -08:00
Pragmatic Software
e3d52c7d55 Users: use much more strict hostmask for my accounts 2020-01-25 21:18:42 -08:00
Pragmatic Software
153d2c111f address_to_mask() is now member function 2020-01-25 21:09:17 -08:00
Pragmatic Software
791fd4b660 DualIndexHashObject: hide _name key from set output 2020-01-25 20:35:56 -08:00
Pragmatic Software
c586a08db6 Update version 2020-01-25 20:19:29 -08:00
Pragmatic Software
e9dfcfb825 PBot: list users/admins now easier to read 2020-01-25 20:19:23 -08:00
Pragmatic Software
71ec3ea44a Update version 2020-01-25 19:55:49 -08:00
Pragmatic Software
b0388fa9a6 Users: drop "my_" prefix; ensure account does not already exist 2020-01-25 19:55:43 -08:00
Pragmatic Software
7a326ba7fe PBot: missing exit on fatal error 2020-01-25 19:55:08 -08:00
Pragmatic Software
9839cb814e Update version 2020-01-25 16:30:43 -08:00
Pragmatic Software
07a6c32416 Users: my commands now ignores leading "is " in value 2020-01-25 16:30:39 -08:00
Pragmatic Software
2f7afb6e39 Update version 2020-01-25 16:09:46 -08:00
Pragmatic Software
c36f9d72bb Users: my command: add level sanity check 2020-01-25 16:09:43 -08:00
Pragmatic Software
dc0909cbcc Update version 2020-01-25 15:44:32 -08:00
Pragmatic Software
7ba505faf5 HashObject: do not make copy of $data hash 2020-01-25 15:08:05 -08:00
Pragmatic Software
02f1995654 DualIndexHashObject: do not make copy of $data hash 2020-01-25 15:07:40 -08:00
Pragmatic Software
3e031f3874 Users: fix issues 2020-01-25 14:31:10 -08:00
Pragmatic Software
7322906e5d Update version 2020-01-25 14:14:12 -08:00
Pragmatic Software
4e27b036cd Fix issues with Users and add date command 2020-01-25 14:13:57 -08:00
Pragmatic Software
5dd03f1c0c Massive refactor: added support for generic users!
Renamed data/admins to data/users
Moved Admins.pm to Users.pm
Moved various subroutines in AdminCommands.pm to more appropriate locations
Deleted AdminCommands.pm
Improvements to Users.pm
Added `my` command
2020-01-25 12:28:05 -08:00
Pragmatic Software
cc8f2b827a Update version 2020-01-24 09:53:11 -08:00
Pragmatic Software
75c17b2ec0 Admins: find_admin now returns highest level admin 2020-01-24 09:53:08 -08:00
Pragmatic Software
496a07ab9a Update version 2020-01-23 22:46:57 -08:00
Pragmatic Software
61d5c6dd5f Commands: restore accidentally removed use statements 2020-01-23 22:46:41 -08:00
Pragmatic Software
ba1eb9c745 Update version 2020-01-23 21:47:42 -08:00
Pragmatic Software
7dc8ac0623 Channels: chanrem now removes ban and mute timeouts as well 2020-01-23 21:46:51 -08:00
Pragmatic Software
4e2a17a5ed Commands: add uptime command 2020-01-23 21:09:57 -08:00
Pragmatic Software
7feb528024 Factoids: remove version factoid 2020-01-23 21:09:36 -08:00
Pragmatic Software
9a79d025e9 FactoidCommands: anybody can now factset and unset action_with_args 2020-01-23 20:53:55 -08:00
Pragmatic Software
c0ad02e6a3 Move creation of stdin admin to StdinReader 2020-01-23 20:47:18 -08:00
Pragmatic Software
9fb0d5d8bc NickList: * should not be greedy 2020-01-22 16:53:18 -08:00
Pragmatic Software
f2590ec83b Update version 2020-01-22 16:51:19 -08:00
Pragmatic Software
a6040609b9 IRCHandlers: give send_who() a registry toggle 2020-01-22 16:51:14 -08:00
Pragmatic Software
5e54712a7b NickList: fix set_meta on wildcard hostmasks 2020-01-22 16:50:45 -08:00
Pragmatic Software
eaecc81762 Update version 2020-01-22 15:56:47 -08:00
Pragmatic Software
2270196937 Admins: add autoop, autovoice and autologin metadata 2020-01-22 15:56:39 -08:00
Pragmatic Software
3086d96fdc FuncCommand: improve listing and add uc, lc, etc 2020-01-21 21:15:44 -08:00
Pragmatic Software
d61b1217bb Interpreter: properly check $from for $botnick 2020-01-21 21:15:01 -08:00
Pragmatic Software
f7f5409e4a Update version 2020-01-21 21:10:47 -08:00
Pragmatic Software
c84b837e97 Update version 2020-01-21 21:04:10 -08:00
Pragmatic Software
cada72fdb2 Update version 2020-01-20 16:52:46 -08:00
Pragmatic Software
3eb8bd15a6 AdminCommands: reload can now reload commands metadata 2020-01-20 16:52:44 -08:00
Pragmatic Software
942a152681 Update version 2020-01-20 16:48:36 -08:00
Pragmatic Software
cec026705b Commands: add help command 2020-01-20 16:37:51 -08:00
Pragmatic Software
fa9bb06606 Rename BotAdmin* to Admin* 2020-01-20 15:25:26 -08:00
Pragmatic Software
fb9117b6aa VERSION: minor clean-up 2020-01-19 21:43:04 -08:00
Pragmatic Software
02285c51fd Update version 2020-01-19 21:13:22 -08:00
Pragmatic Software
4f33dc3dd7 VERSION: add ratelimit to version command update check 2020-01-19 21:13:09 -08:00
Pragmatic Software
db8351b0d5 Update version 2020-01-19 20:17:26 -08:00
Pragmatic Software
3a5224ef26 Factoids: find_factoid no longer cares about built-in commands 2020-01-19 20:17:22 -08:00
Pragmatic Software
437ad88248 VERSION: update header 2020-01-19 20:10:46 -08:00
Pragmatic Software
ba61b0b2be Update version 2020-01-19 20:04:13 -08:00
Pragmatic Software
406f8e3207 VERSION: version check show new version only if new version is GREATER 2020-01-19 20:04:10 -08:00
Pragmatic Software
76b5c6a2b7 Update version 2020-01-19 20:02:34 -08:00
Pragmatic Software
5a2f57494b VERSION: remove parentheses around date in version check 2020-01-19 20:02:29 -08:00
Pragmatic Software
a0dd5728a3 Update version 2020-01-19 20:00:03 -08:00
Pragmatic Software
ed874c2dec Minor style clean-up 2020-01-19 20:00:01 -08:00
Pragmatic Software
349266b598 Update version 2020-01-19 19:53:48 -08:00
Pragmatic Software
64cba56698 VERSION: add built-in version command 2020-01-19 19:53:45 -08:00
Pragmatic Software
d14ab77764 Update version 2020-01-18 22:13:47 -08:00
Pragmatic Software
a10a2594c9 ChanOpCommands: skip admin check if command level is 0 2020-01-18 22:13:43 -08:00
Pragmatic Software
727d086df1 Commands: ensure "level" metadata is always set 2020-01-18 22:13:08 -08:00
Pragmatic Software
6eeec3b26c Commands: remove "metadata" from name of HashObject 2020-01-18 21:58:58 -08:00
Pragmatic Software
aadc9c00d8 Update version 2020-01-18 21:57:57 -08:00
Pragmatic Software
3c7950b82e Remove single-quotes from set/unset output 2020-01-18 21:57:54 -08:00
Pragmatic Software
99c889faf7 Update version 2020-01-18 21:49:58 -08:00
Pragmatic Software
f3ef8a56c0 Commands: add metadata 2020-01-18 21:49:55 -08:00
Pragmatic Software
5eaa3591c7 Minor style clean-up 2020-01-18 21:41:47 -08:00
Pragmatic Software
20f767e2f2 RegistryCommands: fix regfind 2020-01-17 23:00:55 -08:00
Pragmatic Software
fc851a069d Update version 2020-01-16 21:51:09 -08:00
Pragmatic Software
898a84c4f0 Factoids: use _name fields 2020-01-16 21:51:03 -08:00
Pragmatic Software
6f9133f982 PBot: ignore leading hypen on registry command-line arguments too 2020-01-16 21:30:01 -08:00
Pragmatic Software
bd11d501e3 Update version 2020-01-16 21:20:18 -08:00
Pragmatic Software
1f0e1b77cb PBot: ignore one leading hyphen in command-line arguments 2020-01-16 20:42:58 -08:00
Pragmatic Software
95d82f57d7 Update version 2020-01-14 20:17:29 -08:00
Pragmatic Software
0a31d17fef ChanOpCommands: fix typo 2020-01-14 20:17:26 -08:00
Pragmatic Software
1ff7c73152 Update version 2020-01-14 20:01:24 -08:00
Pragmatic Software
f789bd1206 ChanOpCommands: invite now catches events to send responses
Clean up previous commit a lot
2020-01-14 20:01:19 -08:00
Pragmatic Software
753328b77b Update version 2020-01-14 18:55:26 -08:00
Pragmatic Software
ebf5206ff6 ChanOpCommands: invite now behaves more like ChanServ when used from /msg 2020-01-14 18:55:20 -08:00
Pragmatic Software
41ae04d291 Update version 2020-01-14 18:11:01 -08:00
Pragmatic Software
02552081d5 Fix all potential case-sensitivity issues
Misc clean-ups and refactors
2020-01-14 18:10:53 -08:00
Pragmatic Software
92532a6e78 Update version 2020-01-11 18:02:03 -08:00
Pragmatic Software
04ed9d3554 Add voice and devoice commands 2020-01-11 18:02:00 -08:00
Pragmatic Software
782be369b6 Update version 2020-01-11 17:46:49 -08:00
Pragmatic Software
3da8e22e4e Add op and deop commands 2020-01-11 17:46:44 -08:00
Pragmatic Software
d9fa465bb7 FactoidCommands: correct header 2020-01-10 18:59:15 -08:00
Pragmatic Software
6124bc5029 list admins now sorts by name field instead of hostmask 2020-01-04 23:09:25 -08:00
Pragmatic Software
2822029aaa BotAdminCommands: adminset now hides password field when listing all keys 2020-01-04 22:39:58 -08:00
Pragmatic Software
4dacbfeb7a list admins now lists only current channel when used in-channel 2020-01-04 22:13:07 -08:00
Pragmatic Software
6e25f96717 Update version 2020-01-04 21:26:23 -08:00
Pragmatic Software
bd2e225f76 RegistryCommands: all commands now understand section.item syntax (e.g. irc.server) 2020-01-04 21:26:18 -08:00
Pragmatic Software
a400178204 IRCHandlers: handle channelcreate event; properly show timestamp for channel title 2020-01-04 11:59:41 -08:00
Pragmatic Software
796b23806e Update version 2020-01-04 00:21:23 -08:00
Pragmatic Software
77233e4328 IRCHandlers: fix WHO case-sensitivity 2020-01-04 00:21:19 -08:00
Pragmatic Software
9dbd84f6c5 Commands: use boundary when extracting admin channel from arguments 2020-01-03 23:04:46 -08:00
Pragmatic Software
ab3776be88 Update version 2020-01-03 21:39:25 -08:00
Pragmatic Software
3188b690e8 BotAdmins: admin hostmasks are no longer treated as regex. They support the normal * and ? wildcards. Removed stdin admin from data/admins. 2020-01-03 21:39:22 -08:00
Pragmatic Software
97dd3ea56e LagChecker: convert lag_threshold to milliseconds 2020-01-03 21:26:49 -08:00
Pragmatic Software
ea016dc406 StdinReader: chomp newline from input before logging 2020-01-03 21:22:14 -08:00
Pragmatic Software
cdb7ac1901 LagChecker: convert to ms and be more concise 2020-01-03 21:18:51 -08:00
Pragmatic Software
202ae50c36 Update version 2020-01-03 20:42:23 -08:00
Pragmatic Software
ac28b007d6 BotAdmins: admin hostmasks can now be either regex (.*!.*@host) or wildcard (*!*@host) 2020-01-03 20:39:13 -08:00
Pragmatic Software
be8ae88dcc Replace all instances of "localhost" with "pbot" 2020-01-03 20:37:58 -08:00
Pragmatic Software
d35a0f4081 Fix channel-specific bot admins being unable to privately /msg admin commands 2020-01-03 19:20:25 -08:00
Pragmatic Software
790abba7e5 PBot: make stdin admin hostmask better 2020-01-03 16:36:18 -08:00
Pragmatic Software
5383e6beb4 Update version 2019-12-31 23:28:32 -08:00
Pragmatic Software
a86a5aaed2 Rename irc.ircserver -> irc.server and irc.ircname -> irc.realname 2019-12-31 23:28:25 -08:00
Pragmatic Software
6e065da809 Update version 2019-12-30 20:03:47 -08:00
Pragmatic Software
e6039b6369 Factoids now exported to data_dir 2019-12-30 19:57:47 -08:00
Pragmatic Software
ad5fd971a9 BotAdmins: Remove obsolete export-related stuff 2019-12-30 19:37:21 -08:00
Pragmatic Software
b40eb16394 Remove "modules" and "admins" from export command 2019-12-30 19:34:13 -08:00
Pragmatic Software
8d3150ad1b Update version 2019-12-30 18:17:38 -08:00
Pragmatic Software
29e7299c8d ChanOpCommands: kick now supports wildcards 2019-12-30 18:17:35 -08:00
Pragmatic Software
2ec6c1d656 Update version 2019-12-30 16:44:48 -08:00
Pragmatic Software
45af37574f IRCHandlers: add handler for WHOREPLY 2019-12-30 16:44:41 -08:00
Pragmatic Software
aca793928a NickList: NAMREPLY: ensure $hostmask is defined 2019-12-30 16:12:10 -08:00
Pragmatic Software
3f4c85bcdc NickList: add missing optional nick argument to nicklist usage message 2019-12-30 16:03:10 -08:00
Pragmatic Software
036ba6e5cf Update version 2019-12-30 16:00:10 -08:00
Pragmatic Software
2a6f98c02d ChanOpCommands: mode now skips existing modes when used with wildcard; unsetting modes via wildcard now skips admins/whitelisted users 2019-12-30 15:59:56 -08:00
Pragmatic Software
a255ea1b1b IRCHandlers: reinstate WHO-on-join; set NickList metadata based on WHO replies 2019-12-30 15:58:30 -08:00
Pragmatic Software
e18ce03173 NickList improvements
* rename dumpnicks (60) to nicklist (0)
* only logged-in admins can nicklist without arguments to see all channels
* nicklist now tracks userdata meta (hostmask, etc) on NAMREPLY
2019-12-30 15:57:31 -08:00
Pragmatic Software
c230a2f3b3 BotAdmins: anchor hostmask regex in find_admin() 2019-12-30 15:47:23 -08:00
Pragmatic Software
2a437b479e Logger: reopen logfile after rotation to log final messages 2019-12-30 14:50:36 -08:00
Pragmatic Software
c6a952d2b1 Update version 2019-12-29 11:06:57 -08:00
Pragmatic Software
54a661955b Logger: rename log file to log-<start-up timestamp> at normal termination 2019-12-29 11:06:52 -08:00
Pragmatic Software
4fbdcd948f Logfile now lives in data_dir 2019-12-29 10:44:05 -08:00
Pragmatic Software
00052452b6 ChanOps: anchor $botnick test in kick section of perform_op_commands 2019-12-28 23:20:55 -08:00
Pragmatic Software
54e75d934b Add invite command 2019-12-28 23:17:15 -08:00
Pragmatic Software
b4f63a0be4 BotAdminCommands: ensure sl has valid arguments 2019-12-28 23:04:41 -08:00
Pragmatic Software
e0b08ebf91 Update version 2019-12-28 22:58:28 -08:00
Pragmatic Software
5c9f185af6 Plugins: ignore autoload entries that begin with a # comment 2019-12-28 22:28:39 -08:00
Pragmatic Software
6d0cd3ef07 Plugins: move Plugins/autoload to data/plugin_autoload 2019-12-28 22:18:32 -08:00
Pragmatic Software
2106497f5d Registry: no longer need to use value keyword in regset command 2019-12-27 20:20:07 -08:00
Pragmatic Software
43093ee843 Services identification now customizable via registry 2019-12-27 19:28:51 -08:00
Pragmatic Software
b6839cd33f ChanOpCommands: mode command: use MODES=x ircd mapping for max modes per command 2019-12-26 23:00:14 -08:00
Pragmatic Software
c9391d7829 Add wildcard support to mode command 2019-12-26 19:24:35 -08:00
Pragmatic Software
f621993083 Update version 2019-12-26 06:08:52 -08:00
Pragmatic Software
a7866c1250 ChanOpCommands: add mode command (level 40) 2019-12-26 06:08:39 -08:00
Pragmatic Software
fe1f385053 ChanOps: op service/command can now be overridden via registry 2019-12-26 05:47:18 -08:00
Pragmatic Software
0b879cd987 AntiFlood: $conf{whitelist_file} no longer used; use only registry 2019-12-24 14:28:57 -08:00
Pragmatic Software
f345058b05 Update version 2019-12-21 19:59:29 -08:00
Pragmatic Software
2a805038a1 IRCHandlers: improve nickserv identify and autojoin 2019-12-21 19:44:22 -08:00
Pragmatic Software
3b93dbe4c3 Channels: add autojoin function 2019-12-21 19:43:05 -08:00
Pragmatic Software
274ee8dcd6 Plugins: Fix path loading 2019-12-21 19:33:53 -08:00