Skip to content

Commit

Permalink
Merge branch 'release/3.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 30, 2020
2 parents b2169e9 + 6e8c14c commit 9f63ba6
Show file tree
Hide file tree
Showing 51 changed files with 736 additions and 554 deletions.
6 changes: 3 additions & 3 deletions .scalafmt.conf
Expand Up @@ -20,7 +20,7 @@ includeCurlyBraceInSelectChains = true
includeNoParensInSelectChains = true

rewriteTokens {
"=>" : ""
"<-" : ""
"->": ""
"⇒": "=>"
"←": "<-"
"": "->"
}
8 changes: 4 additions & 4 deletions AUTHORS
Expand Up @@ -11,7 +11,7 @@ Contributors

* CERT Banque de France (CERT-BDF)

Copyright (C) 2017-2019 Nabil Adouani
Copyright (C) 2014-2019 Thomas Franco
Copyright (C) 2014-2019 Saâd Kadhi
Copyright (C) 2014-2019 Jérôme Leonard
Copyright (C) 2017-2020 Nabil Adouani
Copyright (C) 2014-2020 Thomas Franco
Copyright (C) 2014-2020 Saâd Kadhi
Copyright (C) 2014-2020 Jérôme Leonard
26 changes: 25 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,30 @@
# Change Log

## [3.5.0](https://github.com/TheHive-Project/TheHive/milestone/61) (2020-10-29)

**Implemented enhancements:**

- Not possible to import new alerts to cases when drilling down from dashboard [\#1218](https://github.com/TheHive-Project/TheHive/issues/1218)
- Bug: Responder-list is unordered [\#1564](https://github.com/TheHive-Project/TheHive/issues/1564)

**Closed issues:**

- [Bug] Click on short report resolves outdated long report [\#1350](https://github.com/TheHive-Project/TheHive/issues/1350)

**Fixed bugs:**

- [Bug] Can't tag observable as IOC in Alert [\#1335](https://github.com/TheHive-Project/TheHive/issues/1335)
- [Bug] Concurrent access fails [\#1570](https://github.com/TheHive-Project/TheHive/issues/1570)
- [Bug] Pivoting from dashboard to search page is loosing the date filter [\#1581](https://github.com/TheHive-Project/TheHive/issues/1581)
- [Bug] Report template admin page [\#1591](https://github.com/TheHive-Project/TheHive/issues/1591)
- [Security] Update Playframework [\#1603](https://github.com/TheHive-Project/TheHive/issues/1603)

## [3.4.3](https://github.com/TheHive-Project/TheHive/milestone/62) (2020-10-26)

**Fixed bugs:**

- [Bug] TheHive is stalled while importing Alerts with a large number of observables [\#1416](https://github.com/TheHive-Project/TheHive/issues/1416)

## [3.5.0-RC1](https://github.com/TheHive-Project/TheHive/milestone/44) (2020-08-12)

**Implemented enhancements:**
Expand All @@ -16,7 +41,6 @@
- [Bug] OAuth2/OpenIDC Authentication failure [\#1291](https://github.com/TheHive-Project/TheHive/issues/1291)
- [Feature Request] OAuth support for Basic authentication to authorization server's tokenUrl [\#1294](https://github.com/TheHive-Project/TheHive/issues/1294)
- [Bug] Can't auth with SSO/OAuth with FusionAuth [\#1342](https://github.com/TheHive-Project/TheHive/issues/1342)
- [Bug] TheHive is stalled while importing Alerts with a large number of observables [\#1416](https://github.com/TheHive-Project/TheHive/issues/1416)

## [3.4.2](https://github.com/TheHive-Project/TheHive/milestone/57) (2020-04-25)

Expand Down
8 changes: 4 additions & 4 deletions conf/application.sample
Expand Up @@ -27,16 +27,16 @@ search {
#}

## Authentication configuration
#search.username = ""
#search.password = ""
#username = ""
#password = ""

## SSL configuration
#search.keyStore {
#keyStore {
# path = "/path/to/keystore"
# type = "JKS" # or PKCS12
# password = "keystore-password"
#}
#search.trustStore {
#trustStore {
# path = "/path/to/trustStore"
# type = "JKS" # or PKCS12
# password = "trustStore-password"
Expand Down
3 changes: 2 additions & 1 deletion project/Common.scala
Expand Up @@ -33,7 +33,8 @@ object Common {
javaOptions += "-Xmx1G",
// Redirect logs from ElasticSearch (which uses log4j2) to slf4j
libraryDependencies += "org.apache.logging.log4j" % "log4j-to-slf4j" % "2.9.1",
excludeDependencies += "org.apache.logging.log4j" % "log4j-core"
excludeDependencies += "org.apache.logging.log4j" % "log4j-core",
dependencyOverrides += "com.typesafe.akka" %% "akka-actor" % play.core.PlayVersion.akkaVersion
)

val stableVersion: Regex = "(\\d+\\.\\d+\\.\\d+)-(\\d+)".r
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Expand Up @@ -19,7 +19,7 @@ object Dependencies {

val reflections = "org.reflections" % "reflections" % "0.9.11"
val zip4j = "net.lingala.zip4j" % "zip4j" % "2.6.0"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.12.1"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.12.3"
val akkaCluster = "com.typesafe.akka" %% "akka-cluster" % play.core.PlayVersion.akkaVersion
val akkaClusterTyped = "com.typesafe.akka" %% "akka-cluster-typed" % play.core.PlayVersion.akkaVersion
val akkaClusterTools = "com.typesafe.akka" %% "akka-cluster-tools" % play.core.PlayVersion.akkaVersion
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=1.3.0
sbt.version=1.3.8
4 changes: 2 additions & 2 deletions project/plugins.sbt
@@ -1,7 +1,7 @@
// Comment to get more information during initialization
logLevel := Level.Info

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.2")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.3")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.0")
addSbtPlugin("org.thehive-project" % "sbt-github-changelog" % "0.3.0")
13 changes: 7 additions & 6 deletions thehive-backend/app/connectors/Connectors.scala
@@ -1,15 +1,16 @@
package connectors

import scala.collection.immutable
import play.api.libs.json.{JsObject, Json}

import play.api.libs.json.{ JsObject, Json }
import play.api.mvc._
import play.api.routing.sird.UrlContext
import play.api.routing.{Router, SimpleRouter}
import play.api.routing.{ Router, SimpleRouter }

import com.google.inject.AbstractModule
import scala.reflect.runtime.{universe => ru}
import javax.inject.{Inject, Singleton}
import javax.inject.{ Inject, Singleton }
import models.HealthStatus
import net.codingwell.scalaguice.{ScalaModule, ScalaMultibinder}
import net.codingwell.scalaguice.{ ScalaModule, ScalaMultibinder }

trait Connector {
val name: String
Expand All @@ -34,7 +35,7 @@ class ConnectorRouter @Inject()(connectors: immutable.Set[Connector], actionBuil

abstract class ConnectorModule extends AbstractModule with ScalaModule {

def registerController[C <: Connector: ru.TypeTag]: Unit = {
def registerController[C <: Connector: Manifest]: Unit = {
val connectorBindings = ScalaMultibinder.newSetBinder[Connector](binder)
connectorBindings.addBinding.to[C]
()
Expand Down

0 comments on commit 9f63ba6

Please sign in to comment.