1. 20 Jan, 2022 1 commit
    • Matthias Neugebauer's avatar
      Merge remote-tracking branch 'upstream/r/10.x' into wwu/10 · 87a17c86
      Matthias Neugebauer authored
      * upstream/r/10.x: (27 commits)
        Fix Javadocs
        Automatically Update Matrix Room
        Automated Release Title
        Forgot the 10.9 release notes
        Updating Opencast 10.x changelog
        Spelling issue, and editing
        Add download artifacts in engage publication
        ConfigurableRetractWorkflowOperationHandle: fixed exception message
        Revert order of common and extended metadata in admin ui event endpoint
        Handle missing common ui adapters for tenants
        Document Capture Agent Input Selection
        Fix Scheduler Conflict Checks
        Updating maven documentation re: automated nexus deploys
        Warn against using CIFS for Inbox
        Show input selection only if applicable
        Update to pax-logging 1.11.13
        fixup! add missing unbind methods
        Remove Unused Additional Log4J
        remove unused deactivate methods
        add missing unbind methods
        ...
      87a17c86
  2. 19 Jan, 2022 2 commits
    • Greg Logan's avatar
      Fix Javadocs · 3df3b96e
      Greg Logan authored
      With Opencast 11 our javadocs broke. In part this was due to the migration from JDK 8 to 11,
      but the majority of those issues have already been corrected by this point. The current
      issue, which this commit resolves, is that various Lucene packages (from modules/solr) are
      not found by javadocs when the aggregation step happens. We have to manually add these to
      the javadoc plugin to make sure that it can find them.
      
      README: When testing aggregation bugs you can massively speed up testing by using the
      javadocs.sh file generated in target/site/apidocs (from project root). This file disappears
      as part of the javadoc generation process, so you won't find it unless something goes wrong :)
      
      Fixes #2085
      3df3b96e
    • Greg Logan's avatar
      Merge branch 'matrix-room-desc' of lkiesow/opencast into r/10.x · 2cc44dc2
      Greg Logan authored
      Pull request #3364
        Automatically Update Matrix Room
      2cc44dc2
  3. 18 Jan, 2022 14 commits
  4. 17 Jan, 2022 2 commits
    • Greg Logan's avatar
      Merge branch 'scheduler-conflict-check' of lkiesow/opencast into r/10.x · 55324491
      Greg Logan authored
      Pull request #3339
        Fix Scheduler Conflict Checks
      55324491
    • Lars Kiesow's avatar
      Fix Scheduler Conflict Checks · 4ed55163
      Lars Kiesow authored
      This patch fixes the scheduler's conflict checks which previously broke
      spectacularly if someone already ingested media to one of the found
      scheduled events.
      
      The scheduler woould then find the conflict but would fail to retrieve
      the media package since it wouldn't be the owner of that event in the
      asset manager any longer. That does not make a lot of sense for a
      conflict check where you just want to get the information.
      4ed55163
  5. 13 Jan, 2022 1 commit
  6. 07 Jan, 2022 1 commit
  7. 05 Jan, 2022 2 commits
  8. 04 Jan, 2022 2 commits
    • Lars Kiesow's avatar
      Show input selection only if applicable · 3982ec82
      Lars Kiesow authored
      This patch removes the input selection from being marked as required
      (since it is not) and will no more show an empty selection if a capture
      agent does not have multiple inputs. This will hopefully avoid some
      confusion around this option.
      3982ec82
    • Lars Kiesow's avatar
      Update to pax-logging 1.11.13 · 51122231
      Lars Kiesow authored
      This patch updates pax-logging to version 1.11.13. This fixes CVE-2021-44832. The issue is unlikely to hit Opencast
      adopters since the affected appender is not configured by default and not commonly used in our community.
      51122231
  9. 23 Dec, 2021 3 commits
  10. 21 Dec, 2021 7 commits
    • Lars Kiesow's avatar
      Remove Unused Additional Log4J · 00635c50
      Lars Kiesow authored
      Opencast included an additional version of Log4J via its elasticsearch
      module. The dependency seems to be unused. To avoid confusion, this
      pull requests removes it completely.
      00635c50
    • Gregor Eichelberger's avatar
      remove unused deactivate methods · 524e93da
      Gregor Eichelberger authored
      524e93da
    • Gregor Eichelberger's avatar
      add missing unbind methods · b58bd86c
      Gregor Eichelberger authored
      b58bd86c
    • Gregor Eichelberger's avatar
      b1de706d
    • Lars Kiesow's avatar
      Automate GitHub Release · 090ffe6d
      Lars Kiesow authored
      This patch automates building the release tarballs and creating a
      release on GitHub.
      
      The workflow will only create a `Draft` release, allowing release
      managers to review the release before publication.
      
      This should be a lot faster and less error-prone than release managers
      building the tarballs at home and uploading them manually.
      090ffe6d
    • Lars Kiesow's avatar
      Fix Database Connection Tests · c2848d38
      Lars Kiesow authored
      Starting Opencast with PostgreSQL configured you end up with a database error
      being logged:
      
      ```
      2021-12-20 21:47:06,778 | WARN  | (Activator:172) - Unable to delete temp table oc_temp_808069, please remove this yourself!
      org.postgresql.util.PSQLException: No results were returned by the query.
              at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:237) ~[!/:?]
              at com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyStatement.java:327) ~[!/:?]
              at org.opencastproject.db.Activator.start(Activator.java:170) [!/:?]
              at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [org.apache.felix.framework-5.6.12.jar:?]
              at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) [org.apache.felix.framework-5.6.12.jar:?]
              at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) [org.apache.felix.framework-5.6.12.jar:?]
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) [org.apache.felix.framework-5.6.12.jar:?]
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) [org.apache.felix.framework-5.6.12.jar:?]
              at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165) [!/:?]
              at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153) [!/:?]
              at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036) [!/:?]
              at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) [!/:?]
              at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) [!/:?]
              at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
              at java.lang.Thread.run(Thread.java:829) [?:?]
      ```
      
      While the error is inconsequential and the table is actually even removed, the
      warning is confusing and not accurate.  This patch fixes the problem.
      c2848d38
    • Lars Kiesow's avatar
      Fix pax-logging in startup.properties · 0c2f5386
      Lars Kiesow authored
      This patch fixes some pax-logging replacements done when assembling
      Opencast's distributions.
      
      The reason why Opencast works as expected even without this patch is,
      that we had to make sure to include the new bundles in the distribution
      and the easiest way of doing that was for Opencast's Karaf features to
      require the bundles.
      
      That is why `pax-logging-log4j2` will automatically be started when
      starting any of Opencast's Karaf features, automatically mitigating the
      replacement error.
      
      The only side-effect was that the logger's start level was slightly
      higher than before. In practice, that meant that logging would start
      about a second later.
      
      This patch now ensures the start level again drops to `8` and no one
      gets confused about why we have `pax-logging-api` twice in the
      `startup.properties`.
      0c2f5386
  11. 20 Dec, 2021 3 commits
  12. 19 Dec, 2021 2 commits