WebSearch: CERN-specific hack update

* When CFG_CERN_SITE and using get_collection_reclist(), expect
  that recID might be coming as a string.  (The non-CERN-specific
  part would already properly handle it.)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
installation: support for Apache-2.4

* Enhances `--create-apache-conf` to detect if Apache-2.4 or later is
  used and produces compatible configuration WRT directory restrictions.
  (addresses #1552)

Reported-by: Nedko Nedkov <nedko.stefanov.nedkov@cern.ch>
Signed-Off-By: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
git: ignore `.noseids` and `compile`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebComment: improved guest commenting/reviewing

* Adds authentication decorator to `add_comment` and `add_review`
  functions.  (closes #1539)

Signed-off-by: Jake Cowton <jake.calum.cowton@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
importutils: fix None values error

* Improves importutils when it does not discover any module inside
  the given package or if the package does not exists.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  importutils: fix None values error
  installation: support for Apache-2.4
  WebSearch: CERN-specific hack update

* Merge note: discarding Apache-2.4 related changes
  done by second master's commit above while waiting
  for a patch coming from ticket:1522.

Conflicts:
	modules/miscutil/lib/inveniocfg.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
WebStyle: legacy request form multivalue fix

* Addresses general problem with reading multiple POST arguments of same
  name as list.

Reported-by: Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebStyle: CFG_WEBSITE_TEMPLATE_SKIN support

* Supports for including cascade style sheet called
  `CFG_WEBSITE_TEMPLATE_SKIN` in `page.html`.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: support for Apache-2.4

* Enhances `--create-apache-conf` to detect if Apache-2.4 or later is
  used and produces compatible configuration WRT directory restrictions.
  (addresses #1552)

* Merge note: cherry-picked from 117a9d6f5d4ea2df2eb66bd8537db0034b4c5bca
  and adapted to maint-1.0 branch.

Reported-by: Nedko Nedkov <nedko.stefanov.nedkov@cern.ch>
Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  installation: support for Apache-2.4

Conflicts:
	modules/miscutil/lib/inveniocfg.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  installation: support for Apache-2.4
Merge branch 'master' into next

* master:
  installation: support for Apache-2.4
BibFormat: format_element initialisation fix

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-0.99' into maint-1.0

* maint-0.99:
  BibFormat: format_element initialisation fix
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  BibFormat: format_element initialisation fix
Merge branch 'maint-1.1'

* maint-1.1:
  BibFormat: format_element initialisation fix
Merge branch 'master' into next

* master:
  BibFormat: format_element initialisation fix
WebSession: reporting errors in *_user_settings.py

* Errors in `*_user_settings.py` files are logged in
  `CFG_LOGDIR/broken-user-settings.log`.  (closes #1570)

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebStyle: error code 401 on authorization failure

* Adds error code 401 when user is not authorized instead of just
  flashing an error message with a success code.

* Uses same `unauthorized` handler in Flask `login_manager` as 401 error
  handler.

* Fixes webstyle regression tests.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Co-authored-by: Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
hashutils: initial release

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>