summaryrefslogtreecommitdiffstats
path: root/lib/ASM/Commander.pm
Commit message (Collapse)AuthorAge
* Various improvements.LibravatarKrytarik Raido2021-02-04
| | | | | | | * Also catch "!op" call. * Improve op alert output. * Define URLs specific to bot instance via configuration.
* Change default for new channels to be silent.LibravatarUnit 1932021-02-03
|
* Require basic privs for any sort of command.LibravatarUnit 1932021-02-03
|
* !ops: fix matching for bare !ops without messageLibravatarJanik Kleinhoff2018-06-07
| | | | | Blame krytarik, though I adjusted the suggested regex a little. Blame Unit193 for starting a fight.
* !ops: adjust command regexLibravatarJanik Kleinhoff2018-03-24
| | | | | | | | - Be a bit more reasonable about spaces - Ignore "|" between !ops and the message Using "!ops | foo bar" is common in the Ubuntu namespace at least, so there isn't much point in including the | in the reported message. If this breaks anything, blame Unit193 for being perfectionistic.
* Revert "Move users to DB"LibravatarJanik Kleinhoff2017-05-08
| | | | | | This reverts commit 7342c7f0e19e15ab3c7ba2133a56393c15989f08. Turns out there are still issues after all.
* Move users to DBLibravatarJanik Kleinhoff2017-05-08
| | | | | | | | | | | | | | | | | | | | | Summary: This will automatically take care of migrating the users from users.json; you may delete that file. Note that this removes htpasswd support. We now store (hashed) user passwords in the database. See T19 for rationale. Test Plan: Run this on a testnet for a while, try to break it. Reviewers: ilbelkyr, #antispammeta Reviewed By: ilbelkyr, #antispammeta Tags: #antispammeta, #database Differential Revision: https://dev.antispammeta.net/D2
* fix !ops with new DB interfaceLibravatarJanik Kleinhoff2016-10-29
|
* Use DBIx::ClassLibravatarJanik Kleinhoff2016-10-28
| | | | | For now this is a relatively quick-and-dirty transition, but this enables us to reuse ASM::DB from the website. Yay
* Avoid !ops restriction messages silencing alertsLibravatarJanik Kleinhoff2016-10-07
| | | | | | | | This fixes T9. It's not a particularly nice fix, and the code surrounding this could really use some cleanup, but it works. ASM::Commander did not return a true value explicitly so we have to do that as well. It's a coincidence that it worked until now ...
* Remove invasive logging functionalityLibravatarJanik Kleinhoff2016-09-30
| | | | | This removes the ;nicks and ;explain commands. Actionlogs and alertlogs are untouched for now. Cf. T8 for motivation.
* ;investigate: require s flag for various reasonsLibravatarJanik Kleinhoff2016-09-26
|
* Add a version command.LibravatarDoug Freed2016-07-14
| | | | | | | | | *NOTE*: Reflects the state of git only at the time the bot is started. Version is not updated in any way at runtime. First field is the newest commit that exists both locally and on GitLab. Second field is the output of `git describe --all --long --dirty`. Third field is the latest commit locally.
* Prevent public regex access in ;helpLibravatarDoug Freed2016-07-07
|
* BOOM GOES THE XMLLibravatarJanik Kleinhoff2016-03-13
| | | | | | | | | | | | This likely introduces twenty new bugs, but on the other hand it avoids twenty thousand other issues (most of them relating to XML::Simple doing the utterly wrong things all the time and configuration merely mitigating the issues, rather than fixing the core problem) so chances are it's more than worth it. We check if there's shiny new JSON-based config in place already; if not, we try to load XML config and convert it to the new format. The old config files are left untouched in case we fucked up somehow.
* fix feature wherein ;bllookup failed to indicate what ID was being looked upLibravatarWilliam Heimbigner2016-02-19
|
* Add ;explain command (needs work still)LibravatarWilliam Heimbigner2016-02-18
|
* Show who requested a ;quit in the quit message.LibravatarWilliam Heimbigner2016-02-17
|
* Fix showhilights to be able to check against nicks that were manually added ↵LibravatarWilliam Heimbigner2016-02-17
| | | | to the config with uppercase letters
* Add a ;nicks command to track down known nicks, searching by host. ↵LibravatarWilliam Heimbigner2016-02-17
| | | | Incomplete / much more work to be done.
* fix commandsLibravatarJanik Kleinhoff2016-02-15
|
* ASM::Commander: print where a command was receivedLibravatarJanik Kleinhoff2016-02-14
|
* ;suppress: don't touch the monitor flagLibravatarJanik Kleinhoff2016-02-14
|
* Clean up excessive use of lcLibravatarDoug Freed2016-02-09
|
* Don't allow double suppression.LibravatarDoug Freed2016-02-05
| | | | It breaks things.
* Removed a tabLibravatarDoug Freed2016-02-01
|
* use a different URL in ;sourceLibravatarWilliam Heimbigner2016-01-21
|
* Shorten the URL provided via ;investigateLibravatarWilliam Heimbigner2016-01-21
|
* Have the Inspect/opalert routines print a backlog to an incident-specific ↵LibravatarWilliam Heimbigner2016-01-21
| | | | logfile, rather than a single file, and include a shortlink to this logfile when generating alerts
* Handle !ops without target in PM betterLibravatarDoug Freed2016-01-15
|
* Massive cleanup of CommanderLibravatarDoug Freed2016-01-15
|
* Remove errant spaceLibravatarDoug Freed2016-01-14
|
* Add vim modelines and fix inconsistent indentationLibravatarDoug Freed2016-01-14
|
* Fix ASM's memory usage display to be more accurateLibravatarDoug Freed2016-01-14
|
* Register command-processing handlers inside of the command module, rather ↵LibravatarWilliam Heimbigner2016-01-14
| | | | than having the event handler module call the command handler module
* Remove commands.xml, move everything kinda-nicely into the main Commander ↵LibravatarWilliam Heimbigner2016-01-14
| | | | module.
* Really disable smartmatch warningLibravatarDoug Freed2016-01-12
|
* Disable Autovivification in all the things, enable autoflush on STDOUT, fix ↵LibravatarWilliam Heimbigner2016-01-12
| | | | some things in accountsToNicks
* Use Tie::CPHash to make %::sn and %::sc case-insensitiveish.LibravatarWilliam Heimbigner2016-01-07
| | | | | | | Clean up commands.xml and fix some bugs Add clone detection Minimize some excessive warnings Greatly improve syncing speed
* Better undef-checking -> less warningsLibravatarWilliam Heimbigner2015-12-26
|
* Rework module pathsLibravatarJanik Kleinhoff2015-09-24