]> dxcluster.org Git - spider.git/log
spider.git
8 years agoput back msg totals for mrtg and background mrtg
Dirk Koopman [Thu, 18 Aug 2016 16:50:51 +0000 (17:50 +0100)]
put back msg totals for mrtg and background mrtg

8 years agoadd CTY-2610 prefixes
Dirk Koopman [Thu, 18 Aug 2016 12:10:09 +0000 (13:10 +0100)]
add CTY-2610 prefixes

8 years agofix --system on create_sysop.pl
Dirk Koopman [Wed, 17 Aug 2016 16:04:00 +0000 (17:04 +0100)]
fix --system on create_sysop.pl

Make sure that --system uses and creates files in data.

8 years agofix various issues
Dirk Koopman [Wed, 17 Aug 2016 15:24:01 +0000 (16:24 +0100)]
fix various issues

1. Make cluster.lck checking consistent and accurate.
2. Fix export_user actions to always put them in local_data.
3. Fix create_prefix.pl output file and input file searching. Basically
   this now looks for cty.dat and wpxloc.raw in local_data first and then
   falls backs to data. But puts the result in local_data unless the
   --system flag is set.

8 years agofix localdata with correct paths
Dirk Koopman [Wed, 17 Aug 2016 00:08:10 +0000 (01:08 +0100)]
fix localdata with correct paths

8 years agomove ganerated stuff to local_data
Dirk Koopman [Tue, 16 Aug 2016 23:46:27 +0000 (00:46 +0100)]
move ganerated stuff to local_data

Mega change to push all local data in $root/local_data and where there
is duplication with system data (still in $root/data) then use whichever
is newer. This will move stuff (permanently) like spots and other DXLog
files to local_data as well as the userfile, DX QSL file and usdb stuff.

8 years agoMerge branch 'mojo' of /scm/spider into mojo
Dirk Koopman [Mon, 25 Jul 2016 17:56:26 +0000 (18:56 +0100)]
Merge branch 'mojo' of /scm/spider into mojo

8 years agoadd cmd line to forkcall stats
Dirk Koopman [Mon, 25 Jul 2016 17:55:54 +0000 (18:55 +0100)]
add cmd line to forkcall stats

8 years agoMerge branch 'mojo' of /scm/spider into mojo
Dirk Koopman [Mon, 25 Jul 2016 15:44:47 +0000 (16:44 +0100)]
Merge branch 'mojo' of /scm/spider into mojo

Conflicts:
Changes

8 years agofix get/keps default path
Dirk Koopman [Mon, 25 Jul 2016 15:43:36 +0000 (16:43 +0100)]
fix get/keps default path

8 years agoadd timing stats to cmd spawn_cmd
Dirk Koopman [Mon, 25 Jul 2016 15:42:32 +0000 (16:42 +0100)]
add timing stats to cmd spawn_cmd

8 years agorun create_prefix.pl on last update
Dirk Koopman [Fri, 8 Jul 2016 17:56:58 +0000 (18:56 +0100)]
run create_prefix.pl on last update

8 years agoadd CTY-2609 + wpxloc.raw
Dirk Koopman [Fri, 8 Jul 2016 17:50:51 +0000 (18:50 +0100)]
add CTY-2609 + wpxloc.raw

8 years agomake sure DXCron::spawn records output
Dirk Koopman [Fri, 25 Mar 2016 22:57:47 +0000 (22:57 +0000)]
make sure DXCron::spawn records output

8 years agoMark output from DXCron::spawn in dbg
Dirk Koopman [Fri, 25 Mar 2016 22:34:09 +0000 (22:34 +0000)]
Mark output from DXCron::spawn in dbg

8 years agoRework DXCron::spawn for Mojo
Dirk Koopman [Fri, 25 Mar 2016 22:31:56 +0000 (22:31 +0000)]
Rework DXCron::spawn for Mojo

8 years agoadd CTY-2601 prefix changes
Dirk Koopman [Mon, 4 Jan 2016 15:48:43 +0000 (15:48 +0000)]
add CTY-2601 prefix changes

8 years agoupdate Changes for sh/425
Dirk Koopman [Sat, 2 Jan 2016 20:31:00 +0000 (20:31 +0000)]
update Changes for sh/425

8 years agofix correct url for sh/425
Dirk Koopman [Sat, 2 Jan 2016 20:29:05 +0000 (20:29 +0000)]
fix correct url for sh/425

8 years agoFix multiple on_disc events in AsyncMsg.pm
Dirk Koopman [Wed, 30 Dec 2015 22:45:29 +0000 (22:45 +0000)]
Fix multiple on_disc events in AsyncMsg.pm

8 years agotry fix node type changes from outside
Dirk Koopman [Wed, 30 Dec 2015 19:34:38 +0000 (19:34 +0000)]
try fix node type changes from outside

Also add CTY-2516 prefix changes

Conflicts:
perl/DXProtHandle.pm
perl/cluster.pl

9 years agochange Aliases to allow other cmds for ^q.*
Dirk Koopman [Tue, 2 Jun 2015 15:25:24 +0000 (16:25 +0100)]
change Aliases to allow other cmds for ^q.*

This has been changed by request from Hans OE1SRC, to allow other
commands than 'quit' that start with the letter 'q'.
Add CTY-2507 prefixes.

9 years agoAdd CTY-2506 prefix file
Dirk Koopman [Tue, 26 May 2015 13:11:32 +0000 (14:11 +0100)]
Add CTY-2506 prefix file

