]>
git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
Matthias Hecker [Wed, 5 Mar 2014 13:05:03 +0000 (14:05 +0100)]
[registry] migrate tc directory name to registry_tc
Matthias Hecker [Wed, 5 Mar 2014 12:11:27 +0000 (13:11 +0100)]
add a gemfile
Matthias Hecker [Wed, 5 Mar 2014 12:10:22 +0000 (13:10 +0100)]
[ssl] fix for missing ca path
Matthias Hecker [Wed, 5 Mar 2014 12:04:47 +0000 (13:04 +0100)]
[registry] use tc by-default if available
Matthias H [Fri, 28 Feb 2014 21:53:16 +0000 (22:53 +0100)]
[httputil] fix to ignore recoding errors
Matthias H [Mon, 24 Feb 2014 21:50:16 +0000 (22:50 +0100)]
[registry] rbotdb script now imports tc databases
Matthias H [Mon, 24 Feb 2014 06:33:44 +0000 (07:33 +0100)]
[webservice] log requests to seperate file in profile
Matthias H [Mon, 24 Feb 2014 06:05:05 +0000 (07:05 +0100)]
[webservice] response as json if asked to
Matthias Hecker [Mon, 24 Feb 2014 05:40:49 +0000 (06:40 +0100)]
Update README.md
Matthias H [Mon, 24 Feb 2014 05:37:36 +0000 (06:37 +0100)]
README update
Matthias H [Mon, 24 Feb 2014 05:11:16 +0000 (06:11 +0100)]
[registry] optimize at every restart/rescan
Matthias H [Mon, 24 Feb 2014 04:20:01 +0000 (05:20 +0100)]
[registry] rbotdb registry-folder option, tcimport
Matthias H [Mon, 24 Feb 2014 03:45:28 +0000 (04:45 +0100)]
[registry] refactoring into a abstract and factory
* 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
Matthias H [Mon, 24 Feb 2014 00:15:13 +0000 (01:15 +0100)]
[agent] wip core mechanize agent plugin
Matthias H [Fri, 21 Feb 2014 20:05:16 +0000 (21:05 +0100)]
[webservice] dispatch command in post aswell
Matthias H [Fri, 21 Feb 2014 19:36:43 +0000 (20:36 +0100)]
[unicode] fix to ignore invalid-unicode
Matthias H [Fri, 21 Feb 2014 19:21:02 +0000 (20:21 +0100)]
[remote] removed due to security concerns
Matthias H [Fri, 21 Feb 2014 16:51:28 +0000 (17:51 +0100)]
[webservice] control bot through http interface
Matthias H [Fri, 21 Feb 2014 16:36:46 +0000 (17:36 +0100)]
[plugin] ri fixed, simple no longer available :(
I set it to ansi, but thats not really any better. At least
it doesnt crash.
Matthias H [Fri, 21 Feb 2014 01:31:15 +0000 (02:31 +0100)]
[auth] randomized default password
Matthias H [Fri, 21 Feb 2014 00:26:24 +0000 (01:26 +0100)]
[plugin] youtube fixed, added help text
Used the httputils api wrongly, had no help text.
Matthias H [Fri, 21 Feb 2014 00:03:14 +0000 (01:03 +0100)]
[plugin] wow removed, uses broken api.
The xml is no longer available. Could be fixed using this:
http://us.battle.net/api/wow/realm/status?realm=Hyjal
Matthias H [Thu, 20 Feb 2014 23:59:30 +0000 (00:59 +0100)]
[plugin] tube removed
Matthias H [Thu, 20 Feb 2014 23:59:07 +0000 (00:59 +0100)]
[plugin] urban fixed
Matthias H [Thu, 20 Feb 2014 23:22:11 +0000 (00:22 +0100)]
[plugin] threat removed, broken
Matthias H [Thu, 20 Feb 2014 22:36:20 +0000 (23:36 +0100)]
[remote] server imho shouldnt be listen by default
Matthias H [Thu, 20 Feb 2014 22:28:52 +0000 (23:28 +0100)]
[plugin] spotify plugin removed
Matthias H [Thu, 20 Feb 2014 22:28:09 +0000 (23:28 +0100)]
[core] unicode plugin that sets server encoding
Matthias H [Thu, 20 Feb 2014 21:25:13 +0000 (22:25 +0100)]
[plugin] imdb small parser fix
Matthias H [Thu, 20 Feb 2014 20:58:42 +0000 (21:58 +0100)]
[registry] daybreak engine small fix
Matthias H [Thu, 20 Feb 2014 02:32:16 +0000 (03:32 +0100)]
[plugin] removed lastm, many things broken.
I registered the api key
ae97541e36fd005a1cfbad12ce85db39
but even then, there is just too much broken.
I don't use lastfm, so no fix from me.
Matthias H [Thu, 20 Feb 2014 02:15:44 +0000 (03:15 +0100)]
[plugin] removed iplookup, doesnt work
Matthias H [Thu, 20 Feb 2014 02:12:59 +0000 (03:12 +0100)]
[plugin] insult, small fix
Matthias H [Thu, 20 Feb 2014 02:07:10 +0000 (03:07 +0100)]
[plugin] removed grouphug, ceased to exist
Matthias H [Thu, 20 Feb 2014 02:04:29 +0000 (03:04 +0100)]
[plugins] random permissions fix
Matthias H [Thu, 20 Feb 2014 02:03:28 +0000 (03:03 +0100)]
[plugin] googlefight fixed regexp
Matthias H [Thu, 20 Feb 2014 01:58:24 +0000 (02:58 +0100)]
[plugin] geoip small fixes, needs more work
Matthias H [Thu, 20 Feb 2014 01:38:44 +0000 (02:38 +0100)]
[plugin] removed freshmeat, doesnt exist anymore
Matthias H [Thu, 20 Feb 2014 01:37:02 +0000 (02:37 +0100)]
[plugin] fortune: fixed bin/not-found
Matthias H [Thu, 20 Feb 2014 01:28:15 +0000 (02:28 +0100)]
[plugin] removed forecast, old/unsupported dep
Matthias H [Thu, 20 Feb 2014 01:22:37 +0000 (02:22 +0100)]
[plugin] removed digg, broken api
Matthias H [Thu, 20 Feb 2014 01:20:15 +0000 (02:20 +0100)]
[plugin] fixed chucknorris for 2.0
Matthias H [Thu, 20 Feb 2014 01:19:46 +0000 (02:19 +0100)]
[plugin] removed debugger plugin
Matthias H [Thu, 20 Feb 2014 01:17:51 +0000 (02:17 +0100)]
[plugin] del.icio.us ceased to exist.
Matthias H [Thu, 20 Feb 2014 01:16:53 +0000 (02:16 +0100)]
[plugin] removed dictclient, outdated deps.
Uses an outdated and unmaintained ruby gem.
Matthias H [Thu, 20 Feb 2014 01:14:25 +0000 (02:14 +0100)]
[plugins] fixed oxford only, all others are broken.
Removed the broken dicts except for oxford, renamed the plugin.
Matthias H [Thu, 20 Feb 2014 00:19:43 +0000 (01:19 +0100)]
[registry] improved export/import/migrate script.
Matthias H [Wed, 19 Feb 2014 16:45:17 +0000 (17:45 +0100)]
[registry] registry folder with suffix, added daybreak engine
Matthias H [Wed, 19 Feb 2014 00:05:17 +0000 (01:05 +0100)]
[registry] standalone import/export/migrate script
Matthias H [Tue, 18 Feb 2014 22:06:42 +0000 (23:06 +0100)]
log fatal/error messages to stderr, but check if daemonized first!
Matthias H [Tue, 18 Feb 2014 21:55:45 +0000 (22:55 +0100)]
remove old/compat code no longer supported
Matthias H [Tue, 18 Feb 2014 21:54:46 +0000 (22:54 +0100)]
[registry] removed temp logging
Matthias H [Tue, 18 Feb 2014 18:25:17 +0000 (19:25 +0100)]
removes bdb&tc registry; adds dbm registry
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).
Matthias H [Fri, 6 Dec 2013 05:39:31 +0000 (06:39 +0100)]
url: more flexibility with first_par
Matthias H [Fri, 6 Dec 2013 05:38:38 +0000 (06:38 +0100)]
workaround for broken pretty_inspect
Matthias Hecker [Fri, 6 Dec 2013 04:34:12 +0000 (04:34 +0000)]
launch_here: fixed shebang
Matthias Hecker [Fri, 6 Dec 2013 04:28:25 +0000 (04:28 +0000)]
httputil: fixes encoding issues with 1.9+
(incompatible with 1.8)
Matthias H [Tue, 17 Sep 2013 23:07:59 +0000 (01:07 +0200)]
bin/rbot: no verbose warning messages
$VERBOSE includes lots of useless messages
that don't really help anyone IMHO
Matthias Hecker [Tue, 26 Nov 2013 16:13:30 +0000 (16:13 +0000)]
Revert "always print FATAL and ERROR logmessages to STDERR"
This reverts commit
c4d629ad86aae3b8bb4669650df57875252bea92 .
Matthias Hecker [Mon, 25 Nov 2013 02:26:44 +0000 (02:26 +0000)]
gettext: change depricated and removed setlocale
Giuseppe Bilotta [Fri, 15 Nov 2013 20:56:34 +0000 (21:56 +0100)]
plugins: improve error handling on load
Support OAuth2::Error braindead extension to StandardError and
wrap loading in an outer rescue to catch problems with the error
handling.
Matthias Hecker [Thu, 14 Nov 2013 15:51:26 +0000 (15:51 +0000)]
twitter: filter ret.latest status if non specified
Matthias Hecker [Thu, 14 Nov 2013 15:08:19 +0000 (15:08 +0000)]
twitter: changed filter title, to only contain usr
Matthias Hecker [Thu, 14 Nov 2013 14:49:52 +0000 (14:49 +0000)]
twitter: fixes the htmlfilter used by url plugin
Oblomov [Thu, 14 Nov 2013 14:23:27 +0000 (06:23 -0800)]
Merge pull request #20 from 4poc/ssl-verify
Implements SSL verification against a configured CA
Matthias Hecker [Thu, 14 Nov 2013 13:41:16 +0000 (13:41 +0000)]
always print FATAL and ERROR logmessages to STDERR
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.
Matthias H [Wed, 18 Sep 2013 02:00:17 +0000 (04:00 +0200)]
allow to verify ssl connections against a CA.
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
Giuseppe Bilotta [Mon, 11 Nov 2013 15:05:39 +0000 (16:05 +0100)]
dict: update oxford url
Matthias H [Wed, 18 Sep 2013 01:18:13 +0000 (03:18 +0200)]
ruby 2.0.0: better fix for the ThreadError
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.
Matthias H [Wed, 4 Sep 2013 00:38:10 +0000 (02:38 +0200)]
ruby 2.0.0: changes sigtrapping, fixes ThreadError
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
Matthias H [Wed, 4 Sep 2013 00:28:24 +0000 (02:28 +0200)]
ruby 2.0.0: fix for changed @waiters in compat19
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
Giuseppe Bilotta [Sat, 2 Nov 2013 09:56:53 +0000 (10:56 +0100)]
Solve Socket vs URI IPv6 handling in Ruby
Giuseppe Bilotta [Sat, 2 Nov 2013 09:32:22 +0000 (10:32 +0100)]
ruby 1.9+: specify file encodings
Matthias Hecker [Sun, 13 Oct 2013 22:44:43 +0000 (22:44 +0000)]
urban: updated pattern
Matthias H [Mon, 19 Aug 2013 23:00:05 +0000 (01:00 +0200)]
urban: urbandictionary.com changed markup, fixes regexp
Matthias H [Mon, 19 Aug 2013 12:43:38 +0000 (14:43 +0200)]
azgame: fix pattern to check search results
Matthias H [Sun, 18 Aug 2013 10:26:39 +0000 (12:26 +0200)]
azgame: catch scraping error
Matthias H [Sun, 18 Aug 2013 10:14:32 +0000 (12:14 +0200)]
fixes azgame: changed dictionary url
Matthias H [Fri, 19 Jul 2013 15:00:10 +0000 (17:00 +0200)]
document requirements of the twitter plugin
Matthias H [Fri, 19 Jul 2013 14:26:24 +0000 (16:26 +0200)]
updates the twitter plugin to use the new api 1.1
The old 1.0 api is no longer available.
Its using oauth2 for application-only authentication and
oauth(1.0a) for user authentication.
Now requests and parses json (the new API doesn't support XML)
Giuseppe Bilotta [Mon, 29 Apr 2013 05:37:28 +0000 (07:37 +0200)]
note: dup the keys, not the registry
Giuseppe Bilotta [Sun, 28 Apr 2013 06:54:03 +0000 (08:54 +0200)]
note: if is more readale than unless here
Jay Thomas [Sun, 28 Apr 2013 02:35:20 +0000 (22:35 -0400)]
note: added date to timestamps
Jay Thomas [Sun, 28 Apr 2013 02:21:19 +0000 (22:21 -0400)]
note: added config option to privmsg all notes
Jay Thomas [Sat, 27 Apr 2013 06:27:19 +0000 (02:27 -0400)]
note: skip merging nil keys
Jay Thomas [Fri, 26 Apr 2013 01:15:58 +0000 (21:15 -0400)]
note: upgrade old registry keys on initialize
Jay Thomas [Thu, 25 Apr 2013 03:24:29 +0000 (23:24 -0400)]
note: store nicks case-insensitive to avoid lost messages
Ryan Waldron [Thu, 18 Apr 2013 21:59:22 +0000 (16:59 -0500)]
Fix parsing whois results so that we can get valid results for at least a great many queries
Ryan Waldron [Thu, 18 Apr 2013 19:42:50 +0000 (14:42 -0500)]
Fix multibyte char in rake task
Ryan Waldron [Thu, 18 Apr 2013 19:42:12 +0000 (14:42 -0500)]
Fix TCPSocket name
Jay Thomas [Thu, 25 Apr 2013 04:19:25 +0000 (00:19 -0400)]
search: updated Wolfram Alpha method to comply with api
Jay Thomas [Thu, 25 Apr 2013 03:05:59 +0000 (23:05 -0400)]
utils: fixed secs_to_string output for one-element arrays
Jay Thomas [Thu, 25 Apr 2013 03:01:56 +0000 (23:01 -0400)]
extends: updated shuffle method
Giuseppe Bilotta [Wed, 30 Jan 2013 07:24:03 +0000 (08:24 +0100)]
search: wolfram fix
Ruby doesn't do C-style string concatenation. (My fault.)
Giuseppe Bilotta [Mon, 21 Jan 2013 18:41:38 +0000 (19:41 +0100)]
rss: protect against nil field
This happens when the filter tries to wrap a non-existing field, and in
custom filters it's probably a sign that the wrong field are being
accessed. It would probably be nicer to raise a warning about this, but
I'm too lazy to add that now.
Giuseppe Bilotta [Wed, 19 Dec 2012 09:04:09 +0000 (10:04 +0100)]
imdb: fix for the check of the final /
Matthias H [Wed, 19 Dec 2012 08:02:29 +0000 (09:02 +0100)]
imdb: plugin updates for recent site changes
Giuseppe Bilotta [Thu, 27 Sep 2012 10:23:36 +0000 (12:23 +0200)]
bdb: message when wrong bdb module is loaded
Giuseppe Bilotta [Wed, 26 Sep 2012 20:28:25 +0000 (22:28 +0200)]
lastfm: match latest API changes
Thanks Lite_
Giuseppe Bilotta [Fri, 21 Sep 2012 13:30:47 +0000 (15:30 +0200)]
poll: usual gettext frozen string issues