Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-15 | Renames the 'karma' plugin to a 'points' system | Eric Sorenson | |
Prior to this commit, rbot used a "karma" system for keeping track of user points. This phrasing, while widespread, is unnecessarily appropriationist. This commit renames the plugin to a more neutral "points" system, accomplishing exactly the same goal without using culturally problematic language. For more background please read: http://bit.ly/1MfLmce | |||
2015-01-12 | messagemapper: refactor options are really the params | Matthias H | |
2014-02-21 | [webservice] control bot through http interface | Matthias H | |
2011-06-09 | Mark threaded mapped messages as replied | Giuseppe Bilotta | |
This prevents them from being delegated to unreplied() before the processing thread has the chance to mark it replied. The solution would fail for threaded messages whose processing would not reply, but I'm not aware of such a method currently exists. A future design of the message delegation and mapping could thread the actual delegation instead, and this problem would be solved. | |||
2009-08-26 | ruby 1.9: fix Integer(nil) | franz | |
in 1.9, Integer(nil) raises TypeError, so we change "%d" to "%s" | |||
2009-08-12 | Better handling of MessageMapper failures | Giuseppe Bilotta | |
The plugin fallback method is now passed the list of failures. Failures themselves are encapsulated in their own data type, making it easier to handle failures that should inform the user with something more detailed than the classic 'usage' pattern. It's still up to the fallback method to make use (e.g. echo) the relevant messages. | |||
2009-03-25 | messagemapper: include defaults in options | Giuseppe Bilotta | |
This change allows the use of :defaults in maps to define values for parameters which are not actually present in the map itself. We also move the initialization further down, to skip it in case of early returns. | |||
2009-03-07 | messagemapper: fix regexp creation for double-optional templates | Giuseppe Bilotta | |
When a mapping template had a double optional key such as 'something [[double] optional]' the resuting regexp moved the spacing between the (converted) double brackets, requiring extra spacing before the 'optional' keyword. Fix by moving spacing inside all consecutive brackets before converting brackets into their regexp form. | |||
2009-02-19 | remove whitespace | Raine Virta | |
2008-06-24 | allow multi-line (artificial) messages be delegated and handled | Yaohan Chen | |
2008-05-28 | changed m.thread to m.in_thread, with different semantics | Yaohan Chen | |
m.in_thread indicates that the caller of delegate is in thread (and is handled by not creating another thread for m's mapped action) | |||
2008-05-27 | use m.thread.nil? rather than longer m.thread == nil | Yaohan Chen | |
2008-05-27 | add attribute BasicUserMessage#thread | Yaohan Chen | |
this specifies whether the message handler is to be threaded, and overrides the map option if non-nil. | |||
2008-05-01 | messagemapper: Regexp#mm_cleanup method instead of repeated (and wrong) ↵ | Giuseppe Bilotta | |
progressive cleanup | |||
2008-05-01 | messagemapper.rb: keep options when removing captures in regexps | Giuseppe Bilotta | |
2008-03-12 | * (messagemapper) catch and report all exceptions in threaded actions | dmitry kim | |
2007-12-13 | messagemapper: fix set_auth_path() logic | Giuseppe Bilotta | |
2007-09-12 | namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::* | Giuseppe Bilotta | |
2007-09-12 | rdocument Irc::MessageMapper and Irc::MessageTemplate | Giuseppe Bilotta | |
2007-09-11 | + (plugins) :thread option for plugin.map makes an action automatically threaded | Dmitry Kim | |
* (plugins/*) converted to the new threading model | |||
2007-04-11 | use pretty printing with Logger (debug, info, warning and error messages) | Giuseppe Bilotta | |
2007-02-14 | Make message map regexps less aggressive | Giuseppe Bilotta | |
2007-02-11 | MessageMapper: documentation cleanup, and Template enhancements (they now ↵ | Giuseppe Bilotta | |
remeber which botmodule they were registered for) | |||
2007-02-11 | Minor messagemapper optimizations | Giuseppe Bilotta | |
2007-02-08 | Message mapper: we are ony interested in matching messages that fully agree ↵ | Giuseppe Bilotta | |
with the template | |||
2007-02-04 | Tuning of messagemapper debug output | Giuseppe Bilotta | |
2007-02-02 | Enhance the :requirements functionality in #map() to allow regexps with ↵ | Giuseppe Bilotta | |
capturing groups: the first non-nil capture will be passed on as the corresponding parameter value, instead of the whole matched expression. See ChangeLog and documented source for details. | |||
2007-02-02 | Plugin map requirements are now checked at regular expression time, not later on | Giuseppe Bilotta | |
2007-02-02 | In the new message mapper code, fail unconditionally when an entry doesn't ↵ | Giuseppe Bilotta | |
match its requirements. This is sub-optimal: the requirements should be included in the generated regular expression. | |||
2006-08-31 | messagemapper fix ... watch what you name your variables! | Giuseppe Bilotta | |
2006-08-31 | Improve debugging output in messagemapper | Giuseppe Bilotta | |
2006-08-31 | Fix messagemapper for optional arguments | Giuseppe Bilotta | |
2006-08-25 | Fix stupid bug in the new message mapping | Giuseppe Bilotta | |
2006-08-25 | New implementation for the message mapper: multi-word parameters can now be ↵ | Giuseppe Bilotta | |
retrieved as substrings with preserved whitespace (use to_s), and parts of the message match can be made optional [by bracketing them] | |||
2006-08-06 | Forgot the kernel fixes for previous commit | Giuseppe Bilotta | |
2006-08-03 | Lots of fixes all around, in preparation for the new auth coremodule | Giuseppe Bilotta | |
2006-08-02 | Fix message handling, comment out some debug messages | Giuseppe Bilotta | |
2006-08-02 | Auth now follows the specs defined in NewAuthModule even though there is no ↵ | Giuseppe Bilotta | |
actual auth coremodule. config.rb needs to be split into a class definition file and a coremodule that manages it | |||
2006-07-26 | Whitespace cleanup | Giuseppe Bilotta | |
2006-07-25 | When verifying uniqueness of plugin map parameters names, check for :param ↵ | Giuseppe Bilotta | |
vs *param too | |||
2006-07-24 | Implement map! properly this time | Giuseppe Bilotta | |
2005-08-12 | some tweaks | Tom Gilbert | |
2005-08-03 | Thu Aug 04 00:11:52 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Tweaked the debug() stuff a bit. Need to do this more cleanly really * Added a fair bit of documentation for some of the new features | |||
2005-08-02 | * Fixed the new http.proxy* settings, they work! | Tom Gilbert | |
* Fixed a bug with auth-checking for the config module * misc tweaks | |||
2005-07-31 | Sun Jul 31 02:20:08 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Updated docgen to generate rdoc again with the new repo structure * added new restart command to the core bot, quits irc and reexecs the bot, to pick up new code/libraries etc. | |||
2005-07-29 | Fri Jul 29 13:07:56 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Moved some stuff out of util.rb into the plugins that actually need them. Those methods didn't belong in util as they were plugin-specific. * moved a few more plugins to use map() where appropriate * made the url plugin only store unique urls | |||
2005-07-27 | move rbot into lib - still rearranging for packaging/installation | Tom Gilbert | |