home · contact · privacy
plomlombot-irc.git
8 years agoDumbify log format, fix overlong quote notices.
Christian Heller [Tue, 12 Apr 2016 06:35:58 +0000 (08:35 +0200)]
Dumbify log format, fix overlong quote notices.

8 years agoOverhaul DB directory structure.
Christian Heller [Tue, 12 Apr 2016 05:58:33 +0000 (07:58 +0200)]
Overhaul DB directory structure.

8 years agoRemove special handling of 353.
Christian Heller [Tue, 12 Apr 2016 01:12:42 +0000 (03:12 +0200)]
Remove special handling of 353.

8 years agoAdd primitive channel logging.
Christian Heller [Tue, 12 Apr 2016 01:09:40 +0000 (03:09 +0200)]
Add primitive channel logging.

8 years agoUse dedicated DB dir for quotes and markov log files.
Christian Heller [Wed, 30 Mar 2016 00:54:24 +0000 (02:54 +0200)]
Use dedicated DB dir for quotes and markov log files.

8 years agoFix NoneType bug.
Christian Heller [Fri, 18 Mar 2016 18:58:46 +0000 (19:58 +0100)]
Fix NoneType bug.

8 years agoUse html5lib for BeautifulSoup parsing.
Christian Heller [Tue, 16 Feb 2016 23:45:22 +0000 (00:45 +0100)]
Use html5lib for BeautifulSoup parsing.

8 years agoMinor improvement to markov generator.
Christian Heller [Fri, 5 Feb 2016 13:38:03 +0000 (14:38 +0100)]
Minor improvement to markov generator.

8 years agoMinor improvements to markov generator.
Christian Heller [Fri, 5 Feb 2016 13:20:56 +0000 (14:20 +0100)]
Minor improvements to markov generator.

8 years agoAdd idna Unicode decoding error handler to URL follower.
Christian Heller [Fri, 5 Feb 2016 10:41:54 +0000 (11:41 +0100)]
Add idna Unicode decoding error handler to URL follower.

8 years agoFix bug overwriting all but last twts.
Christian Heller [Fri, 5 Feb 2016 10:20:28 +0000 (11:20 +0100)]
Fix bug overwriting all but last twts.

8 years agoFix typo in variable name.
Christian Heller [Fri, 5 Feb 2016 10:19:23 +0000 (11:19 +0100)]
Fix typo in variable name.

8 years agoFix bugs in twt integration.
Christian Heller [Fri, 5 Feb 2016 10:16:14 +0000 (11:16 +0100)]
Fix bugs in twt integration.

8 years agoAdd twt support.
Christian Heller [Fri, 5 Feb 2016 10:05:02 +0000 (11:05 +0100)]
Add twt support.

8 years agoImprove markov generator.
Christian Heller [Fri, 5 Feb 2016 00:09:36 +0000 (01:09 +0100)]
Improve markov generator.

8 years agoInstead of removing names of present users, malkovich them.
Christian Heller [Thu, 4 Feb 2016 07:53:22 +0000 (08:53 +0100)]
Instead of removing names of present users, malkovich them.

8 years agoIn Markov text generation, lowercase earlier.
Christian Heller [Thu, 4 Feb 2016 07:07:59 +0000 (08:07 +0100)]
In Markov text generation, lowercase earlier.

8 years agoStrip URLs from markov texts.
Christian Heller [Thu, 4 Feb 2016 02:12:01 +0000 (03:12 +0100)]
Strip URLs from markov texts.

8 years agoDon't mention present users in markov texts.
Christian Heller [Thu, 4 Feb 2016 02:00:41 +0000 (03:00 +0100)]
Don't mention present users in markov texts.

8 years agoGet rid of annoying BeautifulSoup parser warning.
Christian Heller [Thu, 4 Feb 2016 00:12:03 +0000 (01:12 +0100)]
Get rid of annoying BeautifulSoup parser warning.

8 years agoShorten the default markov text length.
Christian Heller [Tue, 2 Feb 2016 07:11:35 +0000 (08:11 +0100)]
Shorten the default markov text length.

8 years agoAdd markov text generator.
Christian Heller [Tue, 2 Feb 2016 02:16:29 +0000 (03:16 +0100)]
Add markov text generator.

8 years agoRe-organize code for better extendibility.
Christian Heller [Fri, 29 Jan 2016 01:51:33 +0000 (02:51 +0100)]
Re-organize code for better extendibility.

8 years agoFix crash when just commanding "!quote".
Christian Heller [Sun, 24 Jan 2016 09:37:46 +0000 (10:37 +0100)]
Fix crash when just commanding "!quote".

8 years agoplomsearch: Use less probably escape character.
Christian Heller [Sat, 23 Jan 2016 22:12:57 +0000 (23:12 +0100)]
plomsearch: Use less probably escape character.

