summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)Author
2010-01-25markov: fix delayGiuseppe 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-25markov: unify should_talkGiuseppe 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-25markov: whitespace cleanupGiuseppe Bilotta
2010-01-26markov: removed unnecessary mutexesVoker57
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-26markov: close registry correctlyVoker57
2010-01-26markov: Intern only when it makes senseVoker57
2010-01-26markov: statsVoker57
2010-01-26markov: Moved weighted pick to separate functionVoker57
2010-01-26markov: learn message after maybe replying to it.Voker57
2010-01-26markov: bidirectional line generatingVoker57
2010-01-26markov: ignore word patternsVoker57
2010-01-26markov: fixed parameter typeVoker57
2010-01-26markov: use not only first two first words for building phraseVoker57
2010-01-26markov: separate probability for answering when adressedVoker57
2010-01-26markov: read-only listVoker57
2010-01-26markov: made delay an option, fixed non-replied statusVoker57
2009-12-21hangman: expand %{site} in helpGiuseppe Bilotta
2009-12-21spotify: fail on load if Spotify module is not availableRaine Virta
2009-12-21spotify: handle errorsRaine Virta
2009-12-21add spotify pluginRaine Virta
2009-12-21lastfm: use Spotify from lib_spotifyRaine Virta
2009-12-21add lib_spotify pluginRaine Virta
2009-12-21lastfm: wrap artist name with bold in now_playing outputRaine Virta
2009-12-21lastfm: use CGI.escape on query part of spotify searchesRaine Virta
2009-12-21lastfm: remove dashes from Spotify queriesRaine Virta
2009-12-21lastfm: show spotify links on now_playing if possibleRaine Virta
2009-12-21lastfm: fix detection of invalid username on now_playingRaine Virta
2009-11-30When a translator fails to initialize, map its command to respond the reasonYaohan Chen
2009-11-30Simplify support for using "auto" to detect source languageYaohan 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-30translator: use google's RESTful interface for google_translateRaine Virta
2009-11-30translator: fix random bug caused by undefined variablesRaine Virta
2009-11-03dice: restore + killed by ec5745fa7abd47b8ca12bd783b0759079dff9917Giuseppe Bilotta
2009-11-01urban: fix numpages being nil in some casesRaine Virta
2009-11-01tumblr: better guess for group name on ## channelsGiuseppe Bilotta
2009-10-21urban: fix page detection logicRaine Virta
numpages = s[%r{<div id='paginator'>.*?</div>}m].scan(/\d+/) ^ produces an error when regex returns nil
2009-10-21urban: fix regex for detecting an undefined termRaine Virta
2009-09-24search plugin: handle image in resultsGiuseppe 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-12search plugin: cleanup and fix results Array vs String mismatchGiuseppe Bilotta
2009-08-31search: show long definitions with 'google define:stuff'Giuseppe Bilotta
2009-08-31search plugin: update gdefGiuseppe Bilotta
2009-08-31tumplr plugin: first draftGiuseppe Bilotta
2009-08-30url plugin: carry htmlinfo filtering output with the url_added eventGiuseppe Bilotta
2009-08-29search plugin: enhance 'lucky' outputGiuseppe 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-28search plugin: update google searchGiuseppe Bilotta
2009-08-27url plugin: only chop non-word characters on 404Giuseppe 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-27reaction plugin: shorter help for repliesGiuseppe Bilotta
2009-08-27reaction plugin: 'ruby:' repliesGiuseppe 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-26ruby 1.9: get rid of colons in case statementsfranz
ruby 1.9 doesn't support colon as delimiter after when expression, so we use newline as delimiter.
2009-08-26ruby 1.9: get rid of Array#nitemsfranz
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-26Utils: time parsing routinesGiuseppe 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.