3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-26 12:42:49 +01:00
Commit Graph

86 Commits

Author SHA1 Message Date
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
7e31a3ee26 ChanOpCommands: uppercase kick reason if kick command is uppercased 2020-06-25 09:53:09 -07:00
Pragmatic Software
4d888729e5 ChanOpCommands: fix "Can't locate object method 'mode'" error 2020-05-30 23:18:49 -07:00
Pragmatic Software
559b058dd1 ChanOpCommands: fix unban * 2020-05-14 16:53:10 -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
cfba96e8ae Rename $stuff to $context throughout 2020-05-01 20:59:51 -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
ea19abad4f Refactor BanTracker into BanList; move stuff out off ChanOps 2020-04-28 21:33:49 -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
fe56b9f0db Tidy things up 2020-02-15 15:16:38 -08:00
Pragmatic Software
5c4e10a35c Tidy things up 2020-02-15 14:38:32 -08:00
Pragmatic Software
21c1eba0a0 No longer directly access DualIndexHashObject internals 2020-02-13 13:31:36 -08:00
Pragmatic Software
c4b71347bf Whitelist is now a user-capability
Rework ban-whitelist to ban-exemptions
2020-02-09 16:20:58 -08:00
Pragmatic Software
02f93c8721 Significant refactor and clean-up of PBot class instantiation 2020-02-08 11:04:13 -08:00
Pragmatic Software
6424e7c601 Remove unnecessary return statements 2020-02-06 01:07:44 -08:00
Pragmatic Software
b33971c820 Improvements to capabilities 2020-02-05 22:32:58 -08:00
Pragmatic Software
176a7b6192 ChanOpCommands: op, voice, kick wildcards now restricted by capabilities 2020-02-05 17:38:56 -08:00
Pragmatic Software
a02e20da77 ChanOpCommands: unban * and unmute * now restricted by capabilities 2020-02-05 17:12:57 -08:00
Pragmatic Software
04585d3ae1 ChanOpCommands: unban * and unmute * now clears banlists; clean-up output of ban and mute with multiple targets 2020-02-05 17:03:39 -08:00
Pragmatic Software
866d802850 Replaced admin-levels with user-capabilities [WIP commit 1 of 2] 2020-02-03 09:50:38 -08:00
Pragmatic Software
2d38f71682 ChanOps/ChanOpCommands: make checkban/checkmute API 2020-01-31 22:46:19 -08:00
Pragmatic Software
77119ba978 Do not /msg usage messages 2020-01-29 13:40:48 -08:00
Pragmatic Software
fbc50184dc Fix misc usage messages 2020-01-29 13:35:56 -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
a10a2594c9 ChanOpCommands: skip admin check if command level is 0 2020-01-18 22:13:43 -08:00
Pragmatic Software
0a31d17fef ChanOpCommands: fix typo 2020-01-14 20:17:26 -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
ebf5206ff6 ChanOpCommands: invite now behaves more like ChanServ when used from /msg 2020-01-14 18:55:20 -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
04ed9d3554 Add voice and devoice commands 2020-01-11 18:02:00 -08:00
Pragmatic Software
3da8e22e4e Add op and deop commands 2020-01-11 17:46:44 -08:00
Pragmatic Software
29e7299c8d ChanOpCommands: kick now supports wildcards 2019-12-30 18:17:35 -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
54e75d934b Add invite command 2019-12-28 23:17:15 -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
a7866c1250 ChanOpCommands: add mode command (level 40) 2019-12-26 06:08:39 -08:00
Pragmatic Software
369a763af1 ChanOpCommands: ban/mute now use default timeout registry entries 2019-11-25 13:57:37 -08:00
Pragmatic Software
ba65834b29 Remove duplicate line 2019-09-01 11:01:53 -07:00
Pragmatic Software
167edf8d95 Temp bans/mutes now track owner and reason for checkban/checkmute 2019-07-26 14:17:06 -07:00
Pragmatic Software
aa87cadb65 Add checkban/checkmute commands so users can see remaining timeout duration.
`mute` now translates nick to banmask.

`ban`/`mute` commands will now show remaining timeout duration if no length
argument is provided.
2019-07-23 08:55:24 -07:00
Pragmatic Software
3553692b5a Fix some more Unicode encoding issues 2019-07-10 18:40:53 -07:00
Pragmatic Software
8f8b11b9e6 ChanOpCommands: respect effective-level override for chan op commands 2019-06-23 10:34:41 -07:00
Pragmatic Software
b1729a13e2 ParseDate: complete rewrite, replacing Time::ParseDate with DateTime::Format::Flexible
Now supports more types of input, including those containing timezones!

Converted PBot::Utils::ParseDate to an internal PBot module.
2019-06-06 21:46:00 -07:00
Pragmatic Software
925a5e57bd Minor whitespace syntax clean-up throughout 2019-05-28 09:19:42 -07:00
Pragmatic Software
174de2be8e Update all commands to understand quoted arguments; factoid names, etc, can now contain spaces 2018-08-08 17:38:57 -07:00
Pragmatic Software
fc4fbc6af3 Group comma-separated bans/mutes together in one MODE 2018-06-05 22:59:33 -07:00
Pragmatic Software
e76bb3f46a ban and mute now accept comma-separated targets 2018-06-05 18:28:03 -07:00
k
9d8940fee2 Make unmute and unban more smarter about argument order (#40)
* clean up unban and unmute

* unmute and unban are now smart about argument order
2018-06-05 17:55:59 -07:00
Pragmatic Software
263366bdfa Rename as to in 2018-02-21 18:41:56 -08:00