ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java
Revision 1.36 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:43 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.35: +3 -3 lines
Diff to previous 1.35
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Feb 5 16:43:45 2003 UTC (21 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.34: +5 -5 lines
Diff to previous 1.34
Changed the server to use the external util package. Quite a minor change,
but does affect a lot of files.

Revision 1.34 - (view) (annotate) - [select for diffs]
Thu Jun 6 14:24:20 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.33: +6 -6 lines
Diff to previous 1.33
Fixed to work with latest pircbot. Currently compiles against pircbot 0.9.4
(and hopefully later revisions :).

Revision 1.33 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:16 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32
Added URL to GPL headers.

Revision 1.32 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:00 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.31: +21 -2 lines
Diff to previous 1.31
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.31 - (view) (annotate) - [select for diffs]
Thu Feb 7 17:15:19 2002 UTC (22 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.30: +380 -365 lines
Diff to previous 1.30
Merged in changes from the SERVER_PIRCBOT branch. The IRC__Alerter now uses
pircbot (www.jibble.org/pircbot.php) for it's IRC connectivity. All the
features from the old version have been moved across to the new one, with a
few minor changes.

Revision 1.30.2.6 - (view) (annotate) - [select for diffs]
Wed Feb 6 22:59:06 2002 UTC (22 years, 2 months ago) by tdb
Branch: SERVER_PIRCBOT
Changes since 1.30.2.5: +6 -9 lines
Diff to previous 1.30.2.5 , to branch point 1.30 , to next main 1.36
The join and nick changing commands were broke - I forgot that they would
also have arguments :) Now only checks the message starts with the command,
rather than checking it was identical as with the other commands. Also
fixed a bug where the nick change wasn't being propagated to pircbot, and
thus it wouldn't realise private messages were for it after a nick change.

Revision 1.30.2.5 - (view) (annotate) - [select for diffs]
Tue Feb 5 22:39:29 2002 UTC (22 years, 2 months ago) by tdb
Branch: SERVER_PIRCBOT
Changes since 1.30.2.4: +13 -4 lines
Diff to previous 1.30.2.4 , to branch point 1.30
Thought it'd be nice if VERSION returned the revision of the code.

Revision 1.30.2.4 - (view) (annotate) - [select for diffs]
Tue Feb 5 21:40:03 2002 UTC (22 years, 2 months ago) by tdb
Branch: SERVER_PIRCBOT
Changes since 1.30.2.3: +44 -26 lines
Diff to previous 1.30.2.3 , to branch point 1.30
Improved the parsing of user input. Now will only match the exact String
for the command - ignoring case sensitivity. Also tweaked the use of the
config to stop the bot failing when some non-essential things can't be got
from the config.

Revision 1.30.2.3 - (view) (annotate) - [select for diffs]
Tue Feb 5 18:00:15 2002 UTC (22 years, 3 months ago) by tdb
Branch: SERVER_PIRCBOT
Changes since 1.30.2.2: +146 -37 lines
Diff to previous 1.30.2.2 , to branch point 1.30
Mostly tidying of code and commenting. Now much more complete, although
there are still some issues with the underlying pircbot (sometimes hangs
when the help command is sent, for example).

Revision 1.30.2.2 - (view) (annotate) - [select for diffs]
Mon Feb 4 23:14:38 2002 UTC (22 years, 3 months ago) by tdb
Branch: SERVER_PIRCBOT
Changes since 1.30.2.1: +61 -54 lines
Diff to previous 1.30.2.1 , to branch point 1.30
Some tweaks and additions. Should now have the functionality that the old
version had. Still some bugs to iron out relating to pircbot though. Also
need to tidy up and javadoc.

Revision 1.30.2.1 - (view) (annotate) - [select for diffs]
Mon Feb 4 00:14:13 2002 UTC (22 years, 3 months ago) by tdb
Branch: SERVER_PIRCBOT
Changes since 1.30: +253 -378 lines
Diff to previous 1.30
Integration of PircBot into i-scream as a replacement for the internal IRC
code that was put together in a hurry. PircBot makes the code much neater,
and ensures that the IRC interactivity is nicely seperated from the main
i-scream code.

PircBot is maintained by Paul, an i-scream developer also, at
http://www.jibble.org.

Changes so far are mostly to move the existing features to the new
structure provided by PircBot. It is still very much in development, and
is very messy :)

