summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2009-03-15rss: refactor item date generationGiuseppe Bilotta
2009-03-15rss: configurable announce methodGiuseppe Bilotta
Since the RSS update announcements do not expect any form of reply, they could be considered the typical IRC message that should use NOTICE rather than PRIVMSG. However, for backwards compatibility and since NOTICEs are not always appreciated (and since their handling from clients is not always optimal, either), we still allow rss announces to use the traditional method, and that is in fact selected as default. Explicit rss show request always go with PRIVMSG.
2009-03-15rss: clean up options parsing in printFormattedRssGiuseppe Bilotta
2009-03-13rss: refactor rss types loadingGiuseppe Bilotta
Make use of the new custom filter loading procedure to move most of the type definitions into its own file (data/rbot/filters/rss.rb) and only define some essential ones in the plugin itself. As an added benefit, user types can be loaded from filters/rss.rb and rss/types.rb in the botclass directory.
2009-03-13filters: BotModule user filter loadingGiuseppe Bilotta
2009-03-11rss: more detailed forum typeGiuseppe Bilotta
2009-03-10update finnish translation for lastfmRaine Virta
2009-03-10lastfm: allow bolding in translations in nowplayingRaine Virta
2009-03-10fix finnish translation for lastfmRaine Virta
2009-03-10lastfm: fix a bug of uri not showing in loved/neighbors/friendsRaine Virta
2009-03-10url: allow ignoring urls from specific usersRaine Virta
2009-03-10update finnish translation for lastfmRaine Virta
2009-03-09reaction: spoken reactions should use plainreply, not replyGiuseppe Bilotta
2009-03-09reaction: fix trigger regex to work with non-alphanumeric start/end.Spencer Rinehart
only match on word boundaries at an end of a trigger if the character at that end of the trigger is a word character. In other words, the trigger "test" should require word boundaries on each side, but the trigger "@test" should only require one on the right side.
2009-03-09youtube: fix video page detection in htmlfilterGiuseppe Bilotta
2009-03-08keywords plugin: document some more features in helpGiuseppe Bilotta
2009-03-07messagemapper: fix regexp creation for double-optional templatesGiuseppe 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-03-07hangman: space scoresGiuseppe Bilotta
2009-03-07lastfm: clean up sort order events search mappingsGiuseppe Bilotta
Put some requirements for the sort_order specification, to prevent lastfm events at alan lomax to map lomax as a sort order. Also make the 'in' and 'order' words optional within the optional sord order block, rather than aside, to prevent them from being ignored in venue names.
2009-03-07lastfm: refactor map options for events searchGiuseppe Bilotta
2009-03-07lastfm: handle network errors when looking for events by venueGiuseppe Bilotta
2009-03-07lastfm: handle no events when searching by venueGiuseppe Bilotta
2009-03-07lastfm: handle venue not foundGiuseppe Bilotta
2009-03-06load rubygems if availableGiuseppe Bilotta
Try loading rubygems as soon as we're set up, since it can be needed for gettext and a number of other things. This also allows us to get rid of some stupid convoluted tricks in utils.
2009-03-06irc: monkeypatch Singleton to make _load and _dump public.Spencer Rinehart
This is to fix a possible bug in newer versions of ruby where _load was declared private in singletons. This would lead to errors where Marshal could not restore the Singleton. This "bug" was introduced to ruby in revisions 16659 and 17396.
2009-03-05lastfm: allow both 'sort by' and 'sorted by'Giuseppe Bilotta