summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-30extends: bring conjoin to EnumerableGiuseppe Bilotta
Put #conjoin() in the Enumerable module, so that it can be shared by all enumerables (e.g. ranges). Since #size() is not necessarily present, its use is replaced by #count(), the result of which is cached because it can be slow on objects missing #size().
2009-06-29core/utils/extends.rb: add #conjoin for ArrayAdam James
2009-06-16lib/rbot/plugins.rb: remove executable bitAdam James
2009-06-12search: Google changed their WAP addressGiuseppe Bilotta
2009-06-06* (gettext) relaxed check for bound_target() existancedmitry kim
2009-06-06* (plugins) note: misc cleanupsdmitry kim
2009-06-06+ (plugins) notedmitry kim
2009-06-02rss plugin: categories fixGiuseppe Bilotta
Don't break when the feed doesn't define categories.
2009-05-24seen plugin: check if there's a previous action before using itGiuseppe Bilotta
If the registry data is not an Array, there will be no 'before' information stored, so just use the normal output.
2009-05-22factoids: fix error message when no fact is foundGiuseppe Bilotta
When the search is called as 'facts search' the 'words' parameter is not defined, so customize the message depending on wether we have that or 'rx'.
2009-05-21multiple plugins: Changes to remove parenthesize warnings.David Gadling
All of these modules/plugins were generating warnings like this: warning: parenthesize argument(s) for future version This patch should fix all the warnings without affecting functionality.
2009-05-20search: gtime instead of timeGiuseppe Bilotta
The time command is already defined by the corresponding plugin, so use gtime (like gdef and gcalc) for the Google clock.
2009-05-20search: Added a time command that gets the time from Google. !time londonDavid Gadling
2009-05-19quiz: Make maximum number of jokers configurable.David Gadling
2009-05-19youtube: fixes for older XML parsersDavid Gadling
REXML in (at least) Ruby 1.8.6 doesn't support the @attr xpath to get an attribute value. Use the slightly more verbose way of doing it.
2009-05-16rss plugin: categoriesGiuseppe Bilotta
Some feeds have more than one category. Make all of them available in the :categories stream key.
2009-05-16quiz plugin: simplify local file loadingGiuseppe Bilotta
2009-05-06ircbot: reinstante @bot.channelsGiuseppe Bilotta
When the new IRC framework was introduced, the old @channels Hash and its accessor for @bot were dismissed. Reintroduce it for backwards compatibility.
2009-04-30translator: fix sentences not working with omitted language parametersRaine Virta
2009-04-30translator: replace underscores with spaces when showing the translatorRaine Virta
Because "provided by google_translate" is ugly.
2009-04-30remove fish.rb and map translate in translator.rbRaine Virta
Translator plugin supports babelfish, and getting rid of this plugin allows us to use ´translate´ command for better purposes.
2009-04-30translator: make source language optionalRaine Virta
In which case we use Google translate's source language auto-detection feature.
2009-04-30translator: make destination language optionalRaine Virta
2009-04-29greet pluginRaine Virta
2009-04-20gettext: support version 2Giuseppe Bilotta
GetText version 2 has some significant difference from earlier version. * different syntax to set the default locale path * different syntax to set non-cached mode * different way to handle bound targets Most of the changes are relative to significant functionality split between the GetText submodules (LocalePath, TextDomain etc), so most of the changes are just a matter of moving the defines where appropriate. The bound_targets patch needed to cope with anonymous modules is not needed with gettext >= 2.0.0
2009-04-20rss: minor comment fixGiuseppe Bilotta
2009-04-11figlet: use Utils.try_exec instead of !!$?Giuseppe Bilotta
The !!$? method fails because !!$? is true unless $? is nil, whereas we want to test for a successful exit.
2009-04-11utils: Utils.try_execGiuseppe Bilotta
An auxiliary method to test-run external programs and see if they run without problem
2009-04-11utils: fix safe_exec failuresGiuseppe Bilotta
safe_exec should be less verbose when reporting problems, since the output might end up on IRC, and it should return a non-zero error code when failing, so that $? get set correctly.
2009-04-11man pagesGiuseppe Bilotta
Courtesy of Debian maintainer Marc Dequènes (Duck) <duck@duckcorp.org>
2009-04-11karma: prevent users from changing own karmaGiuseppe Bilotta
2009-04-08quotes: listquotes commandGiuseppe Bilotta
2009-04-07* typo in italian lartGiuseppe Bilotta
2009-04-07reaction: document 'reaction move' syntaxGiuseppe Bilotta
2009-04-04hone the finnish translation for seen plugin a bitRaine Virta
2009-04-02imdb: fix for missing directorGiuseppe Bilotta
Director information was missing because IMDB had changed its 'info' div box to include an id. Cope with it.
2009-03-25messagemapper: include defaults in optionsGiuseppe 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-24factoids: fix 'facts search'Giuseppe Bilotta
2009-03-22Separate gemspec from RakefileGiuseppe Bilotta
The benefit of this separation is that hosting services such as GitHub will automatically build a gem every time the version in the spec is changed. The underside of this separation is that hosting services such as GitHub will automatically build a gem every time the version is changed. To allow the automatic gem generation to trigger on the release of 0.9.15, we demoted the version in the spec to 0.9.14. This gimmick is needed because the gem spec doesn't allow non-numeric versions. Since the gemspec is now standalone, it uses Dir instead of FileList, which is equivalent for our use case. Moreover, the Rakefile only defines the gem tasks if the spec is present.
2009-03-20search: fix gcalc regexp againGiuseppe Bilotta
2009-03-20BIG PO file updateGiuseppe Bilotta
2009-03-20seen: keep nick in ACTION messageGiuseppe Bilotta
2009-03-20finnish translation for seen pluginRaine Virta
2009-03-20seen: change format of ACTIONsRaine Virta
2009-03-20seen: use gettextRaine Virta
2009-03-16Rakefile: package launch_here.rb tooGiuseppe Bilotta
And clean up some Rakefile crud while we're at it
2009-03-16rss: whitespace fix for handle_wrapGiuseppe Bilotta
2009-03-15url: load filters, defaulting to the htmlinfo filter groupGiuseppe Bilotta
2009-03-15rss: allow easier customization of output formatsGiuseppe Bilotta
Rather than hard-coding the handle, date and title formatting, make it customizable via appropriate *_wrap keys.
2009-03-15extends: String#wrap_nonemptyGiuseppe Bilotta
We sometimes want to wrap a nonempty String with a given prefix and postfix. This method makes it a breeze.