From 36011a7711aec2e9586df6cc67fb41e3625945e6 Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Thu, 24 Sep 2026 13:12:09 -0700 Subject: [PATCH 1/2] Fix the sbt build warnings --- admin/src/main/scala/com/neu/service/Services.scala | 12 +++++++----- .../service/authentication/OpenIdAuthService.scala | 3 --- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/admin/src/main/scala/com/neu/service/Services.scala b/admin/src/main/scala/com/neu/service/Services.scala index 4b836605..f02f506b 100644 --- a/admin/src/main/scala/com/neu/service/Services.scala +++ b/admin/src/main/scala/com/neu/service/Services.scala @@ -90,11 +90,13 @@ class RoutedHttpService() extends Actor with ActorLogging with Directives { def receive: Receive = Actor.emptyBehavior // No need to handle messages directly - def handleConnection: Receive = { - case b: Bound => - log.info("***REST Server Started***") - case failed: CommandFailed => - log.warning("***REST Server Could not be Started***" + failed.cmd.failureMessage) + def handleConnection: Receive = { case x: Matchable => + x match { + case b: Bound => + log.info("***REST Server Started***") + case failed: CommandFailed => + log.warning("***REST Server Could not be Started***" + failed.cmd.failureMessage) + } } } diff --git a/admin/src/main/scala/com/neu/service/authentication/OpenIdAuthService.scala b/admin/src/main/scala/com/neu/service/authentication/OpenIdAuthService.scala index f8d3cd5c..961ebdcf 100644 --- a/admin/src/main/scala/com/neu/service/authentication/OpenIdAuthService.scala +++ b/admin/src/main/scala/com/neu/service/authentication/OpenIdAuthService.scala @@ -6,15 +6,12 @@ import com.neu.core.AuthenticationManager import com.neu.model.AuthTokenJsonProtocol.{ *, given } import com.neu.model.* import org.apache.pekko.http.scaladsl.model.* -import org.apache.pekko.http.scaladsl.model.headers.HttpCookie import org.apache.pekko.http.scaladsl.server.RequestContext import org.apache.pekko.http.scaladsl.server.Route import org.apache.pekko.http.scaladsl.unmarshalling.Unmarshal import org.apache.pekko.stream.Materializer import spray.json.* -import java.nio.charset.StandardCharsets -import java.util.Base64 import scala.concurrent.Await import scala.concurrent.ExecutionContext import scala.concurrent.Future From 261f1fd5c68dc54b02140b4d82cc48a0e6162bfc Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Tue, 29 Sep 2026 22:57:37 -0700 Subject: [PATCH 2/2] #1314 Feature Request: Add authenticated webhook notifications(Not to submit password while it is empty) --- .../configuration/config-form/config-form.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/webapp/websrc/app/routes/settings/configuration/config-form/config-form.component.ts b/admin/webapp/websrc/app/routes/settings/configuration/config-form/config-form.component.ts index a194b31f..83d2fc20 100644 --- a/admin/webapp/websrc/app/routes/settings/configuration/config-form/config-form.component.ts +++ b/admin/webapp/websrc/app/routes/settings/configuration/config-form/config-form.component.ts @@ -315,6 +315,9 @@ export class ConfigFormComponent implements OnInit, OnDestroy { if (webhook.type === OtherWebhookType) { webhook.type = ''; } + if (webhook.password === '') { + webhook.password = null; + } webhook.url = webhook.url.trim(); return webhook; }),