Commit Graph
11 Commits
Author SHA1 Message Date
Tony 5527d18de9 refactor: remove unnecessary trim/first/last (#22837)
* refactor: remove unnecessary trim/first/last

* refactor(types): allow null in DataItem.description

* refactor: remove unnecessary fallback

* refactor(types): allow null in Data.description

* refactor: remove unnecessary fallback

* refactor: remove .clone()

* refactor: refine json content text

* fIx: cognition

* fix: more fixes

* fix(route/jiemian): use api

* fix(route/jandan): housekeeping

add back maintainers from #8904

* fix(route/kcna/news): update source and target mappings

* fix(route/jandan): sanitize HTML content in titles

* refactor: remove unnecessary referer

* fix(route/jinse): regex
2026-07-27 22:23:57 +08:00
Serhii Hospodarchuk abb7a21e28 feat(core): add summary field support for atom and json feed (#22758)
* fix(core): summary field in json feed

* feat(core): add summary field to atom

* test: update json view test to match the new summary field
2026-07-20 21:31:04 +08:00
Yufan You fb07a7f2e5 fix: add summary field in JSON output format (#20778)
* fix: add summary field in JSON output format

This fixes that the summary/description was not included in the feed.

As a side-note, we cannot remove the content_html field even if only the
summary/description is present.

> content_html and content_text are each optional strings — but one or
> both must be present.

* test: add JSON view tests

---------
2025-12-30 21:57:51 +08:00
github-actions[bot] a28890a135 style: auto format 2025-11-27 02:55:46 +00:00
DIYgod 5d9e0f557e feat: add video preview url in attachments for bilibili and youtube 2025-01-21 18:32:09 +08:00
Tony 9d7e1943f0 test: fix tests (#16697)
* test: fix tests

* revert "fix: fill image from itunes_item_image (#16694)"

This reverts commit 879772a97f.

* fix: fill image from jsonfeed template

* chore: bump msw to 2.4.3
2024-09-11 01:05:37 +08:00
DIYgod 59e19001e6 feat: update descriptions 2024-07-23 16:30:41 +08:00
DIYgod ba1bdf9bdc feat: use hono context json and text 2024-03-01 20:50:17 +08:00
DIYgod 174752fef5 refactor: format 2024-01-29 23:28:17 +08:00
DIYgod 4591116733 fix: middleware errors 2024-01-21 18:35:11 +08:00
DIYgod 847724cad1 feat: work with hono and typescript 2024-01-21 11:55:18 +08:00