]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/log
user/henk/code/ruby/rbot.git
4 years agoadded simple dockerfile
Matthias Hecker [Tue, 31 Mar 2020 12:28:55 +0000 (14:28 +0200)]
added simple dockerfile

4 years agotest: fix shadowed test method
Matthias Hecker [Tue, 31 Mar 2020 12:27:30 +0000 (14:27 +0200)]
test: fix shadowed test method

4 years agotest: add gettext/unittest to gemfile
Matthias Hecker [Tue, 31 Mar 2020 12:25:58 +0000 (14:25 +0200)]
test: add gettext/unittest to gemfile

4 years agotest: change db adapter to dbm
Matthias Hecker [Mon, 30 Mar 2020 21:55:28 +0000 (23:55 +0200)]
test: change db adapter to dbm

4 years agotest: first plugin test added for rot13
Matthias Hecker [Mon, 30 Mar 2020 21:46:19 +0000 (23:46 +0200)]
test: first plugin test added for rot13

4 years agotest: optional registry adapter tests
Matthias Hecker [Sun, 29 Mar 2020 11:01:22 +0000 (13:01 +0200)]
test: optional registry adapter tests

4 years agoci: fix rake invocation in script
Matthias Hecker [Sun, 29 Mar 2020 10:54:07 +0000 (12:54 +0200)]
ci: fix rake invocation in script

4 years agofix: plugins delegate disregarding all options given
Matthias Hecker [Sun, 29 Mar 2020 10:47:45 +0000 (12:47 +0200)]
fix: plugins delegate disregarding all options given

4 years agotest: small changes and fixes to existing tests
Matthias Hecker [Sun, 29 Mar 2020 10:46:43 +0000 (12:46 +0200)]
test: small changes and fixes to existing tests

4 years agoci: add rake test command to script
Matthias Hecker [Sun, 29 Mar 2020 10:45:59 +0000 (12:45 +0200)]
ci: add rake test command to script

4 years agoadded rake and updated Gemfile and Gemfile.lock
Matthias Hecker [Sat, 28 Mar 2020 03:04:42 +0000 (04:04 +0100)]
added rake and updated Gemfile and Gemfile.lock

4 years agoplugin(imdb): changed base url
Matthias Hecker [Sat, 28 Mar 2020 02:55:57 +0000 (03:55 +0100)]
plugin(imdb): changed base url

4 years agoci: fix travis ci config
Matthias Hecker [Sat, 28 Mar 2020 02:48:50 +0000 (03:48 +0100)]
ci: fix travis ci config

4 years agoalways log to stdout with debug flag
Matthias Hecker [Sat, 28 Mar 2020 02:44:08 +0000 (03:44 +0100)]
always log to stdout with debug flag

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.

4 years agoci: add system dependencies to travis ci
Matthias Hecker [Sat, 28 Mar 2020 02:10:10 +0000 (03:10 +0100)]
ci: add system dependencies to travis ci

4 years agoplugin(script): remove deprecated $SAFE
Matthias Hecker [Sat, 28 Mar 2020 02:04:19 +0000 (03:04 +0100)]
plugin(script): remove deprecated $SAFE

closes #32

4 years agoexperiment with travis-ci setup
Matthias Hecker [Fri, 27 Mar 2020 21:32:01 +0000 (22:32 +0100)]
experiment with travis-ci setup

4 years agogem: support for newest ruby versions
Matthias Hecker [Fri, 27 Mar 2020 21:31:25 +0000 (22:31 +0100)]
gem: support for newest ruby versions

4 years agodeps: update dependencies
Matthias Hecker [Fri, 27 Mar 2020 21:29:47 +0000 (22:29 +0100)]
deps: update dependencies

4 years agoMerge pull request #30 from ruby-rbot/dependabot/bundler/nokogiri-1.10.9
Matthias Hecker [Fri, 27 Mar 2020 20:00:16 +0000 (21:00 +0100)]
Merge pull request #30 from ruby-rbot/dependabot/bundler/nokogiri-1.10.9

Bump nokogiri from 1.6.1 to 1.10.9

