summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-09-03[webservice] expose webservice to pluginsM. Hecker
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.
2013-11-02ruby 2.0.0: changes sigtrapping, fixes ThreadErrorMatthias H
Ruby 2.0.0 crashes with "ThreadError: can't be called from trap context" anytime a signal is received, because it tries to write a debug message within the "trap context". This changes signal handling so that signals are queued and processed in the main loop. More information: https://www.ruby-forum.com/topic/4411227
2013-11-02ruby 2.0.0: fix for changed @waiters in compat19Matthias H
I don't really know what this is all about, but this fixes a bug with the compat19 monkeypatching. @waiters is now a Hash. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=38109&view=revision
2013-11-02Solve Socket vs URI IPv6 handling in RubyGiuseppe Bilotta
2013-11-02ruby 1.9+: specify file encodingsGiuseppe Bilotta
2013-04-25utils: fixed secs_to_string output for one-element arraysJay Thomas
2013-04-25extends: updated shuffle methodJay Thomas
2012-09-27bdb: message when wrong bdb module is loadedGiuseppe Bilotta
2012-08-31bdb: restore errors should be logged as errorsGiuseppe Bilotta
2012-07-14Update gettext supportGiuseppe Bilotta
Somewhere along the line between 2.0.0 and 2.2.1 gettext switched from locale to lang for the hash key name. Support both.
2012-05-14utils: support hex HTML entitiesGiuseppe Bilotta
2012-04-30db adaptors: nil internal variable when closingGiuseppe Bilotta
This prevents subsequent spurious flushes from bombing out because of closed databases.
2012-03-04RubyGems obsoleted *and* b0rked all_load_path, try to work around itGiuseppe Bilotta