irker.git
10 years agoirkerd: Replace 'fallback' global with local 'nick_needs_number'
W. Trevor King [Fri, 7 Mar 2014 04:21:09 +0000 (20:21 -0800)]
irkerd: Replace 'fallback' global with local 'nick_needs_number'

Using the new kwargs handling to pass the data through Irker() down to
Connection().

10 years agoirkerd: Add kwargs handling to pass data to IRCServerConnection.connect
W. Trevor King [Fri, 7 Mar 2014 04:21:08 +0000 (20:21 -0800)]
irkerd: Add kwargs handling to pass data to IRCServerConnection.connect

This makes it easy to pass data down the stack:

  Irker() (stored in Irker.kwargs)
  `-- Irker.handle() -> Dispatcher() (stored in Dispatcher.kwargs)
      `-- Dispatcher.dispatch() -> Connection() (stored in Connection.kwargs)
          `-- Connection.dequeue() -> IRCServerConnection.connect()

You can easily add data at every point in the stack (e.g. we add
'target' in Irker.handle()) and pull it back out when that's
appropriate (e.g. we tap 'target' back out in Connection()).  With
this setup we can reduce the number of global variables currently in
use, because it will be easy to pass data like passwords,
nickame-fallback-ness, etc. down to the appropriate level, without the
intermediate levels needing any changes.

10 years agoirkerd: Add Target.__str__ for pretty-printing targets in log messages
W. Trevor King [Fri, 7 Mar 2014 04:21:07 +0000 (20:21 -0800)]
irkerd: Add Target.__str__ for pretty-printing targets in log messages

Prefer the servername, falling back to the URL, falling back to
Target.__repr__().

10 years agoirkerd: Convert to Python's logging module
W. Trevor King [Fri, 7 Mar 2014 04:21:06 +0000 (20:21 -0800)]
irkerd: Convert to Python's logging module

Instead of using the local IRCClient.debug() method, use the more
flexible standard library logger.  This makes it easy to log to
syslog, rotating files, etc, using the usual logging Handlers.  The
mapping from the old implementation to the new implementation is:

  IRCClient.debug(1, message)  -> LOG.info(message)
  IRCClient.debug(2, message)  -> LOG.debug(message)
  IRCClient.debug(50, message) -> LOG.debug(message)
  Irker.logerr(errmsg)         -> LOG.error(message)

with the exception of the failed-message error, which is logged as
LOG.warning().  I didn't try and recategorize the other message log
levels, although I think a number of info-level log messages should
really be debug-level log messages.

To set the log level, the -d option now takes string arguments
(e.g. 'info', 'debug') instead of numeric arguments (e.g. '1', '2').
This breaks backward compatibility, but I think it makes the argument
more user-friendly.  If you try and set an invalid level, there's a
helpful error message to guide you in the right direction.

I also use format_exc() in Connection.dequeue (following the existing
example deeper in the Connection.dequeue nest).  The log level should
decide whether the traceback is printed or not, not whether the
exception should be raised or ignored.

10 years agoirkerd: Split imported modules onto their own lines
W. Trevor King [Fri, 7 Mar 2014 04:21:05 +0000 (20:21 -0800)]
irkerd: Split imported modules onto their own lines

Following PEP 8 [1]:

  Imports should usually be on separate lines, e.g.:

    Yes: import os
         import sys

    No:  import sys, os

This also makes it easier to read diffs that add and remove imports,
since you won't need a word-diff to see exactly what changed.

[1]: http://legacy.python.org/dev/peps/pep-0008/#imports

Conflicts:
irkerd

10 years agoirkerd: Pull request-parsing out into Irker._parse_request
W. Trevor King [Fri, 7 Mar 2014 04:21:04 +0000 (20:21 -0800)]
irkerd: Pull request-parsing out into Irker._parse_request

There is a lot of error checking here, which is good, but it distracts
from the core logic of Irker.handle.  By pulling the parsing out into
a private helper function, we isolate the code focused on parsing and
error checking from the code focused on dispatching and connection
management, making both easier to read.

I've also changed the Target-validation logic.  The old Target.valid
returned True if the Target URL was valid, and False otherwise.  The
new Target.validate returns None, and raises an InvalidRequest
exception with an error message describing exactly why the URL is
invalid.  We print these messages when dropping server URLs in
Irker._parse_request, while the old Irker.handle code silently dropped
invalid targets.  We also continue processing other server URLs after
an invalid Target, while the old Irker.handle code bailed out after
the first invalid Target.  Besides making the invalid URLs more
obvious in the logs and increasing resiliency to invalid URLs, these
changes allow us to pull the URL-to-Target conversion out of
Irker.handle entirely, so it can focus more strongly on dispatch and
connection management.

10 years agoirkerd: Add InvalidRequest and use it to flatten Irker.handle()
W. Trevor King [Fri, 7 Mar 2014 04:21:03 +0000 (20:21 -0800)]
irkerd: Add InvalidRequest and use it to flatten Irker.handle()

The old implementation had several instances of logic like this:

  if exception_condition:
      self.logerr("invalid request")
  else:
      # continue_processing

This increases nesting after each round of exception checking, and
makes the logic of the whole function harder to follow.  This commit
replaces that logic with:

  try:
      if exception_condition:
          raise InvalidRequest("invalid request")
      # continue peocessing
  except InvalidRequest, e:
      self.logerr(str(e))

Because the guts of the handle() function are already inside a
try/except block, we can add our except clause to the existing block,
and now exception checks don't increase nesting at all.

The exception to this global try/except block is the 'URL has
unexpected type' error, where we do want a local try/except block
inside the channel loop.  That way we get both errors about invalid
URLs and continue to attempt valid URLs.  This matches the existing
logic for this check, but conflicts with the current target.valid
check (which doesn't log an error and does stop processing of further
channels).

10 years agoirkerd: Store less state in IRCServerConnection.connect()
W. Trevor King [Fri, 7 Mar 2014 04:21:02 +0000 (20:21 -0800)]
irkerd: Store less state in IRCServerConnection.connect()

We will never need the connection-time port, server_address, username,
ircname, or password again, so don't store them.  We *do* need server
and real_server_name for Event handling, so keep them around.

10 years agoVersion bump for 2.6. 2.6
Eric S. Raymond [Tue, 4 Feb 2014 22:59:59 +0000 (17:59 -0500)]
Version bump for 2.6.

10 years agoAdd a check for expired connections that are still running
Alexander van Gessel [Tue, 4 Feb 2014 20:59:09 +0000 (21:59 +0100)]
Add a check for expired connections that are still running

10 years agoDon't loop forever after failing to connect to IRC
Alexander van Gessel [Tue, 4 Feb 2014 20:58:51 +0000 (21:58 +0100)]
Don't loop forever after failing to connect to IRC

11 years agoAI0867 gets more credit.
Eric S. Raymond [Wed, 25 Dec 2013 03:55:51 +0000 (22:55 -0500)]
AI0867 gets more credit.

11 years agoDocumentation improvements.
Eric S. Raymond [Wed, 25 Dec 2013 03:14:02 +0000 (22:14 -0500)]
Documentation improvements.

11 years agoVersion bump for 2.5 release. 2.5
Eric S. Raymond [Wed, 25 Dec 2013 02:29:53 +0000 (21:29 -0500)]
Version bump for 2.5 release.

11 years agoFix a deadlock
Alexander van Gessel [Tue, 24 Dec 2013 22:23:04 +0000 (23:23 +0100)]
Fix a deadlock

11 years agoMy typo fix was typoed. Clearly I need more sleep.
Eric S. Raymond [Sun, 22 Dec 2013 11:10:47 +0000 (06:10 -0500)]
My typo fix was typoed.  Clearly I need more sleep.

11 years agoTypo fix.
Eric S. Raymond [Sun, 22 Dec 2013 11:09:00 +0000 (06:09 -0500)]
Typo fix.

11 years agoDocumentation tweak.
Eric S. Raymond [Sun, 22 Dec 2013 11:06:37 +0000 (06:06 -0500)]
Documentation tweak.

11 years agoStupid markup fix. 2.4
Eric S. Raymond [Wed, 4 Dec 2013 00:37:49 +0000 (19:37 -0500)]
Stupid markup fix.

11 years agoVersion bump for release 2.4.
Eric S. Raymond [Wed, 4 Dec 2013 00:35:21 +0000 (19:35 -0500)]
Version bump for release 2.4.

11 years agoOnly convert to unicode when needed
Laurent Bachelier [Sun, 1 Dec 2013 19:13:23 +0000 (20:13 +0100)]
Only convert to unicode when needed

Otherwise, it would crash if any unicode string was already
present.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoSupply a missing parameter.
Eric S. Raymond [Tue, 3 Dec 2013 22:41:09 +0000 (17:41 -0500)]
Supply a missing parameter.

11 years agoCleaner exit code.
Eric S. Raymond [Mon, 2 Dec 2013 15:45:18 +0000 (10:45 -0500)]
Cleaner exit code.

11 years agoWe don't want to return an error status in immediate mode.
Eric S. Raymond [Mon, 2 Dec 2013 15:42:38 +0000 (10:42 -0500)]
We don't want to return an error status in immediate mode.

11 years agofix crash after introduction of immediate mode
Antoine Beaupré [Sun, 1 Dec 2013 06:07:19 +0000 (01:07 -0500)]
fix crash after introduction of immediate mode

this fixes the following backtrace:

Exception happened during processing of request from ('127.0.0.1', 41192)
Traceback (most recent call last):
  File /usr/lib/python2.7/SocketServer.py, line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File /usr/lib/python2.7/SocketServer.py, line 321, in process_request
    self.finish_request(request, client_address)
  File /usr/lib/python2.7/SocketServer.py, line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File /usr/lib/python2.7/SocketServer.py, line 649, in __init__
    self.handle()
  File ./irkerd, line 820, in handle
    irker.handle(line.strip())
  File ./irkerd, line 786, in handle
    self.servers[target.server()].dispatch(target.channel, message, target.key, quit_after=quit_after)
  File ./irkerd, line 641, in dispatch
    eligibles[0].enqueue(channel, message, key)
TypeError: enqueue() takes exactly 5 arguments (4 given)

when running: ./irk irker-test test

11 years agoadd a more helpful hook example: in post-receive
Antoine Beaupré [Sun, 1 Dec 2013 06:39:07 +0000 (01:39 -0500)]
add a more helpful hook example: in post-receive

the previous suggestion seemed to be about the update hook, but it's
usually bad practice to setup notification hooks there, because if
they fail, the push fails.

parsing the git documentation to find exactly the incantation is not
exactly trivial either...

11 years agoAnother shipper metadata change.
Eric S. Raymond [Sun, 1 Dec 2013 04:30:39 +0000 (23:30 -0500)]
Another shipper metadata change.

11 years agoVersion bump for 2.3 release. 2.3
Eric S. Raymond [Sun, 1 Dec 2013 02:41:09 +0000 (21:41 -0500)]
Version bump for 2.3 release.

11 years agoReinstate a simpler irk that only works with irkerd running.
Eric S. Raymond [Sun, 1 Dec 2013 02:31:42 +0000 (21:31 -0500)]
Reinstate a simpler irk that only works with irkerd running.

11 years agoClean up and document immediate mode.
Eric S. Raymond [Sat, 30 Nov 2013 20:00:00 +0000 (15:00 -0500)]
Clean up and document immediate mode.

11 years agoImmediate mode work.
Eric S. Raymond [Sat, 30 Nov 2013 19:43:52 +0000 (14:43 -0500)]
Immediate mode work.

11 years agoRemove unecessary elaboration.
Eric S. Raymond [Sat, 30 Nov 2013 19:29:45 +0000 (14:29 -0500)]
Remove unecessary elaboration.

11 years agoAn until string is not the answer.
Eric S. Raymond [Sat, 30 Nov 2013 17:38:58 +0000 (12:38 -0500)]
An until string is not the answer.

11 years agoTurning off DEAF is mecessary for this technique...
Eric S. Raymond [Sat, 30 Nov 2013 14:52:39 +0000 (09:52 -0500)]
Turning off DEAF is mecessary for this technique...

...but, alas, the server doesn't echo pings back to their sources.

11 years agoI think this would work to terminate immediaate mode...
Eric S. Raymond [Sat, 30 Nov 2013 14:14:35 +0000 (09:14 -0500)]
I think this would work to terminate immediaate mode...

...if we could see message traffic!

11 years agoRefactoring step: don't uncomditionally spawn a thread...
Eric S. Raymond [Sat, 30 Nov 2013 12:31:56 +0000 (07:31 -0500)]
Refactoring step: don't uncomditionally spawn a thread...

...immediate mode doesn't need it.

11 years agoNote a deficiency
Eric S. Raymond [Sat, 30 Nov 2013 12:09:22 +0000 (07:09 -0500)]
Note a deficiency

11 years agoHalf-working immediate mode.
Eric S. Raymond [Fri, 29 Nov 2013 13:45:52 +0000 (08:45 -0500)]
Half-working immediate mode.

We can now send messages with -i but we don't ger clean termination
afterwards yet.

11 years agoNEWS typo fix.
Eric S. Raymond [Fri, 29 Nov 2013 11:14:11 +0000 (06:14 -0500)]
NEWS typo fix.

11 years agoVersion bump for 2.2 release. 2.2
Eric S. Raymond [Fri, 29 Nov 2013 11:11:31 +0000 (06:11 -0500)]
Version bump for 2.2 release.

11 years agoFix up some shipper metadata.
Eric S. Raymond [Fri, 29 Nov 2013 11:05:57 +0000 (06:05 -0500)]
Fix up some shipper metadata.

11 years agoRequired magic to kill the spawned instance.
Eric S. Raymond [Wed, 27 Nov 2013 00:45:58 +0000 (19:45 -0500)]
Required magic to kill the spawned instance.

11 years agoShow traceback on higher debug levels
Laurent Bachelier [Tue, 26 Nov 2013 23:24:51 +0000 (00:24 +0100)]
Show traceback on higher debug levels

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoFix some documentation typos
Laurent Bachelier [Tue, 26 Nov 2013 23:24:50 +0000 (00:24 +0100)]
Fix some documentation typos

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoAn attempt at making irk clean up after itself.
Eric S. Raymond [Tue, 26 Nov 2013 23:32:42 +0000 (18:32 -0500)]
An attempt at making irk clean up after itself.

Perplexingly, the terminate() method call doesn't.

11 years agoFix unicode processing
Alexander van Gessel [Tue, 26 Nov 2013 20:47:50 +0000 (21:47 +0100)]
Fix unicode processing

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoRemove some irclib cruft
Alexander van Gessel [Tue, 26 Nov 2013 20:47:26 +0000 (21:47 +0100)]
Remove some irclib cruft

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoVersion bump for release 2.1. 2.1
Eric S. Raymond [Tue, 26 Nov 2013 15:13:08 +0000 (10:13 -0500)]
Version bump for release 2.1.

11 years agoUndo some damage from an overambitious patch.
Eric S. Raymond [Tue, 26 Nov 2013 15:12:43 +0000 (10:12 -0500)]
Undo some damage from an overambitious patch.

11 years agoMore documentation polishing.
Eric S. Raymond [Tue, 26 Nov 2013 11:35:24 +0000 (06:35 -0500)]
More documentation polishing.

11 years agoweechat doesn't do ANSI color, only mIRC.
Eric S. Raymond [Tue, 26 Nov 2013 11:03:49 +0000 (06:03 -0500)]
weechat doesn't do ANSI color, only mIRC.

11 years agoNews update.
Eric S. Raymond [Tue, 26 Nov 2013 10:56:35 +0000 (05:56 -0500)]
News update.

11 years agoExplain why relaying through this is a good idea!
Eric S. Raymond [Tue, 26 Nov 2013 10:53:28 +0000 (05:53 -0500)]
Explain why relaying through this is a good idea!

11 years agoDocumentation polishing.
Eric S. Raymond [Tue, 26 Nov 2013 10:20:15 +0000 (05:20 -0500)]
Documentation polishing.

11 years agoCosmetic fix to Makefile.
Eric S. Raymond [Tue, 26 Nov 2013 10:06:07 +0000 (05:06 -0500)]
Cosmetic fix to Makefile.

11 years agoBe more flexible about where irker can be installed.
dak180 [Mon, 25 Nov 2013 14:23:54 +0000 (09:23 -0500)]
Be more flexible about where irker can be installed.

11 years agoClean up the make file and use a more portable method of making tarballs.
dak180 [Sun, 17 Nov 2013 21:23:59 +0000 (16:23 -0500)]
Clean up the make file and use a more portable method of making tarballs.

11 years agoMerge commit 'refs/merge-requests/26' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Thu, 21 Nov 2013 06:54:48 +0000 (01:54 -0500)]
Merge commit 'refs/merge-requests/26' of git://gitorious.org/irker/irker into merge-requests/26

11 years agoAdapt for new shipper conventions.
Eric S. Raymond [Thu, 21 Nov 2013 06:52:35 +0000 (01:52 -0500)]
Adapt for new shipper conventions.

11 years agoSpeed up parsing the Git commit author and subject
Beat Bolli [Sat, 16 Nov 2013 14:32:23 +0000 (15:32 +0100)]
Speed up parsing the Git commit author and subject

This uses the same idiom as a few lines lower to split the
formatted message into the three fields.

11 years agoVersion bump for 2.0. 2.0
Eric S. Raymond [Sat, 16 Nov 2013 10:39:22 +0000 (05:39 -0500)]
Version bump for 2.0.

11 years agoImproved .gitignore based om an idea bu dak180.
Eric S. Raymond [Sat, 16 Nov 2013 10:35:30 +0000 (05:35 -0500)]
Improved .gitignore based om an idea bu dak180.

11 years agoSlightly more elegant fix, no need for new connectfail status.
Eric S. Raymond [Sat, 16 Nov 2013 10:15:18 +0000 (05:15 -0500)]
Slightly more elegant fix, no need for new connectfail status.

11 years agoMeatball-surgery fix for invalid-name bug.
Eric S. Raymond [Sat, 16 Nov 2013 10:11:32 +0000 (05:11 -0500)]
Meatball-surgery fix for invalid-name bug.

00:07:27   AI0867 | esr: it reproduces on git head                   │
00:07:42   AI0867 | ./irk irc://chat.freendoe.net/foo                │
00:07:45   AI0867 | that's sufficient                                │
00:08:01      esr | OK, please email me a description of how to      │
                  | reproduce, I'll fix it.                          │
00:08:39      esr | Oh.  Is therec anything special about that       │
                  | channel?                                         │
00:08:42   AI0867 | no                                               │
00:08:48   AI0867 | any incorrect servername will do                 │
00:08:56   AI0867 | it then attempts to quit the server              │
00:09:01   AI0867 | and tries to send a QUIT                         │
00:09:06   AI0867 | which throws an exception                        │
00:09:10   AI0867 | so it tries to quit the server                   │

11 years agoAdd a todo note.
Eric S. Raymond [Tue, 22 Oct 2013 23:53:17 +0000 (19:53 -0400)]
Add a todo note.

11 years agoRemove an irclib remnant.
Eric S. Raymond [Tue, 22 Oct 2013 23:48:49 +0000 (19:48 -0400)]
Remove an irclib remnant.

11 years agoMore debug consolidation.
Eric S. Raymond [Sun, 20 Oct 2013 22:33:06 +0000 (18:33 -0400)]
More debug consolidation.

11 years agoMore uniform logging.
Eric S. Raymond [Sun, 20 Oct 2013 22:28:30 +0000 (18:28 -0400)]
More uniform logging.

11 years agoFix the spin loop not to be O(n**2).
Eric S. Raymond [Sun, 20 Oct 2013 21:50:28 +0000 (17:50 -0400)]
Fix the spin loop not to be O(n**2).

11 years agoSmoke test passes.
Eric S. Raymond [Sun, 20 Oct 2013 21:44:57 +0000 (17:44 -0400)]
Smoke test passes.

11 years agoRemove unnecessary mutex lock.
Eric S. Raymond [Sun, 20 Oct 2013 21:42:27 +0000 (17:42 -0400)]
Remove unnecessary mutex lock.

11 years agoEliminate the dependency on irclib.
Eric S. Raymond [Sun, 20 Oct 2013 21:01:40 +0000 (17:01 -0400)]
Eliminate the dependency on irclib.

11 years agoRepairing the secret-chanel patch. Smoke test works.
Eric S. Raymond [Sun, 20 Oct 2013 04:55:23 +0000 (00:55 -0400)]
Repairing the secret-chanel patch.  Smoke test works.

11 years agoPreparing for release.
Eric S. Raymond [Sat, 19 Oct 2013 12:20:39 +0000 (08:20 -0400)]
Preparing for release.

11 years agoPrevent a unicode error on UTF-8 in commit metadata.
Neil [Sat, 19 Oct 2013 11:52:53 +0000 (07:52 -0400)]
Prevent a unicode error on UTF-8 in commit metadata.

Having utf-8 in the commit metada (e.g author, commit message, file
names) triggered a decoding error:

"UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 42: ordinal not in range(128)"

This is because the __unicode__ method of the Commit class, doesn't
actually return an object of type 'unicode' although it should.

11 years agoUpdate the news.
Eric S. Raymond [Fri, 18 Oct 2013 20:42:10 +0000 (16:42 -0400)]
Update the news.

11 years agoMerge commit 'refs/merge-requests/22' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Fri, 18 Oct 2013 20:36:45 +0000 (16:36 -0400)]
Merge commit 'refs/merge-requests/22' of git://gitorious.org/irker/irker into merge-requests/22

11 years agoAdd support for keyed channels. Supports both channel?secret and channel?key=secret.
Ben Kelly [Thu, 10 Oct 2013 18:16:41 +0000 (14:16 -0400)]
Add support for keyed channels. Supports both channel?secret and channel?key=secret.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoAllow irkerhook to be used as a mecurial changegroup hook
Neil [Tue, 3 Sep 2013 09:50:30 +0000 (11:50 +0200)]
Allow irkerhook to be used as a mecurial changegroup hook

11 years agoNoise reduction.
Eric S. Raymond [Fri, 17 May 2013 14:05:39 +0000 (10:05 -0400)]
Noise reduction.

11 years agoPolishing irk.
Eric S. Raymond [Fri, 17 May 2013 14:05:03 +0000 (10:05 -0400)]
Polishing irk.

11 years agoUpgrade the test tool.
Eric S. Raymond [Fri, 17 May 2013 14:01:37 +0000 (10:01 -0400)]
Upgrade the test tool.

11 years agoImprove an error message.
Eric S. Raymond [Fri, 17 May 2013 13:32:08 +0000 (09:32 -0400)]
Improve an error message.

11 years agoShut up, pylint!
Eric S. Raymond [Fri, 17 May 2013 13:25:12 +0000 (09:25 -0400)]
Shut up, pylint!

11 years agoDcumentation update.
Eric S. Raymond [Fri, 17 May 2013 13:10:56 +0000 (09:10 -0400)]
Dcumentation update.

11 years agoAdd the 'email' variable to the irkerhook manpage
Alexander van Gessel [Wed, 15 May 2013 15:34:15 +0000 (17:34 +0200)]
Add the 'email' variable to the irkerhook manpage

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoImplement email as a delivery method
Alexander van Gessel [Wed, 15 May 2013 15:34:03 +0000 (17:34 +0200)]
Implement email as a delivery method

This delivery method exists for the benefit of sourceforge,
which does not allow hooks to access the network except through email.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoVersion bumpp for 1.20 release. 1.20
Eric S. Raymond [Fri, 17 May 2013 12:49:26 +0000 (08:49 -0400)]
Version bumpp for 1.20 release.

11 years agoCompatibility with python 2.4 (if simplejson is present)
Alexander van Gessel [Wed, 15 May 2013 12:50:59 +0000 (14:50 +0200)]
Compatibility with python 2.4 (if simplejson is present)

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoIncrease anti-flood-delay from 0.5 to 1 second.
Alexander van Gessel [Wed, 15 May 2013 12:50:45 +0000 (14:50 +0200)]
Increase anti-flood-delay from 0.5 to 1 second.

With a delay of 0.5 seconds, freenode starts dropping messages
bunched in large groups after about 18 of them.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoVersion bump for 1.9 release. 1.19
Eric S. Raymond [Sun, 5 May 2013 18:25:31 +0000 (14:25 -0400)]
Version bump for 1.9 release.

11 years agoWrote irkerd usage
William Orr [Wed, 24 Apr 2013 05:11:12 +0000 (01:11 -0400)]
Wrote irkerd usage

- invalid options should print usage

11 years agoirkerd -V shouldn't take an argument
William Orr [Wed, 24 Apr 2013 05:06:42 +0000 (01:06 -0400)]
irkerd -V shouldn't take an argument

11 years agoVersion bump for 1.18 release. 1.18
Eric S. Raymond [Wed, 17 Apr 2013 00:57:05 +0000 (20:57 -0400)]
Version bump for 1.18 release.

11 years agoDo not write to logfile if None
Laurent Bachelier [Tue, 16 Apr 2013 21:22:47 +0000 (23:22 +0200)]
Do not write to logfile if None

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoPython 2.5 compatibility
Laurent Bachelier [Tue, 16 Apr 2013 21:22:46 +0000 (23:22 +0200)]
Python 2.5 compatibility

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoDocument new options properly.
Eric S. Raymond [Tue, 16 Apr 2013 21:03:00 +0000 (17:03 -0400)]
Document new options properly.

11 years agoAppend mode is required if we're loogging to disk.
Eric S. Raymond [Tue, 16 Apr 2013 19:50:45 +0000 (15:50 -0400)]
Append mode is required if we're loogging to disk.

11 years agoPrevent actually sending an empty privmsg.
Eric S. Raymond [Tue, 16 Apr 2013 11:57:59 +0000 (07:57 -0400)]
Prevent actually sending an empty privmsg.

11 years agoAdded -p option.
Eric S. Raymond [Tue, 16 Apr 2013 11:42:39 +0000 (07:42 -0400)]
Added -p option.