diff --git a/CHANGELOG.md b/CHANGELOG.md index 9975e3bd..680f364e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,132 @@ +# [1.0.0](https://github.com/gotson/komga/compare/v0.165.0...v1.0.0) (2023-06-28) +## 🚀 Features +**webui** +- book release date field is editable ([902f700](https://github.com/gotson/komga/commits/902f700)), closes [#1097](https://github.com/gotson/komga/issues/1097) + +**unscoped** +- display matched series release year in reading list import view ([0f89cf3](https://github.com/gotson/komga/commits/0f89cf3)), closes [#1114](https://github.com/gotson/komga/issues/1114) +- add match count sort for known duplicate pages ([bf1903b](https://github.com/gotson/komga/commits/bf1903b)), closes [#825](https://github.com/gotson/komga/issues/825) +- identify duplicate pages by hash only ([2d95679](https://github.com/gotson/komga/commits/2d95679)) +- use XXH128 for hashing ([4f8dee7](https://github.com/gotson/komga/commits/4f8dee7)) +- 🚨 change default port from 8080 to 25600 ([9b519e4](https://github.com/gotson/komga/commits/9b519e4)) + +## 🐛 Fixes +**api** +- paging and sort could be incorrect when searching for books ([c4cdd7a](https://github.com/gotson/komga/commits/c4cdd7a)) +- recently updated series endpoint would incorrectly return created series ([a876132](https://github.com/gotson/komga/commits/a876132)) + +**opds** +- provide correct thumbnails in full and small size ([4a3e394](https://github.com/gotson/komga/commits/4a3e394)), closes [#1099](https://github.com/gotson/komga/issues/1099) + +**webui** +- apply chosen locale to the date picker dialog ([7b3534a](https://github.com/gotson/komga/commits/7b3534a)), closes [#1113](https://github.com/gotson/komga/issues/1113) + +**unscoped** +- oauth2 login would not work ([3eaab0f](https://github.com/gotson/komga/commits/3eaab0f)) +- comicInfo.xml SeriesGroup is now split by comma ([fb13529](https://github.com/gotson/komga/commits/fb13529)), closes [#1122](https://github.com/gotson/komga/issues/1122) +- mark books with missing page file size as outdated ([a03bda9](https://github.com/gotson/komga/commits/a03bda9)) + +## 🔄️ Changes + +- make SeriesMetadataPatch#collections a Set ([85fb3fa](https://github.com/gotson/komga/commits/85fb3fa)) +- replace deprecated methods in build.gradle.kts ([c70cab4](https://github.com/gotson/komga/commits/c70cab4)) +- replace deprecations ([32cb52e](https://github.com/gotson/komga/commits/32cb52e)) +- specify session creation policy explicitly ([c202614](https://github.com/gotson/komga/commits/c202614)) +- replace HttpTrace by HttpExchange ([0112fcd](https://github.com/gotson/komga/commits/0112fcd)) +- make property private ([9c0905e](https://github.com/gotson/komga/commits/9c0905e)) +- 🚨 remove deprecated classes: */api/v1/users and /api/v1/series/{seriesId}/read-progress/tachiyomi have been removed* ([2a5ce25](https://github.com/gotson/komga/commits/2a5ce25)) +- remove unnecessary brackets ([d4aa113](https://github.com/gotson/komga/commits/d4aa113)) +- adapt SecurityConfiguration for Spring Security 6 ([cf7fb45](https://github.com/gotson/komga/commits/cf7fb45)) +- replace deprecated configuration keys ([1b69cd0](https://github.com/gotson/komga/commits/1b69cd0)) +- hide jooq tips on startup ([7a3c1d8](https://github.com/gotson/komga/commits/7a3c1d8)) +- replace private property with method ([3e2d2cf](https://github.com/gotson/komga/commits/3e2d2cf)) +- replace artemis deprecated usage ([50524b9](https://github.com/gotson/komga/commits/50524b9)) +- replace javax imports by jakarta ([b88b4c4](https://github.com/gotson/komga/commits/b88b4c4)) + +## 🛠 Build +**dependabot** +- remove unused dependabot configuration for root folder ([432bbb8](https://github.com/gotson/komga/commits/432bbb8)) + +**deps** +- bump peter-evans/dockerhub-description from 3.4.1 to 3.4.2 ([7209667](https://github.com/gotson/komga/commits/7209667)) +- bump lucene from 9.6.0 to 9.7.0 ([28c1f88](https://github.com/gotson/komga/commits/28c1f88)) +- bump icu4j from 73.1 to 73.2 ([a27f91c](https://github.com/gotson/komga/commits/a27f91c)) +- bump hawtio-springboot from 2.17.2 to 2.17.4 ([27c8270](https://github.com/gotson/komga/commits/27c8270)) +- bump commons-io from 2.12.0 to 2.13.0 ([0308d82](https://github.com/gotson/komga/commits/0308d82)) +- bump jooq plugin from 8.2 to 8.2.1 ([f8a018c](https://github.com/gotson/komga/commits/f8a018c)) +- bump Spring Boot from 3.1.0 to 3.1.1 ([1485f5f](https://github.com/gotson/komga/commits/1485f5f)) +- bump Kotlin from 1.8.21 to 1.8.22 ([c5cc9a2](https://github.com/gotson/komga/commits/c5cc9a2)) +- bump ktlint gradle to 11.4.2 ([b7cb89d](https://github.com/gotson/komga/commits/b7cb89d)) +- bump commons-io to 2.12.0 ([93f138d](https://github.com/gotson/komga/commits/93f138d)) +- bump tika-core to 2.8.0 ([3471446](https://github.com/gotson/komga/commits/3471446)) +- bump pdfbox to 2.0.28 ([37514f0](https://github.com/gotson/komga/commits/37514f0)) +- bump mockk to 1.13.5 ([ac91116](https://github.com/gotson/komga/commits/ac91116)) +- bump ben-manes.versions to 0.46.0 ([5e89431](https://github.com/gotson/komga/commits/5e89431)) +- bump kotlinx-coroutines-core to 1.7.1 ([714334e](https://github.com/gotson/komga/commits/714334e)) +- bump springmockk to 4.0.2 ([dba0907](https://github.com/gotson/komga/commits/dba0907)) +- bump tsid-creator to 5.2.4 ([c86302d](https://github.com/gotson/komga/commits/c86302d)) +- bump jsoup to 1.16.1 ([2472bb6](https://github.com/gotson/komga/commits/2472bb6)) +- bump commons-compress to 1.23.0 ([9dd1074](https://github.com/gotson/komga/commits/9dd1074)) +- bump icu4j to 73.1 ([0fa540d](https://github.com/gotson/komga/commits/0fa540d)) +- bump lucene to 9.6.0 ([c01e774](https://github.com/gotson/komga/commits/c01e774)) +- bump hawtio to 2.17.2 ([aa31c74](https://github.com/gotson/komga/commits/aa31c74)) +- bump jreleaser to 1.6.0 ([528ff62](https://github.com/gotson/komga/commits/528ff62)) +- bump joog gradle plugin to 8.2 ([9c977d3](https://github.com/gotson/komga/commits/9c977d3)) +- bump gradle to 8.1.1 ([cb7c150](https://github.com/gotson/komga/commits/cb7c150)) +- bump springdoc to 2.1.0 ([77c1bb7](https://github.com/gotson/komga/commits/77c1bb7)) +- bump sqlite-jdbc to 3.42.0.0 ([b7f4849](https://github.com/gotson/komga/commits/b7f4849)) +- bump kotlin to 1.8.21 ([d5f3423](https://github.com/gotson/komga/commits/d5f3423)) +- bump springboot to 3.1.0 ([1617fdf](https://github.com/gotson/komga/commits/1617fdf)) +- bump hawtio-springboot to 2.17.0 ([2bf5dc3](https://github.com/gotson/komga/commits/2bf5dc3)) +- bump springmockk to 4.0.0 ([c84a1d3](https://github.com/gotson/komga/commits/c84a1d3)) +- bump springdoc to 2.0.2 ([c75d870](https://github.com/gotson/komga/commits/c75d870)) +- bump mockk to 1.13.4 ([fb22bfd](https://github.com/gotson/komga/commits/fb22bfd)) +- bump Lucene to 9.5.0 ([e6ba346](https://github.com/gotson/komga/commits/e6ba346)) +- drop micrometer-registry-influx ([bae1ddf](https://github.com/gotson/komga/commits/bae1ddf)) +- bump spring-session-caffeine to 2.0.0 ([70b6def](https://github.com/gotson/komga/commits/70b6def)) +- bump archunit-junit5 to 1.0.1 ([992c68f](https://github.com/gotson/komga/commits/992c68f)) +- bump tika-core to 2.7.0 ([471a759](https://github.com/gotson/komga/commits/471a759)) +- bump kotlin-logging-jvm to 3.0.5 ([a0bf86e](https://github.com/gotson/komga/commits/a0bf86e)) +- bump flyway's gradle plugin to 9.7.0 ([9104578](https://github.com/gotson/komga/commits/9104578)) +- bump jooq's gradle plugin to 8.1 ([03929e4](https://github.com/gotson/komga/commits/03929e4)) +- bump Spring Boot to 3.0.2 ([7828edc](https://github.com/gotson/komga/commits/7828edc)) +- bump peter-evans/dockerhub-description from 3.3.0 to 3.4.1 ([8716996](https://github.com/gotson/komga/commits/8716996)) + +**webui** +- update browserslist ([272b52d](https://github.com/gotson/komga/commits/272b52d)) +- fix .editorconfig ([e1c8780](https://github.com/gotson/komga/commits/e1c8780)) + +**unscoped** +- fix missing gradle tasks dependencies ([4d95e9d](https://github.com/gotson/komga/commits/4d95e9d)) +- fix openapi generator configuration ([65be72a](https://github.com/gotson/komga/commits/65be72a)) +- try to fix gradle error in CI ([9f44fc8](https://github.com/gotson/komga/commits/9f44fc8)) +- try to fix gradle error in CI ([49c2695](https://github.com/gotson/komga/commits/49c2695)) +- drop java below 17 ([9d7e193](https://github.com/gotson/komga/commits/9d7e193)) +- use property access syntax ([d449ef1](https://github.com/gotson/komga/commits/d449ef1)) +- remove SpykBean that would create flaky tests ([54c2e35](https://github.com/gotson/komga/commits/54c2e35)) +- add REST API test for get claim status ([5336477](https://github.com/gotson/komga/commits/5336477)) +- add OAuth2 REST API tests ([35be71e](https://github.com/gotson/komga/commits/35be71e)) +- add Actuator REST API tests ([f9b1351](https://github.com/gotson/komga/commits/f9b1351)) +- 🚨 target JDK 17: *Java 17 or above is now required* ([9569c5b](https://github.com/gotson/komga/commits/9569c5b)) + +## 📝 Documentation + +- update development documentation for port change ([985f04f](https://github.com/gotson/komga/commits/985f04f)) + +## 🌐 Translation + +- translated using Weblate (Japanese) ([28b8aff](https://github.com/gotson/komga/commits/28b8aff)) +- translated using Weblate (Chinese (Simplified)) ([05ad407](https://github.com/gotson/komga/commits/05ad407)) +- translated using Weblate (Italian) ([4154924](https://github.com/gotson/komga/commits/4154924)) +- translated using Weblate (Chinese (Traditional)) ([965a041](https://github.com/gotson/komga/commits/965a041)) +- translated using Weblate (Turkish) ([b5c9152](https://github.com/gotson/komga/commits/b5c9152)) +- translated using Weblate (Bulgarian) ([28c0234](https://github.com/gotson/komga/commits/28c0234)) +- translated using Weblate (Swedish) ([326c06e](https://github.com/gotson/komga/commits/326c06e)) +- translated using Weblate (Czech) ([ab8d748](https://github.com/gotson/komga/commits/ab8d748)) +- translated using Weblate (French) ([8e8a8ff](https://github.com/gotson/komga/commits/8e8a8ff)) +- translated using Weblate (Spanish) ([3cc7386](https://github.com/gotson/komga/commits/3cc7386)) +- translated using Weblate (German) ([dc5bf55](https://github.com/gotson/komga/commits/dc5bf55)) + # [0.165.0](https://github.com/gotson/komga/compare/v0.164.0...v0.165.0) (2023-03-17) ## 🚀 Features **metadata** diff --git a/gradle.properties b/gradle.properties index 37e487dd..0c34bd03 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=0.165.0 +version=1.0.0 org.gradle.jvmargs=-Xmx2G diff --git a/komga/docs/openapi.json b/komga/docs/openapi.json index 62f406f7..989b7075 100644 --- a/komga/docs/openapi.json +++ b/komga/docs/openapi.json @@ -142,89 +142,6 @@ } } }, - "/api/v1/series/{seriesId}/read-progress/tachiyomi": { - "get": { - "tags": [ - "series-controller" - ], - "operationId": "getReadProgressTachiyomi", - "parameters": [ - { - "name": "seriesId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TachiyomiReadProgressDto" - } - } - } - } - }, - "deprecated": true - }, - "put": { - "tags": [ - "series-controller" - ], - "operationId": "markReadProgressTachiyomi", - "parameters": [ - { - "name": "seriesId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TachiyomiReadProgressUpdateDto" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "204": { - "description": "No Content" - } - }, - "deprecated": true - } - }, "/api/v1/readlists/{id}/thumbnails/{thumbnailId}/selected": { "put": { "tags": [ @@ -309,7 +226,7 @@ "tags": [ "read-list-controller" ], - "operationId": "markReadProgressTachiyomi_1", + "operationId": "markReadProgressTachiyomi", "parameters": [ { "name": "id", @@ -650,7 +567,7 @@ "/api/v2/users": { "get": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "getAll", "responses": { @@ -671,7 +588,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UserDtoV2" + "$ref": "#/components/schemas/UserDto" } } } @@ -681,7 +598,7 @@ }, "post": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "addOne", "requestBody": { @@ -694,78 +611,6 @@ }, "required": true }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserDtoV2" - } - } - } - } - } - } - }, - "/api/v1/users": { - "get": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "getAll_1", - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserWithSharedLibrariesDto" - } - } - } - } - } - }, - "deprecated": true - }, - "post": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "addOne_1", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserCreationDto" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Bad Request", @@ -787,8 +632,7 @@ } } } - }, - "deprecated": true + } } }, "/api/v1/transient-books": { @@ -1118,7 +962,7 @@ "tags": [ "read-list-controller" ], - "operationId": "getAll_2", + "operationId": "getAll_1", "parameters": [ { "name": "search", @@ -1191,7 +1035,7 @@ "tags": [ "read-list-controller" ], - "operationId": "addOne_2", + "operationId": "addOne_1", "requestBody": { "content": { "application/json": { @@ -1395,23 +1239,6 @@ "schema": { "type": "string" } - }, - { - "name": "media_type", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "file_size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } } ], "requestBody": { @@ -1455,23 +1282,6 @@ "schema": { "type": "string" } - }, - { - "name": "media_type", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "file_size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } } ], "responses": { @@ -1496,7 +1306,7 @@ "tags": [ "library-controller" ], - "operationId": "getAll_3", + "operationId": "getAll_2", "responses": { "400": { "description": "Bad Request", @@ -1527,7 +1337,7 @@ "tags": [ "library-controller" ], - "operationId": "addOne_3", + "operationId": "addOne_2", "requestBody": { "content": { "application/json": { @@ -1738,7 +1548,7 @@ "tags": [ "series-collection-controller" ], - "operationId": "getAll_5", + "operationId": "getAll_4", "parameters": [ { "name": "search", @@ -1811,7 +1621,7 @@ "tags": [ "series-collection-controller" ], - "operationId": "addOne_4", + "operationId": "addOne_3", "requestBody": { "content": { "application/json": { @@ -2021,7 +1831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserDtoV2" + "$ref": "#/components/schemas/UserDto" } } } @@ -2238,7 +2048,7 @@ "/api/v2/users/{id}": { "delete": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "delete", "parameters": [ @@ -2269,7 +2079,7 @@ }, "patch": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "updateUser", "parameters": [ @@ -2312,7 +2122,7 @@ "/api/v2/users/{id}/password": { "patch": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "updatePassword", "parameters": [ @@ -2355,7 +2165,7 @@ "/api/v2/users/me/password": { "patch": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "updateMyPassword", "requestBody": { @@ -2385,204 +2195,6 @@ } } }, - "/api/v1/users/{id}": { - "delete": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "delete_1", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "204": { - "description": "No Content" - } - }, - "deprecated": true - }, - "patch": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "updateUserRoles", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RolesUpdateDto" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "204": { - "description": "No Content" - } - }, - "deprecated": true - } - }, - "/api/v1/users/{id}/shared-libraries": { - "patch": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "updateSharesLibraries", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SharedLibrariesUpdateDto" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "204": { - "description": "No Content" - } - }, - "deprecated": true - } - }, - "/api/v1/users/{id}/password": { - "patch": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "updatePassword_1", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PasswordUpdateDto" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "204": { - "description": "No Content" - } - }, - "deprecated": true - } - }, - "/api/v1/users/me/password": { - "patch": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "updateMyPassword_1", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PasswordUpdateDto" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "204": { - "description": "No Content" - } - }, - "deprecated": true - } - }, "/api/v1/series/{seriesId}/metadata": { "patch": { "tags": [ @@ -3784,7 +3396,7 @@ "/opds/v1.2/books/{bookId}/thumbnail": { "get": { "tags": [ - "book-controller" + "opds-controller" ], "operationId": "getBookThumbnail", "parameters": [ @@ -3822,12 +3434,12 @@ } } }, - "/api/v1/books/{bookId}/thumbnail": { + "/opds/v1.2/books/{bookId}/thumbnail/small": { "get": { "tags": [ - "book-controller" + "opds-controller" ], - "operationId": "getBookThumbnail_1", + "operationId": "getBookThumbnailSmall", "parameters": [ { "name": "bookId", @@ -4071,7 +3683,7 @@ "/api/v2/users/{id}/authentication-activity/latest": { "get": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "getLatestAuthenticationActivityForUser", "parameters": [ @@ -4111,7 +3723,7 @@ "/api/v2/users/me": { "get": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "getMe", "responses": { @@ -4130,7 +3742,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserDtoV2" + "$ref": "#/components/schemas/UserDto" } } } @@ -4141,7 +3753,7 @@ "/api/v2/users/me/authentication-activity": { "get": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "getMyAuthenticationActivity", "parameters": [ @@ -4210,7 +3822,7 @@ "/api/v2/users/authentication-activity": { "get": { "tags": [ - "user-v-2-controller" + "user-controller" ], "operationId": "getAuthenticationActivity", "parameters": [ @@ -4380,218 +3992,6 @@ } } }, - "/api/v1/users/{id}/authentication-activity/latest": { - "get": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "getLatestAuthenticationActivityForUser_1", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AuthenticationActivityDto" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v1/users/me": { - "get": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "getMe_1", - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v1/users/me/authentication-activity": { - "get": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "getMyAuthenticationActivity_1", - "parameters": [ - { - "name": "unpaged", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "page", - "in": "query", - "description": "Zero-based page index (0..N)", - "schema": { - "type": "integer", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "description": "The size of the page to be returned", - "schema": { - "type": "integer", - "default": 20 - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - ], - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageAuthenticationActivityDto" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v1/users/authentication-activity": { - "get": { - "tags": [ - "user-v-1-controller" - ], - "operationId": "getAuthenticationActivity_1", - "parameters": [ - { - "name": "unpaged", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "page", - "in": "query", - "description": "Zero-based page index (0..N)", - "schema": { - "type": "integer", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "description": "The size of the page to be returned", - "schema": { - "type": "integer", - "default": 20 - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - ], - "responses": { - "400": { - "description": "Bad Request", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/ValidationErrorResponse" - } - } - } - }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageAuthenticationActivityDto" - } - } - } - } - }, - "deprecated": true - } - }, "/api/v1/transient-books/{id}/pages/{pageNumber}": { "get": { "tags": [ @@ -6453,23 +5853,6 @@ "type": "string" } }, - { - "name": "media_type", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "file_size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, { "name": "page", "in": "query", @@ -6536,23 +5919,6 @@ "schema": { "type": "string" } - }, - { - "name": "media_type", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "file_size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } } ], "responses": { @@ -6654,23 +6020,6 @@ "type": "string" } }, - { - "name": "media_type", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "file_size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, { "name": "resize", "in": "query", @@ -6786,7 +6135,7 @@ "tags": [ "historical-event-controller" ], - "operationId": "getAll_4", + "operationId": "getAll_3", "parameters": [ { "name": "page", @@ -7490,6 +6839,47 @@ } } }, + "/api/v1/books/{bookId}/thumbnail": { + "get": { + "tags": [ + "book-controller" + ], + "operationId": "getBookThumbnail_1", + "parameters": [ + { + "name": "bookId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + }, + "default": { + "description": "default response", + "content": { + "image/jpeg": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + } + }, "/api/v1/books/{bookId}/readlists": { "get": { "tags": [ @@ -8546,17 +7936,13 @@ "PageHashCreationDto": { "required": [ "action", - "hash", - "mediaType" + "hash" ], "type": "object", "properties": { "hash": { "type": "string" }, - "mediaType": { - "type": "string" - }, "size": { "type": "integer", "format": "int64" @@ -8710,7 +8096,7 @@ } } }, - "UserDtoV2": { + "UserDto": { "required": [ "email", "id", @@ -8764,28 +8150,6 @@ } } }, - "UserDto": { - "required": [ - "email", - "id", - "roles" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "email": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, "ScanRequestDto": { "required": [ "path" @@ -9091,6 +8455,10 @@ }, "title": { "type": "string" + }, + "releaseDate": { + "type": "string", + "format": "date" } } }, @@ -9138,6 +8506,8 @@ "required": [ "bookId", "fileName", + "fileSize", + "mediaType", "pageNumber", "url" ], @@ -9155,6 +8525,13 @@ }, "fileName": { "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64" + }, + "mediaType": { + "type": "string" } } }, @@ -9601,6 +8978,13 @@ "UserUpdateDto": { "type": "object", "properties": { + "roles": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, "ageRestriction": { "$ref": "#/components/schemas/AgeRestrictionUpdateDto" }, @@ -9620,13 +9004,6 @@ }, "sharedLibraries": { "$ref": "#/components/schemas/SharedLibrariesUpdateDto" - }, - "roles": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } } } }, @@ -9641,20 +9018,6 @@ } } }, - "RolesUpdateDto": { - "required": [ - "roles" - ], - "type": "object", - "properties": { - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, "AlternateTitleUpdateDto": { "required": [ "label", @@ -9746,6 +9109,36 @@ "type": "string" } }, + "links": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WebLinkUpdateDto" + } + }, + "readingDirection": { + "type": "string", + "enum": [ + "LEFT_TO_RIGHT", + "RIGHT_TO_LEFT", + "VERTICAL", + "WEBTOON" + ] + }, + "ageRating": { + "type": "integer", + "format": "int32" + }, + "genres": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "totalBookCount": { + "type": "integer", + "format": "int32" + }, "sharingLabels": { "uniqueItems": true, "type": "array", @@ -9758,36 +9151,6 @@ "items": { "$ref": "#/components/schemas/AlternateTitleUpdateDto" } - }, - "genres": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "links": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebLinkUpdateDto" - } - }, - "ageRating": { - "type": "integer", - "format": "int32" - }, - "totalBookCount": { - "type": "integer", - "format": "int32" - }, - "readingDirection": { - "type": "string", - "enum": [ - "LEFT_TO_RIGHT", - "RIGHT_TO_LEFT", - "VERTICAL", - "WEBTOON" - ] } }, "description": "Metadata fields to update. Set a field to null to unset the metadata. You can omit fields you don\u0027t want to update." @@ -9918,6 +9281,16 @@ "type": "string" } }, + "summary": { + "type": "string" + }, + "releaseDate": { + "type": "string", + "format": "date" + }, + "isbn": { + "type": "string" + }, "links": { "type": "array", "items": { @@ -9929,16 +9302,6 @@ "items": { "$ref": "#/components/schemas/AuthorUpdateDto" } - }, - "isbn": { - "type": "string" - }, - "releaseDate": { - "type": "string", - "format": "date" - }, - "summary": { - "type": "string" } }, "description": "Metadata fields to update. Set a field to null to unset the metadata. You can omit fields you don\u0027t want to update." @@ -10130,22 +9493,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -10160,6 +9507,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10168,6 +9531,13 @@ "PageableObject": { "type": "object", "properties": { + "offset": { + "type": "integer", + "format": "int64" + }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, "pageNumber": { "type": "integer", "format": "int32" @@ -10181,27 +9551,20 @@ }, "unpaged": { "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "offset": { - "type": "integer", - "format": "int64" } } }, "SortObject": { "type": "object", "properties": { + "empty": { + "type": "boolean" + }, "sorted": { "type": "boolean" }, "unsorted": { "type": "boolean" - }, - "empty": { - "type": "boolean" } } }, @@ -10268,22 +9631,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -10298,55 +9645,27 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } } }, - "SharedLibraryDto": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "UserWithSharedLibrariesDto": { - "required": [ - "email", - "id", - "roles", - "sharedAllLibraries", - "sharedLibraries" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "email": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "sharedAllLibraries": { - "type": "boolean" - }, - "sharedLibraries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SharedLibraryDto" - } - } - } - }, "AlternateTitleDto": { "required": [ "label", @@ -10417,22 +9736,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -10447,6 +9750,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10684,38 +10003,6 @@ } } }, - "TachiyomiReadProgressDto": { - "required": [ - "booksCount", - "booksInProgressCount", - "booksReadCount", - "booksUnreadCount", - "lastReadContinuousIndex" - ], - "type": "object", - "properties": { - "booksCount": { - "type": "integer", - "format": "int32" - }, - "booksReadCount": { - "type": "integer", - "format": "int32" - }, - "booksUnreadCount": { - "type": "integer", - "format": "int32" - }, - "booksInProgressCount": { - "type": "integer", - "format": "int32" - }, - "lastReadContinuousIndex": { - "type": "integer", - "format": "int32" - } - } - }, "StreamingResponseBody": { "type": "object" }, @@ -10933,22 +10220,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -10963,6 +10234,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -11026,22 +10313,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -11056,11 +10327,59 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } } }, + "TachiyomiReadProgressDto": { + "required": [ + "booksCount", + "booksInProgressCount", + "booksReadCount", + "booksUnreadCount", + "lastReadContinuousIndex" + ], + "type": "object", + "properties": { + "booksCount": { + "type": "integer", + "format": "int32" + }, + "booksReadCount": { + "type": "integer", + "format": "int32" + }, + "booksUnreadCount": { + "type": "integer", + "format": "int32" + }, + "booksInProgressCount": { + "type": "integer", + "format": "int32" + }, + "lastReadContinuousIndex": { + "type": "integer", + "format": "int32" + } + } + }, "PageHashKnownDto": { "required": [ "action", @@ -11068,16 +10387,13 @@ "deleteCount", "hash", "lastModified", - "mediaType" + "matchCount" ], "type": "object", "properties": { "hash": { "type": "string" }, - "mediaType": { - "type": "string" - }, "size": { "type": "integer", "format": "int64" @@ -11094,6 +10410,10 @@ "type": "integer", "format": "int32" }, + "matchCount": { + "type": "integer", + "format": "int32" + }, "created": { "type": "string", "format": "date-time" @@ -11115,22 +10435,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -11145,6 +10449,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -11161,22 +10481,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -11191,6 +10495,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -11199,17 +10519,13 @@ "PageHashUnknownDto": { "required": [ "hash", - "matchCount", - "mediaType" + "matchCount" ], "type": "object", "properties": { "hash": { "type": "string" }, - "mediaType": { - "type": "string" - }, "size": { "type": "integer", "format": "int64" @@ -11231,22 +10547,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -11261,6 +10561,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -11306,22 +10622,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -11336,6 +10636,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -11352,22 +10668,6 @@ "type": "integer", "format": "int32" }, - "first": { - "type": "boolean" - }, - "pageable": { - "$ref": "#/components/schemas/PageableObject" - }, - "last": { - "type": "boolean" - }, - "sort": { - "$ref": "#/components/schemas/SortObject" - }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "size": { "type": "integer", "format": "int32" @@ -11382,6 +10682,22 @@ "type": "integer", "format": "int32" }, + "sort": { + "$ref": "#/components/schemas/SortObject" + }, + "pageable": { + "$ref": "#/components/schemas/PageableObject" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" }