add info to Changes and UPGRADE.mojo
authorDirk Koopman <djk@tobit.co.uk>
Mon, 20 Apr 2020 00:22:27 +0000 (01:22 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Mon, 20 Apr 2020 00:22:27 +0000 (01:22 +0100)
Changes
UPGRADE.mojo
perl/cluster.pl

diff --git a/Changes b/Changes
index 9abc5acec061bddc23ebc573b7a9f444ef18a0b9..8e7cca354fc15b77cb92fe39d81606915c5f8116 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,16 @@
+19Apr20=======================================================================
+1. The long haul that is the mojo branch has started up again. It's something
+   to do during this lockdown.
+2. The problems and instabilities around running commands that worked in 
+   forked processes, when used other than by normally logged in users (e.g. 
+   in the local crontab), have been fixed.  
+3. If a /spider/local_data/logout file is present then its contents will be
+   sent to the user on logout.
+4. Add the ability to sh/dx origin or ip (address).
+5. Retire the use of the deprecated Mojo::IOLoop::ForkCall in favour of using
+   the supported equivalent in Mojolicious 7.26 and above. Which means you
+   will need to upgrade Mojo to at least the version. The current version is
+   8.36 and is known to work.
 10Sep19=======================================================================
 1. Improve DXSql database filtering to exclude most via <locator> type 
    reports.
index 1c18f3a1f7e61a61b5e9b1f8dd4212dc6e44535e..34c2e7815cd9547fac575877876c3e80f3fbbbe1 100644 (file)
@@ -50,13 +50,14 @@ or
 
 You will need the following CPAN packages:
 
-       sudo cpanm EV Mojolicious Sereal JSON JSON::XS
+       sudo cpanm EV Mojolicious JSON JSON::XS
        # just in case it's missing
        sudo apt-get install top
 
 
 Please make sure that, if you insist on using operating system packages, that your Mojolicious is
-at least version 7.40. Mojo::IOLoop::ForkCall is NOT LONGER IN USE!
+at least version 7.26. Mojo::IOLoop::ForkCall is NOT LONGER IN USE! The current version at time
+of writing is 8.36.
 
 Login as the sysop user.
 
index 4e5c157f2a8fd47b79cf0c0e88d531b8df051fee..78f2f594b02706bcf7e44b1ffeaa4fbb9ad0c672 100755 (executable)
@@ -682,9 +682,9 @@ sub per_sec
                $systime_days = $days;
                $systime_daystart = $days * 86400;
        }
+       IsoTime::update($systime);
        DXCommandmode::process(); # process ongoing command mode stuff
        DXProt::process();              # process ongoing ak1a pcxx stuff
-       IsoTime::update($systime);
        DXCron::process();      # do cron jobs
        DXXml::process();
        DXConnect::process();