8 years agoAdd quote searching.
Christian Heller [Sat, 23 Jan 2016 21:36:03 +0000 (22:36 +0100)]
Add quote searching.

8 years agoRemove debugging code.
Christian Heller [Sat, 23 Jan 2016 09:23:02 +0000 (10:23 +0100)]
Remove debugging code.

8 years agoImprove mobile twitter URL pattern matching.
Christian Heller [Sat, 23 Jan 2016 09:21:24 +0000 (10:21 +0100)]
Improve mobile twitter URL pattern matching.

8 years agoBe more explicit on URL change on mobile twitter page title hack.
Christian Heller [Fri, 22 Jan 2016 20:25:31 +0000 (21:25 +0100)]
Be more explicit on URL change on mobile twitter page title hack.

8 years agoHandle mobile twitter status URLs properly.
Christian Heller [Fri, 22 Jan 2016 19:58:28 +0000 (20:58 +0100)]
Handle mobile twitter status URLs properly.

8 years agoAdd indexed !quote calls.
Christian Heller [Fri, 22 Jan 2016 02:08:22 +0000 (03:08 +0100)]
Add indexed !quote calls.

8 years agoSimplify quote line counting.
Christian Heller [Fri, 22 Jan 2016 01:59:14 +0000 (02:59 +0100)]
Simplify quote line counting.

8 years agoShorten prefix for page title retrieval message.
Christian Heller [Thu, 21 Jan 2016 18:50:55 +0000 (19:50 +0100)]
Shorten prefix for page title retrieval message.

8 years agoAdd basic quotes feature.
Christian Heller [Wed, 20 Jan 2016 02:13:39 +0000 (03:13 +0100)]
Add basic quotes feature.

8 years agoStrip whitespace start/end from page title.
Christian Heller [Tue, 19 Jan 2016 23:32:14 +0000 (00:32 +0100)]
Strip whitespace start/end from page title.

8 years agoMinor run.sh error handling improvement.
Christian Heller [Tue, 19 Jan 2016 22:51:26 +0000 (23:51 +0100)]
Minor run.sh error handling improvement.

8 years agoImprove setup script error handling.
Christian Heller [Tue, 19 Jan 2016 22:45:32 +0000 (23:45 +0100)]
Improve setup script error handling.

8 years agoImprove README.
Christian Heller [Tue, 19 Jan 2016 22:44:52 +0000 (23:44 +0100)]
Improve README.

8 years agoFix default nickname in setup script.
Christian Heller [Tue, 19 Jan 2016 22:41:38 +0000 (23:41 +0100)]
Fix default nickname in setup script.

8 years agoAdd setup script.
Christian Heller [Tue, 19 Jan 2016 22:36:58 +0000 (23:36 +0100)]
Add setup script.

8 years agoCatch InvalidURL requests exception.
Christian Heller [Tue, 19 Jan 2016 21:46:52 +0000 (22:46 +0100)]
Catch InvalidURL requests exception.

8 years agoUse BeautifulSoup for HTML parsing.
Christian Heller [Tue, 19 Jan 2016 21:46:30 +0000 (22:46 +0100)]
Use BeautifulSoup for HTML parsing.

8 years agoUse request library to simplify page retrieval code.
Christian Heller [Tue, 19 Jan 2016 21:05:49 +0000 (22:05 +0100)]
Use request library to simplify page retrieval code.

8 years agoFix buggy HTMLParser.
Christian Heller [Tue, 19 Jan 2016 00:36:15 +0000 (01:36 +0100)]
Fix buggy HTMLParser.

8 years agoUse proper HTML parsing for page title retrieval.
Christian Heller [Tue, 19 Jan 2016 00:01:38 +0000 (01:01 +0100)]
Use proper HTML parsing for page title retrieval.

8 years agoCancel page title reading on bad charset.
Christian Heller [Mon, 18 Jan 2016 22:05:12 +0000 (23:05 +0100)]
Cancel page title reading on bad charset.

8 years agoIn recv_line(), handle UnicodeDecodeErrors by assuming latin1.
Christian Heller [Mon, 18 Jan 2016 21:40:36 +0000 (22:40 +0100)]
In recv_line(), handle UnicodeDecodeErrors by assuming latin1.

8 years agoBe verbose on page title retrieval failure.
Christian Heller [Mon, 18 Jan 2016 21:25:14 +0000 (22:25 +0100)]
Be verbose on page title retrieval failure.

8 years agoHandle UnicodeDecodeError.
Christian Heller [Mon, 18 Jan 2016 01:43:46 +0000 (02:43 +0100)]
Handle UnicodeDecodeError.

