summaryrefslogtreecommitdiff
path: root/lib/Multi/IRC.pm
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08Store d+ pages in the DB as versioned entries + use markdownYorhel1-23/+8
This touches a bunch of things: - Adds a new first-class database entry type - Removes the d+.+.+ BBCode link syntax, adds a new d+#+ and d+#+.+ link syntax (references have been updated where possible) - Adds a new dependency on Text::MultiMarkdown
2017-02-20Multi::IRC: Whitelist c64 in id detectionYorhel1-1/+1
2017-01-29IRC: Remove eval commandYorhel1-9/+0
I never use it. And it's scary.
2016-10-16Doc update + IRC bot language fixYorhel1-1/+1
2016-09-11Fix http->https in d14 + increase IRC quote spam intervalYorhel1-1/+1
2016-01-10Multi::IRC: Make sure we keep our nickYorhel1-0/+18
2015-11-26Multi::IRC: Fix auth bypass bug + make !quote admin-onlyYorhel1-2/+2
2015-10-21SQL: Fix Multi to use the new DB schemaYorhel1-39/+34
That should be the last thing to convert to the new schema.
2015-06-21Multi::IRC: Increase delay between random quotesYorhel1-1/+1
2015-06-15Multi::IRC: Some fixes wrt. chat loggingYorhel1-8/+6
2015-04-29Multi::(API:IRC): Fix some unicode handling issuesYorhel1-4/+6
I forgot that AnyEvent::Handle works with bytes rather than unicode strings, even though that is kind of obvious. I expected that AnyEvent::IRC would automatically handle the conversion between byte strings and Unicode strings, but it doesn't, so that has to be done manually.
2015-04-27Multi::IRC: Properly handle connection issuesYorhel1-5/+28
2015-04-27Multi: Backport staff database changes from master branchYorhel1-5/+10
Includes changes from 5926ce95395976456c0e15895d13491a81819087 and e20b19ce400ccf382a969a51777e0678ff8d44db
2014-10-31Multi::IRC: Converted to use AnyEventYorhel1-524/+355
It's not as fully featured as the previous implementation, but most of those features haven't been used for the past few years anyway. Also added a generic throttle implementation in Multi::Core, which can be re-used for the API.
2011-07-07Multi::IRC: Randomly kick people who use !quoteYorhel1-3/+5
2011-04-03Multi::IRC: Actually announce new traitsYorhel1-1/+1
2011-04-01Multi::IRC: Don't spam the channel with old trait announcementsYorhel1-2/+2
2011-03-30Multi::IRC: Forgot to add a character type somewhereYorhel1-0/+1
2011-02-19chardb: Made bb2html() and Multi::IRC aware of c+, c+.+ and i+Yorhel1-5/+8
2011-02-14chardb: Made Multi aware of traitsYorhel1-7/+16
Added new trait notify and i+ id-matching
2011-01-27TUWF: Use the uri_escape() provided by TUWFYorhel1-1/+2
2010-12-13Multi::IRC: Don't report new postsYorhel1-1/+1
Discussion board is too active. -.-;
2010-12-09Write VNDBUtil::uri_escape() and removed dependency on URI::EscapeYorhel1-4/+3
Its functionality is too simpel to require it as a special dependency, seriously.
2010-12-05API: Allow the API to be used without logging in with a username/passwordYorhel1-1/+1
It only served to scare potential developers away.
2010-03-13Multi::IRC: Changed !vn command to use the new search functionYorhel1-16/+15
2010-02-17Multi::IRC: Added !scr command for reverse screenshot lookupYorhel1-1/+27
2010-01-24Multi::IRC: Announcements are colored in blue rather than redYorhel1-14/+16
This way you can easily see the difference between an announcement and a regular user-requested reply.
2009-11-13Multi::IRC: Tweaked the idlequote timingsYorhel1-2/+2
She shouldn't spam a quote more than once every 48 hours per channel now. Also decreased the actual idle timeout, so that the channel doesn't have to be idle for that long.
2009-11-13Multi::IRC: More efficient and better throttle algorithmYorhel1-11/+11
Same algorithm I used for the API, although slightly more strict. Also put a throttle on the !quote command.
2009-11-08Multi::API/IRC: Added runtime API admin/monitoring interfaceYorhel1-13/+48
+ some runtime statistics + IP ban list (which is likely unnecessary, but you never know...)
2009-10-24Multi::IRC: Fixed SQL syntax errorYorhel1-1/+1
Introduced in 69d8738688ebb72707fe377b7ce7c717407aea96
2009-10-12SQL: Converted changes.type to an ENUMYorhel1-4/+4
This is a very important column in a very important table, I hope I didn't forget to update a piece of code somewhere...
2009-08-23Multi::IRC: lowercase channel names in idlequotesYorhel1-1/+1
2009-08-12Multi::IRC: Properly handle newlines in edit summariesYorhel1-0/+1
2009-08-11Multi::IRC: Various small improvementsYorhel1-5/+8
- Don't report edits made by Multi - Fixed a synchronisation issue in the double-notify detection - Users in the 'masters' list has access to 'OP' commands as well (without needing +o) - Doubled the quotes spam delay
2009-08-09Multi::IRC: Proper fix of the new notify detection codeYorhel1-16/+33
This is how I should have done it in the first place. Don't use stupid hacks if you know it's likely going to result in strange behaviour...
2009-08-09Multi::IRC: Got rid of crash in the throttle functionYorhel1-1/+1
2009-08-09Multi::IRC: Fix double-notify bugYorhel1-0/+1
timestamptz data types have sub-second precision, but we use time() with second precision for comparing, resulting in false positives. Using Time::HiRes::time should give the same precision as PostgreSQL's NOW(), so things should be working fine now. It's still a bad idea to use Multi's time instead of a PostgreSQL value for comparing... should really think of a clean way of fixing this.
2009-08-09Multi::IRC: Fixed authentication level checking bugYorhel1-3/+4
Everyone had access to the commands with the |8 flag enabled. Oops!
2009-08-09Converted changes.added to timestamptzYorhel1-1/+1
That was the last one. I hope I haven't forgotten to update anything.
2009-08-08Converted tags.added to timestamptzYorhel1-1/+1
2009-08-08Converted threads_posts.date and edited to timestamptzYorhel1-1/+1
Everything still seems to be working fine so far.
2009-08-05Multi::IRC: Added !p producer search and fixed tiny bug in !vnYorhel1-5/+31
2009-08-05Multi::IRC: Reimplemented notifications using PgSQL LISTEN/NOTIFYYorhel1-22/+66
2009-08-05Multi::IRC: Spam random quotes in idle channelsYorhel1-1/+15
'idle' is currently defined as 60+rand(300) minutes, so it'll only occur in *very* idle channels... might be an idea to lower these numbers later on.
2009-08-05Multi::IRC: Wrote generic throttle function and put a limit on !vn usageYorhel1-12/+40
2009-08-05Multi::IRC: Added !quote command to reply with a random quote from the DBYorhel1-2/+13
2009-08-05Multi::IRC: Re-added the !vn commandYorhel1-36/+36
Works as it did before. But maybe it's time to add a small throttle to prevent misuse?
2009-08-05Multi::IRC: Don't listen to unaddressed commands without the ! triggerYorhel1-2/+2
Tiny bug introduced in a recent commit.
2009-08-05Multi::IRC: Allow commands to be called by addressing the botYorhel1-10/+13
And force this for some commands. Calling !die in a channel with multiple bots isn't a good idea, after all...