Revision 1.30 - (view) (annotate) - [select for diffs]
Thu Jan 17 17:58:12 2002 UTC (22 years, 3 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.29: +5 -3 lines
Diff to previous 1.29
Will now respond to it's name regardless of it's case.

Revision 1.29 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.28: +9 -9 lines
Diff to previous 1.28
Major change in the java package naming. This has been held off for some time
now, but it really needed doing. The future packaging of all i-scream products
will be;

uk.org.iscream.<product>.<subpart>.*

In the case of the central monitoring system server this will be;

uk.org.iscream.cms.server.*

The whole server has been changed to follow this structure, and tested to a
smallish extent. Further changes in other parts of the CMS will follow.

Revision 1.28 - (view) (annotate) - [select for diffs]
Sun May 13 01:47:44 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.27: +13 -2 lines
Diff to previous 1.27
A small bug had crept in here. The _name attribute was always being returned as
it stood in the skeleton class (when accessed by a method written in the
skeleton class, but called on an extending class). This is solved by adding an
accessor.
This will result in configuration being looked up for the relevant name, as
opposed to always the name of the abstract class.

Revision 1.27 - (view) (annotate) - [select for diffs]
Sat Mar 24 18:43:38 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.26: +14 -15 lines
Diff to previous 1.26
Opps, mistake in that last commit.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sat Mar 24 03:47:50 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.25: +10 -6 lines
Diff to previous 1.25
"last alert" will now display the last alert received... not the last one sent. This
means that alerts sent whilst in "stop alerts" mode will be included.

Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Mar 23 01:09:51 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.24: +39 -94 lines
Diff to previous 1.24
All skeletorized and javadoc'd now.

Revision 1.24 - (view) (annotate) - [select for diffs]
Thu Mar 22 22:07:58 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.23: +36 -4 lines
Diff to previous 1.23
Rejigged to use the same queuing structure as the Monitors.

Changed all the alerters to use new structire.

Possibly need to create an alerter skeleton...

Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Mar 16 17:13:49 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.22: +3 -15 lines
Diff to previous 1.22
Moved the getTimeString() method into the util.DateUtils package.

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Mar 16 03:12:42 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
Oh, seconds, milliseconds, pah !

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Mar 15 04:06:57 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.20: +10 -6 lines
Diff to previous 1.20
A quick little change so that it won't try and join a channel it's already in.

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Mar 14 23:25:29 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.19: +9 -9 lines
Diff to previous 1.19
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Mar 13 02:19:43 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18
Given all the classes that extend Thread a name using Thread.setName(). It is
only representative as far as it will tell us which class the Thread is, but
this will go some way to aiding debugging. If time permitted, more effort could
be taken to name each thread according to what it was dealing with.

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Mar 8 13:43:54 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.17: +16 -5 lines
Diff to previous 1.17
Added a count of "ignored" alerts - ie. when in stopped mode.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Mar 6 02:33:55 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.16: +7 -3 lines
Diff to previous 1.16
Now passes the time since the first alert for a problem occoured.

Also has support for formatting and displaying this information as obtained from the config

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Mar 5 23:12:43 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.15: +124 -39 lines
Diff to previous 1.15
A lot of error catching with the configuration has been implemented.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Mar 5 12:45:51 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
Now shows OK alerts if the previous alert exceeded the alerters level

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Mar 5 12:09:28 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13
Now responds to OK messages even if that isn't the level its monitoring.

Maybe not ideal just yet though, it should only get OK's if its level has been passed, but not sure how to do that yet.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Mar 5 01:38:01 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.12: +14 -2 lines
Diff to previous 1.12
Added a 1 second delay between messages. IRC servers may not be happy if we spam
messages too quickly, and may actively block us.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Mar 4 05:37:15 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.11: +7 -4 lines
Diff to previous 1.11
Added a version command.

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Mar 4 05:26:00 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.10: +70 -5 lines
Diff to previous 1.10
Added a selection of new features, such as uptime, time since last alert, and
statistics. Also improved the last alert command to provide a time stamp.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sun Mar 4 04:43:29 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
minor change to the logging line

Revision 1.9 - (view) (annotate) - [select for diffs]
Sun Mar 4 03:34:50 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.8: +277 -45 lines
Diff to previous 1.8
Added a lot of features merged with the stuff AJ has just done. The IRC bot now
is a lot more robust - it will make more effort to connect, and reconnect. It
will respond to user commands, such as "stop alerts". It can be moved between
channels, and even supports different names if one is in use.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Mar 4 02:41:16 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.7: +22 -6 lines
Diff to previous 1.7
Revamped monitoring and alert fireing mechanism.
Now takes account of timing of last alerts.
Now uses threshold value a guide to how quickly alerts should be escalated.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sat Mar 3 01:09:53 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.6: +24 -44 lines
Diff to previous 1.6
Both alerting mechanisms now make full use of the ConfigurationProxy class,
which in turn gives them dynamic updates of configuration :)

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Mar 2 02:46:56 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.5: +5 -4 lines
Diff to previous 1.5
Changed the printing of the alert level.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Mar 2 01:32:09 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4
It's late, and I'm hacked off with the server. :P

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Mar 2 01:29:22 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3
Added some debugging information.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Mar 2 00:37:03 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2
Added the source to the appropriate places.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Mar 2 00:14:13 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.1: +5 -3 lines
Diff to previous 1.1
Modified to fit with the new Alert object.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Mar 1 23:45:45 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
A basic IRC bot, with the IRCBot itself as an inner class.

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a