From 486626f57ed9fb0b691027dffea9f66bd6a58c48 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Sat, 4 Jul 2020 10:29:49 -0500 Subject: [PATCH] Release 1.1.0 --- CHANGELOG.md | 20 ++++++++++++++----- src/main/kotlin/mdnet/base/Constants.kt | 2 +- .../kotlin/mdnet/base/server/ImageServer.kt | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd2d3e5..44b3ed1 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + +## [1.1.0] - 2020-07-04 +### Added - [2020-06-23] Added Gitlab CI integration by [@lflare]. - [2020-06-28] Added `client_external_port` setting [@wedge1001]. - [2020-06-29] Added rudimentary support of Referer checking to mitigate hotlinking by [@lflare]. @@ -20,10 +33,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [2020-07-02] Renamed localstorage keys in web interface [@RedMatriz]. - [2020-06-28] Actually report custom `client_hostname` [@carbotaniuman]. -### Deprecated - -### Removed - ### Fixed - [2020-06-28] Fixed various state transition bugs by [@carbotaniuman]. @@ -158,7 +167,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - [2020-06-11] Tweaked logging configuration to reduce log file sizes by [@carbotaniuman]. -[Unreleased]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0...HEAD +[Unreleased]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.0...HEAD +[1.1.0]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0...1.1.0 [1.0.0]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc22...1.0.0 [1.0.0-rc22]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc21...1.0.0-rc22 [1.0.0-rc21]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc20...1.0.0-rc21 diff --git a/src/main/kotlin/mdnet/base/Constants.kt b/src/main/kotlin/mdnet/base/Constants.kt index c7ef950..f0cf8d8 100644 --- a/src/main/kotlin/mdnet/base/Constants.kt +++ b/src/main/kotlin/mdnet/base/Constants.kt @@ -21,7 +21,7 @@ package mdnet.base import java.time.Duration object Constants { - const val CLIENT_BUILD = 13 + const val CLIENT_BUILD = 14 const val CLIENT_VERSION = "1.0.0" const val WEBUI_VERSION = "0.1.1" val MAX_AGE_CACHE: Duration = Duration.ofDays(14) diff --git a/src/main/kotlin/mdnet/base/server/ImageServer.kt b/src/main/kotlin/mdnet/base/server/ImageServer.kt index 4dfd8f3..ae97632 100644 --- a/src/main/kotlin/mdnet/base/server/ImageServer.kt +++ b/src/main/kotlin/mdnet/base/server/ImageServer.kt @@ -243,7 +243,7 @@ class ImageServer(private val cache: DiskLruCache, private val statistics: Atomi LOGGER.trace("Request for $sanitizedUri is being cached and served") } - if(imageDatum == null) { + if (imageDatum == null) { synchronized(database) { transaction(database) { ImageDatum.new(imageId) {