Repository navigation
Add support for PNG #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d5e99bd
task: upgrade to sbt 2
hohonuuli 8b9f02d
Starting implementation
hohonuuli 96c9ced
fix: everything compiles
hohonuuli 80eca5e
fix: FfmpegUtil captures either jpg or png now
hohonuuli 8a46638
fix: sbt 2 puts video into the test jar file; where ffmpeg can't read…
hohonuuli 074f47d
task: add imageType as a key for looking up images froom tthe cache
hohonuuli d56c7ab
task: added tests for png and mixed jpg/png use in the image cache
hohonuuli 277d04f
task: update docs to current Scala 3.8.4
hohonuuli 675925e
task: add /capture/jpg and /capture/png to endpoints
hohonuuli 68ef565
fix: fixed typo in test.yml workflow
hohonuuli 4f2f178
Potential fix for pull request finding
hohonuuli 1d7e080
fix: docker packaging and nit in test util
hohonuuli 63584bc
task: add additional unit tests for new endpoints. Add docs for new e…
hohonuuli 7d26ee6
Merge branch 'task/add-png' of github.com:mbari-org/beholder into tas…
hohonuuli 7d3e54a
task: add .scalafix.conf
hohonuuli 65158e8
task: capture endpoint can accept imageType
hohonuuli 1b37336
Fix CORS handler to allow all origins
Copilot 81df50a
task: update CORS
hohonuuli aeb3f75
task: add test for /capture with imagetypes
hohonuuli 9561222
fix: Add evictionOrder to ImageType for rare case of same created, UR…
hohonuuli a70340d
fix: fix nits with creation date
hohonuuli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| rules = [ | ||
| OrganizeImports | ||
| ] | ||
| OrganizeImports { | ||
| expandRelative = true | ||
| groupedImports = Merge | ||
| } | ||
| OrganizeImports.targetDialect = Scala3 | ||
| OrganizeImports.removeUnused = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,27 @@ | ||
| import sbt.* | ||
|
|
||
| object Dependencies { | ||
| object Dependencies: | ||
|
|
||
| lazy val auth0 = "com.auth0" % "java-jwt" % "4.5.1" | ||
| lazy val auth0jwk = "com.auth0" % "jwks-rsa" % "0.23.0" | ||
| private val circeVersion = "0.14.14" | ||
| lazy val auth0 = "com.auth0" % "java-jwt" % "4.5.2" | ||
| lazy val auth0jwk = "com.auth0" % "jwks-rsa" % "0.24.1" | ||
| private val circeVersion = "0.14.15" | ||
| lazy val circeCore = "io.circe" %% "circe-core" % circeVersion | ||
| lazy val circeGeneric = "io.circe" %% "circe-generic" % circeVersion | ||
| lazy val circeParser = "io.circe" %% "circe-parser" % circeVersion | ||
| lazy val jansi = "org.fusesource.jansi" % "jansi" % "2.4.2" | ||
| lazy val logback = "ch.qos.logback" % "logback-classic" % "1.5.32" | ||
| lazy val jansi = "org.fusesource.jansi" % "jansi" % "2.4.3" | ||
| lazy val logback = "ch.qos.logback" % "logback-classic" % "1.5.34" | ||
| lazy val methanol = "com.github.mizosoft.methanol" % "methanol" % "1.9.0" | ||
| lazy val munit = "org.scalameta" %% "munit" % "1.2.3" | ||
| lazy val munit = "org.scalameta" %% "munit" % "1.3.3" | ||
| lazy val picocli = "info.picocli" % "picocli" % "4.7.7" | ||
| lazy val slf4jVersion = "2.0.17" | ||
| lazy val slf4jVersion = "2.0.18" | ||
| lazy val slf4jApi = "org.slf4j" % "slf4j-api" % slf4jVersion | ||
| lazy val slf4jJul = "org.slf4j" % "jul-to-slf4j" % slf4jVersion | ||
| lazy val slf4jJdk = "org.slf4j" % "slf4j-jdk-platform-logging" % slf4jVersion | ||
| lazy val sttpCirceClient = "com.softwaremill.sttp.client3" %% "circe" % "3.11.0" | ||
| private val tapirVersion = "1.13.9" | ||
| private val tapirVersion = "1.13.23" | ||
| lazy val tapirStubServer = "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion | ||
| lazy val tapirSwagger = "com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion | ||
| lazy val tapirCirce = "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion | ||
| lazy val tapirVertx = "com.softwaremill.sttp.tapir" %% "tapir-vertx-server" % tapirVersion | ||
| lazy val typesafeConfig = "com.typesafe" % "config" % "1.4.6" | ||
| lazy val zio = "dev.zio" %% "zio" % "2.1.24" | ||
|
|
||
| } | ||
| lazy val typesafeConfig = "com.typesafe" % "config" % "1.4.9" | ||
| lazy val zio = "dev.zio" %% "zio" % "2.1.26" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| sbt.version=1.12.4 | ||
| sbt.version=2.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| // addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3") | ||
| addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4") | ||
| addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0") | ||
| addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.1") | ||
| addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") | ||
| addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.5") | ||
| addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.7") | ||
| addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0") | ||
| addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0") | ||
| addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.7") | ||
| addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.7.0") | ||
| addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.1") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.