HPCC-10308 Add support for getting ESP files directory listing

URL Formats are:

http://ip:port/esp/files/dirpath
http://ip:port/esp/files/dirpath?format=xml
http://ip:port/esp/files/dirpath?format=json

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11958 Add Roxie State check to preflight

The similar logic in ecl-roxie is used by this fix to
retrieve and format information about roxie state (hash).
The information is displayed inside ECLwatch preflight
page (a new column 'Roxie State'). WsMachine thread pool
is used to improve the performance of retrieving the
information.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
HPCC-12060 Show running WUs in bold on Activity page

Inside legacy ECLWatch, the running WUs were shown
in bold on the Activity page. That feature is broken
due to incorrect check of WU state. It is fixed now.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
HPCC-10308 Check for paths that may access directories outside esp/files

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-12077 Grid Hyperlink clicks do not get de-registered correctly

This causes the hyperlink event to fire more than once on subsequent visits,
which invariably will corrupt the embedded HTML.

Fixes HPCC-12077

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-11741 WUDetails Helper Count is calculated at the wrong time/place

Fixes HPCC-11741

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-12088 Improve initial Graph experience

Automatically show entire graph.
Prompt the user if graph is "complex" - to optionally display entire graph.
Disable depth and distance spin boxes as appropriate.
Improve depth, distance and sync tooltips.

Fixes HPCC-12088

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-12044 Disable actions on details page for deleted items

Fixes HPCC-12044

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-11968 Port back unique allocator change to 4.2.x

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11812 Add //IP/Path to Landing Zones Page

Fixes HPCC-11812

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #6359 from jakesmith/hpcc-11968-4.2.x

HPCC-11968 Port back unique allocator change to 4.2.x

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12113 Heat Map does not refresh with timers

Fixes HPCC-12113

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-12075 Allow to select a good landing zone for Upload/download

When the Upload/download File menu is selected, FileSpray.DropZoneFiles
service tries to retrieve landing zones and the files from the first
landing zone. If the dafilesrv is down on that landing zone, after
several retries for retrieving the files (a long time delay), an
exception is sent out without any landing zone displayed. A user may
not access any landing zone. This fix only retrieves landing zone list
after the Upload/download File menu is clicked. A user may see and
choose any landing zone for file upload and download.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
Merge pull request #6350 from GordonSmith/HPCC-11741

HPCC-11741 WUDetails Helper Count is calculated at the wrong time/place

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12094 NamedMutex needs to use correct lock directory

NamedMutex was hard coded to use /var/lock which cannot be
guaranteed to be written to on all distributions.
Instead use the lock directory as specified by the environment.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-12033 Default target environment for regression suite should be
configurable

Add "defaultSetupClusters" and "defaultTargetClusters" arrays to ecl-test.json
config file

Implement code to process default cluster(s) from config if it is not specified
in command line

Implement code to process cluster list in provided with -t |--target command
line parameter

Update built-in help and README.rst

Signed-off-by: Attila.Vamos <attila.vamos@gmail.com>
Merge pull request #6375 from jakesmith/hpcc-12094b

HPCC-12094 NamedMutex needs to use correct lock directory
HPCC-12029 Optimize crc_file, updated to fix Centos 5.7 and OSX build errors

Replaced new swap_bytes() routine with existing _REV4() from jmisc.hpp

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>
Merge pull request #6330 from wangkx/h12060_50x

HPCC-12060 Show running WUs in bold on Activity page

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12107 Segmentation fault when supplying an incorrect Wuid to
DATASET(WORKUNIT(...

Add code to check and convert 'w' to 'W' into secOpenWorkUnit()
Add code to check first character of the WUID into same function

Add code to check the return value of factory->openWorkUnit() to avoid
SEGFAULT caused by zero pointer.

Signed-off-by: Attila.Vamos <attila.vamos@gmail.com>