(2.7) dcache-webadmin: remove autorefresh on pages with ListViews

The introduction of autorefresh (the addition of the AjaxSelfUpdatingTimerBehavior) to the Forms on pages containing ListViews that also have javascript sort and search functions associated with their headers has introduced a bug which manifests itself as the disappearance, after refresh, of the search boxes in the header and the inability to sort by clicking on the column title.

After some investigation, it seems that this has to do with the way Wicket handles Ajax requests.

I have not found a way to get this cocktail of javascript, Wicket and Ajax to play correctly for the "repeater" (ListView) classes.  The Alarms page uses a different component, the DataTable, which does not have this issue.  Changing all the ListViews that need to be refreshed into DataTables would be rather invasive, however, so for 2.7 I have decided simply to revert to no autorefresh for these pages, making 2.7 essentially equivalent to 2.6.

I plan to make the component substitution for DataTables in master.

Testing: Redeployed instance behaves as 2.6 (the refreshed data must be obtained by clicking on the navigation link or reloading the page).

Target: 2.7
Patch: http://rb.dcache.org/r/6230/
Require-notes: no
Require-book: no
Acked-by: Gerd
correcting IoMode check for SEEK_AND_WRITE
[maven-release-plugin] prepare release 2.7.0
[maven-release-plugin] prepare for next development iteration
ssh2: fix int overflow with timeout

As mina sshd used int as timeout value, max long
converted into negative number and ignored.

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
(cherry picked from commit 8608b98be3206351acda3a8e4389b072f2df089e)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #297 from kofemann/ssh-overflow

ssh2: fix int overflow with timeout
Merge pull request #296 from daniel-meister/2.7

correcting IoMode check for SEEK_AND_WRITE
info-provider: Fix regression in publishing GlueServiceEndpoint

Target: trunk
Request: 2.7
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6246/
(cherry picked from commit fb55fb8498c16a7353d1e3a6169d5ac31058ca7f)
Merge pull request #298 from gbehrmann/fix/2.7/rb6246

info-provider: Fix regression in publishing GlueServiceEndpoint
Merge pull request #293 from alrossi/fix/2.7/remove-autorefresh

(2.7) dcache-webadmin: remove autorefresh on pages with ListViews
srm-client: fix building of tagged RPMs

The master and 2.7 branches contain code to build the srm-client RPMs when
dCache has a "-SNAPSHOT" in the version (e.g., "2.7.0-SNAPSHOT").  The "-"
is illegal in the RPM name and the build-helper maven plugin is used to
remove it (to "2.7.0SNAPSHOT").

Tagged versions of dCache code do not contain the "-SNAPSHOT", so
the regexp in the build-helper maven plugin has nothing to replace.
Unfortunately, a failure to match results in the build process failing.

This patch fixes the problem by making the replacement optional.

Target: master
Request: 2.7
Requires-notes: no
Requires-book: no
Patch: http://rb.dcache.org/r/6242/
Acked-by: Gerd Behrmann
Merge pull request #299 from paulmillar/fix/2.7/tagged-srm-client

srm-client: fix building of tagged RPMs
pool: Fix -sticky option in migration module

Addresses a regression that causes the -sticky option when
used without a value to not match any files.

The issue was that the empty value of a multi-valued option
was translated to an array with the empty string rather than
the empty array.

Target: trunk
Request: 2.7
Request: 2.6
Ticket: http://rt.dcache.org/Ticket/Display.html?id=8108
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6247/
(cherry picked from commit 7c34310cd369f602258757318ce4dffb970fdb71)
billing: Add shebang header to indexer cronjob

Addresses an issue with the billing indexer cronjob, that
prevented it from being executed.

Target: trunk
Request: 2.7
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6249/
(cherry picked from commit d73114fca0cf47942b68a275de296e3b6d5fc3c3)
Merge pull request #302 from gbehrmann/fix/2.7/rb6249

billing: Add shebang header to indexer cronjob
Merge pull request #300 from gbehrmann/fix/2.7/rb6247

pool: Fix -sticky option in migration module
[maven-release-plugin] prepare release 2.7.1
[maven-release-plugin] prepare for next development iteration
dcap: separate protocol name and client ip in DCapProtocolInfo#toString()

from
   DCap-3.0141.34.224.41:20009
to
   DCap-3.0,141.34.224.41:20009

Acked-by: Paul Millar
Target: master, 2.6, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit 63ff338551f77e709f43fd3ea38a5fee1cf7a87c)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
chimera: compact hadles passed to NFS server

The chimera IDs on the wire presented as:

0:TAG:0000DA875B38D9E0461F9ADFEA7C7422A956:OSMTemplate

This change introduses a binary form with backward compatibility,
e.q. new version can understand and decode old forms.

The new form:

<byte 1> : fsid
<byte 2> : inode type
<byte 3> : len of the id
<byte 4:id len> id of the file
<byte ~22> : len of inode specific data
<byte 24:opque len> specific data.

For example above, ithe old encoding: will produce 68 byte nfs file handle,
with new scheme - 47.

Ticket: #7927
Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
(cherry picked from commit 6aa5a402b63af49e12c280a9bc264b6a44c1d434)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>