summaryrefslogtreecommitdiff
path: root/lib/rbot
AgeCommit message (Collapse)Author
2015-03-09webservice: fix cleanup typoMatthias H
2015-01-12web service: fix basic auth handlerMatthias H
2015-01-12web service: response helper methodsMatthias H
2015-01-12web service: alias web module mixinsMatthias H
2015-01-12messagemapper: refactor options are really the paramsMatthias H
2015-01-12web service: parse uri params; small improvementsMatthias H
2015-01-11web service: better integration in rbotMatthias H
this commit integrates better in the existing message dispatching / authentication system of rbot.
2015-01-11agent: remove proxy opt-out for pluginsMatthias H
2014-12-02[url] fixes encoding error in encoding detection code, maybe closes #2M. Hecker
2014-09-03Merge branch 'fork' of github.com:4poc/rbot into forkM. Hecker
2014-09-03[webservice] expose webservice to pluginsM. Hecker
2014-07-18add a first basic colorformat string functionMatthias H
2014-07-17[agent] add options for ssl and proxyMatthias H
2014-05-03[registry] fix subregistry re-use (closes #1)M. Hecker
2014-04-29[webservice] add /ping test routeM. Hecker
2014-03-27[httputil] fix unknown fallback encodingMatthias H
2014-03-06[registry] improved tests, sqlite/tc bugfixesMatthias H
2014-03-06[registry] small refactoring and added flush testMatthias H
2014-03-06[registry] added sqlite3 database adapterMatthias H
2014-03-06[config] adds a new param store_defaultMatthias H
Creates a new option to store the default at first run. This fixes the problem that random auth passwords are not kept, it also allows us to always store the core.db config value.
2014-03-05[registry] migrate tc directory name to registry_tcMatthias Hecker
2014-03-05[ssl] fix for missing ca pathMatthias Hecker
2014-03-05[registry] use tc by-default if availableMatthias Hecker
2014-02-28[httputil] fix to ignore recoding errorsMatthias H
2014-02-24[webservice] log requests to seperate file in profileMatthias H
2014-02-24[webservice] response as json if asked toMatthias H
2014-02-24[registry] optimize at every restart/rescanMatthias H
2014-02-24[registry] refactoring into a abstract and factoryMatthias H
* a new abstract class AbstractAccessor is the new base for all concrete database implementations. * a factory now, dynamically discovers those implementations in the registry/ directory and will create the configured type for the plugins. * again: this makes db keys case-sensitive (aka 'the correct way of doing things' -.-) * re-added tokyocabinet
2014-02-24[agent] wip core mechanize agent pluginMatthias H
2014-02-21[webservice] dispatch command in post aswellMatthias H
2014-02-21[unicode] fix to ignore invalid-unicodeMatthias H
2014-02-21[remote] removed due to security concernsMatthias H
2014-02-21[webservice] control bot through http interfaceMatthias H
2014-02-21[auth] randomized default passwordMatthias H
2014-02-20[remote] server imho shouldnt be listen by defaultMatthias H
2014-02-20[core] unicode plugin that sets server encodingMatthias H
2014-02-20[registry] daybreak engine small fixMatthias H
2014-02-19[registry] registry folder with suffix, added daybreak engineMatthias H
2014-02-18log fatal/error messages to stderr, but check if daemonized first!Matthias H
2014-02-18remove old/compat code no longer supportedMatthias H
2014-02-18[registry] removed temp loggingMatthias H
2014-02-18removes bdb&tc registry; adds dbm registryMatthias H
This removes the existing registries, ruby-bdb (Berkeley DB) and tokyocabinet, instead it creates a new registry based on ruby DBM. Ruby-bdb has long since been abandoned in favor for rubys DBM and tokyocabinet also has been ceased development since 2011 (for kyotocabinet).
2013-12-06workaround for broken pretty_inspectMatthias H
2013-12-06httputil: fixes encoding issues with 1.9+Matthias Hecker
(incompatible with 1.8)
2013-12-04Revert "always print FATAL and ERROR logmessages to STDERR"Matthias Hecker
This reverts commit c4d629ad86aae3b8bb4669650df57875252bea92.
2013-12-04gettext: change depricated and removed setlocaleMatthias Hecker
2013-11-15plugins: improve error handling on loadGiuseppe Bilotta
Support OAuth2::Error braindead extension to StandardError and wrap loading in an outer rescue to catch problems with the error handling.
2013-11-14always print FATAL and ERROR logmessages to STDERRMatthias Hecker
This adds a print to $stderr for log messages with the level ERROR or FATAL. I did this because in the past errors connecting to the server weren't immediately obvious but rather hidden in the logfile. I think it should be right in-your-face when the connection doesn't work. It would probaply be better to extend Logger to print to STDERR but this apparently requires monkeypatching ruby's Logger. Anyhow I think my solution works for now.
2013-11-14allow to verify ssl connections against a CA.Matthias H
This adds three new configuration variables to configure SSL verification against a CA. server.ssl_verify: true if it should verify and disconnect if it fails server.ssl_ca_file: a CA file, is set to the systems CA bundle by default (distri. dependent) server.ssl_ca_path: alternativly path to a directory with CA PEM files I tested it and this seems no longer an issue with >= 1.9.3 https://www.braintreepayments.com/braintrust/sslsocket-verify_mode-doesnt-verify
2013-11-02ruby 2.0.0: better fix for the ThreadErrorMatthias H
I revisited my fix for the ThreadError in ruby 2.0.0 this doesn't use a queue for signals but just starts a thread for each received signal, works much better for me. It also fixes a bug in Bot#reconnect where the SystemExit exception coming from quit is not handled correctly.