~jan0sch/smederee
Showing details for patch ab1ecf041e236c8324e7b5e0f1a94a92cf95b6f3.
diff -rN -u old-smederee/modules/darcs/src/main/scala/de/smederee/darcs/DarcsCommands.scala new-smederee/modules/darcs/src/main/scala/de/smederee/darcs/DarcsCommands.scala --- old-smederee/modules/darcs/src/main/scala/de/smederee/darcs/DarcsCommands.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/darcs/src/main/scala/de/smederee/darcs/DarcsCommands.scala 2025-01-14 10:25:11.835342636 +0000 @@ -17,12 +17,12 @@ package de.smederee.darcs -import java.nio.file._ +import java.nio.file.* -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* import org.slf4j.LoggerFactory import scala.util.matching.Regex diff -rN -u old-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala new-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala --- old-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala 2025-01-14 10:25:11.835342636 +0000 @@ -17,13 +17,13 @@ package de.smederee.darcs -import java.nio.file._ +import java.nio.file.* -import cats.data._ -import cats.effect._ -import cats.syntax.all._ +import cats.data.* +import cats.effect.* +import cats.syntax.all.* -import munit._ +import munit.* import scala.annotation.nowarn diff -rN -u old-smederee/modules/darcs/src/test/scala/de/smederee/darcs/TestHelpers.scala new-smederee/modules/darcs/src/test/scala/de/smederee/darcs/TestHelpers.scala --- old-smederee/modules/darcs/src/test/scala/de/smederee/darcs/TestHelpers.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/darcs/src/test/scala/de/smederee/darcs/TestHelpers.scala 2025-01-14 10:25:11.835342636 +0000 @@ -18,10 +18,10 @@ package de.smederee.darcs import java.io.IOException -import java.nio.file._ +import java.nio.file.* import java.nio.file.attribute.BasicFileAttributes -import cats.syntax.all._ +import cats.syntax.all.* trait TestHelpers { diff -rN -u old-smederee/modules/email/src/main/scala/de/smederee/email/EmailMessage.scala new-smederee/modules/email/src/main/scala/de/smederee/email/EmailMessage.scala --- old-smederee/modules/email/src/main/scala/de/smederee/email/EmailMessage.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/email/src/main/scala/de/smederee/email/EmailMessage.scala 2025-01-14 10:25:11.835342636 +0000 @@ -17,7 +17,7 @@ package de.smederee.email -import cats.data._ +import cats.data.* /** Container for an email message. * diff -rN -u old-smederee/modules/email/src/main/scala/de/smederee/email/EmailMiddleware.scala new-smederee/modules/email/src/main/scala/de/smederee/email/EmailMiddleware.scala --- old-smederee/modules/email/src/main/scala/de/smederee/email/EmailMiddleware.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/email/src/main/scala/de/smederee/email/EmailMiddleware.scala 2025-01-14 10:25:11.835342636 +0000 @@ -19,9 +19,9 @@ import java.nio.charset.StandardCharsets -import cats._ -import cats.syntax.all._ -import com.comcast.ip4s._ +import cats.* +import cats.syntax.all.* +import com.comcast.ip4s.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/email/src/main/scala/de/smederee/email/SimpleJavaMailMiddleware.scala new-smederee/modules/email/src/main/scala/de/smederee/email/SimpleJavaMailMiddleware.scala --- old-smederee/modules/email/src/main/scala/de/smederee/email/SimpleJavaMailMiddleware.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/email/src/main/scala/de/smederee/email/SimpleJavaMailMiddleware.scala 2025-01-14 10:25:11.835342636 +0000 @@ -19,8 +19,8 @@ import java.nio.charset.StandardCharsets -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import org.simplejavamail.api.email.Email import org.simplejavamail.api.mailer.Mailer import org.simplejavamail.api.mailer.config.TransportStrategy @@ -34,7 +34,7 @@ * The configuration containing all needed information to connect to the email server and send emails. */ final class SimpleJavaMailMiddleware(configuration: EmailMiddlewareConfiguration) extends EmailMiddleware[IO] { - import SimpleJavaMailMiddleware.helpers._ + import SimpleJavaMailMiddleware.helpers.* private val cachedMailer: IO[Mailer] = for { builder <- IO.delay { diff -rN -u old-smederee/modules/email/src/test/scala/de/smederee/email/EmailMiddlewareTest.scala new-smederee/modules/email/src/test/scala/de/smederee/email/EmailMiddlewareTest.scala --- old-smederee/modules/email/src/test/scala/de/smederee/email/EmailMiddlewareTest.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/email/src/test/scala/de/smederee/email/EmailMiddlewareTest.scala 2025-01-14 10:25:11.835342636 +0000 @@ -19,12 +19,12 @@ import java.nio.charset.StandardCharsets -import de.smederee.email.Generators._ +import de.smederee.email.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class EmailMiddlewareTest extends ScalaCheckSuite { given Arbitrary[FromAddress] = Arbitrary(genValidFromAddress) diff -rN -u old-smederee/modules/email/src/test/scala/de/smederee/email/Generators.scala new-smederee/modules/email/src/test/scala/de/smederee/email/Generators.scala --- old-smederee/modules/email/src/test/scala/de/smederee/email/Generators.scala 2025-01-14 10:25:11.811342605 +0000 +++ new-smederee/modules/email/src/test/scala/de/smederee/email/Generators.scala 2025-01-14 10:25:11.835342636 +0000 @@ -19,7 +19,7 @@ import cats.data.NonEmptyList -import org.scalacheck._ +import org.scalacheck.* /** A container for ScalaCheck generators for our data types. */ diff -rN -u old-smederee/modules/email/src/test/scala/de/smederee/email/SimpleJavaMailMiddlewareHelpersTest.scala new-smederee/modules/email/src/test/scala/de/smederee/email/SimpleJavaMailMiddlewareHelpersTest.scala --- old-smederee/modules/email/src/test/scala/de/smederee/email/SimpleJavaMailMiddlewareHelpersTest.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/email/src/test/scala/de/smederee/email/SimpleJavaMailMiddlewareHelpersTest.scala 2025-01-14 10:25:11.835342636 +0000 @@ -18,19 +18,19 @@ package de.smederee.email import cats.kernel.Eq -import cats.syntax.all._ -import de.smederee.email.Generators._ +import cats.syntax.all.* +import de.smederee.email.Generators.* import jakarta.mail.Message.RecipientType -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* -import scala.jdk.CollectionConverters._ +import scala.jdk.CollectionConverters.* final class SimpleJavaMailMiddlewareHelpersTest extends ScalaCheckSuite { - import SimpleJavaMailMiddleware.helpers._ + import SimpleJavaMailMiddleware.helpers.* given Eq[RecipientType] = Eq.fromUniversalEquals diff -rN -u old-smederee/modules/html-utils/src/main/scala/de/smederee/html/LinkTools.scala new-smederee/modules/html-utils/src/main/scala/de/smederee/html/LinkTools.scala --- old-smederee/modules/html-utils/src/main/scala/de/smederee/html/LinkTools.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/html-utils/src/main/scala/de/smederee/html/LinkTools.scala 2025-01-14 10:25:11.835342636 +0000 @@ -17,7 +17,7 @@ package de.smederee.html -import cats.syntax.all._ +import cats.syntax.all.* import org.http4s.Uri object LinkTools { diff -rN -u old-smederee/modules/html-utils/src/main/scala/de/smederee/html/MarkdownRenderer.scala new-smederee/modules/html-utils/src/main/scala/de/smederee/html/MarkdownRenderer.scala --- old-smederee/modules/html-utils/src/main/scala/de/smederee/html/MarkdownRenderer.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/html-utils/src/main/scala/de/smederee/html/MarkdownRenderer.scala 2025-01-14 10:25:11.835342636 +0000 @@ -19,20 +19,20 @@ import java.util.Locale -import cats.syntax.all._ +import cats.syntax.all.* import org.commonmark.ext.gfm.tables.TablesExtension import org.commonmark.ext.heading.anchor.HeadingAnchorExtension import org.commonmark.ext.task.list.items.TaskListItemsExtension -import org.commonmark.node._ +import org.commonmark.node.* import org.commonmark.parser.Parser import org.commonmark.renderer.NodeRenderer -import org.commonmark.renderer.html._ +import org.commonmark.renderer.html.* import org.http4s.Uri import org.slf4j.Logger import org.slf4j.LoggerFactory import scala.annotation.nowarn -import scala.jdk.CollectionConverters._ +import scala.jdk.CollectionConverters.* import scala.util.matching.Regex object MarkdownRenderer { @@ -128,7 +128,7 @@ * A context for an html node renderer that is needed to extract the html writer from it. */ class ToDoTextRenderer(context: HtmlNodeRendererContext) extends NodeRenderer { - import ToDoTextCssMapping._ + import ToDoTextCssMapping.* private final val htmlWriter: HtmlWriter = context.getWriter() private final val log: Logger = LoggerFactory.getLogger(getClass()) diff -rN -u old-smederee/modules/html-utils/src/test/scala/de/smederee/html/LinkToolsTest.scala new-smederee/modules/html-utils/src/test/scala/de/smederee/html/LinkToolsTest.scala --- old-smederee/modules/html-utils/src/test/scala/de/smederee/html/LinkToolsTest.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/html-utils/src/test/scala/de/smederee/html/LinkToolsTest.scala 2025-01-14 10:25:11.835342636 +0000 @@ -17,12 +17,12 @@ package de.smederee.html -import com.comcast.ip4s._ +import com.comcast.ip4s.* import de.smederee.html.LinkTools.createFullUri import org.http4s.Uri -import org.http4s.implicits._ +import org.http4s.implicits.* -import munit._ +import munit.* final class LinkToolsTest extends ScalaCheckSuite { diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -20,7 +20,7 @@ import java.util.UUID import de.smederee.i18n.LanguageCode -import de.smederee.security._ +import de.smederee.security.* import de.smederee.ssh.PublicSshKey import fs2.Stream diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRoutes.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/AccountManagementRoutes.scala 2025-01-14 10:25:11.839342641 +0000 @@ -25,25 +25,25 @@ import java.time.ZoneOffset import java.util.UUID -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.email._ -import de.smederee.html.LinkTools._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.email.* +import de.smederee.html.LinkTools.* import de.smederee.hub.RequestHelpers.instances.given -import de.smederee.hub.config._ -import de.smederee.hub.forms.types._ +import de.smederee.hub.config.* +import de.smederee.hub.forms.types.* import de.smederee.i18n.LanguageCode -import de.smederee.security._ -import de.smederee.ssh._ +import de.smederee.security.* +import de.smederee.ssh.* import de.smederee.tickets.TicketServiceApi import de.smederee.tickets.TicketsUser -import org.http4s._ -import org.http4s.dsl._ +import org.http4s.* +import org.http4s.dsl.* import org.http4s.headers.Location -import org.http4s.implicits._ -import org.http4s.twirl.TwirlInstances._ +import org.http4s.implicits.* +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory import scala.util.Try diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/Account.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/Account.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/Account.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/Account.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,11 +19,11 @@ import java.nio.charset.StandardCharsets -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode -import de.smederee.security._ +import de.smederee.security.* import org.springframework.security.crypto.argon2.Argon2PasswordEncoder import scala.util.matching.Regex diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/AddPublicSshKeyForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/AddPublicSshKeyForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/AddPublicSshKeyForm.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/AddPublicSshKeyForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,11 +17,11 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ -import de.smederee.ssh._ +import cats.data.* +import cats.syntax.all.* +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* +import de.smederee.ssh.* /** Data container for the form to add a new public ssh key. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationMiddleware.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationMiddleware.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationMiddleware.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationMiddleware.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,16 +17,16 @@ package de.smederee.hub -import java.time._ +import java.time.* -import cats.data._ -import cats.effect._ -import cats.syntax.all._ +import cats.data.* +import cats.effect.* +import cats.syntax.all.* import de.smederee.hub.RequestHelpers.instances.given_RequestHelpers_Request -import de.smederee.hub.SessionHelpers.instances._ +import de.smederee.hub.SessionHelpers.instances.* import de.smederee.hub.config.AuthenticationTimeouts -import de.smederee.security._ -import org.http4s._ +import de.smederee.security.* +import org.http4s.* /** Implementation of needed functionality to provide an authentication middleware layer for http4s. */ diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -18,7 +18,7 @@ package de.smederee.hub import de.smederee.email.EmailAddress -import de.smederee.security._ +import de.smederee.security.* import fs2.Stream /** A base class for database functionality related to the authentication process. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala 2025-01-14 10:25:11.839342641 +0000 @@ -20,25 +20,25 @@ import java.time.OffsetDateTime import java.time.ZoneOffset -import cats.data._ -import cats.effect._ -import cats.syntax.all._ +import cats.data.* +import cats.effect.* +import cats.syntax.all.* import de.smederee.html.ExternalUrlConfiguration import de.smederee.hub.RequestHelpers.instances.given_RequestHelpers_Request import de.smederee.hub.SessionHelpers.instances.toAuthenticationCookie -import de.smederee.hub._ -import de.smederee.hub.config._ +import de.smederee.hub.* +import de.smederee.hub.config.* import de.smederee.hub.forms.types.FormErrors import de.smederee.hub.forms.types.FormFieldError -import de.smederee.security._ -import org.http4s._ +import de.smederee.security.* +import org.http4s.* import org.http4s.dsl.Http4sDsl import org.http4s.headers.Location -import org.http4s.implicits._ -import org.http4s.twirl.TwirlInstances._ +import org.http4s.implicits.* +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory -import scala.concurrent.duration._ +import scala.concurrent.duration.* /** Enumeration of possible kinds of authentication failures. */ diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/ChangePasswordForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/ChangePasswordForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/ChangePasswordForm.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/ChangePasswordForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,11 +17,11 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ -import de.smederee.security._ +import cats.data.* +import cats.syntax.all.* +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* +import de.smederee.security.* /** Data container for changine an account password in the reset password process. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/config/SmedereeHubConfig.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/config/SmedereeHubConfig.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/config/SmedereeHubConfig.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/config/SmedereeHubConfig.scala 2025-01-14 10:25:11.843342646 +0000 @@ -18,17 +18,17 @@ package de.smederee.hub.config import java.nio.charset.StandardCharsets -import java.nio.file._ +import java.nio.file.* import cats.kernel.Eq import com.comcast.ip4s.Host import com.comcast.ip4s.Port -import de.smederee.email._ +import de.smederee.email.* import de.smederee.html.ExternalUrlConfiguration -import de.smederee.security._ -import de.smederee.ssh._ +import de.smederee.security.* +import de.smederee.ssh.* import org.http4s.Uri -import pureconfig._ +import pureconfig.* import scala.concurrent.duration.FiniteDuration import scala.util.Try diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DatabaseMigrator.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DatabaseMigrator.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DatabaseMigrator.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DatabaseMigrator.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,8 +17,8 @@ package de.smederee.hub -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import org.flywaydb.core.Flyway import org.flywaydb.core.api.configuration.FluentConfiguration import org.flywaydb.core.api.output.MigrateResult diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,14 +19,14 @@ import java.util.UUID -import cats.effect._ +import cats.effect.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode -import de.smederee.security._ -import de.smederee.ssh._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import de.smederee.security.* +import de.smederee.ssh.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import fs2.Stream final class DoobieAccountManagementRepository[F[_]: Sync](tx: Transactor[F]) extends AccountManagementRepository[F] { diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,15 +19,15 @@ import java.util.UUID -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode -import de.smederee.security._ -import doobie.Fragments._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import de.smederee.security.* +import doobie.Fragments.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import fs2.Stream final class DoobieAuthenticationRepository[F[_]: Sync](tx: Transactor[F]) extends AuthenticationRepository[F] { diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieResetPasswordRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieResetPasswordRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieResetPasswordRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieResetPasswordRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -20,14 +20,14 @@ import java.time.OffsetDateTime import java.util.UUID -import cats.effect._ +import cats.effect.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode -import de.smederee.security._ -import doobie.Fragments._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import de.smederee.security.* +import doobie.Fragments.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* final class DoobieResetPasswordRepository[F[_]: Sync](tx: Transactor[F]) extends ResetPasswordRepository[F] { given Meta[EmailAddress] = Meta[String].timap(EmailAddress.apply)(_.toString) diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieSignupRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieSignupRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieSignupRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieSignupRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,12 +19,12 @@ import java.util.UUID -import cats.effect._ +import cats.effect.* import de.smederee.email.EmailAddress -import de.smederee.security._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import de.smederee.security.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* final class DoobieSignupRepository[F[_]: Sync](tx: Transactor[F]) extends SignupRepository[F] { diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,16 +19,16 @@ import java.util.UUID -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import de.smederee.email.EmailAddress -import de.smederee.hub.VcsMetadataRepositoriesOrdering._ +import de.smederee.hub.VcsMetadataRepositoriesOrdering.* import de.smederee.security.UserId import de.smederee.security.Username -import doobie.Fragments._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import doobie.Fragments.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import fs2.Stream import org.http4s.Uri diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/EditVcsRepositoryForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/EditVcsRepositoryForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/EditVcsRepositoryForm.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/EditVcsRepositoryForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,10 +17,10 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ +import cats.data.* +import cats.syntax.all.* +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* import org.http4s.Uri /** Data container for the form to edit / customise a VCS repository. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/FormValidator.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/FormValidator.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/FormValidator.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/FormValidator.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,8 +17,8 @@ package de.smederee.hub.forms -import cats.data._ -import de.smederee.hub.forms.types._ +import cats.data.* +import de.smederee.hub.forms.types.* /** A base class for form validators. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/types.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/types.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/types.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/forms/types.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,8 +17,8 @@ package de.smederee.hub.forms -import cats.data._ -import cats.syntax.all._ +import cats.data.* +import cats.syntax.all.* object types { diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/HubServer.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/HubServer.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/HubServer.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/HubServer.scala 2025-01-14 10:25:11.839342641 +0000 @@ -23,28 +23,28 @@ import java.util.Locale import cats.arrow.FunctionK -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import com.typesafe.config._ -import de.smederee.darcs._ +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import com.typesafe.config.* +import de.smederee.darcs.* import de.smederee.email.EmailAddress import de.smederee.email.SimpleJavaMailMiddleware -import de.smederee.html._ -import de.smederee.hub.config._ -import de.smederee.security._ -import de.smederee.ssh._ -import de.smederee.tickets._ -import de.smederee.tickets.config._ -import doobie._ -import org.http4s._ -import org.http4s.ember.server._ -import org.http4s.implicits._ -import org.http4s.server._ +import de.smederee.html.* +import de.smederee.hub.config.* +import de.smederee.security.* +import de.smederee.ssh.* +import de.smederee.tickets.* +import de.smederee.tickets.config.* +import doobie.* +import org.http4s.* +import org.http4s.ember.server.* +import org.http4s.implicits.* +import org.http4s.server.* import org.http4s.server.middleware.CSRF import org.http4s.server.staticcontent.resourceServiceBuilder import org.slf4j.LoggerFactory -import pureconfig._ +import pureconfig.* import scodec.bits.ByteVector /** Commands that may be passed to the hub server to trigger specific behaviour. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/LandingPageRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/LandingPageRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/LandingPageRoutes.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/LandingPageRoutes.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,16 +17,16 @@ package de.smederee.hub -import cats.effect._ -import cats.syntax.all._ -import de.smederee.html.LinkTools._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.html.LinkTools.* import de.smederee.hub.RequestHelpers.instances.given -import de.smederee.hub.config._ +import de.smederee.hub.config.* import de.smederee.i18n.LanguageCode -import org.http4s._ +import org.http4s.* import org.http4s.dsl.Http4sDsl -import org.http4s.implicits._ -import org.http4s.twirl.TwirlInstances._ +import org.http4s.implicits.* +import org.http4s.twirl.TwirlInstances.* /** This bundles all routing related to possible landing pages for users entering the site. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/LoginForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/LoginForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/LoginForm.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/LoginForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,11 +17,11 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ -import de.smederee.security._ +import cats.data.* +import cats.syntax.all.* +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* +import de.smederee.security.* /** A data container for the login form. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/NewVcsRepositoryForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/NewVcsRepositoryForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/NewVcsRepositoryForm.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/NewVcsRepositoryForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,10 +17,10 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ +import cats.data.* +import cats.syntax.all.* +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* import org.http4s.Uri /** Data container for the form to create a new VCS repository. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/RequestHelpers.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/RequestHelpers.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/RequestHelpers.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/RequestHelpers.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,11 +17,11 @@ package de.smederee.hub -import cats.syntax.all._ +import cats.syntax.all.* import de.smederee.hub.config.Constants import de.smederee.security.CsrfToken import de.smederee.security.SignedToken -import org.http4s._ +import org.http4s.* trait RequestHelpers[A] { extension (a: A) { diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordForm.scala 2025-01-14 10:25:11.815342610 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,11 +17,11 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ +import cats.data.* +import cats.syntax.all.* import de.smederee.email.EmailAddress -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* /** Data container for the form used to reset a password. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRepository.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,7 +19,7 @@ import java.time.OffsetDateTime -import de.smederee.security._ +import de.smederee.security.* /** A base class for database functionality related to resetting a user password. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRoutes.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRoutes.scala 2025-01-14 10:25:11.839342641 +0000 @@ -20,26 +20,26 @@ import java.time.OffsetDateTime import java.time.ZoneOffset -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.email._ -import de.smederee.html.LinkTools._ -import de.smederee.html._ +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.email.* +import de.smederee.html.LinkTools.* +import de.smederee.html.* import de.smederee.hub.RequestHelpers.instances.given_RequestHelpers_Request -import de.smederee.hub._ -import de.smederee.hub.config._ +import de.smederee.hub.* +import de.smederee.hub.config.* import de.smederee.hub.forms.types.FormErrors import de.smederee.hub.forms.types.FormFieldError import de.smederee.i18n.LanguageCode -import org.http4s._ +import org.http4s.* import org.http4s.dsl.Http4sDsl import org.http4s.headers.Location -import org.http4s.implicits._ -import org.http4s.twirl.TwirlInstances._ +import org.http4s.implicits.* +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory -import scala.concurrent.duration._ +import scala.concurrent.duration.* final class ResetPasswordRoutes[F[_]: Async]( authenticationConfig: AuthenticationConfiguration, diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/Rss.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/Rss.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/Rss.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/Rss.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,7 +17,7 @@ package de.smederee.hub -import java.time._ +import java.time.* /** Data describing a RSS channel. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/SessionHelpers.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/SessionHelpers.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/SessionHelpers.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/SessionHelpers.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,9 +17,9 @@ package de.smederee.hub -import java.time._ +import java.time.* -import cats.syntax.all._ +import cats.syntax.all.* import de.smederee.hub.config.AuthenticationTimeouts import de.smederee.hub.config.Constants import de.smederee.security.SignedToken diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/Session.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/Session.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/Session.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/Session.scala 2025-01-14 10:25:11.839342641 +0000 @@ -19,8 +19,8 @@ import java.time.OffsetDateTime -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import de.smederee.security.UserId /** A user session which is used to track logged in users. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupForm.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupForm.scala 2025-01-14 10:25:11.839342641 +0000 @@ -17,12 +17,12 @@ package de.smederee.hub -import cats.data._ -import cats.syntax.all._ +import cats.data.* +import cats.syntax.all.* import de.smederee.email.EmailAddress -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ -import de.smederee.security._ +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* +import de.smederee.security.* /** A data container for our signup form. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRepository.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRepository.scala 2025-01-14 10:25:11.839342641 +0000 @@ -18,7 +18,7 @@ package de.smederee.hub import de.smederee.email.EmailAddress -import de.smederee.security._ +import de.smederee.security.* /** A base class for our signup repository which provides the needed database functions. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRoutes.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/SignupRoutes.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,20 +17,20 @@ package de.smederee.hub -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.html.LinkTools._ +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.html.LinkTools.* import de.smederee.hub.RequestHelpers.instances.given_RequestHelpers_Request -import de.smederee.hub.config._ +import de.smederee.hub.config.* import de.smederee.hub.forms.types.FormErrors import de.smederee.hub.forms.types.FormFieldError -import de.smederee.security._ -import org.http4s._ +import de.smederee.security.* +import org.http4s.* import org.http4s.dsl.Http4sDsl import org.http4s.headers.Location -import org.http4s.implicits._ -import org.http4s.twirl.TwirlInstances._ +import org.http4s.implicits.* +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory /** The routes for handling the user signup process. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/types.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/types.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/types.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/types.scala 2025-01-14 10:25:11.843342646 +0000 @@ -21,7 +21,7 @@ import java.util.Base64 import cats.Eq -import cats.syntax.all._ +import cats.syntax.all.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala 2025-01-14 10:25:11.843342646 +0000 @@ -18,31 +18,31 @@ package de.smederee.hub import java.io.IOException -import java.nio.file._ +import java.nio.file.* import java.util.Locale -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.darcs._ -import de.smederee.html.LinkTools._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.darcs.* +import de.smederee.html.LinkTools.* import de.smederee.html.MarkdownRenderer import de.smederee.hub.RelatedTypesConverter.given import de.smederee.hub.RequestHelpers.instances.given -import de.smederee.hub.config._ +import de.smederee.hub.config.* import de.smederee.hub.forms.types.FormErrors import de.smederee.i18n.LanguageCode import de.smederee.security.CsrfToken import de.smederee.security.Username import de.smederee.tickets.ProjectRepository import org.fusesource.jansi.utils.UtilsAnsiHtml -import org.http4s._ +import org.http4s.* import org.http4s.dsl.Http4sDsl -import org.http4s.dsl.impl._ -import org.http4s.headers._ -import org.http4s.implicits._ -import org.http4s.twirl.TwirlInstances._ +import org.http4s.dsl.impl.* +import org.http4s.headers.* +import org.http4s.implicits.* +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory import org.typelevel.ci.CIStringSyntax diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepository.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepository.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,12 +17,12 @@ package de.smederee.hub -import java.time._ +import java.time.* import java.time.format.DateTimeFormatter -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* import de.smederee.email.EmailAddress import de.smederee.security.UserId import de.smederee.security.Username diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSftpFileSystemAccessor.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSftpFileSystemAccessor.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSftpFileSystemAccessor.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSftpFileSystemAccessor.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,18 +17,18 @@ package de.smederee.ssh -import java.nio.file._ +import java.nio.file.* -import cats._ -import cats.effect._ +import cats.* +import cats.effect.* import cats.effect.std.Dispatcher import cats.effect.unsafe.implicits.global -import cats.syntax.all._ +import cats.syntax.all.* import de.smederee.hub.VcsRepositoryName -import de.smederee.hub.config._ +import de.smederee.hub.config.* import de.smederee.security.UserId import de.smederee.security.Username -import org.apache.sshd.sftp.server._ +import org.apache.sshd.sftp.server.* import org.slf4j.LoggerFactory import scala.util.matching.Regex diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSshCommand.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSshCommand.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSshCommand.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/DarcsSshCommand.scala 2025-01-14 10:25:11.843342646 +0000 @@ -21,17 +21,17 @@ import java.io.OutputStream import java.nio.file.Paths -import cats._ -import cats.effect._ +import cats.* +import cats.effect.* import cats.effect.std.Dispatcher import cats.effect.unsafe.implicits.global -import cats.syntax.all._ +import cats.syntax.all.* import de.smederee.hub.VcsRepositoryName -import de.smederee.hub.config._ +import de.smederee.hub.config.* import de.smederee.security.UserId import de.smederee.security.Username import org.apache.sshd.scp.common.ScpHelper -import org.apache.sshd.scp.server._ +import org.apache.sshd.scp.server.* import org.apache.sshd.server.Environment import org.apache.sshd.server.ExitCallback import org.apache.sshd.server.channel.ChannelSession diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/DoobieSshAuthenticationRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/DoobieSshAuthenticationRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/DoobieSshAuthenticationRepository.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/DoobieSshAuthenticationRepository.scala 2025-01-14 10:25:11.843342646 +0000 @@ -19,14 +19,14 @@ import java.util.UUID -import cats.effect._ +import cats.effect.* import de.smederee.email.EmailAddress -import de.smederee.hub._ +import de.smederee.hub.* import de.smederee.security.UserId import de.smederee.security.Username -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* final class DoobieSshAuthenticationRepository[F[_]: Sync](tx: Transactor[F]) extends SshAuthenticationRepository[F] { given Meta[EmailAddress] = Meta[String].timap(EmailAddress.apply)(_.toString) diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/NoLogin.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/NoLogin.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/NoLogin.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/NoLogin.scala 2025-01-14 10:25:11.843342646 +0000 @@ -21,8 +21,8 @@ import java.io.OutputStream import java.nio.charset.StandardCharsets -import cats.syntax.all._ -import com.comcast.ip4s._ +import cats.syntax.all.* +import com.comcast.ip4s.* import org.apache.sshd.server.Environment import org.apache.sshd.server.ExitCallback import org.apache.sshd.server.channel.ChannelSession diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/PublicSshKey.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/PublicSshKey.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/PublicSshKey.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/PublicSshKey.scala 2025-01-14 10:25:11.843342646 +0000 @@ -22,8 +22,8 @@ import java.util.Base64 import java.util.UUID -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import de.smederee.security.UserId import org.apache.sshd.common.config.keys.AuthorizedKeyEntry import org.bouncycastle.crypto.util.OpenSSHPublicKeyUtil diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticationRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticationRepository.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticationRepository.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticationRepository.scala 2025-01-14 10:25:11.843342646 +0000 @@ -19,7 +19,7 @@ import java.util.UUID -import de.smederee.hub._ +import de.smederee.hub.* import de.smederee.security.Username /** The base class for needed repository functionality releated to ssh authentication like loading/providing keys. diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticator.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticator.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticator.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshAuthenticator.scala 2025-01-14 10:25:11.843342646 +0000 @@ -19,18 +19,18 @@ import java.security.PublicKey -import cats._ -import cats.effect._ +import cats.* +import cats.effect.* import cats.effect.std.Dispatcher import cats.effect.unsafe.implicits.global -import cats.syntax.all._ +import cats.syntax.all.* import org.apache.sshd.common.config.keys.KeyUtils import org.apache.sshd.common.config.keys.PublicKeyEntryResolver import org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator import org.apache.sshd.server.session.ServerSession import org.slf4j.LoggerFactory -import scala.jdk.CollectionConverters._ +import scala.jdk.CollectionConverters.* /** A custom PublickeyAuthenticator implementation for restricting access via ssh. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshServer.scala new-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshServer.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshServer.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/ssh/SshServer.scala 2025-01-14 10:25:11.843342646 +0000 @@ -20,19 +20,19 @@ import java.nio.file.* import java.util.Collections -import cats._ -import cats.effect._ -import com.comcast.ip4s._ -import de.smederee.hub.config._ +import cats.* +import cats.effect.* +import com.comcast.ip4s.* +import de.smederee.hub.config.* import de.smederee.security.UserId import de.smederee.security.Username -import doobie._ +import doobie.* import org.apache.sshd.common.AttributeRepository.AttributeKey import org.apache.sshd.common.file.virtualfs.VirtualFileSystemFactory import org.apache.sshd.server.SshServer import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider -import org.apache.sshd.sftp.server._ -import pureconfig._ +import org.apache.sshd.sftp.server.* +import pureconfig.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelForm.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelForm.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,11 +17,11 @@ package de.smederee.tickets -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* import de.smederee.tickets.forms.FormValidator -import de.smederee.tickets.forms.types._ +import de.smederee.tickets.forms.types.* /** Data container to edit a label. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelRoutes.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/LabelRoutes.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,23 +17,23 @@ package de.smederee.tickets -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.html.LinkTools._ -import de.smederee.html._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.html.LinkTools.* +import de.smederee.html.* import de.smederee.hub.Account import de.smederee.hub.RequestHelpers.instances.given import de.smederee.i18n.LanguageCode import de.smederee.security.CsrfToken import de.smederee.security.Username -import de.smederee.tickets.config._ -import de.smederee.tickets.forms.types._ -import org.http4s._ +import de.smederee.tickets.config.* +import de.smederee.tickets.forms.types.* +import org.http4s.* import org.http4s.dsl.Http4sDsl import org.http4s.headers.Location -import org.http4s.twirl.TwirlInstances._ +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory /** Routes for managing labels (basically CRUD functionality). diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneForm.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneForm.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,13 +17,13 @@ package de.smederee.tickets -import java.time._ +import java.time.* -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* import de.smederee.tickets.forms.FormValidator -import de.smederee.tickets.forms.types._ +import de.smederee.tickets.forms.types.* /** Data container to edit a milestone. * diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneRoutes.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/MilestoneRoutes.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,23 +17,23 @@ package de.smederee.tickets -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.html.LinkTools._ -import de.smederee.html._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.html.LinkTools.* +import de.smederee.html.* import de.smederee.hub.Account import de.smederee.hub.RequestHelpers.instances.given import de.smederee.i18n.LanguageCode import de.smederee.security.CsrfToken import de.smederee.security.Username -import de.smederee.tickets.config._ -import de.smederee.tickets.forms.types._ -import org.http4s._ +import de.smederee.tickets.config.* +import de.smederee.tickets.forms.types.* +import org.http4s.* import org.http4s.dsl.Http4sDsl import org.http4s.headers.Location -import org.http4s.twirl.TwirlInstances._ +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory /** Routes for managing milestones (basically CRUD functionality). diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketForm.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketForm.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketForm.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketForm.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,11 +17,11 @@ package de.smederee.tickets -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* import de.smederee.tickets.forms.FormValidator -import de.smederee.tickets.forms.types._ +import de.smederee.tickets.forms.types.* import scala.util.Try diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala 2025-01-14 10:25:11.819342616 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala 2025-01-14 10:25:11.843342646 +0000 @@ -20,23 +20,23 @@ import java.time.OffsetDateTime import java.time.ZoneOffset -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import de.smederee.html.LinkTools._ -import de.smederee.html._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import de.smederee.html.LinkTools.* +import de.smederee.html.* import de.smederee.hub.Account import de.smederee.hub.RequestHelpers.instances.given import de.smederee.i18n.LanguageCode import de.smederee.security.CsrfToken import de.smederee.security.Username -import de.smederee.tickets.config._ -import de.smederee.tickets.forms.types._ -import org.http4s._ +import de.smederee.tickets.config.* +import de.smederee.tickets.forms.types.* +import org.http4s.* import org.http4s.dsl.Http4sDsl import org.http4s.headers.Location -import org.http4s.twirl.TwirlInstances._ +import org.http4s.twirl.TwirlInstances.* import org.slf4j.LoggerFactory /** Routes for managing tickets. diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationMiddlewareTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationMiddlewareTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationMiddlewareTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationMiddlewareTest.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,16 +17,16 @@ package de.smederee.hub -import java.time._ +import java.time.* -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.hub.Generators._ -import de.smederee.hub.config._ -import de.smederee.security._ -import doobie._ -import org.http4s._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.hub.Generators.* +import de.smederee.hub.config.* +import de.smederee.security.* +import doobie.* +import org.http4s.* final class AuthenticationMiddlewareTest extends BaseSpec with AuthenticationMiddleware { test("extractSessionId must return the session id".tag(NeedsDatabase)) { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala 2025-01-14 10:25:11.843342646 +0000 @@ -19,21 +19,21 @@ import java.nio.charset.StandardCharsets -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import com.typesafe.config.ConfigFactory -import de.smederee.hub.Generators._ -import de.smederee.hub.config._ -import de.smederee.hub.forms._ -import de.smederee.hub.forms.types._ +import de.smederee.hub.Generators.* +import de.smederee.hub.config.* +import de.smederee.hub.forms.* +import de.smederee.hub.forms.types.* import de.smederee.security.SignAndValidate import de.smederee.security.SignedToken -import org.http4s._ -import org.http4s.implicits._ -import org.http4s.server._ +import org.http4s.* +import org.http4s.implicits.* +import org.http4s.server.* import pureconfig.ConfigSource -import munit._ +import munit.* class AuthenticationRoutesTest extends CatsEffectSuite { val loginPath = uri"/login" diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/BaseSpec.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/BaseSpec.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/BaseSpec.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/BaseSpec.scala 2025-01-14 10:25:11.843342646 +0000 @@ -19,22 +19,22 @@ import java.io.IOException import java.net.ServerSocket -import java.nio.file._ +import java.nio.file.* import java.nio.file.attribute.BasicFileAttributes import java.time.OffsetDateTime -import cats.effect._ -import cats.syntax.all._ -import com.comcast.ip4s._ +import cats.effect.* +import cats.syntax.all.* +import com.comcast.ip4s.* import com.typesafe.config.ConfigFactory import de.smederee.email.EmailAddress -import de.smederee.hub.config._ +import de.smederee.hub.config.* import de.smederee.i18n.LanguageCode -import de.smederee.security._ +import de.smederee.security.* import org.flywaydb.core.Flyway -import pureconfig._ +import pureconfig.* -import munit._ +import munit.* import scala.annotation.nowarn diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/config/ServiceConfigTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/config/ServiceConfigTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/config/ServiceConfigTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/config/ServiceConfigTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,12 +17,12 @@ package de.smederee.hub.config -import cats.syntax.all._ -import com.typesafe.config._ +import cats.syntax.all.* +import com.typesafe.config.* import org.http4s.Uri -import pureconfig._ +import pureconfig.* -import munit._ +import munit.* final class ServiceConfigTest extends FunSuite { val rawDefaultConfig = new Fixture[Config]("defaultConfig") { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/DatabaseMigratorTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/DatabaseMigratorTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/DatabaseMigratorTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/DatabaseMigratorTest.scala 2025-01-14 10:25:11.843342646 +0000 @@ -17,9 +17,9 @@ package de.smederee.hub -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* final class DatabaseMigratorTest extends BaseSpec { override def beforeEach(context: BeforeEach): Unit = { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAccountManagementRepositoryTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAccountManagementRepositoryTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAccountManagementRepositoryTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAccountManagementRepositoryTest.scala 2025-01-14 10:25:11.843342646 +0000 @@ -21,13 +21,13 @@ import java.time.ZoneOffset import java.util.UUID -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.hub.Generators._ -import de.smederee.security._ -import de.smederee.ssh._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.hub.Generators.* +import de.smederee.security.* +import de.smederee.ssh.* +import doobie.* final class DoobieAccountManagementRepositoryTest extends BaseSpec { val sshKeyWithComment = ResourceSuiteLocalFixture( diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,12 +17,12 @@ package de.smederee.hub -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.hub.Generators._ -import de.smederee.security._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.hub.Generators.* +import de.smederee.security.* +import doobie.* import org.flywaydb.core.Flyway final class DoobieAuthenticationRepositoryTest extends BaseSpec { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieResetPasswordRepositoryTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieResetPasswordRepositoryTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieResetPasswordRepositoryTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieResetPasswordRepositoryTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -21,12 +21,12 @@ import java.time.OffsetDateTime import java.time.ZoneOffset -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.hub.Generators._ -import de.smederee.security._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.hub.Generators.* +import de.smederee.security.* +import doobie.* import org.flywaydb.core.Flyway final class DoobieResetPasswordRepositoryTest extends BaseSpec { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieSignupRepositoryTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieSignupRepositoryTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieSignupRepositoryTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieSignupRepositoryTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,12 +17,12 @@ package de.smederee.hub -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.hub.Generators._ -import de.smederee.security._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.hub.Generators.* +import de.smederee.security.* +import doobie.* final class DoobieSignupRepositoryTest extends BaseSpec { test("createAccount must create a new account".tag(NeedsDatabase)) { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,15 +17,15 @@ package de.smederee.hub -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* import de.smederee.email.EmailAddress -import de.smederee.hub.Generators._ -import de.smederee.hub.VcsMetadataRepositoriesOrdering._ -import de.smederee.security._ -import doobie._ -import org.http4s.implicits._ +import de.smederee.hub.Generators.* +import de.smederee.hub.VcsMetadataRepositoriesOrdering.* +import de.smederee.security.* +import doobie.* +import org.http4s.implicits.* import scala.collection.immutable.Queue diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/forms/FormErrorsTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/forms/FormErrorsTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/forms/FormErrorsTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/forms/FormErrorsTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,11 +17,11 @@ package de.smederee.hub.forms -import cats.data._ -import cats.syntax.all._ -import de.smederee.hub.forms.types._ +import cats.data.* +import cats.syntax.all.* +import de.smederee.hub.forms.types.* -import munit._ +import munit.* final class FormErrorsTest extends FunSuite { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/Generators.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/Generators.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/Generators.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/Generators.scala 2025-01-14 10:25:11.847342651 +0000 @@ -18,19 +18,19 @@ package de.smederee.hub import java.nio.charset.StandardCharsets -import java.time._ +import java.time.* import java.util.Locale import java.util.UUID -import cats.syntax.all._ +import cats.syntax.all.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode -import de.smederee.security._ +import de.smederee.security.* -import org.scalacheck._ +import org.scalacheck.* -import scala.concurrent.duration._ -import scala.jdk.CollectionConverters._ +import scala.concurrent.duration.* +import scala.jdk.CollectionConverters.* object Generators { val MinimumYear: Int = -4713 // Lowest year supported by PostgreSQL diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionHelpersTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionHelpersTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionHelpersTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionHelpersTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -22,19 +22,19 @@ import java.time.ZonedDateTime import de.smederee.hub.Generators.given -import de.smederee.hub.SessionHelpers.instances._ +import de.smederee.hub.SessionHelpers.instances.* import de.smederee.hub.config.AuthenticationTimeouts import de.smederee.hub.config.Constants import de.smederee.security.SignAndValidate import org.http4s.HttpDate import org.http4s.SameSite -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* -import scala.concurrent.duration._ +import scala.concurrent.duration.* final class SessionHelpersTest extends ScalaCheckSuite { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionIdTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionIdTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionIdTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionIdTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -19,13 +19,13 @@ import java.nio.charset.StandardCharsets -import cats.syntax.all._ -import de.smederee.security._ +import cats.syntax.all.* +import de.smederee.security.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class SessionIdTest extends ScalaCheckSuite { private val genKey: Gen[PrivateKey] = diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/SessionTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,13 +17,13 @@ package de.smederee.hub -import cats.syntax.all._ +import cats.syntax.all.* import de.smederee.hub.Generators.given -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class SessionTest extends ScalaCheckSuite { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala 2025-01-14 10:25:11.847342651 +0000 @@ -19,11 +19,11 @@ import java.nio.charset.StandardCharsets -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import de.smederee.email.EmailAddress -import de.smederee.hub._ -import de.smederee.security._ +import de.smederee.hub.* +import de.smederee.security.* import fs2.Stream /** An implementation of a [[AuthenticationRepository]] for testing purposes. diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/hub/VcsRepositoryPatchMetadataTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/hub/VcsRepositoryPatchMetadataTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/hub/VcsRepositoryPatchMetadataTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/hub/VcsRepositoryPatchMetadataTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,10 +17,10 @@ package de.smederee.hub -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class VcsRepositoryPatchMetadataTest extends ScalaCheckSuite { private val genVcsPatchFilename: Gen[VcsPatchFilename] = diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/ssh/DoobieSshAuthenticationRepositoryTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/ssh/DoobieSshAuthenticationRepositoryTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/ssh/DoobieSshAuthenticationRepositoryTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/ssh/DoobieSshAuthenticationRepositoryTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,13 +17,13 @@ package de.smederee.ssh -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* import de.smederee.hub.BaseSpec -import de.smederee.hub.Generators._ -import de.smederee.security._ -import doobie._ +import de.smederee.hub.Generators.* +import de.smederee.security.* +import doobie.* final class DoobieSshAuthenticationRepositoryTest extends BaseSpec { test("findVcsRepositoryOwner must return the correct owner".tag(NeedsDatabase)) { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/ssh/PublicSshKeyTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/ssh/PublicSshKeyTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/ssh/PublicSshKeyTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/ssh/PublicSshKeyTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -21,9 +21,9 @@ import java.time.ZoneOffset import java.util.UUID -import de.smederee.security._ +import de.smederee.security.* -import munit._ +import munit.* final class PublicSshKeyTest extends FunSuite { test("SshKeyString must work for keys with comment") { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshKeyTypeTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshKeyTypeTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshKeyTypeTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshKeyTypeTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,7 +17,7 @@ package de.smederee.ssh -import munit._ +import munit.* final class SshKeyTypeTest extends FunSuite { test("from must work for ssh-dsa") { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,12 +17,12 @@ package de.smederee.ssh -import java.nio.file._ +import java.nio.file.* -import cats.effect._ -import com.comcast.ip4s._ +import cats.effect.* +import com.comcast.ip4s.* import de.smederee.hub.BaseSpec -import de.smederee.hub.config._ +import de.smederee.hub.config.* final class SshServerProviderTest extends BaseSpec { diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshUsernameTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshUsernameTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshUsernameTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshUsernameTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -19,12 +19,12 @@ import java.util.Locale -import cats.syntax.all._ +import cats.syntax.all.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class SshUsernameTest extends ScalaCheckSuite { val genValidSshUsername: Gen[SshUsername] = diff -rN -u old-smederee/modules/i18n/src/main/scala/de/smederee/i18n/LanguageCode.scala new-smederee/modules/i18n/src/main/scala/de/smederee/i18n/LanguageCode.scala --- old-smederee/modules/i18n/src/main/scala/de/smederee/i18n/LanguageCode.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/i18n/src/main/scala/de/smederee/i18n/LanguageCode.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,7 +17,7 @@ package de.smederee.i18n -import cats._ +import cats.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/i18n/src/test/scala/de/smederee/i18n/LanguageCodeTest.scala new-smederee/modules/i18n/src/test/scala/de/smederee/i18n/LanguageCodeTest.scala --- old-smederee/modules/i18n/src/test/scala/de/smederee/i18n/LanguageCodeTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/i18n/src/test/scala/de/smederee/i18n/LanguageCodeTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -19,10 +19,10 @@ import java.util.Locale -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class LanguageCodeTest extends ScalaCheckSuite { val genLocale: Gen[Locale] = Gen.oneOf(Locale.getAvailableLocales.toList.filter(_.getISO3Language.nonEmpty)) diff -rN -u old-smederee/modules/i18n/src/test/scala/de/smederee/i18n/MessagesTest.scala new-smederee/modules/i18n/src/test/scala/de/smederee/i18n/MessagesTest.scala --- old-smederee/modules/i18n/src/test/scala/de/smederee/i18n/MessagesTest.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/i18n/src/test/scala/de/smederee/i18n/MessagesTest.scala 2025-01-14 10:25:11.847342651 +0000 @@ -20,10 +20,10 @@ import java.util.Locale import java.util.MissingResourceException -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class MessagesTest extends ScalaCheckSuite { val genLocale: Gen[Locale] = Gen.oneOf(Locale.getAvailableLocales.toList) diff -rN -u old-smederee/modules/security/src/main/scala/de/smederee/security/PasswordHash.scala new-smederee/modules/security/src/main/scala/de/smederee/security/PasswordHash.scala --- old-smederee/modules/security/src/main/scala/de/smederee/security/PasswordHash.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/security/src/main/scala/de/smederee/security/PasswordHash.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,7 +17,7 @@ package de.smederee.security -import cats._ +import cats.* opaque type PasswordHash = String object PasswordHash { diff -rN -u old-smederee/modules/security/src/main/scala/de/smederee/security/Password.scala new-smederee/modules/security/src/main/scala/de/smederee/security/Password.scala --- old-smederee/modules/security/src/main/scala/de/smederee/security/Password.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/security/src/main/scala/de/smederee/security/Password.scala 2025-01-14 10:25:11.847342651 +0000 @@ -19,9 +19,9 @@ import java.nio.charset.StandardCharsets -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* /** A password is stored as an `Array[Byte]` internally and its `validate(source: String)` function will check that the * input has a minimum length. diff -rN -u old-smederee/modules/security/src/main/scala/de/smederee/security/SignAndValidate.scala new-smederee/modules/security/src/main/scala/de/smederee/security/SignAndValidate.scala --- old-smederee/modules/security/src/main/scala/de/smederee/security/SignAndValidate.scala 2025-01-14 10:25:11.823342620 +0000 +++ new-smederee/modules/security/src/main/scala/de/smederee/security/SignAndValidate.scala 2025-01-14 10:25:11.847342651 +0000 @@ -22,7 +22,7 @@ import javax.crypto.Mac import javax.crypto.spec.SecretKeySpec -import cats.syntax.all._ +import cats.syntax.all.* import org.springframework.security.crypto.codec.Hex extension (bytes: Array[Byte]) { diff -rN -u old-smederee/modules/security/src/main/scala/de/smederee/security/UserId.scala new-smederee/modules/security/src/main/scala/de/smederee/security/UserId.scala --- old-smederee/modules/security/src/main/scala/de/smederee/security/UserId.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/security/src/main/scala/de/smederee/security/UserId.scala 2025-01-14 10:25:11.847342651 +0000 @@ -19,8 +19,8 @@ import java.util.UUID -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/security/src/main/scala/de/smederee/security/Username.scala new-smederee/modules/security/src/main/scala/de/smederee/security/Username.scala --- old-smederee/modules/security/src/main/scala/de/smederee/security/Username.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/security/src/main/scala/de/smederee/security/Username.scala 2025-01-14 10:25:11.847342651 +0000 @@ -17,9 +17,9 @@ package de.smederee.security -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/security/src/test/scala/de/smederee/security/PasswordTest.scala new-smederee/modules/security/src/test/scala/de/smederee/security/PasswordTest.scala --- old-smederee/modules/security/src/test/scala/de/smederee/security/PasswordTest.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/security/src/test/scala/de/smederee/security/PasswordTest.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,10 +19,10 @@ import java.nio.charset.StandardCharsets -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class PasswordTest extends ScalaCheckSuite { property("Password.from(null) must always be None") { diff -rN -u old-smederee/modules/security/src/test/scala/de/smederee/security/SignAndValidateTest.scala new-smederee/modules/security/src/test/scala/de/smederee/security/SignAndValidateTest.scala --- old-smederee/modules/security/src/test/scala/de/smederee/security/SignAndValidateTest.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/security/src/test/scala/de/smederee/security/SignAndValidateTest.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,12 +19,12 @@ import java.nio.charset.StandardCharsets -import cats.syntax.all._ +import cats.syntax.all.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class SignAndValidateTest extends ScalaCheckSuite { private val genKey: Gen[PrivateKey] = diff -rN -u old-smederee/modules/security/src/test/scala/de/smederee/security/UserIdTest.scala new-smederee/modules/security/src/test/scala/de/smederee/security/UserIdTest.scala --- old-smederee/modules/security/src/test/scala/de/smederee/security/UserIdTest.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/security/src/test/scala/de/smederee/security/UserIdTest.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,12 +19,12 @@ import java.util.UUID -import cats.syntax.all._ +import cats.syntax.all.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class UserIdTest extends ScalaCheckSuite { private val genUUID: Gen[UUID] = Gen.delay(UUID.randomUUID) diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Assignee.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Assignee.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Assignee.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Assignee.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,9 +19,9 @@ import java.util.UUID -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* /** A submitter id is supposed to be globally unique and maps to the [[java.util.UUID]] type beneath. */ diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseConfig.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseConfig.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseConfig.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseConfig.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,7 +17,7 @@ package de.smederee.tickets.config -import pureconfig._ +import pureconfig.* /** Configuration specifying the database access. * diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseMigrator.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseMigrator.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseMigrator.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/DatabaseMigrator.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,8 +17,8 @@ package de.smederee.tickets.config -import cats.effect._ -import cats.syntax.all._ +import cats.effect.* +import cats.syntax.all.* import org.flywaydb.core.Flyway import org.flywaydb.core.api.configuration.FluentConfiguration import org.flywaydb.core.api.output.MigrateResult diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/SmedereeTicketsConfiguration.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/SmedereeTicketsConfiguration.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/SmedereeTicketsConfiguration.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/config/SmedereeTicketsConfiguration.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,11 +17,11 @@ package de.smederee.tickets.config -import cats._ -import com.comcast.ip4s._ +import cats.* +import com.comcast.ip4s.* import de.smederee.html.ExternalUrlConfiguration import org.http4s.Uri -import pureconfig._ +import pureconfig.* /** Configuration for a CSRF protection middleware. * diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,9 +17,9 @@ package de.smederee.tickets -import cats.effect._ -import doobie._ -import doobie.implicits._ +import cats.effect.* +import doobie.* +import doobie.implicits.* import fs2.Stream import org.slf4j.LoggerFactory diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,12 +19,12 @@ import java.util.UUID -import cats.effect._ -import cats.syntax.all._ -import doobie.Fragments._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import cats.effect.* +import cats.syntax.all.* +import doobie.Fragments.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import fs2.Stream import org.slf4j.LoggerFactory diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieProjectRepository.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieProjectRepository.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieProjectRepository.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieProjectRepository.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,11 +19,11 @@ import java.util.UUID -import cats.effect._ +import cats.effect.* import de.smederee.email.EmailAddress -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import org.slf4j.LoggerFactory final class DoobieProjectRepository[F[_]: Sync](tx: Transactor[F]) extends ProjectRepository[F] { diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,14 +19,14 @@ import java.util.UUID -import cats._ -import cats.data._ -import cats.effect._ -import cats.syntax.all._ -import doobie.Fragments._ -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import cats.* +import cats.data.* +import cats.effect.* +import cats.syntax.all.* +import doobie.Fragments.* +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import fs2.Stream import org.slf4j.LoggerFactory diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketServiceApi.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketServiceApi.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketServiceApi.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketServiceApi.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,14 +19,14 @@ import java.util.UUID -import cats.effect._ +import cats.effect.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode import de.smederee.security.UserId import de.smederee.security.Username -import doobie._ -import doobie.implicits._ -import doobie.postgres.implicits._ +import doobie.* +import doobie.implicits.* +import doobie.postgres.implicits.* import org.slf4j.LoggerFactory final class DoobieTicketServiceApi[F[_]: Sync](tx: Transactor[F]) extends TicketServiceApi[F] { diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/FormValidator.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/FormValidator.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/FormValidator.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/FormValidator.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,8 +17,8 @@ package de.smederee.tickets.forms -import cats.data._ -import de.smederee.tickets.forms.types._ +import cats.data.* +import de.smederee.tickets.forms.types.* /** A base class for form validators. * diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/types.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/types.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/types.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/forms/types.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,8 +17,8 @@ package de.smederee.tickets.forms -import cats.data._ -import cats.syntax.all._ +import cats.data.* +import cats.syntax.all.* object types { diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Label.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Label.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Label.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Label.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,8 +17,8 @@ package de.smederee.tickets -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Milestone.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Milestone.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Milestone.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Milestone.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,8 +19,8 @@ import java.time.LocalDate -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import scala.util.matching.Regex diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Project.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Project.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Project.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Project.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,9 +19,9 @@ import java.util.UUID -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* import de.smederee.email.EmailAddress import de.smederee.security.UserId import de.smederee.security.Username diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Slf4jLogHandler.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Slf4jLogHandler.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Slf4jLogHandler.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Slf4jLogHandler.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,8 +17,8 @@ package de.smederee.tickets -import cats.effect._ -import doobie.util.log._ +import cats.effect.* +import doobie.util.log.* import org.slf4j.Logger object Slf4jLogHandler { diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Submitter.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Submitter.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Submitter.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Submitter.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,9 +19,9 @@ import java.util.UUID -import cats._ -import cats.data._ -import cats.syntax.all._ +import cats.* +import cats.data.* +import cats.syntax.all.* /** A submitter id is supposed to be globally unique and maps to the [[java.util.UUID]] type beneath. */ diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,8 +19,8 @@ import java.time.OffsetDateTime -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import org.http4s.QueryParamDecoder import org.http4s.QueryParamEncoder import org.http4s.dsl.impl.OptionalQueryParamDecoderMatcher diff -rN -u old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/TicketsUser.scala new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/TicketsUser.scala --- old-smederee/modules/tickets/src/main/scala/de/smederee/tickets/TicketsUser.scala 2025-01-14 10:25:11.827342626 +0000 +++ new-smederee/modules/tickets/src/main/scala/de/smederee/tickets/TicketsUser.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,7 +17,7 @@ package de.smederee.tickets -import cats._ +import cats.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode import de.smederee.security.UserId diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/BaseSpec.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/BaseSpec.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/BaseSpec.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/BaseSpec.scala 2025-01-14 10:25:11.851342657 +0000 @@ -19,19 +19,19 @@ import java.net.ServerSocket -import cats.effect._ -import cats.syntax.all._ -import com.comcast.ip4s._ +import cats.effect.* +import cats.syntax.all.* +import com.comcast.ip4s.* import com.typesafe.config.ConfigFactory import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode import de.smederee.security.UserId import de.smederee.security.Username -import de.smederee.tickets.config._ +import de.smederee.tickets.config.* import org.flywaydb.core.Flyway -import pureconfig._ +import pureconfig.* -import munit._ +import munit.* import scala.annotation.nowarn diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/ColourCodeTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/ColourCodeTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/ColourCodeTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/ColourCodeTest.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class ColourCodeTest extends ScalaCheckSuite { given Arbitrary[ColourCode] = Arbitrary(genColourCode) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/DatabaseMigratorTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/DatabaseMigratorTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/DatabaseMigratorTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/DatabaseMigratorTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,9 +17,9 @@ package de.smederee.tickets.config -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* import de.smederee.tickets.BaseSpec import org.flywaydb.core.Flyway diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/SmedereeTicketsConfigurationTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/SmedereeTicketsConfigurationTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/SmedereeTicketsConfigurationTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/config/SmedereeTicketsConfigurationTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets.config -import com.typesafe.config._ +import com.typesafe.config.* import org.http4s.Uri -import org.http4s.implicits._ -import pureconfig._ +import org.http4s.implicits.* +import pureconfig.* -import munit._ +import munit.* final class SmedereeTicketsConfigurationTest extends FunSuite { val rawDefaultConfig = new Fixture[Config]("defaultConfig") { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieLabelRepositoryTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieLabelRepositoryTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieLabelRepositoryTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieLabelRepositoryTest.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,11 +17,11 @@ package de.smederee.tickets -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.tickets.Generators._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.tickets.Generators.* +import doobie.* final class DoobieLabelRepositoryTest extends BaseSpec { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieMilestoneRepositoryTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieMilestoneRepositoryTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieMilestoneRepositoryTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieMilestoneRepositoryTest.scala 2025-01-14 10:25:11.851342657 +0000 @@ -17,13 +17,13 @@ package de.smederee.tickets -import java.time._ +import java.time.* -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.tickets.Generators._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.tickets.Generators.* +import doobie.* final class DoobieMilestoneRepositoryTest extends BaseSpec { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieProjectRepositoryTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieProjectRepositoryTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieProjectRepositoryTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieProjectRepositoryTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,11 +17,11 @@ package de.smederee.tickets -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.tickets.Generators._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.tickets.Generators.* +import doobie.* final class DoobieProjectRepositoryTest extends BaseSpec { test("createProject must create a project".tag(NeedsDatabase)) { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketRepositoryTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketRepositoryTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketRepositoryTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketRepositoryTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -19,11 +19,11 @@ import java.time.OffsetDateTime -import cats.effect._ -import cats.syntax.all._ -import de.smederee.TestTags._ -import de.smederee.tickets.Generators._ -import doobie._ +import cats.effect.* +import cats.syntax.all.* +import de.smederee.TestTags.* +import de.smederee.tickets.Generators.* +import doobie.* import scala.collection.immutable.Queue diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketServiceApiTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketServiceApiTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketServiceApiTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/DoobieTicketServiceApiTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,10 +17,10 @@ package de.smederee.tickets -import cats.effect._ -import de.smederee.TestTags._ -import de.smederee.tickets.Generators._ -import doobie._ +import cats.effect.* +import de.smederee.TestTags.* +import de.smederee.tickets.Generators.* +import doobie.* final class DoobieTicketServiceApiTest extends BaseSpec { test("createOrUpdateUser must create new users".tag(NeedsDatabase)) { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/Generators.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/Generators.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/Generators.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/Generators.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,20 +17,20 @@ package de.smederee.tickets -import java.time._ +import java.time.* import java.util.Locale import java.util.UUID -import cats._ -import cats.syntax.all._ +import cats.* +import cats.syntax.all.* import de.smederee.email.EmailAddress import de.smederee.i18n.LanguageCode -import de.smederee.security._ +import de.smederee.security.* import org.scalacheck.Arbitrary import org.scalacheck.Gen -import scala.jdk.CollectionConverters._ +import scala.jdk.CollectionConverters.* object Generators { val MinimumYear: Int = -4713 // Lowest year supported by PostgreSQL diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelDescriptionTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelDescriptionTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelDescriptionTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelDescriptionTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class LabelDescriptionTest extends ScalaCheckSuite { given Arbitrary[LabelDescription] = Arbitrary(genLabelDescription) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelNameTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelNameTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelNameTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelNameTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class LabelNameTest extends ScalaCheckSuite { given Arbitrary[LabelName] = Arbitrary(genLabelName) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/LabelTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,13 +17,13 @@ package de.smederee.tickets -import cats.syntax.all._ -import de.smederee.tickets.Generators._ +import cats.syntax.all.* +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class LabelTest extends ScalaCheckSuite { given Arbitrary[Label] = Arbitrary(genLabel) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneDescriptionTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneDescriptionTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneDescriptionTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneDescriptionTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class MilestoneDescriptionTest extends ScalaCheckSuite { given Arbitrary[MilestoneDescription] = Arbitrary(genMilestoneDescription) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,13 +17,13 @@ package de.smederee.tickets -import cats.syntax.all._ -import de.smederee.tickets.Generators._ +import cats.syntax.all.* +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class MilestoneTest extends ScalaCheckSuite { given Arbitrary[Milestone] = Arbitrary(genMilestone) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTitleTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTitleTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTitleTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/MilestoneTitleTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class MilestoneTitleTest extends ScalaCheckSuite { given Arbitrary[MilestoneTitle] = Arbitrary(genMilestoneTitle) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketContentTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketContentTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketContentTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketContentTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,10 +17,10 @@ package de.smederee.tickets -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class TicketContentTest extends ScalaCheckSuite { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketFilterTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketFilterTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketFilterTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketFilterTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class TicketFilterTest extends ScalaCheckSuite { given Arbitrary[Submitter] = Arbitrary(genSubmitter) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketNumberTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketNumberTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketNumberTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketNumberTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,10 +17,10 @@ package de.smederee.tickets -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class TicketNumberTest extends ScalaCheckSuite { diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketResolutionTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketResolutionTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketResolutionTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketResolutionTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class TicketResolutionTest extends ScalaCheckSuite { given Arbitrary[TicketResolution] = Arbitrary(genTicketResolution) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketStatusTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketStatusTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketStatusTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketStatusTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,12 +17,12 @@ package de.smederee.tickets -import de.smederee.tickets.Generators._ +import de.smederee.tickets.Generators.* -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class TicketStatusTest extends ScalaCheckSuite { given Arbitrary[TicketStatus] = Arbitrary(genTicketStatus) diff -rN -u old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketTitleTest.scala new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketTitleTest.scala --- old-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketTitleTest.scala 2025-01-14 10:25:11.831342631 +0000 +++ new-smederee/modules/tickets/src/test/scala/de/smederee/tickets/TicketTitleTest.scala 2025-01-14 10:25:11.855342661 +0000 @@ -17,10 +17,10 @@ package de.smederee.tickets -import munit._ +import munit.* -import org.scalacheck.Prop._ -import org.scalacheck._ +import org.scalacheck.Prop.* +import org.scalacheck.* final class TicketTitleTest extends ScalaCheckSuite {