Andreas Scherbaum [Mon, 13 Aug 2012 00:03:36 +0000 (02:03 +0200)]
- handle nickserv passwords
Andreas Scherbaum [Sun, 12 Aug 2012 17:01:58 +0000 (19:01 +0200)]
- fix indent
Andreas Scherbaum [Sun, 12 Aug 2012 16:49:46 +0000 (18:49 +0200)]
- join channels which are in the configuration but not yet joined
Andreas Scherbaum [Sun, 12 Aug 2012 13:12:10 +0000 (15:12 +0200)]
- more code cleanup
Andreas Scherbaum [Sun, 12 Aug 2012 12:47:57 +0000 (14:47 +0200)]
- remove some old code
Andreas Scherbaum [Sun, 12 Aug 2012 12:46:19 +0000 (14:46 +0200)]
- maintenance ticks every 1 and 5 minutes
Andreas Scherbaum [Sat, 11 Aug 2012 23:50:14 +0000 (01:50 +0200)]
- implement help for ?join and ?leave
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
Andreas Scherbaum [Sat, 11 Aug 2012 23:07:50 +0000 (01:07 +0200)]
- implement "autojoin" configuration setting (default: yes)
Andreas Scherbaum [Thu, 9 Aug 2012 22:59:25 +0000 (00:59 +0200)]
- add more todo entries
Andreas Scherbaum [Thu, 9 Aug 2012 22:50:30 +0000 (00:50 +0200)]
- implement channel password handling
Andreas Scherbaum [Thu, 9 Aug 2012 22:49:58 +0000 (00:49 +0200)]
- add new todo list entry
Andreas Scherbaum [Thu, 9 Aug 2012 22:34:03 +0000 (00:34 +0200)]
- rearrange todo list
Andreas Scherbaum [Wed, 8 Aug 2012 23:23:36 +0000 (01:23 +0200)]
- move translations to a separate file
Andreas Scherbaum [Thu, 2 Aug 2012 21:05:45 +0000 (23:05 +0200)]
- cleanup _default() a bit
Andreas Scherbaum [Thu, 2 Aug 2012 21:02:55 +0000 (23:02 +0200)]
- add "quit" command
Andreas Scherbaum [Thu, 2 Aug 2012 21:01:23 +0000 (23:01 +0200)]
- add new todo item
Andreas Scherbaum [Thu, 2 Aug 2012 13:48:11 +0000 (15:48 +0200)]
- remove unnecessary linebreaks in debug messages
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
Andreas Scherbaum [Sat, 7 Jul 2012 11:38:56 +0000 (13:38 +0200)]
- update help information
Andreas Scherbaum [Sat, 7 Jul 2012 11:31:51 +0000 (13:31 +0200)]
- get rid of the Switch module
- use Perl builtin functionality instead
Andreas Scherbaum [Mon, 25 Jun 2012 21:29:56 +0000 (23:29 +0200)]
- fix typos in init_statistics()
Andreas Scherbaum [Mon, 25 Jun 2012 21:28:19 +0000 (23:28 +0200)]
Merge remote-tracking branch 'origin/v2' into v2
Andreas Scherbaum [Mon, 25 Jun 2012 21:28:09 +0000 (23:28 +0200)]
- implement "key" and "url" commands
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.
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.
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.
Hubert depesz Lubaczewski [Sun, 24 Jun 2012 12:59:08 +0000 (14:59 +0200)]
fix a typo
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.
Andreas Scherbaum [Thu, 21 Jun 2012 21:34:37 +0000 (23:34 +0200)]
- add todo list
Andreas Scherbaum [Thu, 21 Jun 2012 21:30:57 +0000 (23:30 +0200)]
- add demo sql file
Andreas Scherbaum [Thu, 21 Jun 2012 20:52:39 +0000 (22:52 +0200)]
- clean up database class a bit
Andreas Scherbaum [Thu, 21 Jun 2012 20:51:41 +0000 (22:51 +0200)]
- verify required tables at startup
Andreas Scherbaum [Thu, 21 Jun 2012 20:10:08 +0000 (22:10 +0200)]
- implement help
Andreas Scherbaum [Thu, 21 Jun 2012 19:48:21 +0000 (21:48 +0200)]
- use env to search for perl executable
- request by depesz
Andreas Scherbaum [Wed, 13 Jun 2012 21:34:15 +0000 (23:34 +0200)]
- enhance "lost" command
Andreas Scherbaum [Wed, 13 Jun 2012 21:32:31 +0000 (23:32 +0200)]
- allow setting the channel language on ?join
Andreas Scherbaum [Wed, 13 Jun 2012 21:31:28 +0000 (23:31 +0200)]
- add functions to set config options
Andreas Scherbaum [Wed, 13 Jun 2012 16:19:23 +0000 (18:19 +0200)]
- add "lost" command
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
Andreas Scherbaum [Wed, 13 Jun 2012 12:13:12 +0000 (14:13 +0200)]
- improve "say" command
Andreas Scherbaum [Wed, 13 Jun 2012 12:09:57 +0000 (14:09 +0200)]
- implement "join" and "leave" commands
Andreas Scherbaum [Wed, 13 Jun 2012 10:24:36 +0000 (12:24 +0200)]
- implement "say" command
Andreas Scherbaum [Mon, 11 Jun 2012 21:00:55 +0000 (23:00 +0200)]
- add "forget" functionality
Andreas Scherbaum [Fri, 8 Jun 2012 21:04:36 +0000 (23:04 +0200)]
- add "learn" function
- add translations for "learn"
Andreas Scherbaum [Fri, 8 Jun 2012 21:03:28 +0000 (23:03 +0200)]
- add begin(), commit() and rollback() functions
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()
Andreas Scherbaum [Fri, 25 May 2012 21:55:12 +0000 (23:55 +0200)]
- add help for 'search'
Andreas Scherbaum [Fri, 25 May 2012 21:44:09 +0000 (23:44 +0200)]
- fix some warnings
Andreas Scherbaum [Fri, 25 May 2012 21:41:52 +0000 (23:41 +0200)]
- identify commands in private messages
Andreas Scherbaum [Fri, 25 May 2012 21:41:05 +0000 (23:41 +0200)]
- fix a typo which I missed earlier
Andreas Scherbaum [Fri, 25 May 2012 21:18:47 +0000 (23:18 +0200)]
- proper identify channel names, don't rely on '#'
Andreas Scherbaum [Fri, 25 May 2012 20:58:43 +0000 (22:58 +0200)]
- add basic 'help' command handler
Andreas Scherbaum [Fri, 25 May 2012 19:10:41 +0000 (21:10 +0200)]
- add documentation regarding adding new commands
Andreas Scherbaum [Fri, 25 May 2012 10:21:00 +0000 (12:21 +0200)]
- add on_irc_registered()
- remove some unneeded debug messages
Andreas Scherbaum [Sat, 19 May 2012 21:32:43 +0000 (23:32 +0200)]
- verify if commandchannel is joined, before posting something
Andreas Scherbaum [Sat, 19 May 2012 21:01:52 +0000 (23:01 +0200)]
- add "wallchan" command
- add translations for "wallchan" command
Andreas Scherbaum [Sat, 19 May 2012 20:41:17 +0000 (22:41 +0200)]
- add "wallchan" basics
Andreas 'ads' Scherbaum [Fri, 9 Mar 2012 20:52:32 +0000 (21:52 +0100)]
- add a default for maximum number of results
Andreas 'ads' Scherbaum [Fri, 9 Mar 2012 20:45:10 +0000 (21:45 +0100)]
- only use search website if the url is configured
Andreas Scherbaum [Wed, 29 Feb 2012 15:10:29 +0000 (16:10 +0100)]
- decrease debugging output in find_nick()
- clarify some debugging messages
Andreas Scherbaum [Mon, 27 Feb 2012 13:54:08 +0000 (14:54 +0100)]
- add search functionality
Andreas Scherbaum [Mon, 27 Feb 2012 13:53:23 +0000 (14:53 +0100)]
- remove blank line
Andreas Scherbaum [Mon, 27 Feb 2012 13:42:37 +0000 (14:42 +0100)]
- add new module
Andreas Scherbaum [Mon, 27 Feb 2012 13:29:34 +0000 (14:29 +0100)]
- add more configuration checks (search:maxresults and search:maxwrap)
Andreas Scherbaum [Mon, 27 Feb 2012 13:08:23 +0000 (14:08 +0100)]
- fix spacing
Andreas Scherbaum [Mon, 27 Feb 2012 09:25:53 +0000 (10:25 +0100)]
- fix bug in timeout handling
Andreas Scherbaum [Mon, 27 Feb 2012 02:29:17 +0000 (03:29 +0100)]
- add more debug info to on_message()
Andreas Scherbaum [Mon, 27 Feb 2012 02:23:02 +0000 (03:23 +0100)]
- add internal nickname cache, used to identify if users for redirecting a search are in the channel
Andreas Scherbaum [Mon, 27 Feb 2012 00:44:36 +0000 (01:44 +0100)]
- add parameters to query()
Andreas Scherbaum [Mon, 27 Feb 2012 00:01:24 +0000 (01:01 +0100)]
- add database functionality
- almost full rewrite of db.pm
- open database connection in docbot
- test connection and configuration, add db ping
Andreas Scherbaum [Mon, 27 Feb 2012 00:00:15 +0000 (01:00 +0100)]
- add new config helper function
Andreas Scherbaum [Sun, 26 Feb 2012 23:59:56 +0000 (00:59 +0100)]
- document function
Andreas Scherbaum [Sun, 26 Feb 2012 22:11:15 +0000 (23:11 +0100)]
- cleanup linebreaks
Andreas Scherbaum [Sun, 26 Feb 2012 22:09:17 +0000 (23:09 +0100)]
- fix statistic message
Andreas Scherbaum [Sun, 26 Feb 2012 21:55:23 +0000 (22:55 +0100)]
- clarify statistic output
Andreas Scherbaum [Sun, 26 Feb 2012 21:53:43 +0000 (22:53 +0100)]
- more statistics
Andreas Scherbaum [Sun, 26 Feb 2012 21:48:20 +0000 (22:48 +0100)]
- add more debugging messages
Andreas Scherbaum [Sun, 26 Feb 2012 21:47:17 +0000 (22:47 +0100)]
- add periodic maintenance
Andreas Scherbaum [Sun, 26 Feb 2012 13:46:06 +0000 (14:46 +0100)]
- make "nickname in use" message more verbose: add session
Andreas Scherbaum [Fri, 24 Feb 2012 14:38:34 +0000 (15:38 +0100)]
- change spacing
Andreas 'ads' Scherbaum [Tue, 21 Feb 2012 12:15:28 +0000 (13:15 +0100)]
- remove $pg_docbot reference
Andreas Scherbaum [Fri, 3 Feb 2012 07:48:38 +0000 (08:48 +0100)]
- fix error in catching irc notices
Andreas Scherbaum [Fri, 3 Feb 2012 00:28:06 +0000 (01:28 +0100)]
- catch irc notice messages and output them to the command channel
Andreas Scherbaum [Thu, 2 Feb 2012 23:59:11 +0000 (00:59 +0100)]
- do not print socket errors into command channel - that's just flood
Andreas Scherbaum [Thu, 2 Feb 2012 00:08:59 +0000 (01:08 +0100)]
- add ctcp handling (using POE::Component::IRC::Plugin::CTCP)
Andreas Scherbaum [Thu, 2 Feb 2012 00:01:57 +0000 (01:01 +0100)]
- fix logic error in previous commit: outgoing traffic should not mark session activity
Andreas Scherbaum [Thu, 2 Feb 2012 00:00:48 +0000 (01:00 +0100)]
- mark session activity by using "raw_irc" and "raw_irc_out"
Andreas Scherbaum [Sun, 29 Jan 2012 14:18:19 +0000 (15:18 +0100)]
- make sure the watchdog is not called repeatedly in a short time frame
Andreas Scherbaum [Sun, 22 Jan 2012 12:36:40 +0000 (13:36 +0100)]
- add and implement handle_command_status()
Andreas Scherbaum [Sun, 22 Jan 2012 12:36:21 +0000 (13:36 +0100)]
- fix spacing
Andreas Scherbaum [Sun, 22 Jan 2012 12:25:41 +0000 (13:25 +0100)]
- add missing function parameter to handle_command()
Andreas Scherbaum [Sun, 22 Jan 2012 12:25:13 +0000 (13:25 +0100)]
- add first time format function
Andreas Scherbaum [Sun, 22 Jan 2012 12:24:12 +0000 (13:24 +0100)]
- silence two more irc events
Andreas Scherbaum [Sun, 22 Jan 2012 00:35:01 +0000 (01:35 +0100)]
- add per session statistics
Andreas Scherbaum [Sun, 22 Jan 2012 00:33:06 +0000 (01:33 +0100)]
- add statistics
Andreas Scherbaum [Sat, 21 Jan 2012 23:32:07 +0000 (00:32 +0100)]
- add command handler
Andreas Scherbaum [Sat, 21 Jan 2012 23:31:17 +0000 (00:31 +0100)]
- change if() elsif() construct into a Switch construct
Andreas Scherbaum [Sat, 21 Jan 2012 15:47:19 +0000 (16:47 +0100)]
- command handling
- implement basic authentication for operator and admin commands
Andreas Scherbaum [Sat, 21 Jan 2012 15:46:54 +0000 (16:46 +0100)]
- ignore "irc_nick" events in debugging