4 years agoMerge pull request #31 from ruby-rbot/dependabot/bundler/rack-1.6.13
Matthias Hecker [Fri, 27 Mar 2020 20:00:09 +0000 (21:00 +0100)]
Merge pull request #31 from ruby-rbot/dependabot/bundler/rack-1.6.13

Bump rack from 1.5.2 to 1.6.13

4 years agoBump rack from 1.5.2 to 1.6.13
dependabot[bot] [Fri, 27 Mar 2020 19:58:49 +0000 (19:58 +0000)]
Bump rack from 1.5.2 to 1.6.13

Bumps [rack](https://github.com/rack/rack) from 1.5.2 to 1.6.13.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/1.5.2...1.6.13)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoBump nokogiri from 1.6.1 to 1.10.9
dependabot[bot] [Fri, 27 Mar 2020 19:58:47 +0000 (19:58 +0000)]
Bump nokogiri from 1.6.1 to 1.10.9

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.6.1 to 1.10.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.6.1...v1.10.9)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #2 from mroch/patch-1
Matthias Hecker [Fri, 27 Mar 2020 19:58:41 +0000 (20:58 +0100)]
Merge pull request #2 from mroch/patch-1

Update markov.rb

4 years agoMerge pull request #4 from ahpook/rename_karma
Matthias Hecker [Fri, 27 Mar 2020 19:58:27 +0000 (20:58 +0100)]
Merge pull request #4 from ahpook/rename_karma

Rename and improve karma plugin

4 years agoMerge pull request #27 from ohadlevy/gemspec-fixes
Matthias Hecker [Fri, 27 Mar 2020 19:58:16 +0000 (20:58 +0100)]
Merge pull request #27 from ohadlevy/gemspec-fixes

this enables to build again from gemspec

5 years agothis enables to build again from gemspec
Ohad Levy [Mon, 22 Apr 2019 13:26:14 +0000 (16:26 +0300)]
this enables to build again from gemspec

8 years agofixes registry for 2.3.0, bug caused by wrong #get_impl
Matthias Hecker [Fri, 25 Mar 2016 16:10:50 +0000 (17:10 +0100)]
fixes registry for 2.3.0, bug caused by wrong #get_impl

previously getimpl returned eigenclasses aswell which
always was an issue but i guess a minor change in ruby
triggered this.

8 years agoImprovements to the points plugin
Eric Sorenson [Wed, 16 Dec 2015 00:32:45 +0000 (16:32 -0800)]
Improvements to the points plugin

This commit makes a couple of improvements the points plugin:
- added a 'pointsdump' command to show everything in the registry,
  not just the best and worst
- fixed Hash#index deprecation warnings under ruby >1.9
- made nicer messages when displaying stats on an empty registry

8 years agoRenames the 'karma' plugin to a 'points' system
Eric Sorenson [Tue, 15 Dec 2015 22:44:51 +0000 (14:44 -0800)]
Renames the 'karma' plugin to a 'points' system

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

8 years agoUpdate markov.rb
Marshall Roch [Sun, 9 Aug 2015 19:59:29 +0000 (12:59 -0700)]
Update markov.rb

This gets `markov probability` and `markov status` running again. I think there were some backwards-incompatible changes to MessageMapper that make the defaults required even with `[]`'s or something?

8 years agowebservice: add erb template render methods
Matthias Hecker [Sat, 4 Jul 2015 19:24:01 +0000 (21:24 +0200)]
webservice: add erb template render methods

8 years agojournal: introduce ensure_payload_index
Matthias Hecker [Sat, 4 Jul 2015 11:51:42 +0000 (13:51 +0200)]
journal: introduce ensure_payload_index

8 years agojournal: wrap postgres client in single thread
Matthias Hecker [Sat, 4 Jul 2015 11:35:40 +0000 (13:35 +0200)]
journal: wrap postgres client in single thread

8 years agojournal: move journal accessor in coremodule
Matthias Hecker [Wed, 24 Jun 2015 19:19:07 +0000 (19:19 +0000)]
journal: move journal accessor in coremodule

8 years agojournal: simplified irc logging
Matthias Hecker [Sun, 21 Jun 2015 11:29:02 +0000 (13:29 +0200)]
journal: simplified irc logging

