Revert "Revert "Merged in greg_logan/matterhorn/f/MH-9499-input-volume (pull request #80)"This reverts commit 8f9275bc7a8406e5ed1d242e3af9f86f932511d7, reversingchanges made to cceac9c40fab9cc0a419e822bdc64b059bbbd163.# Please enter the commit message for your changes. Lines starting# with '#' will be ignored, and an empty message aborts the commit.# On branch develop# Changes to be committed:#   (use "git reset HEAD <file>..." to unstage)##	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/GStreamerElements.java#	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/AlsaProducer.java#	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/AudioProducer.java#	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/ProducerFactory.java#	modified:   modules/matterhorn-common/src/main/java/org/opencastproject/capture/CaptureParameters.java#"This reverts commit e3a0f2d6a7f9996c5c664366430b753b8ce10640.# Please enter the commit message for your changes. Lines starting# with '#' will be ignored, and an empty message aborts the commit.# On branch f/MH-9499-input-volume# Changes to be committed:#   (use "git reset HEAD <file>..." to unstage)##	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/GStreamerElements.java#	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/AlsaProducer.java#	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/AudioProducer.java#	modified:   modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/ProducerFactory.java#	modified:   modules/matterhorn-common/src/main/java/org/opencastproject/capture/CaptureParameters.java## Untracked files:#   (use "git add <file>..." to include in what will be committed)##	foo.dif#	modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/bins/producers/ProducerFactory.java.orig#	modules/matterhorn-common/src/main/java/org/opencastproject/capture/CaptureParameters.java.orig#	reset.sh
MH-9499: Fixed compilation issues.
MH-9499: Removing some cruft that is no longer applicable.
MH-9980, Use JQ Deffered objects to monitor nested asynch calls made when continuing processing and then wait on them before leaving the page.
MH-10143, Fix Init Script Error on Debian Based Systems

The problem is that /bin/sh defaults to dash on Debian based systems
which causes errors when executing the start script. Changing the shell
to bash manually works.

This commit just switches the shebang from /bin/sh to /bin/bash which
means that a bash is now required to run the start scripts, but it does
not matter anymore, what the setting for the default shell is.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
MH-10175, Spaces in Encoding Profile arguments cause errors

Some FFmpeg filters require spaces in the filter configuration. For
example a curves filter definition could look like this:

  -filter:v 'curves=all=0.5/0 0.51/1'

Unfortunately, spaces don't work well with Matterhorn as it tries to
split the filter definition and send them to FFmpeg as a list of
arguments rather than a single argument.

This patch introduce a space-placeholder that can be used to create such
filter graphs. For example, the filter graph defined above would, as
part of an encoding profile, look like this:

  -filter:v curves=all=0.5/0#{space}0.51/1

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
MH-10178 -- remove modification of namespaces in XMLCatalogImpl#Bindings
The implementation stripped trailing slashes. Namespaces must not be modified by any means since the XML namespace specification states that namespaces are simply treated as strings despite their URI nature.

- Fixed xml schema namespace http://www.w3.org/2001/XMLSchema-instance/ to http://www.w3.org/2001/XMLSchema-instance
- Unified http://www.opencastproject.org/matterhorn namespace to http://www.opencastproject.org/matterhorn/
Fixed missing support for .mp3 files in sox
MH-10180: Cleaning up the mess in the CA tests.  One folder and two files are still intermittently created in /tmp, but I can't track down where or how.
MH-10176 -- Fixed POM versions on 1.5.0
Merge branch 'r/1.5.0' of ssh://bitbucket.org/opencast-community/matterhorn into opencast/r/1.5.0
MH-10181 -- Removed duplicate jersey dependency
MH-10161 -- Referencing an already built version of the distribution service

The fix is not the nicest one, but none of the three alternatives (mocking the distribution service, copying the distribution service code to the authorization module, adding the distribution service to the admin profile) were any better than this.
MH-10180: This fixes the rest of the tests to avoid the system temp directory.
MH-10139 -- Add alter table command to MySQL upgrade script
MH-10139 -- Change type of field payload in table mh_job from TEXT to MEDIUMTEXT
MH-10139 -- Extend payload field length

New length of 16.777.215 is equal to length of MySQL MEDIUMTEXT field type
MH-10075 -- Improve handling of DC XML string

Removes control characters to prevent parsing error
Merged in lkiesow/matterhorn/t/MH-10143-init-script-on-debian (pull request #124)

MH-10143, Fix Init Script Error on Debian Based Systems
MH-10190:  Fixes the warning, was caused by the REST scheduler scanning for REST endpoints on a bundle with none defined.