docbot.git
7 years agoRewrite urls to https v2
Andreas Scherbaum [Wed, 15 Aug 2018 07:59:28 +0000 (09:59 +0200)]
Rewrite urls to https

7 years agoChange AutoCommit setting
Andreas Scherbaum [Wed, 15 Aug 2018 07:50:21 +0000 (09:50 +0200)]
Change AutoCommit setting
(It's already in production for quite a while)
Add a few additional commit

11 years ago- fix wrong function names for configuration functions
Andreas Scherbaum [Sun, 29 Sep 2013 19:47:15 +0000 (21:47 +0200)]
- fix wrong function names for configuration functions

11 years ago- fix SQL syntax error when ordering results
Andreas Scherbaum [Thu, 19 Sep 2013 20:52:13 +0000 (22:52 +0200)]
- fix SQL syntax error when ordering results

12 years agoAdded IRC URLs, made sure they appear first.
David Fetter [Thu, 12 Sep 2013 17:43:21 +0000 (10:43 -0700)]
Added IRC URLs, made sure they appear first.

12 years ago- add ringbuffer for each channel
Andreas Scherbaum [Sun, 8 Sep 2013 15:09:22 +0000 (17:09 +0200)]
- add ringbuffer for each channel

12 years ago- add "?user", "?learnuser" and "?forgetuser" command
Andreas Scherbaum [Sun, 14 Apr 2013 18:33:31 +0000 (20:33 +0200)]
- add "?user", "?learnuser" and "?forgetuser" command

12 years ago- reconnect database when connection failed
Andreas Scherbaum [Sat, 15 Dec 2012 22:50:51 +0000 (23:50 +0100)]
- reconnect database when connection failed
- works as reliable as DBD::Pg::ping() works

12 years ago- fix wrong column name in sql query
Andreas Scherbaum [Fri, 23 Nov 2012 22:27:29 +0000 (23:27 +0100)]
- fix wrong column name in sql query

12 years ago- add new todo
Andreas Scherbaum [Fri, 23 Nov 2012 20:59:31 +0000 (21:59 +0100)]
- add new todo

12 years ago- add initscript for docbot
Andreas Scherbaum [Sun, 18 Nov 2012 12:07:19 +0000 (13:07 +0100)]
- add initscript for docbot

12 years ago- add pidfile handling (required for automatic startup/shutdown)
Andreas Scherbaum [Sun, 18 Nov 2012 10:39:16 +0000 (11:39 +0100)]
- add pidfile handling (required for automatic startup/shutdown)

12 years ago- add ?grant and ?revoke to add/delete users
Andreas Scherbaum [Sun, 11 Nov 2012 19:04:28 +0000 (20:04 +0100)]
- add ?grant and ?revoke to add/delete users

12 years ago- add Nagios check for the PostgreSQL infrastructure chec
Andreas Scherbaum [Sun, 11 Nov 2012 18:05:29 +0000 (19:05 +0100)]
- add Nagios check for the PostgreSQL infrastructure chec

12 years ago- add more todos
Andreas Scherbaum [Sun, 4 Nov 2012 10:00:17 +0000 (11:00 +0100)]
- add more todos

12 years ago- add two new todo items
Andreas Scherbaum [Fri, 26 Oct 2012 12:49:57 +0000 (14:49 +0200)]
- add two new todo items

12 years ago- make "." something which can appear in a search string
Andreas Scherbaum [Wed, 17 Oct 2012 12:14:41 +0000 (14:14 +0200)]
- make "." something which can appear in a search string

12 years ago- add new todo
Andreas Scherbaum [Wed, 19 Sep 2012 22:19:48 +0000 (00:19 +0200)]
- add new todo

12 years ago- fix syntax error
Andreas Scherbaum [Wed, 19 Sep 2012 22:18:53 +0000 (00:18 +0200)]
- fix syntax error

13 years ago- fix error levels
Andreas Scherbaum [Fri, 31 Aug 2012 21:59:06 +0000 (23:59 +0200)]
- fix error levels
- somehow the old system from the old docbot is not intuitive, make the new one clear

13 years ago- let's not fool the bot into sending messages to itself
Andreas Scherbaum [Fri, 24 Aug 2012 18:42:43 +0000 (20:42 +0200)]
- let's not fool the bot into sending messages to itself

13 years ago- fix error with referencing translations file
Andreas Scherbaum [Fri, 24 Aug 2012 17:56:21 +0000 (19:56 +0200)]
- fix error with referencing translations file

13 years ago- make searches case insensitive
Andreas Scherbaum [Thu, 23 Aug 2012 19:08:05 +0000 (21:08 +0200)]
- make searches case insensitive

13 years ago- add some new todo items
Andreas Scherbaum [Thu, 23 Aug 2012 19:07:52 +0000 (21:07 +0200)]
- add some new todo items

13 years ago- log learn and forget to the command channel
Andreas Scherbaum [Sun, 19 Aug 2012 23:11:30 +0000 (01:11 +0200)]
- log learn and forget to the command channel

13 years ago- some more information in the log, about who execited which command in which channel
Andreas Scherbaum [Fri, 17 Aug 2012 20:11:31 +0000 (22:11 +0200)]
- some more information in the log, about who execited which command in which channel

13 years ago- remove warning
Andreas Scherbaum [Fri, 17 Aug 2012 20:11:18 +0000 (22:11 +0200)]
- remove warning

13 years ago- fix search, missed the underscore
Andreas Scherbaum [Fri, 17 Aug 2012 13:17:07 +0000 (15:17 +0200)]
- fix search, missed the underscore

13 years ago- add todo list item
Andreas Scherbaum [Fri, 17 Aug 2012 11:53:47 +0000 (13:53 +0200)]
- add todo list item

13 years ago- change loglevel from debug to info
Andreas Scherbaum [Thu, 16 Aug 2012 23:38:29 +0000 (01:38 +0200)]
- change loglevel from debug to info

13 years ago- add new todo item
Andreas Scherbaum [Thu, 16 Aug 2012 23:31:42 +0000 (01:31 +0200)]
- add new todo item

13 years ago- indent, tidy, style, cleanup
Andreas Scherbaum [Thu, 16 Aug 2012 22:49:59 +0000 (00:49 +0200)]
- indent, tidy, style, cleanup

13 years ago- remove some FIXME
Andreas Scherbaum [Thu, 16 Aug 2012 14:06:51 +0000 (16:06 +0200)]
- remove some FIXME
- verify channel configuration

13 years ago- handle nickserv passwords
Andreas Scherbaum [Mon, 13 Aug 2012 00:03:36 +0000 (02:03 +0200)]
- handle nickserv passwords

13 years ago- fix indent
Andreas Scherbaum [Sun, 12 Aug 2012 17:01:58 +0000 (19:01 +0200)]
- fix indent

13 years ago- join channels which are in the configuration but not yet joined
Andreas Scherbaum [Sun, 12 Aug 2012 16:49:46 +0000 (18:49 +0200)]
- join channels which are in the configuration but not yet joined

13 years ago- more code cleanup
Andreas Scherbaum [Sun, 12 Aug 2012 13:12:10 +0000 (15:12 +0200)]
- more code cleanup

13 years ago- remove some old code
Andreas Scherbaum [Sun, 12 Aug 2012 12:47:57 +0000 (14:47 +0200)]
- remove some old code

13 years ago- maintenance ticks every 1 and 5 minutes
Andreas Scherbaum [Sun, 12 Aug 2012 12:46:19 +0000 (14:46 +0200)]
- maintenance ticks every 1 and 5 minutes

13 years ago- implement help for ?join and ?leave
Andreas Scherbaum [Sat, 11 Aug 2012 23:50:14 +0000 (01:50 +0200)]
- implement help for ?join and ?leave

13 years ago- implement passwords for ?join command
Andreas Scherbaum [Sat, 11 Aug 2012 23:46:38 +0000 (01:46 +0200)]
- implement passwords for ?join command
- make parameter list for ?join more flexible

13 years ago- implement "autojoin" configuration setting (default: yes)
Andreas Scherbaum [Sat, 11 Aug 2012 23:07:50 +0000 (01:07 +0200)]
- implement "autojoin" configuration setting (default: yes)

13 years ago- add more todo entries
Andreas Scherbaum [Thu, 9 Aug 2012 22:59:25 +0000 (00:59 +0200)]
- add more todo entries

13 years ago- implement channel password handling
Andreas Scherbaum [Thu, 9 Aug 2012 22:50:30 +0000 (00:50 +0200)]
- implement channel password handling

13 years ago- add new todo list entry
Andreas Scherbaum [Thu, 9 Aug 2012 22:49:58 +0000 (00:49 +0200)]
- add new todo list entry

13 years ago- rearrange todo list
Andreas Scherbaum [Thu, 9 Aug 2012 22:34:03 +0000 (00:34 +0200)]
- rearrange todo list

13 years ago- move translations to a separate file
Andreas Scherbaum [Wed, 8 Aug 2012 23:23:36 +0000 (01:23 +0200)]
- move translations to a separate file

13 years ago- cleanup _default() a bit
Andreas Scherbaum [Thu, 2 Aug 2012 21:05:45 +0000 (23:05 +0200)]
- cleanup _default() a bit

13 years ago- add "quit" command
Andreas Scherbaum [Thu, 2 Aug 2012 21:02:55 +0000 (23:02 +0200)]
- add "quit" command

13 years ago- add new todo item
Andreas Scherbaum [Thu, 2 Aug 2012 21:01:23 +0000 (23:01 +0200)]
- add new todo item

13 years ago- remove unnecessary linebreaks in debug messages
Andreas Scherbaum [Thu, 2 Aug 2012 13:48:11 +0000 (15:48 +0200)]
- remove unnecessary linebreaks in debug messages

13 years ago- make docbot work with older versions of POE::Component::IRC
Andreas Scherbaum [Mon, 9 Jul 2012 22:23:51 +0000 (00:23 +0200)]
- make docbot work with older versions of POE::Component::IRC
- especially with Debian Squeeze

13 years ago- update help information
Andreas Scherbaum [Sat, 7 Jul 2012 11:38:56 +0000 (13:38 +0200)]
- update help information

13 years ago- get rid of the Switch module
Andreas Scherbaum [Sat, 7 Jul 2012 11:31:51 +0000 (13:31 +0200)]
- get rid of the Switch module
- use Perl builtin functionality instead

13 years ago- fix typos in init_statistics()
Andreas Scherbaum [Mon, 25 Jun 2012 21:29:56 +0000 (23:29 +0200)]
- fix typos in init_statistics()

13 years agoMerge remote-tracking branch 'origin/v2' into v2
Andreas Scherbaum [Mon, 25 Jun 2012 21:28:19 +0000 (23:28 +0200)]
Merge remote-tracking branch 'origin/v2' into v2

13 years ago- implement "key" and "url" commands
Andreas Scherbaum [Mon, 25 Jun 2012 21:28:09 +0000 (23:28 +0200)]
- implement "key" and "url" commands

13 years agoRemove obsolete dependency
Hubert depesz Lubaczewski [Sun, 24 Jun 2012 13:28:01 +0000 (15:28 +0200)]
Remove obsolete dependency

Getopt::Mixed was obsolete since at least March 2007. Use standard, core
perl module Getopt::Long instead.

In passing, add long option for debugging irc traffic, for consistency,
and reformat help output.

13 years agoSupport SSL Irc connections
Hubert depesz Lubaczewski [Sun, 24 Jun 2012 13:12:49 +0000 (15:12 +0200)]
Support SSL Irc connections

In "irc" settings simply add "ssl: 1" for SSL connections.

13 years agoRemove data error - non-unique nicks
Hubert depesz Lubaczewski [Sun, 24 Jun 2012 13:01:07 +0000 (15:01 +0200)]
Remove data error - non-unique nicks

Nicks in the table are supposed to be unique. Removed redundant data,
database creation now works.

13 years agofix a typo
Hubert depesz Lubaczewski [Sun, 24 Jun 2012 12:59:08 +0000 (14:59 +0200)]
fix a typo

13 years agoPassword is not obligatory
Hubert depesz Lubaczewski [Sun, 24 Jun 2012 12:54:27 +0000 (14:54 +0200)]
Password is not obligatory

We can connect using password stored in ~/.pgpass, or with password from
PGPASSWORD, or PostgreSQL can be configured to use "trust" or
"peer/ident" authentication schemata. In all these cases password
configuration in config file is not necessary.

13 years ago- add todo list
Andreas Scherbaum [Thu, 21 Jun 2012 21:34:37 +0000 (23:34 +0200)]
- add todo list

13 years ago- add demo sql file
Andreas Scherbaum [Thu, 21 Jun 2012 21:30:57 +0000 (23:30 +0200)]
- add demo sql file

13 years ago- clean up database class a bit
Andreas Scherbaum [Thu, 21 Jun 2012 20:52:39 +0000 (22:52 +0200)]
- clean up database class a bit

13 years ago- verify required tables at startup
Andreas Scherbaum [Thu, 21 Jun 2012 20:51:41 +0000 (22:51 +0200)]
- verify required tables at startup

13 years ago- implement help
Andreas Scherbaum [Thu, 21 Jun 2012 20:10:08 +0000 (22:10 +0200)]
- implement help

13 years ago- use env to search for perl executable
Andreas Scherbaum [Thu, 21 Jun 2012 19:48:21 +0000 (21:48 +0200)]
- use env to search for perl executable
- request by depesz

13 years ago- enhance "lost" command
Andreas Scherbaum [Wed, 13 Jun 2012 21:34:15 +0000 (23:34 +0200)]
- enhance "lost" command

13 years ago- allow setting the channel language on ?join
Andreas Scherbaum [Wed, 13 Jun 2012 21:32:31 +0000 (23:32 +0200)]
- allow setting the channel language on ?join

13 years ago- add functions to set config options
Andreas Scherbaum [Wed, 13 Jun 2012 21:31:28 +0000 (23:31 +0200)]
- add functions to set config options

13 years ago- add "lost" command
Andreas Scherbaum [Wed, 13 Jun 2012 16:19:23 +0000 (18:19 +0200)]
- add "lost" command

13 years ago- fix wrong raiseerror setting, which aborted the bot instead of returning an error
Andreas Scherbaum [Wed, 13 Jun 2012 16:18:18 +0000 (18:18 +0200)]
- fix wrong raiseerror setting, which aborted the bot instead of returning an error

13 years ago- improve "say" command
Andreas Scherbaum [Wed, 13 Jun 2012 12:13:12 +0000 (14:13 +0200)]
- improve "say" command

13 years ago- implement "join" and "leave" commands
Andreas Scherbaum [Wed, 13 Jun 2012 12:09:57 +0000 (14:09 +0200)]
- implement "join" and "leave" commands

13 years ago- implement "say" command
Andreas Scherbaum [Wed, 13 Jun 2012 10:24:36 +0000 (12:24 +0200)]
- implement "say" command

13 years ago- add "forget" functionality
Andreas Scherbaum [Mon, 11 Jun 2012 21:00:55 +0000 (23:00 +0200)]
- add "forget" functionality

13 years ago- add "learn" function
Andreas Scherbaum [Fri, 8 Jun 2012 21:04:36 +0000 (23:04 +0200)]
- add "learn" function
- add translations for "learn"

13 years ago- add begin(), commit() and rollback() functions
Andreas Scherbaum [Fri, 8 Jun 2012 21:03:28 +0000 (23:03 +0200)]
- add begin(), commit() and rollback() functions

13 years ago- add functionality to verify admins and operators
Andreas Scherbaum [Sun, 27 May 2012 21:04:38 +0000 (23:04 +0200)]
- add functionality to verify admins and operators
- is_nick_allowed_operator_command()
- is_nick_allowed_admin_command()

13 years ago- add help for 'search'
Andreas Scherbaum [Fri, 25 May 2012 21:55:12 +0000 (23:55 +0200)]
- add help for 'search'

13 years ago- fix some warnings
Andreas Scherbaum [Fri, 25 May 2012 21:44:09 +0000 (23:44 +0200)]
- fix some warnings

13 years ago- identify commands in private messages
Andreas Scherbaum [Fri, 25 May 2012 21:41:52 +0000 (23:41 +0200)]
- identify commands in private messages

13 years ago- fix a typo which I missed earlier
Andreas Scherbaum [Fri, 25 May 2012 21:41:05 +0000 (23:41 +0200)]
- fix a typo which I missed earlier

13 years ago- proper identify channel names, don't rely on '#'
Andreas Scherbaum [Fri, 25 May 2012 21:18:47 +0000 (23:18 +0200)]
- proper identify channel names, don't rely on '#'

13 years ago- add basic 'help' command handler
Andreas Scherbaum [Fri, 25 May 2012 20:58:43 +0000 (22:58 +0200)]
- add basic 'help' command handler

13 years ago- add documentation regarding adding new commands
Andreas Scherbaum [Fri, 25 May 2012 19:10:41 +0000 (21:10 +0200)]
- add documentation regarding adding new commands

13 years ago- add on_irc_registered()
Andreas Scherbaum [Fri, 25 May 2012 10:21:00 +0000 (12:21 +0200)]
- add on_irc_registered()
- remove some unneeded debug messages

13 years ago- verify if commandchannel is joined, before posting something
Andreas Scherbaum [Sat, 19 May 2012 21:32:43 +0000 (23:32 +0200)]
- verify if commandchannel is joined, before posting something

13 years ago- add "wallchan" command
Andreas Scherbaum [Sat, 19 May 2012 21:01:52 +0000 (23:01 +0200)]
- add "wallchan" command
- add translations for "wallchan" command

13 years ago- add "wallchan" basics
Andreas Scherbaum [Sat, 19 May 2012 20:41:17 +0000 (22:41 +0200)]
- add "wallchan" basics

13 years ago- add a default for maximum number of results
Andreas 'ads' Scherbaum [Fri, 9 Mar 2012 20:52:32 +0000 (21:52 +0100)]
- add a default for maximum number of results

13 years ago- only use search website if the url is configured
Andreas 'ads' Scherbaum [Fri, 9 Mar 2012 20:45:10 +0000 (21:45 +0100)]
- only use search website if the url is configured

13 years ago- decrease debugging output in find_nick()
Andreas Scherbaum [Wed, 29 Feb 2012 15:10:29 +0000 (16:10 +0100)]
- decrease debugging output in find_nick()
- clarify some debugging messages

13 years ago- add search functionality
Andreas Scherbaum [Mon, 27 Feb 2012 13:54:08 +0000 (14:54 +0100)]
- add search functionality

13 years ago- remove blank line
Andreas Scherbaum [Mon, 27 Feb 2012 13:53:23 +0000 (14:53 +0100)]
- remove blank line

13 years ago- add new module
Andreas Scherbaum [Mon, 27 Feb 2012 13:42:37 +0000 (14:42 +0100)]
- add new module

13 years ago- add more configuration checks (search:maxresults and search:maxwrap)
Andreas Scherbaum [Mon, 27 Feb 2012 13:29:34 +0000 (14:29 +0100)]
- add more configuration checks (search:maxresults and search:maxwrap)

13 years ago- fix spacing
Andreas Scherbaum [Mon, 27 Feb 2012 13:08:23 +0000 (14:08 +0100)]
- fix spacing

13 years ago- fix bug in timeout handling
Andreas Scherbaum [Mon, 27 Feb 2012 09:25:53 +0000 (10:25 +0100)]
- fix bug in timeout handling