8 years agojournal: irc logging module
Matthias Hecker [Sat, 20 Jun 2015 22:05:38 +0000 (00:05 +0200)]
journal: irc logging module

8 years agojournal: allow hash/proc for query in count and remove
Matthias Hecker [Sat, 20 Jun 2015 18:39:39 +0000 (20:39 +0200)]
journal: allow hash/proc for query in count and remove

8 years agojournal: start with core botmodule, api changes
Matthias Hecker [Sat, 20 Jun 2015 17:25:39 +0000 (19:25 +0200)]
journal: start with core botmodule, api changes

8 years agojournal: add mongodb storage backend
Matthias Hecker [Mon, 15 Jun 2015 21:56:20 +0000 (23:56 +0200)]
journal: add mongodb storage backend

8 years agojournal: cleanup
Matthias Hecker [Sun, 14 Jun 2015 22:32:11 +0000 (00:32 +0200)]
journal: cleanup

8 years agojournal, integrated in bot
Matthias Hecker [Sun, 14 Jun 2015 18:52:47 +0000 (20:52 +0200)]
journal, integrated in bot

8 years agojournal: even more tests
Matthias Hecker [Sun, 14 Jun 2015 18:05:45 +0000 (20:05 +0200)]
journal: even more tests

8 years agojournal: more postgres tests
Matthias Hecker [Sun, 14 Jun 2015 17:31:55 +0000 (19:31 +0200)]
journal: more postgres tests

8 years agojournal: finishing postgres adapter
Matthias Hecker [Sun, 14 Jun 2015 16:27:32 +0000 (18:27 +0200)]
journal: finishing postgres adapter

8 years agojournal: started implementing postgres storage
Matthias Hecker [Sun, 14 Jun 2015 01:01:25 +0000 (03:01 +0200)]
journal: started implementing postgres storage

8 years agojournal: unsubscribe added
Matthias Hecker [Sat, 13 Jun 2015 23:36:33 +0000 (01:36 +0200)]
journal: unsubscribe added

8 years agointroducing a persistent message queue, the "journal"
Matthias Hecker [Sat, 13 Jun 2015 22:18:35 +0000 (00:18 +0200)]
introducing a persistent message queue, the "journal"

8 years agoscript: make $SAFE configureable
Matthias Hecker [Sat, 13 Jun 2015 18:03:40 +0000 (20:03 +0200)]
script: make $SAFE configureable

8 years agoplugins, improved how we lookup plugins filename
Matthias Hecker [Sat, 13 Jun 2015 17:54:18 +0000 (19:54 +0200)]
plugins, improved how we lookup plugins filename

8 years agointroduce reload alias for rescan
Matthias Hecker [Sat, 13 Jun 2015 17:49:11 +0000 (19:49 +0200)]
introduce reload alias for rescan

8 years agologging, irc fix loglevel i messed up
Matthias Hecker [Sat, 13 Jun 2015 17:48:43 +0000 (19:48 +0200)]
logging, irc fix loglevel i messed up

8 years agologging improved in irc
Matthias Hecker [Sat, 13 Jun 2015 17:18:09 +0000 (19:18 +0200)]
logging improved in irc

8 years agologging, print >=warning to stderr
Matthias Hecker [Sat, 13 Jun 2015 17:11:55 +0000 (19:11 +0200)]
logging, print >=warning to stderr

8 years agologging: proper stderr logger for error/fatal
Matthias Hecker [Sat, 13 Jun 2015 15:46:52 +0000 (17:46 +0200)]
logging: proper stderr logger for error/fatal

9 years agoplugins fix missing save for 1.9
Matthias H [Wed, 11 Mar 2015 08:51:52 +0000 (09:51 +0100)]
plugins fix missing save for 1.9

9 years agoplugins: allow rescanning of one botmodule only
Matthias H [Wed, 11 Mar 2015 07:32:16 +0000 (08:32 +0100)]
plugins: allow rescanning of one botmodule only

9 years agoapi doc: fix path in task
Matthias H [Wed, 11 Mar 2015 07:30:40 +0000 (08:30 +0100)]
api doc: fix path in task

