Commit Graph

13 Commits

Author SHA1 Message Date
github-actions[bot] a28890a135 style: auto format 2025-11-27 02:55:46 +00:00
Stephen Zhou a0c5b08936
fix(route/bilibili): only get subtitle for jsonfeed (#20377)
* fix(route/bilibili): only get subtitle for jsonfeed

* Update lib/middleware/cache.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/middleware/cache.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------
2025-10-29 15:32:20 +08:00
Aleksandr Bogdanov 9d2fc7a676
feat(route/telegram): Fix tglib (#18268)
* refactor telegram/tglib for Hono

* linter fix

* add CSP for channel media

* don't cut feed item title prematurely

* implement shared Geo position attachment

* don't start TG client unless routes are requested

* resolve typescript; fix private chats and groups; fix stickers and no-thumbnail document attachments; fix media-by-link attachments

* fix empty text and message grouping; add GeoLive media type; add Poll/Quiz media type

* add script-src none to CSP

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* add unwrap media for stories support

* fix fwdFrom access

* remove unnecessary core patches, add media route docs

* remove tglib fallback, as it's already preferred if configured

* implement stories endpoint

* improve text representation of channel content

* serve channel media under /channel/entityName/msgId

* improve stories endpoint

* restore original post links to avoid feed duplicates on upgrade

* appease eslint

* fix lint

* improve stories config route definition

* fix poll handling

* lint fix

* format poll results nicely

* fix node compat

* remove duplicate ignore

---------
2025-09-16 21:41:05 +08:00
Tony d78a47ec7b
fix(core/cache): update cache key generation to include query limit (#17674) 2024-11-22 01:41:11 +08:00
DIYgod d1dd8a53ca
feat: retry requesting control (#15717)
* feat: retry requesting control

* test: fix error handling test
2024-05-26 21:48:29 +08:00
DIYgod 0839e555bb
feat: bypass cache for non rss routes 2024-05-26 20:46:12 +08:00
DIYgod cef1ed1eb6
refactor: error types 2024-04-07 16:37:54 +08:00
DIYgod e3df4f4673
refactor: eslint warning 2024-02-27 00:57:51 +08:00
DIYgod fa7eddb50a
fix: add reject error 2024-02-25 21:20:57 +08:00
DIYgod 174752fef5
refactor: format 2024-01-29 23:28:17 +08:00
DIYgod 42b6b1c724
feat: strict data type 2024-01-21 18:36:46 +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