summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-25plugin(imdb): fix title regex, closes #44Matthias Hecker
2020-04-24refactor: remove global bot instance, closes #42Matthias Hecker
2020-04-24plugin(keywords): remove export to file, see #42Matthias Hecker
2020-04-23plugin(factoids): use registry for storage see #42Matthias Hecker
2020-04-22ensures the path reported by gems does existsMatthias Hecker
2020-04-20plugin(quotes): use registry for storage see #42Matthias Hecker
2020-04-20plugin(alias): use registry for storage see #42Matthias Hecker
2020-04-17plugin(lart): fix not save before loadMatthias Hecker
2020-04-17plugin(salut): use registry for storage see #42Matthias Hecker
2020-04-16plugin(lart): refactor to use registry to persistMatthias Hecker
see #42
2020-04-16core: sets plugin_path to loaded pluginsMatthias Hecker
While loading a plugin in the manager using #load_botmodule_file this will remember the directory of the file that is being loaded in @next_plugin_path. In the plugin/BotModule initialization we set the path in plugin_path of the plugin. This was the only solution I could find to get this information in the plugin. It is useful because this allows the plugin to know in which directory it is located, it can then easily access data files stored alongside the plugin. Some built-in plugins (see #42) use the data/rbot/templates to copy data files on bot load (see #repopulate_botclass_directory) into the profile directory (~/.rbot/).
2020-04-15refactor: wordlist shouldn't use bot singleton #35Matthias Hecker
also related to #41 and #6
2020-04-15refactor: remove unused userdata moduleMatthias Hecker
I never saw a plugin use this feature besides wof, IRC user objects should not hold persistent data like this, I rather have the IRC interface clean. The general idea is a good though, especially easier per-channel, per-user data persistence.
2020-04-15plugin(wheelfortune): remove botdata dependencyMatthias Hecker
2020-04-14plugin(translator): removed google translateMatthias Hecker
yandex still works surprisingly enough
2020-04-14fix nick renaming during connectionMatthias Hecker
2020-04-14refactor: httputil no longer core module see #38Matthias Hecker
This is intended to make testing/mocking of the http client easier.
2020-04-14httputil: remove obsolete version_1_2 declarationMatthias Hecker
2020-04-14remove obsolete require of net/httpsMatthias Hecker
2020-04-14readme: added build status imageMatthias Hecker
2020-04-13plugin(oxford): fix empty service result see #37Matthias Hecker
2020-04-13plugin(points): forgot one special case, see #34Matthias Hecker
Tokens that include itself ++/-- are now ignored as well.
2020-04-13plugin(points): new message parser, see #34Matthias Hecker
2020-04-13message: add #thanks method, similar to okayMatthias Hecker
2020-04-13plugin(oxford): fix result handling, closes #37Matthias Hecker
2020-04-12plugin(points): disregard self after stripping color codesMatthias Hecker
2020-04-11plugin(points): strip/ignore some terms closes #34Matthias Hecker
- strip color/bold codes in terms - ignore terms with ++/-- in them
2020-04-10plugin(hangman): fixes word generator closes #9Matthias Hecker
This now uses wordgenerator.net
2020-04-09plugin(oxford): moved to lexico.com, closes #13Matthias Hecker
2020-04-08fix: in-memory registry persist correctlyMatthias Hecker
2020-04-07plugin(note): test cases added, closes #24Matthias Hecker
2020-04-06plugin(points): +/- must come after, closes #34Matthias Hecker
This modifies the karma/points plugin to ignore increment/ decrement suffixes. `--SOMETHING` is more trouble than its worth, people will write --NAME as a signature, or paste a command line argument, e.g. `ls --sort time` which causes issues. I also added tests for the points plugin, the plan is to make the plugin testing easier more "rubionic"
2020-04-06tests: mocked bot and messages added, added points testsMatthias Hecker
2020-04-06registry: add in-memory implementation for testsMatthias Hecker
2020-04-06fix: gettext updated each_textdomain > each_text_domainsMatthias Hecker
2020-04-03plugin(search): fix wolfram and gdef, removed someMatthias Hecker
this removes gcount and gtime from the search plugin, google no longer provides this information easily
2020-04-02plugin(search): fix search and gcalc, closes #28, #29Matthias Hecker
2020-04-01plugin(rot13): test assert addedMatthias Hecker
2020-03-31test: rot13 simplifiedMatthias Hecker
2020-03-31refactor: logger moved away from ircbot (exp.)Matthias Hecker
This moves the logger management thread/queue to a seperate singleton. It removes the explicit stopping/restarting of the logging thread since the thread should behave like a daemon thread anyway. Still needs to be tested to work in daemonize.
2020-03-31added simple dockerfileMatthias Hecker
2020-03-31test: fix shadowed test methodMatthias Hecker
2020-03-31test: add gettext/unittest to gemfileMatthias Hecker
2020-03-30test: change db adapter to dbmMatthias Hecker
2020-03-30test: first plugin test added for rot13Matthias Hecker
2020-03-29test: optional registry adapter testsMatthias Hecker
2020-03-29ci: fix rake invocation in scriptMatthias Hecker
2020-03-29fix: plugins delegate disregarding all options givenMatthias Hecker
2020-03-29test: small changes and fixes to existing testsMatthias Hecker
2020-03-29ci: add rake test command to scriptMatthias Hecker