spider.git
3 years agoput dx.pl into an explicit handle sub new-spawn
Dirk Koopman [Fri, 17 Apr 2020 13:45:47 +0000 (14:45 +0100)]
put dx.pl into an explicit handle sub

4 years agotidy debuging in DXCron
Dirk Koopman [Fri, 17 Apr 2020 01:59:49 +0000 (02:59 +0100)]
tidy debuging in DXCron

Change UPGRADE.mojo to reflect no longer using Mojo::IOLoop::ForkCall

4 years agoadd dbg line to dxcron::spawn_cmd
Dirk Koopman [Fri, 17 Apr 2020 01:13:58 +0000 (02:13 +0100)]
add dbg line to dxcron::spawn_cmd

4 years agomake save a non-spawnable cmd
Dirk Koopman [Fri, 17 Apr 2020 00:32:27 +0000 (01:32 +0100)]
make save a non-spawnable cmd

4 years agonospawnify the rest of the known commands
Dirk Koopman [Thu, 16 Apr 2020 23:57:17 +0000 (00:57 +0100)]
nospawnify the rest of the known commands

4 years agonospawnify some of the commands
Dirk Koopman [Thu, 16 Apr 2020 23:29:24 +0000 (00:29 +0100)]
nospawnify some of the commands

4 years agonew version of subprocessing
Dirk Koopman [Thu, 16 Apr 2020 20:41:40 +0000 (21:41 +0100)]
new version of subprocessing

4 years agoregularise sh/dx debugging
Dirk Koopman [Sat, 11 Apr 2020 13:33:27 +0000 (14:33 +0100)]
regularise sh/dx debugging

4 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Mon, 6 Apr 2020 20:56:42 +0000 (21:56 +0100)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

I wish I knew why I am doing the merge at this time!

4 years agoadd sh/dx origin and ip and regexes
Dirk Koopman [Mon, 6 Apr 2020 20:05:28 +0000 (21:05 +0100)]
add sh/dx origin and ip and regexes

See help show/ddx for more information

A regex for alpha fields for filters, Regexes are indicated by surrounding
the pattern required with { and } e.g {\d+\s*db\s+\d+\s*wpm(?:\s+cq)?} But, in this case,
the 'set/badword' mechanism is probably more robust.

This is an experimental feature that may well not work...

4 years agopart of making rcmd work again for async cmds
Dirk Koopman [Tue, 18 Feb 2020 00:38:09 +0000 (00:38 +0000)]
part of making rcmd work again for async cmds

4 years agotiddle a bit with PC[61]1 spot validation
Dirk Koopman [Sat, 21 Sep 2019 14:39:22 +0000 (15:39 +0100)]
tiddle a bit with PC[61]1 spot validation

with a view toward only allowing known users spots through.

4 years agoimprove is_callsign, is_ipaddr
Dirk Koopman [Sat, 21 Sep 2019 11:58:26 +0000 (12:58 +0100)]
improve is_callsign, is_ipaddr

fix typo in update_sysop.pl and watchdbg

4 years agoadd prefix_data.pl file
Dirk Koopman [Tue, 10 Sep 2019 16:47:01 +0000 (17:47 +0100)]
add prefix_data.pl file

4 years agoadd CTY-2913 prefixes
Dirk Koopman [Tue, 10 Sep 2019 16:05:24 +0000 (17:05 +0100)]
add CTY-2913 prefixes

4 years agoimprove DXQsl handling and fix crashes?
Dirk Koopman [Tue, 10 Sep 2019 16:02:53 +0000 (17:02 +0100)]
improve DXQsl handling and fix crashes?

4 years agoadd a 'not found' message if sh/dx shows nothing
Dirk Koopman [Thu, 29 Aug 2019 10:28:06 +0000 (11:28 +0100)]
add a 'not found' message if sh/dx shows nothing

4 years agoremove empty forward/mail command
Dirk Koopman [Wed, 28 Aug 2019 18:15:34 +0000 (19:15 +0100)]
remove empty forward/mail command

4 years agominor doc change in QSL.pm
Dirk Koopman [Wed, 28 Aug 2019 18:14:29 +0000 (19:14 +0100)]
minor doc change in QSL.pm

5 years agoclose QSL before re-initing it.
Dirk Koopman [Thu, 21 Feb 2019 10:16:50 +0000 (11:16 +0100)]
close QSL before re-initing it.

