Merge remote-tracking branch 'origin/candidate-3.6.x'

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
gh-1595 Remove unused configuration option syncCluster

Configuration options syncCluster and checkState are no longer in use and
should be removed.

Fixes gh-1595

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
gh-1728 Add ecl queries support for showing suspended given cluster

When ecl queries is given a roxie cluster to run against it will mark
queries suspended on that cluster with an X (S is used to indicate
suspended within the queryset).

ecl queries list --cluster=roxie

results in:

QuerySet: myroxie

Flags Query Id                     [Active Name(s)]
----- ---------------------------- ----------------
   A  chart_views_query.1          [chart_views_query]
 XSA  json_demo.1                  [json_demo]

Fixes gh-1728.

Rebased onto updated candidate-3.6.x

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix gh-1686 missing WsWorkunit support for WUActionExecuteExisting

Functionality was accidently removed during refactoring.  Although this
used to be roxie specific it will now be non cluster specific.

Fixes gh-1686.

Rebased on latest candidate-3.6.x

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge pull request #1792 from richardkchapman/syncCluster

gh-1595 Remove unused configuration option syncCluster

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #1826 from richardkchapman/syncCluster

gh-1595 Remove unused configuration option syncCluster

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
LDAP / esp addition in community OSS code

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Merge pull request #1827 from hpcc-systems/candidate-3.6.x

Merge in recent 3.6 changes

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #1825 from stuartort/CE-ldap

LDAP / esp addition in community OSS code

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge latest changes from 3.6 branch

Resolved conflicts:
	esp/services/ws_access/ws_accessService.hpp
	esp/services/ws_account/ws_accountService.hpp

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Silly cast mismatch, removes warning
Merge pull request #1829 from rengolin/warnings

Silly cast mismatch, removes warning

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix ln422 Select cluster order on Activity page

This fix adds a drop down menu which allows to select
the display order of clusters (both roxie and thor) on
Activity page by name or by size.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
fixes: gh-1786 Added creation of PDF docs to CMake.

WIP: automation of Documentation building from cmake.

The first commmit here includes the creation of PDF's only.

Workflow:

1. Generate relative link cleaner xsl.
2. Use xsltproc to clean relative links for cmake based out of source builds.
3. Use xsltproc to process cleaned source with docbook to create FO.
4. Use apache fop to process FO into pdf.

TODO:
- Force all docs to build on a single target of `make docs`. Currently only docs that are not in a subdirectory are on this target.
- Add in cmake steps to build only docs and disable the rest of the tree. MAKE_DOCS_ONLY=ON
- Add in HTML and CHM generation.
- Add in package steps to allow for optional package creation along side the binary package.

WIP: change to handling of documentation global target to all for "make docs"

WIP: fixed version file usage.

WIP: more doc gen changes.

WIP: more changes.

WIP: doc dir moves.

WIP: doc CMake files along with xslt clean up.

WIP: finalized pdf generation from cmake.

todo:
- MAKE_DOCS_ONLY
- Doc package generation. (generate CMake files for creating package)

WIP: Fixed overflow issues with HPCCClientTools pdf.

WIP: moved wip docs to a wip directory.

wip: added MAKE_DOCS_ONLY to allow only creation of docs with only
doc deps.
gh-1831 - Recent change broke dali start if clean

Changes in gh-1646, caused a new dali, with no existing to store, to fail to
start.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Fix checkEclVersionCompatible checks subminor against wrong value

Checks subminor!=LANGUAGE_VERSION_MINOR rather than LANGUAGE_VERSION_SUB.

Fixes gh-1838.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge pull request #1837 from jakesmith/gh-1831

gh-1831 - Recent change broke dali start if clean

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1830 from wangkx/ln422-sort-clusters

Fix ln422 Select cluster order on Activity page

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1839 from afishbeck/version_compatible

Fix checkEclVersionCompatible checks subminor against wrong value

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #1807 from afishbeck/ecl_queries_cluster

gh-1728 Add ecl queries support for showing queries suspended given cluster

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>