9 years agouse #!/usr/bin/env rather than /bin/env
Dirk Koopman [Thu, 21 May 2015 20:22:23 +0000 (21:22 +0100)]
use #!/usr/bin/env rather than /bin/env

9 years agochange initial #! to #!/bin/env perl
Dirk Koopman [Wed, 20 May 2015 21:16:53 +0000 (22:16 +0100)]
change initial #! to #!/bin/env perl

9 years agofix User Route remembering
Dirk Koopman [Tue, 24 Mar 2015 00:02:40 +0000 (00:02 +0000)]
fix User Route remembering

9 years agoadd CTY-2503 prefix file
Dirk Koopman [Sun, 1 Mar 2015 12:06:04 +0000 (12:06 +0000)]
add CTY-2503 prefix file

9 years agoslight improvement in dxcommandmode
Dirk Koopman [Thu, 19 Feb 2015 22:16:36 +0000 (22:16 +0000)]
slight improvement in dxcommandmode

9 years agomake debug broadcasting parameter dependent
Dirk Koopman [Thu, 19 Feb 2015 22:13:35 +0000 (22:13 +0000)]
make debug broadcasting parameter dependent

9 years agomove stuff about ready for web interface
Dirk Koopman [Sat, 14 Feb 2015 18:27:40 +0000 (18:27 +0000)]
move stuff about ready for web interface

9 years agoAdd CTY-2502 prefixes
Dirk Koopman [Fri, 13 Feb 2015 22:44:50 +0000 (22:44 +0000)]
Add CTY-2502 prefixes

9 years agofix sh/dx <call> with sql spot logging
Dirk Koopman [Fri, 13 Feb 2015 22:40:00 +0000 (22:40 +0000)]
fix sh/dx <call> with sql spot logging

9 years agoadd CTY2415 prefixes
Dirk Koopman [Thu, 27 Nov 2014 19:06:24 +0000 (19:06 +0000)]
add CTY2415 prefixes

10 years agoadd CTY-2414 prefixes
Dirk Koopman [Tue, 25 Nov 2014 09:48:59 +0000 (09:48 +0000)]
add CTY-2414 prefixes

10 years agoadd CTY-2413 prefixes
Dirk Koopman [Fri, 21 Nov 2014 18:27:20 +0000 (18:27 +0000)]
add CTY-2413 prefixes

Conflicts:
perl/Version.pm

10 years agoadd cty-2011 prefxies
Dirk Koopman [Tue, 21 Oct 2014 21:17:52 +0000 (22:17 +0100)]
add cty-2011 prefxies

10 years agouse real git version if git is available
Dirk Koopman [Tue, 14 Oct 2014 16:09:42 +0000 (17:09 +0100)]
use real git version if git is available

Conflicts:
perl/Version.pm

10 years agoremove autoflush from log objects
Dirk Koopman [Tue, 14 Oct 2014 10:41:56 +0000 (11:41 +0100)]
remove autoflush from log objects

add CTY-2410 wpxloc.raw + cty.dat

10 years agoFix (now) missing dxchan error_handler
Dirk Koopman [Tue, 16 Sep 2014 14:24:19 +0000 (15:24 +0100)]
Fix (now) missing dxchan error_handler

10 years agoadd new wpxloc.raw
Dirk Koopman [Sat, 30 Aug 2014 21:03:56 +0000 (22:03 +0100)]
add new wpxloc.raw

10 years agoadd CTY-2409 prefixes
Dirk Koopman [Sat, 30 Aug 2014 15:49:07 +0000 (16:49 +0100)]
add CTY-2409 prefixes

10 years agoJust some tidying up
Dirk Koopman [Fri, 1 Aug 2014 20:59:05 +0000 (21:59 +0100)]
Just some tidying up

10 years agoupdate Changes
Dirk Koopman [Fri, 18 Jul 2014 15:36:47 +0000 (16:36 +0100)]
update Changes

10 years agouse JSON as the ForkCall serialiser
Dirk Koopman [Fri, 18 Jul 2014 15:29:37 +0000 (16:29 +0100)]
use JSON as the ForkCall serialiser

It appears that perl 5.10.1 has "issues" with Storable freeze/thaw
and, as we aren't doing anything clever with Mojo::IOLoop::Forkcall
in DXCommandmode, we will use JSON instead.

10 years agoimprove the version no a bit
Dirk Koopman [Fri, 20 Jun 2014 13:59:36 +0000 (14:59 +0100)]
improve the version no a bit

10 years agoSome more optimisations
Dirk Koopman [Fri, 20 Jun 2014 13:42:27 +0000 (14:42 +0100)]
Some more optimisations

Process input directly after receipt.
Do the most common case of input processing first!
Don't autoflush things like debug files automatically but do it
in periodic processing every second (for now).

10 years agoa few changes after profiling
Dirk Koopman [Fri, 20 Jun 2014 11:49:27 +0000 (12:49 +0100)]
a few changes after profiling

10 years agoput back Version.pm, auto update to difficult
Dirk Koopman [Thu, 19 Jun 2014 22:18:42 +0000 (23:18 +0100)]
put back Version.pm, auto update to difficult

10 years agotry to make Version.pm autoupdate
Dirk Koopman [Thu, 19 Jun 2014 22:02:18 +0000 (23:02 +0100)]
try to make Version.pm autoupdate

10 years agofix EOF detection of incoming nodes
Dirk Koopman [Thu, 19 Jun 2014 21:11:40 +0000 (22:11 +0100)]
fix EOF detection of incoming nodes

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