summaryrefslogtreecommitdiff
path: root/data/rbot
AgeCommit message (Collapse)Author
2010-07-02UNO! plugin: prevent double wild playGiuseppe Bilotta
This allows lazy players to specify the color after playing the wild by pressing up-arrow and adding the color to the previous line, without running the risk of playing their precious second wild.
2010-07-02UNO! plugin: be more discreet about user failuresGiuseppe Bilotta
The public announcement is now a generic "can't do that", with the specific message being notified to the user. This reduces the chance of other players guessing what the current player has from the error messages.
2010-07-02UNO! plugin: stop join_timer on end_gameGiuseppe Bilotta
This prevents a game from starting after it has ended.
2010-07-02UNO! plugin: cope with pre-game dropsGiuseppe Bilotta
The drop is still counted, to prevent people from leaving and then rejoining until they have nice cards.
2010-07-02freshmeat plugin: use current APIGiuseppe Bilotta
The old XML files are not accessible, sadly, and the new API requires an auth token. But at least it works again. For updates, we use the RSS feed, parsing it manually.
2010-07-01poll plugin: some TODOsGiuseppe Bilotta
2010-07-01poll plugin: message fixesGiuseppe Bilotta
Set up gettext strings properly, adjust case, and cope more cleanly with the case of multiple address prefixes.
2010-07-01poll plugin: make 'start' keyword optionalGiuseppe Bilotta
2010-07-01poll plugin: message fixesGiuseppe Bilotta
2010-07-01poll plugin: improve poll start handlingGiuseppe Bilotta
Use the time parsing routines in utils, and compute the split at blob parse time rather than at command recognition time.
2010-07-01Fixed googlefight.rb regexa7x
2010-07-01seen: Ignore garbage phrases as a users last words.David Gadling
2010-07-01url: Add a config option to auto-shorten URLs.David Gadling
shortenurls: Add a favorite service config option. Auto-shortening URLs is mutually exclusive with showing information about them as the output would be very confusing. The favorite shortenting service option only really applies when other plugins call shortenurls.shorten, so they don't have to hard-code which shortening service to use.
2010-07-01poll: New plugin for having polls (votes, contests, etc) running.David Gadling
Polls can be brief (2 minutes) or longer lasting (2 weeks).
2010-07-01roulette: Keep track of points and provide a hall of fame (hof)David Gadling
2010-07-01autoop: Add a 'seed' command that makes sure current ops in a channel will ↵David Gadling
be autoopped. There's also a config item (autoop.seed_format) that lets you control how much, if any of a users hostmask is globbed.
2010-07-01autoop: Add a 'restore' command that will op anybody that would be autooped.David Gadling
This goes through the list of hostmasks that would be opped in the channel, and checks to see if any of them are currently not opped. If they're not, they're opped. Nobody is ever deopped.
2010-06-30Added a sed emulation pluginmelmothX
2010-06-28markov: strip lines before learning themGiuseppe Bilotta
This prevents a dead loop when learning lines starting with whitespace, which could otherwise happen e.g. when learning from a file.
2010-06-23nickserv plugin: more liberal default identified stringGiuseppe Bilotta
2010-05-21translator: fix undefined variableYaohan Chen
Fix an error in commit 027b6965f5abf5d05a95 which causes @lang_list to be undefined but used in BabelFish.
2010-05-21translator: connect to sites only when necessaryYaohan Chen
Previously the translation services in the plugin would connect to their respective websites on initialize. Now they will only do this when the first time they are used. WorldLingo still connects on initialialize in order to list the supported language pairs, but the Mechanize object is not saved here, so the connection should be closed after initialize, and only reopened if translation by WorldLingo is requested later. Previously the services are assumed to fail if they raise any Exception in initialize, and in that case the service is disabled, and its command as well as the help translate [failed] commands state this. Now this exception catch is done for any do_translate method call.
2010-04-16translator: additional help for google translate auto-detect failureRaine Virta
When translate command is used without source language, "auto" as source language is assumed. It means that google translator is used and we let google figure out what the source language is. Problem is that the google translator will fail if the system that the bot is running on does not have the json gem installed. This commit addresses that problem by showing more informative error message instead of a weird "none of the translators supports auto to en translation".
2010-04-16translator: show info about failed translators in helpRaine Virta
2010-04-16reaction: handle :acts in can_add?Raine Virta
2010-04-16translator: decode html entities on google_translateRaine Virta
2010-03-18Small imdb plugin fix. Just changed the imdb url.Matthias -apoc- Hecker
2010-03-16seen: use corret 'where' in 'before' caseGiuseppe Bilotta
For the 'before' part of the reply, make sure we use the where from the correct Saw. Otherwise, for example, a public message preceeding a quit would show a dangling 'in ' at the end of the reply.
2010-03-14seen: Introduce framework for message and channel privacy.Robin H. Johnson
This commit introduces the ability to note that a user was doing something, optionally without disclosing what or where it was. Users themselves do not get the chance to be hidden, because you can ask the /WHOIS service if they logged on at all. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2010-03-14seen: Include the channel where the user's output was.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2010-02-25nickserv: add a missing colonRaine Virta
2010-02-25reaction: fix can_add? method logicRaine Virta
It should now follow this logic: * Allow everyone to create basic replies * Require specific permissions for cmd and ruby reactions
2010-02-25reaction: reverse permission checkRaine Virta
2010-02-13geoip: Add blogama and allow for fallback optionsDavid Gadling
2010-02-10react: restrict command reactions by defaultGiuseppe Bilotta
Anybody can create a dangerous reaction, and then trick the owner into triggering it. Credits to apoc for spotting this.
2010-01-26markov: detect addressing-by-nick in channelVoker57
and filter it in smart way
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