9 years agoupdated copyright notice and authors
Matthias H [Mon, 9 Mar 2015 22:07:20 +0000 (23:07 +0100)]
updated copyright notice and authors

9 years agoruby 2.2: fix a obscure regexp escaping bug
Matthias H [Mon, 9 Mar 2015 08:24:26 +0000 (09:24 +0100)]
ruby 2.2: fix a obscure regexp escaping bug

9 years agowebservice: fix cleanup typo
Matthias H [Mon, 9 Mar 2015 08:17:48 +0000 (09:17 +0100)]
webservice: fix cleanup typo

9 years agorake: yarn doc task
Matthias H [Mon, 9 Mar 2015 04:00:59 +0000 (05:00 +0100)]
rake: yarn doc task

9 years agoreadme: point to new wiki
Matthias H [Mon, 9 Mar 2015 03:12:10 +0000 (04:12 +0100)]
readme: point to new wiki

9 years agoweb service: fix basic auth handler
Matthias H [Mon, 12 Jan 2015 11:02:21 +0000 (12:02 +0100)]
web service: fix basic auth handler

9 years agoweb service: response helper methods
Matthias H [Mon, 12 Jan 2015 10:26:16 +0000 (11:26 +0100)]
web service: response helper methods

9 years agoweb service: alias web module mixins
Matthias H [Mon, 12 Jan 2015 10:18:33 +0000 (11:18 +0100)]
web service: alias web module mixins

9 years agomessagemapper: refactor options are really the params
Matthias H [Mon, 12 Jan 2015 10:03:20 +0000 (11:03 +0100)]
messagemapper: refactor options are really the params

9 years agoweb service: parse uri params; small improvements
Matthias H [Mon, 12 Jan 2015 10:02:20 +0000 (11:02 +0100)]
web service: parse uri params; small improvements

9 years agoweb service: better integration in rbot
Matthias H [Sun, 11 Jan 2015 17:41:59 +0000 (18:41 +0100)]
web service: better integration in rbot

this commit integrates better in the existing message
dispatching / authentication system of rbot.

9 years agoagent: remove proxy opt-out for plugins
Matthias H [Sun, 11 Jan 2015 08:20:09 +0000 (09:20 +0100)]
agent: remove proxy opt-out for plugins

9 years agorbotdb: create non-existing profile directory
Matthias H [Sun, 11 Jan 2015 08:04:01 +0000 (09:04 +0100)]
rbotdb: create non-existing profile directory

9 years agoset default encoding to UTF-8 for Ruby 1.9
Giuseppe Bilotta [Fri, 7 Mar 2014 08:32:51 +0000 (09:32 +0100)]
set default encoding to UTF-8 for Ruby 1.9

9 years agorbotdb: use correct bdb adapter for legacy backup
Matthias H [Sun, 11 Jan 2015 07:26:20 +0000 (08:26 +0100)]
rbotdb: use correct bdb adapter for legacy backup

9 years ago[url] fixes encoding error in encoding detection code, maybe closes #2
M. Hecker [Tue, 2 Dec 2014 10:47:19 +0000 (11:47 +0100)]
[url] fixes encoding error in encoding detection code, maybe closes #2

9 years ago[translator] fixes broken page encoding
M. Hecker [Fri, 28 Nov 2014 13:59:43 +0000 (14:59 +0100)]
[translator] fixes broken page encoding

9 years ago[urban] forgot debugs
M. Hecker [Wed, 26 Nov 2014 01:28:33 +0000 (02:28 +0100)]
[urban] forgot debugs

9 years ago[urban] fix for changed markup
M. Hecker [Wed, 26 Nov 2014 01:22:09 +0000 (02:22 +0100)]
[urban] fix for changed markup

9 years agoMerge branch 'fork' of github.com:4poc/rbot into fork
M. Hecker [Wed, 3 Sep 2014 13:48:00 +0000 (15:48 +0200)]
Merge branch 'fork' of github.com:4poc/rbot into fork

9 years ago[webservice] expose webservice to plugins
M. Hecker [Wed, 3 Sep 2014 13:47:30 +0000 (15:47 +0200)]
[webservice] expose webservice to plugins