5 years agorevert export_users to in process action
Dirk Koopman [Sat, 16 Feb 2019 17:00:59 +0000 (17:00 +0000)]
revert export_users to in process action

This potentially does deletes which is a problem (at least for now) on spawned commands

5 years agoAdd a ring buffer to debugging + other things
Dirk Koopman [Sat, 16 Feb 2019 00:29:12 +0000 (00:29 +0000)]
Add a ring buffer to debugging + other things

Add a ring buffer to debugging to allow sysops to reduce the amount of pointless debugging info that is
continually logged. Likely this is something that big sites or RPi users might want.

The biggy is 'chan'. You want this in the ring buffer, but not logging. To do this:

set/debug chan nologchan

You can log the ring contents at any time with: show/debug_ring
NOTE: you should probably have watchdbg running for this to be much use unless you are doing this as a
matter of record.

export_users has been fixed and is forced to be dumped into /spider/local_data as default.

show/debug now sorts its output.

LogDbg has been fixed to log stuff to the correct category.

5 years agoadd cty2802 prefixes + wpxloc.raw
Dirk Koopman [Sat, 14 Jul 2018 09:22:01 +0000 (10:22 +0100)]
add cty2802 prefixes + wpxloc.raw

5 years agosome RBN prerequisite changes
Dirk Koopman [Sat, 16 Jun 2018 11:20:06 +0000 (12:20 +0100)]
some RBN prerequisite changes

5 years agoadd more digi modes and other fixes
Dirk Koopman [Sun, 6 May 2018 15:57:41 +0000 (16:57 +0100)]
add more digi modes and other fixes

In particular make the selection(s) work and not order dependent

6 years agoadd CTY-2802 prefixes
Dirk Koopman [Tue, 23 Jan 2018 15:15:21 +0000 (15:15 +0000)]
add CTY-2802 prefixes

6 years agoremove last is_aranea reference
Dirk Koopman [Wed, 1 Nov 2017 10:27:26 +0000 (10:27 +0000)]
remove last is_aranea reference

6 years agoGet basic web protocol working
Dirk Koopman [Thu, 26 Oct 2017 23:04:24 +0000 (00:04 +0100)]
Get basic web protocol working

6 years agoextend the Web interface protocol further
Dirk Koopman [Thu, 26 Oct 2017 18:02:50 +0000 (19:02 +0100)]
extend the Web interface protocol further

Also clarify things like the ultimate hostname if it is an IP based system.
This means that stuff coming in on the web will be identified by the IP
address that they connect to, rather than the IP address of the channel. Basically
a Web interface is a proxy and therefore the connection object needs the address
of the web server, but things like DX spots need the proxy address.

6 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Thu, 26 Oct 2017 01:21:58 +0000 (02:21 +0100)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

6 years agoStart (serious) web interface work
Dirk Koopman [Thu, 26 Oct 2017 01:20:53 +0000 (02:20 +0100)]
Start (serious) web interface work

Install and test basic connections from an associated web interface

6 years agoadd dxweb app
Dirk Koopman [Sat, 21 Oct 2017 16:08:45 +0000 (17:08 +0100)]
add dxweb app

6 years agoMake license version 2
Dirk Koopman [Sat, 21 Oct 2017 14:33:24 +0000 (15:33 +0100)]
Make license version 2

6 years agofix up small error on Spot::init
Dirk Koopman [Sat, 26 Aug 2017 10:25:54 +0000 (11:25 +0100)]
fix up small error on Spot::init

This is only relevant for converting old spots into new ones and will only happen once.
It will now convert old <14 field spots to modern 14 field ones (and not only 12 field ones)

6 years agoadd default systemd service (init) file
Dirk Koopman [Fri, 11 Aug 2017 14:02:13 +0000 (15:02 +0100)]
add default systemd service (init) file

6 years agotry harder to get clean disconnects
Dirk Koopman [Thu, 10 Aug 2017 11:13:05 +0000 (12:13 +0100)]
try harder to get clean disconnects

6 years agoextend coverage of disconnected flag
Dirk Koopman [Thu, 10 Aug 2017 09:52:18 +0000 (10:52 +0100)]
extend coverage of disconnected flag

6 years agoadd CTY-2708 prefixes
Dirk Koopman [Mon, 31 Jul 2017 18:51:50 +0000 (19:51 +0100)]
add CTY-2708 prefixes

6 years agofix create_usdb.pl data area paths
Dirk Koopman [Mon, 31 Jul 2017 18:45:13 +0000 (19:45 +0100)]
fix create_usdb.pl data area paths

