Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-25 | markov: fix delay | Giuseppe Bilotta | |
markov.delay had the wrong default, and its use didn't have any degree of randomness in it. Set the default to 5 and use rand() again. | |||
2010-01-25 | markov: unify should_talk | Giuseppe Bilotta | |
Unify probability check for addressed and non-addressed case by passing the message as a parameter to should_talk and picking the probability accordingly. | |||
2010-01-25 | markov: whitespace cleanup | Giuseppe Bilotta | |
2010-01-26 | markov: removed unnecessary mutexes | Voker57 | |
These were slowing down learning process greatly and do not make sense as far as I can see: learning is always done only by single thread anyway. | |||
2010-01-26 | markov: close registry correctly | Voker57 | |
2010-01-26 | markov: Intern only when it makes sense | Voker57 | |
2010-01-26 | markov: stats | Voker57 | |
2010-01-26 | markov: Moved weighted pick to separate function | Voker57 | |
2010-01-26 | markov: learn message after maybe replying to it. | Voker57 | |
2010-01-26 | markov: bidirectional line generating | Voker57 | |
2010-01-26 | markov: ignore word patterns | Voker57 | |
2010-01-26 | markov: fixed parameter type | Voker57 | |
2010-01-26 | markov: use not only first two first words for building phrase | Voker57 | |
2010-01-26 | markov: separate probability for answering when adressed | Voker57 | |
2010-01-26 | markov: read-only list | Voker57 | |
2010-01-26 | markov: made delay an option, fixed non-replied status | Voker57 | |
2009-12-21 | hangman: expand %{site} in help | Giuseppe Bilotta | |
2009-12-21 | spotify: fail on load if Spotify module is not available | Raine Virta | |
2009-12-21 | spotify: handle errors | Raine Virta | |
2009-12-21 | add spotify plugin | Raine Virta | |
2009-12-21 | lastfm: use Spotify from lib_spotify | Raine Virta | |
2009-12-21 | add lib_spotify plugin | Raine Virta | |
2009-12-21 | lastfm: wrap artist name with bold in now_playing output | Raine Virta | |
2009-12-21 | lastfm: use CGI.escape on query part of spotify searches | Raine Virta | |
2009-12-21 | lastfm: remove dashes from Spotify queries | Raine Virta | |
2009-12-21 | lastfm: show spotify links on now_playing if possible | Raine Virta | |
2009-12-21 | lastfm: fix detection of invalid username on now_playing | Raine Virta | |
2009-11-30 | When a translator fails to initialize, map its command to respond the reason | Yaohan Chen | |
2009-11-30 | Simplify support for using "auto" to detect source language | Yaohan Chen | |
When "auto" is used as source language, Google Translate detects the source language. However there is no need to hardcode Google Translate as the only translator supporting "auto". If another translator supports language detection, we can add "auto" to its supported source languages. If no translator in default_list supports translating from "auto", the existing code already responds with a message saying so. | |||
2009-11-30 | translator: use google's RESTful interface for google_translate | Raine Virta | |
2009-11-30 | translator: fix random bug caused by undefined variables | Raine Virta | |
2009-11-03 | dice: restore + killed by ec5745fa7abd47b8ca12bd783b0759079dff9917 | Giuseppe Bilotta | |
2009-11-01 | urban: fix numpages being nil in some cases | Raine Virta | |
2009-11-01 | tumblr: better guess for group name on ## channels | Giuseppe Bilotta | |
2009-10-21 | urban: fix page detection logic | Raine Virta | |
numpages = s[%r{<div id='paginator'>.*?</div>}m].scan(/\d+/) ^ produces an error when regex returns nil | |||
2009-10-21 | urban: fix regex for detecting an undefined term | Raine Virta | |
2009-09-24 | search plugin: handle image in results | Giuseppe Bilotta | |
Some results from Google can contain <img> tags as their 'text' part, so use the new ircify_html feature to display them. | |||
2009-09-12 | search plugin: cleanup and fix results Array vs String mismatch | Giuseppe Bilotta | |
2009-08-31 | search: show long definitions with 'google define:stuff' | Giuseppe Bilotta | |
2009-08-31 | search plugin: update gdef | Giuseppe Bilotta | |
2009-08-31 | tumplr plugin: first draft | Giuseppe Bilotta | |
2009-08-30 | url plugin: carry htmlinfo filtering output with the url_added event | Giuseppe Bilotta | |
2009-08-29 | search plugin: enhance 'lucky' output | Giuseppe Bilotta | |
'lucky' search only selects the first hit, so set hit to 1 and enable 'single' mode. Also rework the results output, and make a custom 'title -- url' for lucky mode. | |||
2009-08-28 | search plugin: update google search | Giuseppe Bilotta | |
2009-08-27 | url plugin: only chop non-word characters on 404 | Giuseppe Bilotta | |
Chopping everything causes long delays for non-existing pages with long paths. Since the purpose of the retry-with-chop is to get the right URL when punctuation is added after it, the solution is to only chop non-word characters. This has to be done on the unescaped URL because otherwise non-word characters like " that expand to %22 will not be chopped. | |||
2009-08-27 | reaction plugin: shorter help for replies | Giuseppe Bilotta | |
2009-08-27 | reaction plugin: 'ruby:' replies | Giuseppe Bilotta | |
A reply can be prefixed with 'ruby:' to signify that it's a short ruby snippet to be eval()ed. Adding these reactions is protected by default. | |||
2009-08-26 | ruby 1.9: get rid of colons in case statements | franz | |
ruby 1.9 doesn't support colon as delimiter after when expression, so we use newline as delimiter. | |||
2009-08-26 | ruby 1.9: get rid of Array#nitems | franz | |
Array#nitems is gone in ruby 1.9, changed rbot code to use Array.compact.size, which works in both 1.8 & 1.9 | |||
2009-08-26 | Utils: time parsing routines | Giuseppe Bilotta | |
Add time parsing routines to Utils, to be used for human-to-computer conversion of time offsets. Refactored and enhanced from the remind plugin. |