Commit Graph

151 Commits (master)

Author SHA1 Message Date
Robert Gerus 980a8bf16f Store tips fetched from api and only fetch a new batch when we've ran out of tips. 2016-06-13 19:22:21 +02:00
Robert Gerus efa9bc2e8b Hello, this is frog. 2016-06-13 03:17:51 +02:00
Robert Gerus dc8ec49130 The library has moved. 2016-06-08 00:17:47 +02:00
Robert Gerus 005b3c1331 Scrape urls from my friends server. 2016-06-06 23:44:38 +02:00
Robert S. Gerus 37f5ac96d5 Give information about video author. 2015-12-24 09:53:50 +01:00
Robert S. Gerus 81886be013 Use net/http/cookiejar as http cookie jar.
Fixes #52
2015-12-23 12:51:27 +01:00
Robert S. Gerus 055cb0328a path.Join() stripps multiple slashes. 2015-12-23 10:08:45 +01:00
Robert S. Gerus 3b083c205b Fix permisions on downloaded files. 2015-12-23 10:01:21 +01:00
Robert S. Gerus a2147fce23 Scrape and rehost 4chan urls.
That's totally a good idea, right?
2015-12-23 09:52:06 +01:00
Robert Gerus 29f6f6aed1 Fix log message 2015-12-23 08:05:20 +01:00
Robert S. Gerus 29cdd169f6 Merge pull request #50 from arachnist/rework-initialization
Rework initialization of some plugins.

Fixes #42
2015-12-23 07:56:04 +01:00
Robert Gerus c664348780 Rework initialization of some plugins. 2015-12-23 07:51:03 +01:00
Robert Gerus 09286f3def Make splitting with commas more sensible. 2015-12-22 22:03:35 +01:00
Robert Gerus e486b26324 Actually fix handling of commas in :pick 2015-12-22 21:45:48 +01:00
Robert Gerus 21d3d48791 Optionally split over "," instead of spaces. 2015-12-22 21:20:32 +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