Commit Graph

277 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 Gerus 4998f0b548 Last change was overcomplicated. 2015-12-23 20:57:31 +01:00
Robert S. Gerus 95e143e1c6 Merge pull request #53 from arachnist/verbose-truncate
Give explicit notice on message truncation.
2015-12-23 20:31:05 +01:00
Robert Gerus a7eefc7daf Give explicit notice on message truncation.
Fixes #1
2015-12-23 20:26:57 +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 c9138f40af Merge pull request #51 from arachnist/scrape-4chan
Scrape and rehost 4chan urls.
2015-12-23 09:56:36 +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 S. Gerus 183404c9e7 Merge pull request #49 from arachnist/fix-youtube
Reworked url title fetching.
2015-12-22 11:38:11 +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 S. Gerus d2621d1c8a Merge pull request #48 from arachnist/change-useragent
Changed User-Agent header.
2015-12-22 07:08:13 +01:00
Robert Gerus 56b01da9e5 Changed User-Agent header.
According to docs, it should work.
2015-12-22 07:04:22 +01:00
Robert S. Gerus d102c546cf Merge pull request #44 from arachnist/fix-ctcp-urltitles
Trim CTCP characters.
2015-12-18 12:56:56 +01:00
Robert Gerus 36905d2596 Trim CTCP characters. 2015-12-18 12:55:32 +01:00
Robert S. Gerus 7ba047bd51 Merge pull request #41 from arachnist/korwin
Add "korwin" plugins
2015-12-16 19:36:07 +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 73ad2e4712 Apparently us ubuntu mirrors hate us. 2015-12-14 15:06:32 +01:00
Robert Gerus acad1ec1cb Use external dyncfg. 2015-12-14 14:58:42 +01:00
Robert S. Gerus 5823922316 Merge pull request #39 from arachnist/config-refactor
Refactor configuration package.
2015-12-12 13:18:16 +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 54728173b2 Adjust main file to changes in bot. 2015-12-12 13:03:02 +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 bc36369497 Adjust irc package to changes in config. 2015-12-12 12:35:49 +01:00
Robert Gerus 6bc3f2fdd4 Adjust main file to changes in config. 2015-12-12 12:35:30 +01:00
Robert Gerus be84e9ddcc Sanitization of API. 2015-12-12 12:21:03 +01:00
Robert Gerus 575ec34ef7 Cover more scenarios with tests. 2015-12-12 11:51:14 +01:00
Robert Gerus 37501afef8 Refactor and fix cache invalidation issues.
Breaks the build until irc and bot modules get updated.
2015-12-12 11:48:48 +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