imera: protect against NPE in FsSqlDriver#read

    RB: https://rb.dcache.org/r/7385/
    Acked-by: Paul Millar
    Target: trunk
    Request: 2.11 2.10 2.9 2.8 2.7 2.6
xrootd: Initialize session

Initializes a session string for xrootd.

Target: master
Request: 2.11
Request: 2.10
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7437/
cells: Improve pinboard

- Port the pinboard code to Java 8
- Changes the time format to use the local time format (rather than
  hard-coding a 12 hour format with no indication wheter it is am or pm).
- Use a circular buffer rather than an array to keep the log - removing
  the oldest entry from an array is rather expensive as the entire array
  has to be copied. This change reduce the CPU overhead of the pinboard.
- Also reduced the memory foot print and CPU overhead of creating a
  pinboard entry (static inner and no Date instance stored in a field).

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Albert Rossi <arossi@fnal.gov>
Acked-by: Paul Millar <paul.millar@desy.de> (email)
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Revert "cells: Improve pinboard"

This reverts commit 0cabf0960f10fb615b9959685fdcfbd8498af37b.
Move to Java 8

Require Java 8 for compilation and for execution.

A few code changes were required due to changes in how generics are
treated in Java 8.

srm-client and packages it depends on are still flagged as Java 7,
allowing us to release a Java 7 compatible SRM client.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Albert Rossi <arossi@fnal.gov>
Acked-by: Paul Millar <paul.millar@desy.de> (email)
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7166/
fix WebDAV door logging stacktrace on USERINFO request

Milton does not support the USERINFO request. If such an request arrives
(davfs2 uses it for example) it will produce an IllegalArgumentException
with the message "No enum constant io.milton.http.Request.Method.USERINFO"
that will end up as a StackTrace
in the log and sends back a HTTP response "500 No enum constant
io.milton.http.Request.Method.USERINFO".  Better would be to respond
with "501 Not implemented" and not log the StackTrace.  This patch
solves this issue by checking for the unsupported method before passing
it on to Milton and sending the approprate response.

Ticket:
Acked-by: Gerd
Target: master
Request: 2.11
Request: 2.10
Require-book: no
Require-notes: no
cells: Port pinboard to Java 8

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Karsten Schwank <karsten.schwank@desy.de>
Patch: https://rb.dcache.org/r/7445/
xrootd: Add access-log plugin

Allows xrootd doors to generate an access log similar to those of SRM, FTP and WebDAV
doors. May optionally be used on pools too.

Target: trunk
Request: 2.11
Request: 2.10
Require-notes: yes
Require-book: no
Acked-by: Karsten Schwank <karsten.schwank@desy.de>
Patch: https://rb.dcache.org/r/7442/
srm: Enable legacy GSI close by default

We have only recently released a client for close works, so it is
wise to enable legacy close by default.

Target: trunk
Request: 2.11
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7452/
webadmin: refactor navigation bar

This patch makes several minor improvements to the navigation bar.

  1. The unavailable page is removed; instead, disabled items (e.g.,
     pool queue plots and billing plots, with default configuration)
     appear as (unclickable) text rather than a link to the non-descript
     unavailable page.

  2. The text for disabled items (see above) has specific CSS class;
     this allows the CSS to show the text as ghosted out items, giving
     a visual hint that these items are not available.

  3. The HTML 'title' attribute, which browsers typically show as a
     mouse-over tool-tip, provides specific information on why the
     item is disabled.  This gives the admin a hint how to enable
     such disabled items.

  4. The pages that require authentication (pool admin, cell admin,
     and alarms) have an additional CSS class when user is currently
     not authenticated.  With this patch CSS makes such text a dark
     red.  As before, clicking on these link redirects the user to the
     login page.  Once logged in, these links become the normal
     (azure/blue) colour and clicking on the link takes the user to
     the expected page.

  5. The a-tags in the nav-bar now have id elements.  This is to aid
     functional testing.

  6. The text for the link names (stored in BasicNavigationPanel.properties)
     are now reference the link's id, rather than by index.

The patch also refactors the corresponding BasicNavigationPanel class.

Target: master
Requires-notes: no
Requires-book: no
Patch: https://rb.dcache.org/r/7435/
Acked-by: Albert Rossi
pool: use entry's actual LastAccessTime to update namespace

do not call System.currentTimeMillis() as LastAccessTime is already
provided.

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no