mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[PR #1081] [MERGED] feat: add apis to handle bookmark tags #975
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#975
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/1081
Author: @fmartingr
Created: 3/13/2025
Status: ✅ Merged
Merged: 3/15/2025
Merged by: @fmartingr
Base:
master← Head:feat/bookmark-tags-api📝 Commits (10+)
874e27bfeat: add tag search api03372a1feat: add apis to add/remove bookmark tagsd488337chore: removed debug logger58cc91adocs: updated swagger02554f7test: added tests745d69etest: invalid idsae1ce6afeat: webapp v29dd6909chore: updated swagger6ceb77ffix: route params missing265003cfeat: added cors middleware📊 Changes
128 files changed (+14249 additions, -465 deletions)
View changed files
➕
.cursorrules(+7 -0)📝
.gitignore(+1 -1)📝
Makefile(+6 -1)📝
docs/swagger/docs.go(+130 -0)📝
docs/swagger/swagger.json(+130 -0)📝
docs/swagger/swagger.yaml(+85 -0)📝
internal/cmd/server.go(+5 -0)📝
internal/config/config.go(+6 -0)📝
internal/database/database_tags.go(+130 -3)📝
internal/database/database_tags_test.go(+391 -3)📝
internal/database/database_test.go(+16 -11)➕
internal/domains/bookmark_tags_test.go(+127 -0)📝
internal/domains/bookmarks.go(+53 -0)📝
internal/domains/tags.go(+5 -0)📝
internal/http/handlers/api/v1/accounts.go(+14 -14)📝
internal/http/handlers/api/v1/accounts_test.go(+43 -42)📝
internal/http/handlers/api/v1/auth.go(+19 -13)📝
internal/http/handlers/api/v1/auth_test.go(+48 -15)➕
internal/http/handlers/api/v1/bookmark_tags_test.go(+728 -0)📝
internal/http/handlers/api/v1/bookmarks.go(+184 -17)...and 80 more files
📄 Description
GET /api/v1/tags/?search=...{"message":...}root key by default. API outputs are the same as exposed in the API documentation.SHIORI_HTTP_SERVE_WEB_UI_V2environment variable.#658
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.