]>
dxcluster.org Git - spider.git/log
Dirk Koopman [Wed, 20 May 2020 14:59:58 +0000 (15:59 +0100)]
belt and braces locate users.v4 in DXUser.pm
Dirk Koopman [Wed, 20 May 2020 14:20:25 +0000 (15:20 +0100)]
correct convert-users-v3-to-v4.pl
Dirk Koopman [Wed, 20 May 2020 13:02:54 +0000 (14:02 +0100)]
add important stuff to UPGRADE.mojo
Dirk Koopman [Wed, 20 May 2020 12:30:07 +0000 (13:30 +0100)]
correct users conversion program name
Dirk Koopman [Wed, 20 May 2020 12:18:03 +0000 (13:18 +0100)]
strip out user conversion into convert-v3-to-v4.pl
Dirk Koopman [Tue, 19 May 2020 15:55:03 +0000 (16:55 +0100)]
add branch to sh/ver, rm redundant module
Dirk Koopman [Tue, 19 May 2020 15:07:12 +0000 (16:07 +0100)]
Fix all the DXUser API changes to use JSON
Dirk Koopman [Mon, 18 May 2020 22:44:05 +0000 (23:44 +0100)]
new style DXUsers memory layout
This allows for the unused user records to stay out of RAM until
"get"ed (or got in English). New get calls that allow for listing
to be done with auto-vivifying user records in the main hash.
Also partial lists can be obtained with get_some_calls(qr/.../).
Dirk Koopman [Fri, 15 May 2020 23:31:38 +0000 (00:31 +0100)]
change system crontab to spawn export_users
Dirk Koopman [Fri, 15 May 2020 23:24:41 +0000 (00:24 +0100)]
fix export_user cmd for now
Dirk Koopman [Fri, 15 May 2020 23:09:19 +0000 (00:09 +0100)]
WIP DXUser no storable, no db_file
Dirk Koopman [Fri, 15 May 2020 15:58:36 +0000 (16:58 +0100)]
Merge branch 'newusers' of ssh://server/scm/spider into newusers
Dirk Koopman [Fri, 15 May 2020 15:56:32 +0000 (16:56 +0100)]
Now add files that the previous commit refered to
Dirk Koopman [Fri, 15 May 2020 15:52:03 +0000 (16:52 +0100)]
various (hopeful) stability changes
1. Remove Storable from subprocessing, introduce DXSubcommand as
a light shim over Mojo::IOLoop::Subprocess.
2. Try to prevent user->put when in a spawned process. Which will
likely need more thinking about and more work.
3. Make it clearer where the spawns are coming from.
Dirk Koopman [Wed, 13 May 2020 10:40:29 +0000 (12:40 +0200)]
fix error messaging in DXUser::init
Dirk Koopman [Wed, 13 May 2020 00:35:22 +0000 (01:35 +0100)]
nominally working JSON Storable DXUser replacement
works more than three times as fast as Storable does and, hopefully
is less likely to get corrupted.
Dirk Koopman [Tue, 12 May 2020 22:59:36 +0000 (23:59 +0100)]
Merge branch 'mojo' into newusers
Dirk Koopman [Tue, 12 May 2020 22:26:37 +0000 (23:26 +0100)]
Restore Script.pm to master's version
Dirk Koopman [Tue, 12 May 2020 21:42:28 +0000 (22:42 +0100)]
updated docs for rbn.pl
Dirk Koopman [Mon, 11 May 2020 18:05:37 +0000 (19:05 +0100)]
probably fix Script erase error
Dirk Koopman [Mon, 11 May 2020 18:05:37 +0000 (19:05 +0100)]
probably fix Script erase error
Dirk Koopman [Mon, 11 May 2020 11:26:09 +0000 (12:26 +0100)]
fix typos in DXUser.pm
Dirk Koopman [Mon, 11 May 2020 08:12:41 +0000 (09:12 +0100)]
add first part of json users file change
Dirk Koopman [Sun, 10 May 2020 23:30:28 +0000 (00:30 +0100)]
improve node initialisation debugging
Dirk Koopman [Sun, 10 May 2020 22:51:12 +0000 (23:51 +0100)]
fix echo typo
Dirk Koopman [Sun, 10 May 2020 22:42:22 +0000 (23:42 +0100)]
Initial user multiple attachments!!
This will, after 3 (default) bumpoffs with 5 mins (default) it
will allow up $main::allowmultiple (if set > 1) connections with different
ssids BUT THE SAME user record.
Strip out echo and blank cmds from progress debugging unless set/debug 'echo'
is set.
Dirk Koopman [Sat, 9 May 2020 21:23:45 +0000 (22:23 +0100)]
wwv & wcy progress, random lockouts
Improve the look of WWV and WCY progress messages.
Stop the random lockouts of connected nodes with ephemeral user
records.
Dirk Koopman [Sat, 9 May 2020 16:45:05 +0000 (17:45 +0100)]
add incoming route/channel for progress dbg
Dirk Koopman [Fri, 8 May 2020 15:26:05 +0000 (16:26 +0100)]
squash some warnings
Dirk Koopman [Fri, 8 May 2020 15:06:53 +0000 (16:06 +0100)]
tidy up Route, add argument to sh/ver
Dirk Koopman [Thu, 7 May 2020 16:31:45 +0000 (17:31 +0100)]
remove day/month/year from progress spots
Dirk Koopman [Thu, 7 May 2020 15:46:31 +0000 (16:46 +0100)]
add reversion statement to Changes
Dirk Koopman [Thu, 7 May 2020 15:41:57 +0000 (16:41 +0100)]
redo ffff remove on pc92 a
Dirk Koopman [Thu, 7 May 2020 15:31:27 +0000 (16:31 +0100)]
Revert "add first take on IP address remembering"
This reverts commit
c7a3cfda9336d765d387e9328f817d1f0e5230d1 .
Dirk Koopman [Thu, 7 May 2020 15:12:06 +0000 (16:12 +0100)]
Revert "new version of ip address storage"
This reverts commit
f18ba64dd93bbf7c47e6b5143bfc99af817888e8 .
Dirk Koopman [Tue, 28 Apr 2020 13:20:31 +0000 (14:20 +0100)]
add expanded UPGRADE.mojo
Dirk Koopman [Mon, 27 Apr 2020 23:38:11 +0000 (00:38 +0100)]
new version of ip address storage
Dirk Koopman [Mon, 27 Apr 2020 18:47:30 +0000 (19:47 +0100)]
strip off extra brackets in pc61 ip storage
Dirk Koopman [Mon, 27 Apr 2020 18:32:39 +0000 (19:32 +0100)]
try to fix the recursive brackets on PC61 ip
Dirk Koopman [Mon, 27 Apr 2020 15:48:08 +0000 (16:48 +0100)]
add first take on IP address remembering
Dirk Koopman [Sun, 26 Apr 2020 23:52:33 +0000 (00:52 +0100)]
add line more debugging to DXCron::cread
Dirk Koopman [Sun, 26 Apr 2020 23:38:48 +0000 (00:38 +0100)]
lose some of the annoying uninitialised msgs
Dirk Koopman [Sun, 26 Apr 2020 13:33:40 +0000 (14:33 +0100)]
Be even more paranoid decoding users
Dirk Koopman [Sun, 26 Apr 2020 13:02:48 +0000 (14:02 +0100)]
fix DXUtil::localdata ?perl bug?
Dirk Koopman [Sun, 26 Apr 2020 12:42:03 +0000 (13:42 +0100)]
fix localdata for /spider/data only files
Dirk Koopman [Sun, 26 Apr 2020 12:31:50 +0000 (13:31 +0100)]
fix export_users cmd
Actually make sure that DXUser::del_file removes all versions
of users.v3 it can find whether in /spider/data and in /spider/local_data.
In the process make sure that the DEFAULT place that "localdata(<file>)
places that <file> is in /spider/local_data.
Dirk Koopman [Sun, 26 Apr 2020 11:24:15 +0000 (12:24 +0100)]
yet another sh/cl change
Dirk Koopman [Sun, 26 Apr 2020 11:01:52 +0000 (12:01 +0100)]
yet another sh/cl
Dirk Koopman [Sun, 26 Apr 2020 10:47:48 +0000 (11:47 +0100)]
remove redundant CMD debugging
Dirk Koopman [Sun, 26 Apr 2020 10:43:43 +0000 (11:43 +0100)]
fix dbg warnings on things like $main::me->run_cmd
Dirk Koopman [Sun, 26 Apr 2020 09:58:23 +0000 (10:58 +0100)]
add vestigial WWV and WCY 'progress'
These are not in their final form. Please don't give me a hard time about
that.
Changed sh/cl message again.
Dirk Koopman [Sat, 25 Apr 2020 23:01:23 +0000 (00:01 +0100)]
fix sh/cl at user startup with new arrangements
Dirk Koopman [Sat, 25 Apr 2020 22:50:40 +0000 (23:50 +0100)]
remove redundant wpxloc.dat
Dirk Koopman [Sat, 25 Apr 2020 22:33:09 +0000 (23:33 +0100)]
sh/cl and dmesg changes
Add max no of local users seen since node start
Add ability to show last n lines of the debug ring buffer
Dirk Koopman [Fri, 24 Apr 2020 23:54:22 +0000 (00:54 +0100)]
fix weird sprintf error in AnnTalk dbging
Specifically:
Invalid conversion in sprintf: "% -35 " at /spider/perl/DXProtHandle.pm line 2016.
Dirk Koopman [Fri, 24 Apr 2020 23:47:02 +0000 (00:47 +0100)]
do some ring printing if carp et al are called
Dirk Koopman [Fri, 24 Apr 2020 19:54:06 +0000 (20:54 +0100)]
add link to show/debug_ring as dmesg
Should be a reasonable synonym for linux people. And it's a lot quicker
to type than show/debug_ring. Which is, admittedly, more descriptive.
Dirk Koopman [Fri, 24 Apr 2020 12:52:14 +0000 (13:52 +0100)]
add "progress" to pc93 messages
Dirk Koopman [Fri, 24 Apr 2020 12:13:45 +0000 (13:13 +0100)]
fix default crontab
Dirk Koopman [Fri, 24 Apr 2020 11:02:10 +0000 (12:02 +0100)]
change spawn_cmd diffms msg to progress
Dirk Koopman [Fri, 24 Apr 2020 10:52:56 +0000 (11:52 +0100)]
changed the default DXVars.pm.issue debug
Dirk Koopman [Fri, 24 Apr 2020 10:05:50 +0000 (11:05 +0100)]
change DXCron subprocess stats to 'progress'
Dirk Koopman [Fri, 24 Apr 2020 09:52:22 +0000 (10:52 +0100)]
add arguments to CMD progress debug
Dirk Koopman [Fri, 24 Apr 2020 09:43:46 +0000 (10:43 +0100)]
add CTY-3008 prefixes
Dirk Koopman [Fri, 24 Apr 2020 09:32:42 +0000 (10:32 +0100)]
add progress indications
set/debug progress (now a default) will show signs of stuff happening
in concentrated form, e.g a new spot or someone using a command. This
is especially useful in 'nolog' (i,e "ring buffer") modes.
Fix grepdbg so that no input line just lists the latest dbg file
Dirk Koopman [Wed, 22 Apr 2020 23:06:29 +0000 (00:06 +0100)]
add unset/startup to the Changes list
Dirk Koopman [Wed, 22 Apr 2020 23:03:08 +0000 (00:03 +0100)]
Fix unset/startup cmd
Dirk Koopman [Wed, 22 Apr 2020 20:07:49 +0000 (21:07 +0100)]
add prefixes CTY-3007
Dirk Koopman [Wed, 22 Apr 2020 17:43:28 +0000 (18:43 +0100)]
fix modules search path in update_sysop.pl
This means it will work even if not called from /spider/perl.
Dirk Koopman [Tue, 21 Apr 2020 21:26:53 +0000 (22:26 +0100)]
add Spot.pm with disabled $readback
It turns out that using tac to read backwards isn't really worth it
for spot files, but I'm leaving the code there for any future
use cases.
Dirk Koopman [Tue, 21 Apr 2020 19:13:39 +0000 (20:13 +0100)]
simplified the disconnect even more
And now added some working debugging and put back bye.pl so that
it doesn't call Mojo directly.
Simplified the whole thing. Now let's see whether that has a memory leak
Dirk Koopman [Tue, 21 Apr 2020 18:43:32 +0000 (19:43 +0100)]
Remove wait on drain (which may never happen)
Changed the arrangements sending logout files (what a palaver for
something so "simple"). Basically, if there is nothing to send on
disconnect, the Mojo "drain" signal is never emitted. So it hangs for
ever. But only sometimes (for some reason).
Dirk Koopman [Mon, 20 Apr 2020 17:57:15 +0000 (18:57 +0100)]
note sh/log speedup changes
Dirk Koopman [Mon, 20 Apr 2020 13:55:13 +0000 (14:55 +0100)]
fix sh/log things to allow all search strings
Search strings are escaped so can't be regexes (but that could change)
Dirk Koopman [Mon, 20 Apr 2020 13:39:39 +0000 (14:39 +0100)]
fix sh/log users as well
Dirk Koopman [Mon, 20 Apr 2020 13:07:34 +0000 (14:07 +0100)]
speed up sh/log et al by using 'tac' if found
Dirk Koopman [Mon, 20 Apr 2020 00:22:27 +0000 (01:22 +0100)]
add info to Changes and UPGRADE.mojo
Dirk Koopman [Sun, 19 Apr 2020 22:44:00 +0000 (23:44 +0100)]
remove any leading ::ffff: on ipv4 addresses
Dirk Koopman [Sun, 19 Apr 2020 20:33:07 +0000 (21:33 +0100)]
force disconnect on attempt 2
Dirk Koopman [Sun, 19 Apr 2020 20:28:28 +0000 (21:28 +0100)]
clean up Msg debugging further
Also make sure that a FORCE CLOSE situation (which may now never happen)
goes directly to close it.
Dirk Koopman [Sun, 19 Apr 2020 20:18:30 +0000 (21:18 +0100)]
adjust accept debugging a tad
Dirk Koopman [Sun, 19 Apr 2020 20:09:17 +0000 (21:09 +0100)]
fix hang on unreachable outgoing connects
Dirk Koopman [Sun, 19 Apr 2020 16:00:54 +0000 (17:00 +0100)]
move ::process things back into persec
Dirk Koopman [Sun, 19 Apr 2020 15:12:57 +0000 (16:12 +0100)]
improve spawn dbg, move "use Mojolicious"
We have moved the first use of "use Mojolicious <version>" AFTER the
"use DXDebug" to allow capture of Mojo errors into the debug log.
Dirk Koopman [Sat, 18 Apr 2020 21:07:56 +0000 (22:07 +0100)]
new style disconnect
This attempts to fix the "send the logout file" issue
Dirk Koopman [Fri, 17 Apr 2020 14:38:08 +0000 (15:38 +0100)]
fix DXProt.pm
Dirk Koopman [Fri, 17 Apr 2020 14:03:22 +0000 (15:03 +0100)]
log all incoming rcmd regardless of outcome
Dirk Koopman [Fri, 17 Apr 2020 13:45:47 +0000 (14:45 +0100)]
put dx.pl into an explicit handle sub
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
Dirk Koopman [Fri, 17 Apr 2020 01:13:58 +0000 (02:13 +0100)]
add dbg line to dxcron::spawn_cmd
Dirk Koopman [Fri, 17 Apr 2020 00:32:27 +0000 (01:32 +0100)]
make save a non-spawnable cmd
Dirk Koopman [Thu, 16 Apr 2020 23:57:17 +0000 (00:57 +0100)]
nospawnify the rest of the known commands
Dirk Koopman [Thu, 16 Apr 2020 23:29:24 +0000 (00:29 +0100)]
nospawnify some of the commands
Dirk Koopman [Thu, 16 Apr 2020 20:41:40 +0000 (21:41 +0100)]
new version of subprocessing
Dirk Koopman [Sat, 11 Apr 2020 13:33:27 +0000 (14:33 +0100)]
regularise sh/dx debugging
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!
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...
Dirk Koopman [Tue, 18 Feb 2020 00:38:09 +0000 (00:38 +0000)]
part of making rcmd work again for async cmds
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.
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