summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-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-13message: add #thanks method, similar to okayMatthias Hecker
2020-04-08fix: in-memory registry persist correctlyMatthias 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-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-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-29fix: plugins delegate disregarding all options givenMatthias Hecker
2020-03-28always log to stdout with debug flagMatthias Hecker
This makes it so the -d debug flag on the rbot command line will always log to STDOUT, previously it would just force the log level.
2020-03-27gem: support for newest ruby versionsMatthias Hecker
2020-03-27Merge pull request #4 from ahpook/rename_karmaMatthias Hecker
Rename and improve karma plugin
2016-03-25fixes registry for 2.3.0, bug caused by wrong #get_implMatthias Hecker
previously getimpl returned eigenclasses aswell which always was an issue but i guess a minor change in ruby triggered this.
2015-12-15Renames the 'karma' plugin to a 'points' systemEric 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-07-04webservice: add erb template render methodsMatthias Hecker
2015-07-04journal: introduce ensure_payload_indexMatthias Hecker
2015-07-04journal: wrap postgres client in single threadMatthias Hecker
2015-06-24journal: move journal accessor in coremoduleMatthias Hecker
2015-06-21journal: simplified irc loggingMatthias Hecker
2015-06-21journal: irc logging moduleMatthias Hecker
2015-06-20journal: allow hash/proc for query in count and removeMatthias Hecker
2015-06-20journal: start with core botmodule, api changesMatthias Hecker
2015-06-15journal: add mongodb storage backendMatthias Hecker
2015-06-15journal: cleanupMatthias Hecker
2015-06-14journal, integrated in botMatthias Hecker
2015-06-14journal: even more testsMatthias Hecker
2015-06-14journal: more postgres testsMatthias Hecker
2015-06-14journal: finishing postgres adapterMatthias Hecker
2015-06-14journal: started implementing postgres storageMatthias Hecker
2015-06-14journal: unsubscribe addedMatthias Hecker
2015-06-14introducing a persistent message queue, the "journal"Matthias Hecker
2015-06-13plugins, improved how we lookup plugins filenameMatthias Hecker
2015-06-13introduce reload alias for rescanMatthias Hecker
2015-06-13logging, irc fix loglevel i messed upMatthias Hecker
2015-06-13logging improved in ircMatthias Hecker
2015-06-13logging, print >=warning to stderrMatthias Hecker
2015-06-13logging: proper stderr logger for error/fatalMatthias Hecker
2015-03-11plugins fix missing save for 1.9Matthias H
2015-03-11plugins: allow rescanning of one botmodule onlyMatthias H
2015-03-09updated copyright notice and authorsMatthias H
2015-03-09ruby 2.2: fix a obscure regexp escaping bugMatthias H
2015-03-09webservice: fix cleanup typoMatthias H
2015-01-12web service: fix basic auth handlerMatthias H