9 years agoadd a first basic colorformat string function
Matthias H [Fri, 18 Jul 2014 13:37:26 +0000 (15:37 +0200)]
add a first basic colorformat string function

9 years ago[agent] add options for ssl and proxy
Matthias H [Thu, 17 Jul 2014 21:54:19 +0000 (23:54 +0200)]
[agent] add options for ssl and proxy

10 years ago[registry] fix subregistry re-use (closes #1)
M. Hecker [Sat, 3 May 2014 20:42:07 +0000 (22:42 +0200)]
[registry] fix subregistry re-use (closes #1)

10 years ago[webservice] add /ping test route
M. Hecker [Tue, 29 Apr 2014 20:19:51 +0000 (22:19 +0200)]
[webservice] add /ping test route

10 years ago[httputil] fix unknown fallback encoding
Matthias H [Thu, 27 Mar 2014 07:14:32 +0000 (08:14 +0100)]
[httputil] fix unknown fallback encoding

10 years ago[translator] fix google, add yandex, remove broken
Matthias H [Wed, 26 Mar 2014 03:30:57 +0000 (04:30 +0100)]
[translator] fix google, add yandex, remove broken

10 years ago[registry] improved tests, sqlite/tc bugfixes
Matthias H [Thu, 6 Mar 2014 15:07:13 +0000 (16:07 +0100)]
[registry] improved tests, sqlite/tc bugfixes

10 years ago[registry] more tests
Matthias H [Thu, 6 Mar 2014 13:23:28 +0000 (14:23 +0100)]
[registry] more tests

10 years ago[registry] small refactoring and added flush test
Matthias H [Thu, 6 Mar 2014 13:20:27 +0000 (14:20 +0100)]
[registry] small refactoring and added flush test

10 years ago[rbotdb] renamed import/export to restore/backup,
Matthias H [Thu, 6 Mar 2014 12:46:46 +0000 (13:46 +0100)]
[rbotdb] renamed import/export to restore/backup,

Somehow I think its easier to understand when its called
backup/restore.

10 years ago[rbotdb] add sqlite support, remove confusing auto
Matthias H [Thu, 6 Mar 2014 12:19:01 +0000 (13:19 +0100)]
[rbotdb] add sqlite support, remove confusing auto

Removes the -t auto option, its just confusing.
The type now needs to be specified explicitly.

10 years agoupdate requirements documentation
Matthias H [Thu, 6 Mar 2014 11:56:06 +0000 (12:56 +0100)]
update requirements documentation

10 years ago[gemfile] add (uncommented) deps for all dbtypes
Matthias H [Thu, 6 Mar 2014 11:48:50 +0000 (12:48 +0100)]
[gemfile] add (uncommented) deps for all dbtypes

10 years ago[registry] added a testcase
Matthias H [Thu, 6 Mar 2014 11:47:09 +0000 (12:47 +0100)]
[registry] added a testcase

10 years ago[registry] added sqlite3 database adapter
Matthias H [Thu, 6 Mar 2014 11:46:47 +0000 (12:46 +0100)]
[registry] added sqlite3 database adapter

10 years ago[config] adds a new param store_default
Matthias H [Thu, 6 Mar 2014 10:06:57 +0000 (11:06 +0100)]
[config] adds a new param store_default

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.

10 years agoUpdate README.md
Matthias Hecker [Wed, 5 Mar 2014 13:18:56 +0000 (14:18 +0100)]
Update README.md

10 years ago[registry] migrate tc directory name to registry_tc
Matthias Hecker [Wed, 5 Mar 2014 13:05:03 +0000 (14:05 +0100)]
[registry] migrate tc directory name to registry_tc

10 years agoadd a gemfile
Matthias Hecker [Wed, 5 Mar 2014 12:11:27 +0000 (13:11 +0100)]
add a gemfile

10 years ago[ssl] fix for missing ca path
Matthias Hecker [Wed, 5 Mar 2014 12:10:22 +0000 (13:10 +0100)]
[ssl] fix for missing ca path

10 years ago[registry] use tc by-default if available
Matthias Hecker [Wed, 5 Mar 2014 12:04:47 +0000 (13:04 +0100)]
[registry] use tc by-default if available