misskey/packages/backend/src/server/api/endpoints/notes
anatawa12 a631b976c9
Refine fanout timeline (#12507)
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb

* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し

* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装

* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list

* style: fix lint error

* chore: split logic to multiple functions

* chore: implement redis fallback

* chore: 成功率を上げる

* fix: db fallback not working

* feat: allowPartial

* chore(frontend): set allowPartial

* chore(backend): remove fallbackIfEmpty

HTL will never be purged so it's no longer required

* fix: missing allowPartial in channel timeline

* fix: type of timelineConfig in hybrid-timeline

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
..
favorites perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
polls perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
reactions chore(backend): Resolve `import/no-default-export` rule violations (#11732) 2023-08-17 21:20:58 +09:00
thread-muting perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
children.ts lint fixes 2023-10-09 13:32:41 +09:00
clips.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
conversation.ts refactor(backend): update directory structure for models 2023-09-20 11:33:36 +09:00
create.test.ts fix cw test 2023-11-03 13:26:48 +09:00
create.ts Replace deprecated `Repository.findOneById()` (#12426) 2023-11-24 09:48:36 +09:00
delete.ts enhance(backend): refine moderation log (#10939) 2023-09-23 18:28:16 +09:00
featured.ts fix: query error in notes/featured (#12439) 2023-11-26 12:54:23 +09:00
global-timeline.ts fix(backend): GTLの「リノートを表示」オプションが機能しないのを修正 (#12234) 2023-11-04 18:45:59 +09:00
hybrid-timeline.ts Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00
local-timeline.ts Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00
mentions.ts lint fixes 2023-10-09 13:32:41 +09:00
reactions.ts fix(backend): notes/reactionsのページネーションが機能しない 2023-09-23 10:00:38 +09:00
renotes.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
replies.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
search-by-tag.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
search.ts chore(backend): Resolve `import/no-default-export` rule violations (#11732) 2023-08-17 21:20:58 +09:00
show.ts chore(backend): Resolve `import/no-default-export` rule violations (#11732) 2023-08-17 21:20:58 +09:00
state.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
timeline.ts Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00
translate.ts enhance: ノートの翻訳機能の利用可否をロールで設定可能に 2023-09-30 07:54:11 +09:00
unrenote.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
user-list-timeline.ts Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00