summaryrefslogtreecommitdiff
path: root/data/rbot
AgeCommit message (Collapse)Author
2012-08-31markov: be more robust about flaky dbsGiuseppe Bilotta
Due to historical bugs, some database entries may have ended up being serialized as strings. Recover from this by making them into arrays.
2012-08-31search: update for changes in google's htmlGiuseppe Bilotta
2012-06-21tumblr: escape the non-range dash in the group regexGiuseppe Bilotta
2012-05-14search: fix googleGiuseppe Bilotta
2012-04-30quakeauth: notify when identifiedGiuseppe Bilotta
This ensures that joining after identification (config setting irc.join_after_identify) works correctly with quake auth too.
2012-03-26weather: use proper units text when using config optionGiuseppe Bilotta
Previously, if units was false (no units specified), wu_units would become "_false" instead of "_<whatever was in the config value>".
2012-03-20Forecast plugin patchGiuseppe Bilotta
"I've updated the forecast plugin, the two API URLs used had been updated and the NOAA SOAP API method call now requires 6 arguments instead of the 5 it was passing previously." (Ticket #89)
2012-02-01math: ruby wants leading 0s to floating points numbersGiuseppe Bilotta
2012-01-25search: fix gcalcGiuseppe Bilotta
Google changed their layout again. To be a little more future-proof, split the html into as many <br/> sections as there are, and pick the first one that contains the literal string ' = ' if there is one.
2012-01-23greed: prevent players from going twice in a rowOkasu
2011-12-26greed: refactor and prepare for more complete playGiuseppe Bilotta
The score is now saved in a look-up table, that also allows more detailed output when showing the score. Also, the dice rolling potentially allows for a different number of dices to be rolled (e.g. if some are held). Take the opportunity to also gettextize outuput.
2011-12-26greed: stylistic changesGiuseppe Bilotta
Sort dices when rolling and separate values with spaces.
2011-12-26Add a Greed dice game.Okasu
2011-12-26Googlefight plugin fixOkasu
2011-12-21twitter: preliminary status htmlinfo filterGiuseppe Bilotta
This allows the link info published by URL in the new /#!/ format to be more meaningful than the warning about missing JavaScript support caused by the new "web 2.0" Twitter site.
2011-12-21tumblr: fix 'tumblr configure' regexpsGiuseppe Bilotta
The way they were, specifying channel, email, password and group caused the password to be merged with the email and the group to become the password.
2011-12-07markov: mention learn in summary helpGiuseppe Bilotta
2011-12-04markov: document 'learn from <file>'Giuseppe Bilotta
2011-10-24dict: oxford fix from AndrewNTHGiuseppe Bilotta
See tracker issue #79
2011-09-26imdb plugin: again fixes outdated ratings patternMatthias -apoc- Hecker
2011-09-22UNO: prevent player from replaying a misplayed cardGiuseppe Bilotta
2011-09-15youtube: not all urls have v= as first CGI paramGiuseppe Bilotta
2011-08-28fix for imdb, changed patterns for ratings&genreMatthias -apoc- Hecker
2011-05-11weather: refactor NWS outputGiuseppe Bilotta
Aside from gettexting, this separates out all the data that is available in both metric and imperial units, to allow a potential extension for support for the user choice of units. Fix heat index and windchill in the mean time.
2011-05-11weather: fall back from nws to wuGiuseppe Bilotta
If a user uses NWS as default service and asks for a location that the our NWS implementation can't retrieve, fall back to the Weather Underground service. To simplify this management, rewrite the code to use the bot HTTP util and its caching functionality.
2011-05-11weather: URI-encode stationGiuseppe Bilotta
The NWS code assumed that the station could be used as-is in the URL, which is actually true for the station codes accepted by NWS, but incorrect in general. People with NWS as the default weather service would get strange errors about bad URIs if trying something like "weather birmingham, uk". Solve by URI-encoding the station name: even if the resulting URL will still give a 404, at least it doesn't give out odd errors.
2011-05-10search: update gdef to changes in web resultGiuseppe Bilotta
2011-05-09weather: fix url detection for multiple stations/sitesGiuseppe Bilotta
2011-02-14twitter plugin: change the api urls to receive RTsMatthias -apoc- Hecker
2011-02-03quiz: stop quizzes and timers on cleanupGiuseppe Bilotta
This prevents spurious timers from running after a rescan
2011-02-03quiz: more consistent autoskip/autoask managementGiuseppe Bilotta
Also respect autoask delay when autoskipping
2011-02-03quiz: autoskip featureGiuseppe Bilotta
2011-02-03quiz: autoask cleanupGiuseppe Bilotta
2011-02-03quiz: refactor and localize admin helpGiuseppe Bilotta
2011-02-03quiz: refactor quiz db problem announcementGiuseppe Bilotta
2011-02-03quiz: autoask status queryGiuseppe Bilotta
2011-01-31comments and message fixesGiuseppe Bilotta
2011-01-30weather: defaults for missing serviceGiuseppe Bilotta
The refactoring that introduced google removed them erroneously.
2011-01-26weather: support google service tooGiuseppe Bilotta
2011-01-26weather: use bot standard html cleanup functionsGiuseppe Bilotta
Get rid of wu_clean and replace it with ircify_html or riphtml depending on context.
2011-01-26weather: config option for default unitsGiuseppe Bilotta
2011-01-12Ruby 1.9 cleanup: variables warningsGiuseppe Bilotta
Fix most ruby 1.9 warnings about shadowed variables (still one remaining in keywords.rb). The only significant changes are in the quiz game plugin. Also fix an issue in dictclient where the block parameter of a method was not correctly isolated from the previous parameter.
2011-01-11rss: obviously, the precending patch wasn't enoughGiuseppe Bilotta
Proper support for a 'modified' element actually requires its model to be defined and added to the RSS Atom namespace.
2011-01-11rss: updated can be nilGiuseppe Bilotta
An Atom item can reply to updated even though its value is nil, so check for it actually being valued instead. Also, some malformed Atom feeds use the nonstandard 'modified' element instead, so check for that too.
2010-12-31fake message: set replied on replyGiuseppe Bilotta
Although the reply method for fake messages was actually relying on the original, we still need to set 'replied' to prevent the fake message from being wrongly delegated to 'unreplied'. The most obvious bug this commit fixes is the potentially infinite loop triggered by defining a command reaction triggered by the command name itself (e.g. reply to ping with cmd:ping).
2010-12-11time plugin: check if argument is a nick earlierGiuseppe Bilotta
When !time <somenick> was being used and the user <somenick> hadn't set his or her location, the bot would wrongly assume the argument was some timezone. Fix by checking against local nicks first.
2010-12-10geoip: blogama is dead, long live ipinfodbGiuseppe Bilotta
Sadly, the new ipinfodb API requires an API key, and I don't know yet if I'm allowed to redistributed it (I'm betting on no, but in case I can it will added with an appropriate patch).
2010-12-09UNO!: when the game hasn't started, it's nobody's turnGiuseppe Bilotta
2010-12-09UNO!: prevent joins after a challengeable cardGiuseppe Bilotta
If someone joins after a challengeable W+4, he would be inserted between the last and first player, and if there is a challenge _his_ cards would be exposed. So prevent joining in such a situation.
2010-12-08UNO!: reset must_play when changing turnGiuseppe Bilotta
After a successful challenge, the challenged player can choose to pick&pass instead of playing one of its allowed cards. In such a case, the must_play array would not get reset, preventing the next player to be able to play any of its card. Fix by resetting must_play on next_turn rather than on set_discard.