8 years agoUse NOTICE instead of PRIVMSG for bot output.
Christian Heller [Mon, 18 Jan 2016 01:33:29 +0000 (02:33 +0100)]
Use NOTICE instead of PRIVMSG for bot output.

8 years agoSend user agent in URL parser requests.
Christian Heller [Mon, 18 Jan 2016 01:29:13 +0000 (02:29 +0100)]
Send user agent in URL parser requests.

8 years agoImprove URL parser regex.
Christian Heller [Mon, 18 Jan 2016 01:13:54 +0000 (02:13 +0100)]
Improve URL parser regex.

8 years agoIn URL parser, add http.client.BadStatusLine handler.
Christian Heller [Sun, 17 Jan 2016 23:00:34 +0000 (00:00 +0100)]
In URL parser, add http.client.BadStatusLine handler.

8 years ago"while 1" -> "while True"
Christian Heller [Sun, 17 Jan 2016 22:50:31 +0000 (23:50 +0100)]
"while 1" -> "while True"

8 years agoApply PEP8.
Christian Heller [Sun, 17 Jan 2016 22:49:23 +0000 (23:49 +0100)]
Apply PEP8.

8 years agoHandle UnicodeError in URL parsing.
Christian Heller [Sun, 17 Jan 2016 22:33:59 +0000 (23:33 +0100)]
Handle UnicodeError in URL parsing.

8 years agoHandle URLError.
Christian Heller [Sun, 17 Jan 2016 22:29:11 +0000 (23:29 +0100)]
Handle URLError.

8 years agoMake python file executable.
Christian Heller [Sun, 17 Jan 2016 22:16:06 +0000 (23:16 +0100)]
Make python file executable.

8 years agoAdd command line options.
Christian Heller [Sun, 17 Jan 2016 22:15:12 +0000 (23:15 +0100)]
Add command line options.

8 years agoSome more refactoring / de-globalizing.
Christian Heller [Sun, 17 Jan 2016 21:43:35 +0000 (22:43 +0100)]
Some more refactoring / de-globalizing.

8 years agoSome refactoring and variable renaming.
Christian Heller [Sun, 17 Jan 2016 21:33:31 +0000 (22:33 +0100)]
Some refactoring and variable renaming.

8 years agoDeglobalize servername variable.
Christian Heller [Sun, 17 Jan 2016 21:24:16 +0000 (22:24 +0100)]
Deglobalize servername variable.

8 years agoReconnect after ping timeout or broken socket.
Christian Heller [Sun, 17 Jan 2016 21:06:13 +0000 (22:06 +0100)]
Reconnect after ping timeout or broken socket.

8 years agoSome refactoring.
Christian Heller [Sun, 17 Jan 2016 20:45:26 +0000 (21:45 +0100)]
Some refactoring.

8 years agoURL interpreter: Handle HTTPErrors.
Christian Heller [Sun, 17 Jan 2016 20:34:25 +0000 (21:34 +0100)]
URL interpreter: Handle HTTPErrors.

8 years agoAssume default charset utf-8 when no charset found in URL interpreter.
Christian Heller [Sun, 17 Jan 2016 20:21:17 +0000 (21:21 +0100)]
Assume default charset utf-8 when no charset found in URL interpreter.

8 years agoAdd timeout to urlopen().
Christian Heller [Sun, 17 Jan 2016 20:02:37 +0000 (21:02 +0100)]
Add timeout to urlopen().

8 years agoSome refactoring.
Christian Heller [Sun, 17 Jan 2016 19:57:56 +0000 (20:57 +0100)]
Some refactoring.

8 years agoAdd some more checks against evil URLs.
Christian Heller [Sun, 17 Jan 2016 19:54:52 +0000 (20:54 +0100)]
Add some more checks against evil URLs.

8 years agoShorten default timeout.
Christian Heller [Sun, 17 Jan 2016 19:43:27 +0000 (20:43 +0100)]
Shorten default timeout.

8 years agoAdd content-type check to URL interpreter.
Christian Heller [Sun, 17 Jan 2016 19:38:57 +0000 (20:38 +0100)]
Add content-type check to URL interpreter.

8 years agoMinor variable refactoring.
Christian Heller [Sun, 17 Jan 2016 19:31:16 +0000 (20:31 +0100)]
Minor variable refactoring.

8 years agoAdd some whitespace to code for better readability.
Christian Heller [Sun, 17 Jan 2016 19:25:52 +0000 (20:25 +0100)]
Add some whitespace to code for better readability.

8 years agoInitial commit.
Christian Heller [Sun, 17 Jan 2016 18:07:17 +0000 (19:07 +0100)]
Initial commit.

8 years agoInitial commit
Christian Heller [Sun, 17 Jan 2016 18:06:25 +0000 (19:06 +0100)]
Initial commit