Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-26 | markov: add config option for delay in learning thread | Raine Virta | |
2009-02-26 | markov: organize help | Raine Virta | |
2009-02-26 | markov: add command for learning from files | Raine Virta | |
2009-02-26 | search: add command 'lucky' | Raine Virta | |
Sometimes you just wish to google the first hit and have a clutter free output showing only the url. | |||
2009-02-26 | seen: add part message if any | Raine Virta | |
2009-02-26 | seen: add double quotes around user written messages | Raine Virta | |
2009-02-26 | seen: show what user said or did before leaving | Raine Virta | |
2009-02-26 | seen: cyclically store two of the users' latest actions in the registry | Raine Virta | |
2009-02-26 | markov: enable gettext for more replies | Raine Virta | |
2009-02-25 | uno: Mark all uno commands replied. | Spencer Rinehart | |
2009-02-25 | markov: Only work with unreplied messages. | Spencer Rinehart | |
2009-02-25 | lastfm: catch all errors when connecting | Giuseppe Bilotta | |
Since httputil.get_response() can raise exceptions, catch them into an appropriate block. Turn a missing response body into a runtime error to handle this error conditions consistently with other exceptions. | |||
2009-02-23 | seen: If nick doesn't match exactly, fallback to a regexp search (#19). | Spencer Rinehart | |
2009-02-23 | url: Only reply with disabled host message when url info directly requested. | Spencer Rinehart | |
2009-02-22 | markov: try harder when generating strings | Giuseppe Bilotta | |
generate_strings() is now able to work with a single word. Additionally, when the given lookup is not found in the database, it will try lookups that start, and failing that include, the given one. | |||
2009-02-22 | markov: learn vs learn_line | Giuseppe Bilotta | |
Make learn a higher-level function that queues one or more lines, and make learn_line the low-level database access method. | |||
2009-02-22 | registry: expose set and bulk parameters | Giuseppe Bilotta | |
expose set and bulk parameters in the each*() iterators. Some plugins might need it for faster lookup. | |||
2009-02-22 | registry: spare useless I/O | Giuseppe Bilotta | |
The each_key()/each_value() methods of the accessor relied on the each() method of the database, wasting I/O bandwidth and time by loading unnecessary data (particularly when running each_key() on databases with ridiculously enormous values such as in the markov plugin case). | |||
2009-02-19 | remove whitespace | Raine Virta | |
2009-02-19 | lastfm: require num parameter for lastfm action to be an integer | Raine Virta | |
2009-02-19 | lastfm: make "tracks" optional in mappings for lovedtracks and recenttracks | Raine Virta | |
2009-02-19 | lastfm: fix misplaced parenthesis in output | Raine Virta | |
2009-02-19 | lastfm: update help | Raine Virta | |
2009-02-19 | googlefight plugin | Raine Virta | |
2009-02-17 | translator: fix BabelfishTranslator | Raine Virta | |
2009-02-17 | translator: fix NiftyTranslator | Raine Virta | |
2009-02-17 | translator: use *_with(:attribute => value) syntax to find elements | Raine Virta | |
The way objects are currently searched inside Mechanize objects is deprecated in WWW::Mechanize version 0.9.0, so we switch to the preferred syntax. | |||
2009-02-17 | translator: update GoogleTranslator for changes in their web interface | Raine Virta | |
2009-02-17 | last.fm plugin: list top tags and similar artists in artist info | Raine Virta | |
2009-02-17 | ircbot: fix nil error variable on ServerError | Giuseppe Bilotta | |
We were making use of an undefined variable e when catching ServerError in the main loop. | |||
2009-02-16 | factoids: pass proper parameter from unreplied() | Giuseppe Bilotta | |
When passing on the Array of split words from unreplied() to facts() make sure that the passed argument behaves like an Array/String from the MessageMapper. | |||
2009-02-16 | lastfm: put URL in artist summary | Giuseppe Bilotta | |
2009-02-16 | lastfm: say something when user top/weekly chart is empty | Giuseppe Bilotta | |
2009-02-16 | lastfm: limits to user data output | Giuseppe Bilotta | |
Define configuration keys for maximum and default number of user data items output, with a separate value for shouts (which are usually much more verbose and therefore would have a much lower maximum and default). Each command also allow the specification of the number of entries actually output (different than the default, clipped at the configured maximum. This way user data has the same rate limiting as events. Internally, the switches for the user data are also made more uniform to select, where it makes sense, different sentences depending on how many entries are being displayed (none, all, some). | |||
2009-02-16 | last.fm plugin: rewrote the user-related info retrieval action to API 2.0 | Raine Virta | |
2009-02-16 | last.fm plugin: removed year from event dates | Raine Virta | |
2009-02-16 | last.fm plugin: list common artists in taste comparison | Raine Virta | |
2009-02-15 | dictclient: put the Ruby/DICT URL in the LoadError message | Giuseppe Bilotta | |
This should help people find the right package. | |||
2009-02-15 | lastfm plugin: show something when no events are found | Giuseppe Bilotta | |
2009-02-15 | + @bot.path and datafile methods | Giuseppe Bilotta | |
We provide two methods that make it more simple and elegant for botmodules to define paths relative to the bot's own directory (botclass) and to the BotModule's (assumed) non-registry directory. The first method is Irc::Bot#path(), which joins its arguments with the botclass. This method can be used to access datafiles in the bot directory with a much cleaner syntax; and since it uses File.join, the resulting paths are also properly formatted on each platform, which doesn't hurt. Each BotModule now also carries a dirname() method that should return the directory under botclass that holds the BotModule's datafiles. dirname() defaults to the BotModule's name(), but it can be overridden, e.g. for backwards compatibility (see the patch for the quotes plugin), or for BotModules that share their datafiles. Datafiles can be accessed using the BotModule#datafile() method that joins the botclass, the dirname() and whatever other argument is passed. | |||
2009-02-15 | ircbot: refactor and clean up botclass dir handling | Giuseppe Bilotta | |
Use File.join across the board, and refactor some botclass directory handling. Most important changes: * failure to create the registry and safe_save directory is now fatal; * failure to create the local plugin directory prevents it from being added to the plugin path (with a warning); * botclass directory update from templates is now a standalone routine called during init, making it possible to use it in other cases too. | |||
2009-02-14 | lastfm: move now playing maps to the bottom | Giuseppe Bilotta | |
This ensures that 'lastfm who' triggers the correct map. | |||
2009-02-14 | last.fm plugin: removed redundant mappings | Raine Virta | |
2009-02-14 | last.fm plugin: enabled gettext on some replies, also small changes here and ↵ | Raine Virta | |
there to make replies consistent with rbot's usual style | |||
2009-02-14 | last.fm plugin: first argument of taste comparison now optional | Raine Virta | |
2009-02-14 | last.fm plugin: simplified last.fm username resolution so that possible user ↵ | Raine Virta | |
aliases in @registry are favored over literal last.fm users | |||
2009-02-14 | last.fm plugin: fixed taste comparison xml parsing failing in case of ↵ | Raine Virta | |
nonexistent user(s) | |||
2009-02-12 | markov: localize strings | Giuseppe Bilotta | |
2009-02-12 | markov: show queue size only when not empty | Giuseppe Bilotta | |
2009-02-12 | markov plugin: add the size of the learning queue to the status message. | Spencer Rinehart | |