Commit Graph

137 Commits (c6643487807a150a637c0c158e73d1a415f3560e)

Author SHA1 Message Date
Robert Gerus c664348780 Rework initialization of some plugins. 2015-12-23 07:51:03 +01:00
Robert Gerus 4eb280fad0 Regexp fixup. 2015-12-22 14:24:04 +01:00
Robert Gerus 0712fc1438 This does not to be in init() 2015-12-22 13:51:36 +01:00
Robert Gerus e577b1adb0 Add tests for the new and improved linktitle. 2015-12-22 11:33:13 +01:00
Robert Gerus 7d16d62b0c It's working now.
Still need to add tests.
2015-12-22 11:30:34 +01:00
Robert Gerus 66f207023e Eh… 2015-12-22 11:04:23 +01:00
Robert Gerus 8f4345e7d0 WIP 2015-12-22 11:00:12 +01:00
Robert Gerus 42e4ecddfa Reworked url title fetching.
It should now be possible to add custom fetchers for urls where we might benefit
from it.
2015-12-22 08:10:18 +01:00
Robert Gerus 56b01da9e5 Changed User-Agent header.
According to docs, it should work.
2015-12-22 07:04:22 +01:00
Robert Gerus 36905d2596 Trim CTCP characters. 2015-12-18 12:55:32 +01:00
Robert Gerus 1d8d793a61 Add a simple test. 2015-12-16 19:29:36 +01:00
Robert Gerus 52dee8ab20 Add korwin plugin. 2015-12-16 19:27:39 +01:00
Robert Gerus 38462960d3 Bonjour Madame lives again. 2015-12-15 21:40:11 +01:00
Robert Gerus 945cc314d2 Brainfart #2 2015-12-14 15:15:51 +01:00
Robert Gerus 280027750f Brainfart. 2015-12-14 15:12:18 +01:00
Robert Gerus acad1ec1cb Use external dyncfg. 2015-12-14 14:58:42 +01:00
Robert Gerus 2b86f24cec Fix jan and papiez plugins.
Yay, more locks. I wonder if there's a better way…
2015-12-12 13:13:19 +01:00
Robert Gerus 1a298e4e06 Adjust bot to changes in config.
Temporarily disable jan and papiez plugins until.
2015-12-12 13:01:17 +01:00
Robert Gerus c781ea1c86 Add tests for cycki, kotki and checkinator.
The checkinator test results depends on physical presence of people at warsaw
hackerspace…
2015-12-11 08:57:57 +01:00
Robert Gerus 759edd3c5c Limit dice size and number of rolls. 2015-12-11 07:42:42 +01:00
Robert Gerus fe569360ae Add tests to roll 2015-12-10 23:07:18 +01:00
Robert Gerus 288e0d6857 Make roll act more like a real dice. 2015-12-10 22:59:23 +01:00
Robert Gerus dee7a7cd73 Add dice-roll plugin. 2015-12-10 22:53:10 +01:00
Robert Gerus e17f1f4f98 Disabling one plugin could disable others… fixed. 2015-12-09 15:51:38 +01:00
Robert Gerus 24fd90d0a4 Bonjourmadame is down. 2015-12-09 15:47:59 +01:00
Robert Gerus cd9b640034 No chance of hitting those errors. 2015-12-09 11:50:13 +01:00
Robert Gerus e64da6b1fb There's no realistic way of hitting these errors. 2015-12-09 11:40:18 +01:00
Robert Gerus 25a2a1b2c2 Fix data race. 2015-12-09 11:27:55 +01:00
Robert S. Gerus cdfd324a24 Merge pull request #36 from arachnist/configurable-file-paths
Make dictionary paths configurable.
2015-12-09 09:25:27 +01:00
Robert Gerus dbe204ba5c Dictionary for "papież" is now configurable. 2015-12-09 09:01:22 +01:00
Robert Gerus 3d21ac9c7b Fix locking. 2015-12-09 08:52:02 +01:00
Robert Gerus 421c9394a7 Dictionaries for "jan" are now configurable. 2015-12-09 08:47:18 +01:00
Robert Gerus 643c307d07 Fix data race in bot package.
Still 22 data reces remain in irc package…
2015-12-09 01:38:00 +01:00
Robert Gerus c0ea35f760 No need to go through Dispatcher.
The path we're hitting is already well tested - 225 times actually, according to
coveralls.
2015-12-09 01:03:01 +01:00
Robert Gerus bc0756c86c Wording. 2015-12-09 00:41:18 +01:00
Robert Gerus 68d23ad4f9 Add a missing testcase for :seen. 2015-12-09 00:26:03 +01:00
Robert Gerus 44ecf6306c Add correct tests for seenrecord/seen. 2015-12-09 00:08:19 +01:00
Robert Gerus 24372a9ad1 Fix a panic on QUIT message. 2015-12-09 00:07:03 +01:00
Robert Gerus 0323bcd2a5 :seen for a NOTICE would've been sad. 2015-12-08 21:13:02 +01:00
Robert Gerus fa0723391d QUIT messages were not recorded.
They have empty "Params" field in irc message.
2015-12-08 20:57:11 +01:00
Robert S. Gerus 655418c6ac Merge pull request #34 from arachnist/test-kt-backed-plugins
Add framework for testing plugins that use kyototycoon
2015-12-08 06:23:14 +01:00
Robert Gerus bb519abdf8 Move tests that expect no response. 2015-12-08 06:18:02 +01:00
Robert Gerus 818431a039 This test is bad and i should feel bad. 2015-12-07 12:23:11 +01:00
Robert Gerus b09c1d15d1 Add a better test for seen. 2015-12-07 11:10:05 +01:00
Robert Gerus 382cc372ea All aboard the fail train. 2015-12-07 10:54:11 +01:00
Robert Gerus 648e59acea Basic test for :seen. 2015-12-07 10:49:23 +01:00
Robert Gerus 6606ab7975 Improve the test "framework" a bit. 2015-12-07 01:31:02 +01:00
Robert Gerus 6c99ab743b We only use go1.5 anyway now. 2015-12-07 01:09:59 +01:00
Robert Gerus 43e9508ece Add more linktitle tests. 2015-12-07 00:58:53 +01:00
Robert Gerus bbf7f81216 Add more tests for nickserv. 2015-12-07 00:32:06 +01:00