mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 22:45:55 +03:00
[PR #921] [CLOSED] refactor(apiv1): refactor tags api to v1 #866
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/921
Author: @fmartingr
Created: 5/26/2024
Status: ❌ Closed
Base:
master← Head:feat/apiv1/tags📝 Commits (10+)
27ee126wipc9fcb04Merge branch 'master' into feat/apiv1/tags490f24drefactor: Add DeleteTag method and Deleted field to tag model4e90e50fix: Add UpdateTag method to database implementationsd030ca8refactor: Remove duplicate DeleteTag method declaration in database interfaceaedc1c0fix: Resolve tag domain method signature and error handling217cdbarefactor: Rename TagDomain to TagsDomain and add constructor function8fa3b7ffeat: Add CreateTags method to TagsDomain for bulk tag creationccc8293feat: use tagsdomaine7a9eb0test: Add unit tests for tags domain logic📊 Changes
20 files changed (+636 additions, -61 deletions)
View changed files
📝
Makefile(+5 -0)📝
docs/swagger/docs.go(+5 -2)📝
docs/swagger/swagger.json(+5 -2)📝
docs/swagger/swagger.yaml(+4 -2)📝
go.mod(+2 -0)📝
go.sum(+5 -0)📝
internal/cmd/root.go(+1 -0)📝
internal/database/database.go(+7 -1)📝
internal/database/database_test.go(+139 -3)📝
internal/database/mysql.go(+60 -14)📝
internal/database/pg.go(+60 -7)📝
internal/database/sqlite.go(+60 -14)📝
internal/dependencies/dependencies.go(+1 -0)➕
internal/domains/tags.go(+87 -0)➕
internal/domains/tags_test.go(+148 -0)📝
internal/http/routes/api/v1/tags.go(+5 -4)📝
internal/model/domains.go(+8 -1)📝
internal/model/tag.go(+27 -5)📝
internal/testutil/shiori.go(+1 -0)📝
internal/view/assets/js/page/home.js(+6 -6)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.