]> dxcluster.org Git - spider.git/log
spider.git
10 years agofixe shutdown command
Dirk Koopman [Tue, 17 Jun 2014 22:02:06 +0000 (23:02 +0100)]
fixe shutdown command

10 years agomake several show/* cmds non-blocking
Dirk Koopman [Tue, 17 Jun 2014 21:50:30 +0000 (22:50 +0100)]
make several show/* cmds non-blocking

10 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Tue, 17 Jun 2014 20:41:03 +0000 (21:41 +0100)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

10 years agoadded some actual code to sh/wx
Dirk Koopman [Tue, 17 Jun 2014 20:39:55 +0000 (21:39 +0100)]
added some actual code to sh/wx

10 years agofix the version fu
Dirk Koopman [Tue, 17 Jun 2014 20:06:36 +0000 (21:06 +0100)]
fix the version fu

10 years agoupissue version no
Dirk Koopman [Tue, 17 Jun 2014 19:59:10 +0000 (20:59 +0100)]
upissue version no

10 years agoAdd CTY-2405 prefix changes
Dirk Koopman [Tue, 17 Jun 2014 19:58:35 +0000 (20:58 +0100)]
Add CTY-2405 prefix changes

10 years agoadd DXCommand::spawn_cmd and convert suitable cmds
Dirk Koopman [Tue, 17 Jun 2014 19:43:02 +0000 (20:43 +0100)]
add DXCommand::spawn_cmd and convert suitable cmds

All file searching commands (that I can think of) now spawn jobs
(one per cmd [to be changed?]) rather than do it in line.

This affects sh/log (and friends) and sh/dx (and friends)

10 years agofix spurious mojo close error on client
Dirk Koopman [Tue, 17 Jun 2014 15:57:56 +0000 (16:57 +0100)]
fix spurious mojo close error on client

$sock->close_gracefully no longer exists, so on disconnection
just undef $sock instead.

10 years agomojoise sh/wm7d
Dirk Koopman [Tue, 17 Jun 2014 15:55:59 +0000 (16:55 +0100)]
mojoise sh/wm7d

10 years agofix various cmds using AsyncMsg
Dirk Koopman [Tue, 17 Jun 2014 00:11:24 +0000 (01:11 +0100)]
fix various cmds using AsyncMsg

10 years agoget sh/db0sdx working with mojo
Dirk Koopman [Mon, 16 Jun 2014 23:54:02 +0000 (00:54 +0100)]
get sh/db0sdx working with mojo

10 years agosh/qrz now working correctly with mojo
Dirk Koopman [Mon, 16 Jun 2014 17:15:21 +0000 (18:15 +0100)]
sh/qrz now working correctly with mojo

10 years agofix some typos
Dirk Koopman [Mon, 16 Jun 2014 13:36:52 +0000 (14:36 +0100)]
fix some typos

10 years agoMerge branch 'master' into mojo
Dirk Koopman [Fri, 13 Jun 2014 12:24:38 +0000 (13:24 +0100)]
Merge branch 'master' into mojo

Just bring stuff up to date

Conflicts:
Changes
data/cty.dat
data/prefix_data.pl
perl/Version.pm

10 years agoadd CTY-2405 prefix list
Dirk Koopman [Mon, 21 Apr 2014 08:39:09 +0000 (09:39 +0100)]
add CTY-2405 prefix list

10 years agoadded new version of wpxloc.raw with missing entries
Dirk Koopman [Sat, 8 Mar 2014 22:06:51 +0000 (22:06 +0000)]
added new version of wpxloc.raw with missing entries

10 years agonow fix the REAL problem with Prefix::extract
Dirk Koopman [Sat, 8 Mar 2014 00:43:03 +0000 (00:43 +0000)]
now fix the REAL problem with Prefix::extract

Which is that there is no alias 'Q' for 'QQ' in the new format
of wpxloc.raw

10 years agofix small crash with Spot::dup
Dirk Koopman [Sat, 8 Mar 2014 00:18:18 +0000 (00:18 +0000)]
fix small crash with Spot::dup

This may have something to do with the new wpxloc.raw format that
I am now using (erm.. testing). But if I check for a a duplicate of
the prefix in the remarks, and that "prefix" (char string length <= 4)
contains a space, Spot::dup crashes. Intermittently.

10 years agoadd new version of wpxloc.raw
Dirk Koopman [Fri, 7 Mar 2014 23:29:48 +0000 (23:29 +0000)]
add new version of wpxloc.raw

10 years agoimprove the previous fix for import_cmd slightly
Dirk Koopman [Sun, 12 Jan 2014 17:59:50 +0000 (17:59 +0000)]
improve the previous fix for import_cmd slightly

Make sure that if a Route::Node disappears and the software clucks
in broadcast_pc92_update/broadcast_pc92_keepalive then STILL update
the timer so that it doesn't continue to cluck every 10 seconds.

10 years agofix dx and import_cmd problems
Dirk Koopman [Sun, 12 Jan 2014 16:43:37 +0000 (16:43 +0000)]
fix dx and import_cmd problems

10 years agoadd CTY2312 prefix changes
Dirk Koopman [Mon, 30 Dec 2013 12:30:39 +0000 (12:30 +0000)]
add CTY2312 prefix changes

11 years agoadd cty-2311 prefixes
Dirk Koopman [Tue, 19 Nov 2013 12:20:25 +0000 (12:20 +0000)]
add cty-2311 prefixes

11 years agoadd CTY2310 prefix changes
Dirk Koopman [Wed, 9 Oct 2013 09:15:45 +0000 (10:15 +0100)]
add CTY2310 prefix changes

11 years agoadd CTY2310
Dirk Koopman [Wed, 9 Oct 2013 09:14:31 +0000 (10:14 +0100)]
add CTY2310

11 years agofix outgoing peerhost issues
Dirk Koopman [Sun, 15 Sep 2013 10:40:09 +0000 (11:40 +0100)]
fix outgoing peerhost issues

11 years agoremove all references to ${main::}subversion
Dirk Koopman [Sat, 14 Sep 2013 21:15:06 +0000 (22:15 +0100)]
remove all references to ${main::}subversion

11 years agonominally working system!
Dirk Koopman [Sat, 14 Sep 2013 20:45:23 +0000 (21:45 +0100)]
nominally working system!

Need to go over AsyncMsg and stuff but that's for tomorrow.

11 years agoadd more Mojo converted stuff
Dirk Koopman [Sat, 14 Sep 2013 13:08:50 +0000 (14:08 +0100)]
add more Mojo converted stuff

11 years agostart of mojo conversion 1.57
Dirk Koopman [Fri, 13 Sep 2013 23:06:45 +0000 (00:06 +0100)]
start of mojo conversion

11 years agoadd CTY2309 + wpxloc.raw files
Dirk Koopman [Fri, 13 Sep 2013 17:44:47 +0000 (18:44 +0100)]
add CTY2309 + wpxloc.raw files

11 years agofix AsyncMsg state handling and sh/qrz
Dirk Koopman [Thu, 12 Sep 2013 12:40:05 +0000 (13:40 +0100)]
fix AsyncMsg state handling and sh/qrz

11 years agoadd get/keps command to load AMSAT keps
Dirk Koopman [Wed, 11 Sep 2013 15:17:30 +0000 (16:17 +0100)]
add get/keps command to load AMSAT keps

Fix AsyncMsg to handle basic 302 redirects.

11 years agoupdate sh/qrz and start get/keps
Dirk Koopman [Tue, 10 Sep 2013 22:42:24 +0000 (23:42 +0100)]
update sh/qrz and start get/keps

11 years agofix sh/time undefined $last[0] error
Dirk Koopman [Tue, 10 Sep 2013 18:58:18 +0000 (19:58 +0100)]
fix sh/time undefined $last[0] error

11 years agoAsyncMsgise sh/db0sdx
Dirk Koopman [Mon, 9 Sep 2013 14:20:32 +0000 (15:20 +0100)]
AsyncMsgise sh/db0sdx

Add POST and on_disconnect handlers in AsyncMsg.pm

11 years agoAsyncMsgise sh/425
Dirk Koopman [Sun, 8 Sep 2013 15:17:17 +0000 (16:17 +0100)]
AsyncMsgise sh/425

11 years agoAsyncMsgise sh/qrz
Dirk Koopman [Sat, 7 Sep 2013 22:08:15 +0000 (23:08 +0100)]
AsyncMsgise sh/qrz

Which was quite easy compared to some...

11 years agomv HTTPMsg to AsyncMsg, add 'raw' method
Dirk Koopman [Sat, 7 Sep 2013 17:47:48 +0000 (18:47 +0100)]
mv HTTPMsg to AsyncMsg, add 'raw' method

Convert sh/wm7d command to AsyncMsg.
Modify all the HTTPMsg converted cmds to use AsyncMsg.

Add a 'raw' 'telnet' handler. This allows one to query things with command
prompts or stuff that isn't a HTTP server. But it ain't always easy. See the
messing around in sh/wm7d I had to do, to get something that is stable given
that the thing that I am looking doesn't have a \n at the end.

It's just a prompt.

11 years agoand also in sh/db0sdx.pl
Dirk Koopman [Fri, 6 Sep 2013 23:23:38 +0000 (00:23 +0100)]
and also in sh/db0sdx.pl

11 years agofix missing Net::Telnet in sh/wm7d
Dirk Koopman [Fri, 6 Sep 2013 23:21:31 +0000 (00:21 +0100)]
fix missing Net::Telnet in sh/wm7d

temporarily...

11 years agoAdd HTTPMsg.pm an async HTTP agent
Dirk Koopman [Fri, 6 Sep 2013 23:10:36 +0000 (00:10 +0100)]
Add HTTPMsg.pm an async HTTP agent

This is a start of making all the Net::Telnet things redundant.

HTTPMsg.pm is likely to be substantially modified or replaced.

W.I.P

11 years agoupdate Changes
Dirk Koopman [Fri, 6 Sep 2013 13:26:47 +0000 (14:26 +0100)]
update Changes

11 years agoadded support for subroutines in commands
Dirk Koopman [Fri, 6 Sep 2013 13:22:38 +0000 (14:22 +0100)]
added support for subroutines in commands

Traditionally, a command is a piece of perl that is a simple
in line lump of code e.g (blank.pl):

my ($self, $line) = @_;
my $lines = 1;
my $data = ' ';
my @f = split /\s+/, $line;
if (@f && $f[0] !~ /^\d+$/) {
$data = shift @f;
$data = $data x int(($self->width-1) / length($data));
$data .= substr $data, 0, int(($self->width-1) % length($data))
}
if (@f && $f[0] =~ /^\d+$/) {
$lines = shift @f;
$lines = 9 if $lines > 9;
$lines = 1 if $lines < 1;
}
my @out;
push @out, $data for (1..$lines);
return (1, @out);

It is now possible to have a 'handler' and any other code you like in
a command file, for instance (again blank.pl):

sub this {}

sub that {}

sub another {}

sub handle
{
my ($self, $line) = @_;
my $lines = 1;
my $data = ' ';
my @f = split /\s+/, $line;
if (@f && $f[0] !~ /^\d+$/) {
$data = shift @f;
$data = $data x int(($self->width-1) / length($data));
$data .= substr $data, 0, int(($self->width-1) % length($data))
}
if (@f && $f[0] =~ /^\d+$/) {
$lines = shift @f;
$lines = 9 if $lines > 9;
$lines = 1 if $lines < 1;
}
my @out;
push @out, $data for (1..$lines);
return (1, @out);
}

The 'sub handle' being the cue that distiguishes one form from the other.

The first form has the 'sub handle { <code> }' wrapped around it so, internally
they are treated the same. Each command is placed in its own DXCommandmode sub
package with a standard set of packages "use"d in front of it.

For now (at least) any functions you declare are just that. "$self" is a DXCommandmode
not a blessed reference to this command's full package name, you cannot use things like

$self->this() or $self->that()

they must be called as local functions.

This may change in the future.

Conflicts:

perl/DXChannel.pm
perl/Version.pm

11 years agofix sh/contest and add CTY2308 prefixes
Dirk Koopman [Fri, 6 Sep 2013 12:42:02 +0000 (13:42 +0100)]
fix sh/contest and add CTY2308 prefixes

11 years agoAlter default addr in client.c to "127.0.0.1"
Dirk Koopman [Wed, 24 Jul 2013 08:11:30 +0000 (09:11 +0100)]
Alter default addr in client.c to "127.0.0.1"

This now matches the default in DXVars.pm.

11 years agoMake peerhost data more consistent
Dirk Koopman [Sun, 21 Jul 2013 22:38:24 +0000 (23:38 +0100)]
Make peerhost data more consistent

11 years agoadd ip address to links command
Dirk Koopman [Sun, 21 Jul 2013 22:17:46 +0000 (23:17 +0100)]
add ip address to links command

11 years agoadd new prefixes from cty2307
Dirk Koopman [Sun, 21 Jul 2013 21:52:07 +0000 (22:52 +0100)]
add new prefixes from cty2307

11 years agofix ipv6 crash in Msg.pm
Dirk Koopman [Sun, 21 Jul 2013 21:46:18 +0000 (22:46 +0100)]
fix ipv6 crash in Msg.pm

11 years agoupdates ands for 4mm and prefix data
Dirk Koopman [Thu, 6 Jun 2013 08:19:14 +0000 (09:19 +0100)]
updates ands for 4mm and prefix data

12 years agotry again with cty2210
Dirk Koopman [Thu, 31 May 2012 16:08:50 +0000 (17:08 +0100)]
try again with cty2210

12 years agoAdd CTY2210 prefix changes
Dirk Koopman [Thu, 31 May 2012 08:49:01 +0000 (09:49 +0100)]
Add CTY2210 prefix changes

12 years agoadd cty2209 prefix changes
Dirk Koopman [Tue, 29 May 2012 10:37:57 +0000 (11:37 +0100)]
add cty2209 prefix changes

12 years agoadd DXSql/Pg.pm and CTY-2206 Prefix changes
Dirk Koopman [Tue, 10 Apr 2012 13:50:26 +0000 (14:50 +0100)]
add DXSql/Pg.pm and CTY-2206 Prefix changes

12 years agoadd new wpxloc.raw + CTY2204 prefix changes
Dirk Koopman [Tue, 13 Mar 2012 18:31:26 +0000 (18:31 +0000)]
add new wpxloc.raw + CTY2204 prefix changes

12 years agoalter index adding dbg statement order
Dirk Koopman [Mon, 12 Mar 2012 23:41:57 +0000 (23:41 +0000)]
alter index adding dbg statement order

12 years agobreath on database storage engines
Dirk Koopman [Mon, 12 Mar 2012 23:26:55 +0000 (23:26 +0000)]
breath on database storage engines

Check that Mysql / sqlite databases work
Add ipaddr column to spot table if required
from now on add ip addresses to table if present (NULL otherwise)

12 years agofix (different) pc34 UNIVERSAL typo in DXProt
Dirk Koopman [Fri, 9 Mar 2012 22:51:01 +0000 (22:51 +0000)]
fix (different) pc34 UNIVERSAL typo in DXProt

12 years agofix DXUser UNIVERSAL::isa typo
Dirk Koopman [Fri, 9 Mar 2012 22:42:35 +0000 (22:42 +0000)]
fix DXUser UNIVERSAL::isa typo

12 years agoadd yet more changes in pc34
Dirk Koopman [Fri, 9 Mar 2012 22:15:30 +0000 (22:15 +0000)]
add yet more changes in pc34

12 years agotry to fix unblessed refs in PC34s
Dirk Koopman [Fri, 9 Mar 2012 22:13:29 +0000 (22:13 +0000)]
try to fix unblessed refs in PC34s

12 years agoupdate version
Dirk Koopman [Wed, 15 Feb 2012 15:44:26 +0000 (15:44 +0000)]
update version

12 years agoadd CTY-2202 prefix data
Dirk Koopman [Wed, 15 Feb 2012 15:43:50 +0000 (15:43 +0000)]
add CTY-2202 prefix data

and also fix mysql show tables

12 years agoer.. actually generate the CTY-2201 prefixes
Dirk Koopman [Sun, 29 Jan 2012 10:41:58 +0000 (10:41 +0000)]
er.. actually generate the CTY-2201 prefixes

12 years agoadd CTY-2201 prefixes
Dirk Koopman [Sun, 29 Jan 2012 10:41:23 +0000 (10:41 +0000)]
add CTY-2201 prefixes

12 years agoadd CTY2118 changes
Dirk Koopman [Wed, 21 Dec 2011 13:35:57 +0000 (13:35 +0000)]
add CTY2118 changes

12 years agofix barf on encountering an empty lockfile
Dirk Koopman [Tue, 20 Dec 2011 19:47:28 +0000 (19:47 +0000)]
fix barf on encountering an empty lockfile

12 years agofix shutdown() error and add CTY2117
Dirk Koopman [Tue, 29 Nov 2011 18:50:47 +0000 (18:50 +0000)]
fix shutdown() error and add CTY2117

13 years agoadded cty2116 changes with fixed version
Dirk Koopman [Sat, 5 Nov 2011 17:20:43 +0000 (17:20 +0000)]
added cty2116 changes with fixed version

13 years agoMerge branch 'master' of ssh://server/scm/spider
Dirk Koopman [Fri, 4 Nov 2011 18:06:34 +0000 (18:06 +0000)]
Merge branch 'master' of ssh://server/scm/spider

Conflicts:
Changes
data/cty.dat
data/prefix_data.pl

13 years agoadd CTY2115 prefixes
Dirk Koopman [Fri, 4 Nov 2011 18:00:03 +0000 (18:00 +0000)]
add CTY2115 prefixes

13 years agoadd CTY2113 prefixes
Dirk Koopman [Tue, 25 Oct 2011 14:23:41 +0000 (15:23 +0100)]
add CTY2113 prefixes

13 years agochange internal 40m band areas
Dirk Koopman [Sun, 2 Oct 2011 12:18:15 +0000 (13:18 +0100)]
change internal 40m band areas

13 years agoadd CTY2110 changes
Dirk Koopman [Mon, 25 Jul 2011 20:14:04 +0000 (21:14 +0100)]
add CTY2110 changes

13 years agoadd ST0 to prefixes
Dirk Koopman [Sat, 23 Jul 2011 12:20:36 +0000 (13:20 +0100)]
add ST0 to prefixes

13 years agoadd CTY-2108 prefixes
Dirk Koopman [Tue, 24 May 2011 09:23:19 +0000 (10:23 +0100)]
add CTY-2108 prefixes

13 years agofix IPV4 handling on non-IPV6 capable hosts
Dirk Koopman [Mon, 4 Apr 2011 21:08:02 +0000 (22:08 +0100)]
fix IPV4 handling on non-IPV6 capable hosts

13 years agoitry to fix outgoing IPV6 connects
Dirk Koopman [Mon, 4 Apr 2011 20:54:43 +0000 (21:54 +0100)]
itry to fix outgoing IPV6 connects

13 years agoadd CTY-2106 prefixes
Dirk Koopman [Tue, 29 Mar 2011 18:51:52 +0000 (19:51 +0100)]
add CTY-2106 prefixes

13 years agoadd CTY-2105 prefixes
Dirk Koopman [Wed, 16 Mar 2011 10:36:52 +0000 (10:36 +0000)]
add CTY-2105 prefixes

13 years agooops forgot to use gcommit...
Dirk Koopman [Fri, 11 Mar 2011 17:16:47 +0000 (17:16 +0000)]
oops forgot to use gcommit...

13 years agoadd CTY-2104 data
Dirk Koopman [Fri, 11 Mar 2011 08:47:13 +0000 (08:47 +0000)]
add CTY-2104 data

13 years agoadd CTY-2103 prefixes
Dirk Koopman [Tue, 1 Mar 2011 21:24:50 +0000 (21:24 +0000)]
add CTY-2103 prefixes

14 years agoincrease PC92 A/D slug time to 5 minutes
Dirk Koopman [Sun, 31 Oct 2010 16:26:30 +0000 (16:26 +0000)]
increase PC92 A/D slug time to 5 minutes

14 years agoallow debug to track cluster config
Dirk Koopman [Fri, 29 Oct 2010 16:02:41 +0000 (17:02 +0100)]
allow debug to track cluster config

This is for Jim AD1C really. But "set/debug cluster" will put out
lines like:

CLUSTER: node N0VD-7 added
CLUSTER: user AD6KH added
and
CLUSTER: user AD6KH deleted
CLUSTER: node N0VD-7 deleted

and represent this node's view of which nodes and users are
available on the cluster as a whole.

14 years agofix chat problem introdcued last update
Dirk Koopman [Wed, 27 Oct 2010 17:02:15 +0000 (18:02 +0100)]
fix chat problem introdcued last update

14 years agoadd CTY-2009 prefixes (from cty_wt.dat)
Dirk Koopman [Mon, 25 Oct 2010 18:52:41 +0000 (19:52 +0100)]
add CTY-2009 prefixes (from cty_wt.dat)

14 years agoadd CTY-2008 from cty_wt.dat, stop chat on pc12
Dirk Koopman [Mon, 25 Oct 2010 18:46:02 +0000 (19:46 +0100)]
add CTY-2008 from cty_wt.dat, stop chat on pc12

Try using cty_wt.dat instead of cty.dat as it is more complete.

Prevent PC93 chat being downgraded to PC12.

14 years agoDrop PC12 from pc9x nodes, increase ann dup age.
Dirk Koopman [Mon, 25 Oct 2010 09:42:08 +0000 (10:42 +0100)]
Drop PC12 from pc9x nodes, increase ann dup age.

Assume that PC12s coming from pc9x nodes are coming via some other
route and have been converted.

Increase the default announce dup age from 5 to 18 hrs.

14 years agofix dxqsl_export titling in help
Dirk Koopman [Sun, 24 Oct 2010 09:34:44 +0000 (10:34 +0100)]
fix dxqsl_export titling in help

14 years agoadded dbexport & dxqsl_import/export cmds
Dirk Koopman [Sat, 23 Oct 2010 22:39:19 +0000 (23:39 +0100)]
added dbexport & dxqsl_import/export cmds

14 years agoadd cty-2007
Dirk Koopman [Fri, 15 Oct 2010 19:42:58 +0000 (20:42 +0100)]
add cty-2007

14 years agoup issue version...
Dirk Koopman [Mon, 4 Oct 2010 23:38:41 +0000 (00:38 +0100)]
up issue version...

14 years agoadded CTY-2006
Dirk Koopman [Mon, 4 Oct 2010 20:45:47 +0000 (21:45 +0100)]
added CTY-2006

14 years agoallow 4 letter callsigns, add git id sh/version
Dirk Koopman [Thu, 17 Jun 2010 12:26:29 +0000 (13:26 +0100)]
allow 4 letter callsigns, add git id sh/version

14 years agoadd ip addresses to dxspots emitted as PC61
Dirk Koopman [Thu, 17 Jun 2010 10:45:21 +0000 (11:45 +0100)]
add ip addresses to dxspots emitted as PC61

14 years agoincrease PC41 dupe time, add CTY-2004 data
Dirk Koopman [Wed, 16 Jun 2010 16:14:58 +0000 (17:14 +0100)]
increase PC41 dupe time, add CTY-2004 data

14 years agoadd start of DB_File -> SQLite changes
Dirk Koopman [Fri, 14 May 2010 23:15:25 +0000 (00:15 +0100)]
add start of DB_File -> SQLite changes