egirlskey/packages/backend/src/server
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
..
api Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00
assets なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
oauth perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
web fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正 (#12455) 2023-11-26 10:01:06 +09:00
ActivityPubServerService.ts enhance(backend): Implementation of HTTP header and body validation to fix SIF-2023-002 (#12334) 2023-11-15 11:13:34 +09:00
FileServerService.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
NodeinfoServerService.ts Set http header for CORS in nodeinfo page (#11988) 2023-10-08 13:47:45 +09:00
ServerModule.ts feat(backend): support OAuth 2.0 authorization (#11053) 2023-07-27 18:51:58 +09:00
ServerService.ts enhance(backend): Implementation of HTTP header and body validation to fix SIF-2023-002 (#12334) 2023-11-15 11:13:34 +09:00
WellKnownServerService.ts refactor(backend): update directory structure for models 2023-09-20 11:33:36 +09:00