mirror of
https://github.com/gotson/komga.git
synced 2026-04-26 17:01:36 +02:00
refactor: clarify future removal comments
This commit is contained in:
parent
64a805e019
commit
59b7d245bf
3 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,8 @@ export default Vue.extend({
|
|||
created() {
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', this.systemThemeChange)
|
||||
|
||||
// TODO: remove this after a few months
|
||||
// TODO: remove this after a few months (moved to local storage in 0.85.0 - 29 Mar 2021)
|
||||
// remove also vue-cookie npm package
|
||||
if (this.$cookies.isKey(cookieLocale)) {
|
||||
this.$store.commit('setLocale', this.$cookies.get(cookieLocale))
|
||||
this.$cookies.remove(cookieLocale)
|
||||
|
|
|
|||
|
|
@ -7,19 +7,18 @@ import org.springframework.stereotype.Component
|
|||
import java.nio.file.Path
|
||||
import java.nio.file.Paths
|
||||
import javax.annotation.PostConstruct
|
||||
import kotlin.io.path.ExperimentalPathApi
|
||||
import kotlin.io.path.deleteIfExists
|
||||
import kotlin.io.path.listDirectoryEntries
|
||||
|
||||
private val logger = KotlinLogging.logger {}
|
||||
|
||||
// TODO: remove this completely at some point (removed migration in 0.81.0 - 15 Mar 2021)
|
||||
@Component
|
||||
@Profile("!test")
|
||||
class DatabaseMigration(
|
||||
private val komgaProperties: KomgaProperties
|
||||
) {
|
||||
|
||||
@ExperimentalPathApi
|
||||
@PostConstruct
|
||||
fun init() {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class ReferentialController(
|
|||
@GetMapping("/tags")
|
||||
fun getTags(
|
||||
@AuthenticationPrincipal principal: KomgaPrincipal,
|
||||
// TODO: remove those parameters once Tachiyomi Extension is using the new /tags/series endpoint
|
||||
// TODO: remove those parameters once Tachiyomi Extension is using the new /tags/series endpoint (changed in 0.87.4 - 21 Apr 2021)
|
||||
@RequestParam(name = "library_id", required = false) libraryId: String?,
|
||||
@RequestParam(name = "series_id", required = false) seriesId: String?,
|
||||
@RequestParam(name = "collection_id", required = false) collectionId: String?
|
||||
|
|
|
|||
Loading…
Reference in a new issue