6 years agoadd CTY-2706 prefixes
Dirk Koopman [Fri, 12 May 2017 19:18:24 +0000 (20:18 +0100)]
add CTY-2706 prefixes

6 years agofix sh/425 (mostly - bull doesn't work)
Dirk Koopman [Fri, 12 May 2017 17:56:30 +0000 (18:56 +0100)]
fix sh/425 (mostly - bull doesn't work)

6 years agoadd CTY-2705 prefixes
Dirk Koopman [Fri, 5 May 2017 14:45:26 +0000 (15:45 +0100)]
add CTY-2705 prefixes

7 years agoadd CTY-2704 changes
Dirk Koopman [Tue, 4 Apr 2017 16:42:45 +0000 (17:42 +0100)]
add CTY-2704 changes

7 years agoset DXVar.pm defaults into console.pl
Dirk Koopman [Tue, 28 Mar 2017 14:58:09 +0000 (15:58 +0100)]
set DXVar.pm defaults into console.pl

as well as cluster.pl.
Remove mention of the defaults in DXVars.pm.issue

7 years agofix rbn.pl
Dirk Koopman [Mon, 27 Mar 2017 11:37:02 +0000 (12:37 +0100)]
fix rbn.pl

7 years agoAdd latest cty.dat & wpxloc.raw for Jim
Dirk Koopman [Fri, 17 Mar 2017 20:28:44 +0000 (20:28 +0000)]
Add latest cty.dat & wpxloc.raw for Jim

7 years agoadd CTY-2702 prefixes
Dirk Koopman [Tue, 21 Feb 2017 13:35:44 +0000 (13:35 +0000)]
add CTY-2702 prefixes

Conflicts:
Changes

7 years agoFix sh/dx on 14050 so it does what one expects
Dirk Koopman [Tue, 21 Feb 2017 10:13:52 +0000 (10:13 +0000)]
Fix sh/dx on 14050 so it does what one expects

7 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Wed, 15 Feb 2017 22:50:34 +0000 (22:50 +0000)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

Conflicts:
Changes
perl/cluster.pl

7 years agofix SysVar.pm problems (maybe)
Dirk Koopman [Wed, 15 Feb 2017 22:45:36 +0000 (22:45 +0000)]
fix SysVar.pm problems (maybe)

7 years agofix typo in rbn.pl
Dirk Koopman [Sun, 15 Jan 2017 13:37:36 +0000 (13:37 +0000)]
fix typo in rbn.pl

7 years agoTidy up rbn.pl add -raw & want=dx flags
Dirk Koopman [Sun, 15 Jan 2017 13:31:25 +0000 (13:31 +0000)]
Tidy up rbn.pl add -raw & want=dx flags

The -raw flag simply outputs the raw line from the RBN with a 'RAW,'
tag in front of it.
The want=dx flag is for picking up 'DX' in the mode/calling column.

7 years agoFix issues finding $main::data etc on clean install
Dirk Koopman [Mon, 9 Jan 2017 14:57:02 +0000 (14:57 +0000)]
Fix issues finding $main::data etc on clean install

7 years agoimprove rbn.pl
Dirk Koopman [Thu, 5 Jan 2017 12:07:12 +0000 (12:07 +0000)]
improve rbn.pl

7 years agoremove args typo from rbn.pl
Dirk Koopman [Wed, 4 Jan 2017 22:17:14 +0000 (22:17 +0000)]
remove args typo from rbn.pl

7 years agochange arg processing in rbn.pl
Dirk Koopman [Wed, 4 Jan 2017 21:57:32 +0000 (21:57 +0000)]
change arg processing in rbn.pl

Also add some pod

7 years agofix stats display on rbn.pl
Dirk Koopman [Tue, 3 Jan 2017 11:11:51 +0000 (11:11 +0000)]
fix stats display on rbn.pl

Make sure that a stats display happens every minute.
Add the rbn arg to allow the display of (de-duped) rbn spots.

7 years agoAdded extra flags to rbn.pl
Dirk Koopman [Mon, 2 Jan 2017 23:10:22 +0000 (23:10 +0000)]
Added extra flags to rbn.pl

any of /^cw|rtty|psk|beacon/ will enable only these types of spots
stats will print a STATS,<raw RBN spots>,<deduped RBN spots>,<spots>

7 years agoadd rbn.pl - a deduplicating RBN spot filter
Dirk Koopman [Mon, 2 Jan 2017 21:48:51 +0000 (21:48 +0000)]
add rbn.pl - a deduplicating RBN spot filter

This is some experimental preparatory work for adding in handling
of an RBN feed to DXSpider.

7 years agoadd CTY-2615 prefixes
Dirk Koopman [Mon, 2 Jan 2017 12:48:00 +0000 (12:48 +0000)]
add CTY-2615 prefixes

7 years agotell operator where the prefix file is created
Dirk Koopman [Mon, 2 Jan 2017 12:45:26 +0000 (12:45 +0000)]
tell operator where the prefix file is created

Issue a line saying whether this is a SYSTEM or a LOCAL prefix file
being created.

7 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Mon, 26 Dec 2016 22:31:57 +0000 (22:31 +0000)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

7 years agotry to prevent $myalias calls being set to nodes
Dirk Koopman [Mon, 26 Dec 2016 22:27:21 +0000 (22:27 +0000)]
try to prevent $myalias calls being set to nodes

7 years agoupdate actual prefix file
Dirk Koopman [Fri, 25 Nov 2016 20:56:33 +0000 (20:56 +0000)]
update actual prefix file

7 years agoadd CTY-2614
Dirk Koopman [Thu, 24 Nov 2016 21:38:01 +0000 (21:38 +0000)]
add CTY-2614

7 years agoadd CTY2613 prefixes
Dirk Koopman [Mon, 21 Nov 2016 17:39:35 +0000 (17:39 +0000)]
add CTY2613 prefixes

7 years agomore mrtg, store in 10ths and display to 0.1 sec
Dirk Koopman [Thu, 17 Nov 2016 16:10:39 +0000 (16:10 +0000)]
more mrtg, store in 10ths and display to 0.1 sec

7 years agotweek cmd/mrtg.pl
Dirk Koopman [Thu, 17 Nov 2016 14:40:28 +0000 (14:40 +0000)]
tweek cmd/mrtg.pl

7 years agochange mrtg times collect again
Dirk Koopman [Thu, 17 Nov 2016 14:05:47 +0000 (14:05 +0000)]
change mrtg times collect again

Change the graphed values to 10ths of seconds and split out cluster
from children's cpu seconds.

7 years agochange source of proc secs in cmd/mrtg.pl
Dirk Koopman [Wed, 16 Nov 2016 12:53:39 +0000 (12:53 +0000)]
change source of proc secs in cmd/mrtg.pl

7 years agoalter is_callsign checks
Dirk Koopman [Tue, 30 Aug 2016 13:02:48 +0000 (14:02 +0100)]
alter is_callsign checks

This is part of the work required to allow people to log in as
g1tlh/p or similar

7 years agomore UPGRADE mods.
Dirk Koopman [Sat, 20 Aug 2016 16:16:20 +0000 (17:16 +0100)]
more UPGRADE mods.

7 years agoupdate UPGRADE.mojo
Dirk Koopman [Sat, 20 Aug 2016 15:57:59 +0000 (16:57 +0100)]
update UPGRADE.mojo

7 years agoremove routername from Mrtg.pm
Dirk Koopman [Fri, 19 Aug 2016 23:22:48 +0000 (00:22 +0100)]
remove routername from Mrtg.pm

7 years agofix upgrade.mojo typo
Dirk Koopman [Fri, 19 Aug 2016 23:12:16 +0000 (00:12 +0100)]
fix upgrade.mojo typo

7 years agoadd UPGRADE.mojo
Dirk Koopman [Fri, 19 Aug 2016 23:05:00 +0000 (00:05 +0100)]
add UPGRADE.mojo

7 years agomrtg fixes
Dirk Koopman [Fri, 19 Aug 2016 16:24:23 +0000 (17:24 +0100)]
mrtg fixes

7 years agoadd dxcc as ADIF country code sh/qrz
Dirk Koopman [Thu, 18 Aug 2016 23:25:24 +0000 (00:25 +0100)]
add dxcc as ADIF country code sh/qrz

7 years agofix backgrounding of mrtg
Dirk Koopman [Thu, 18 Aug 2016 17:34:39 +0000 (18:34 +0100)]
fix backgrounding of mrtg

and new cron commands: spawn_cmd which will background any dxspider cmd

7 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

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

7 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.

7 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.

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

7 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.

7 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

7 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

7 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

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

7 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

7 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

7 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