tamaina
351bee325b
perf(backend): Use ThinUser in admin/federation/remove-all-following
2023-04-29 14:35:48 +00:00
Namekuji
0ab50f87a2
fix #10651 ( #10684 )
2023-04-29 23:27:14 +09:00
syuilo
34492f3c9a
enhance(backend): tweak cache of federated instance
...
#10631
2023-04-22 19:59:08 +09:00
Namekuji
da83322200
feat: queueing bulk follow/unfollow and block/unblock ( #10544 )
...
* wrap follow/unfollow and block/unblock as job queue
* create import job to follow in each iteration
* make relationship jobs concurrent
* replace to job queue if called repeatedly
* use addBulk to import
* omit stream when importing
* fix job caller
* use ThinUser instead of User to reduce redis memory consumption
* createImportFollowingToDbJobの呼び出し方を変える, 型補強
* Force ThinUser
* オブジェクト操作のみのメソッド名はgenerate...Data
* Force ThinUser in generateRelationshipJobData
* silent bulk unfollow at admin api endpoint
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 09:13:58 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
syuilo
1c67c26bd8
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
d071d18dd7
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
tamaina
fcfb5ef0a3
Fix ajv ( #8333 )
...
* wip
* ✌️
* use ajv/dist/core
* revert try
* clean up
2022-02-20 13:15:40 +09:00
syuilo
510de87607
refactor: use ajv instead of cafy ( #8324 )
...
* wip
* wip
* Update abuse-user-reports.ts
* Update files.ts
* Update list-remote.ts
* Update list.ts
* Update show-users.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update update.ts
* Update search.ts
* Update reactions.ts
* Update search.ts
* wip
* wip
* wip
* wip
* Update update.ts
* Update relation.ts
* Update available.ts
* wip
* wip
* wip
* Update packages/backend/src/server/api/define.ts
Co-authored-by: Johann150 <johann.galle@protonmail.com>
* Update define.ts
* Update define.ts
* typo
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update update.ts
* wip
* Update signup.ts
* Update call.ts
* minimum for limit
* type
* remove needless annotation
* wip
* Update signup.ts
* wip
* wip
* fix
* Update create.ts
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-02-19 14:05:32 +09:00
tamaina
efb0ffc4ec
refactor: APIエンドポイントファイルの定義を良い感じにする ( #8154 )
...
* Fix API Schema Error
* Delete SimpleSchema/SimpleObj
and Move schemas to dedicated files
* Userのスキーマを分割してみる
* define packMany type
* add ,
* Ensure enum schema and Make "as const" put once
* test?
* Revert "test?"
This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79.
* Revert "Fix API Schema Error"
This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323.
* ✌️
* clean up
* test?
* wip
* wip
* better schema def
* ✌️
* fix
* add minLength property
* wip
* wip
* wip
* anyOf/oneOf/allOfに対応? ~ relation.ts
* refactor!
* Define MinimumSchema
* wip
* wip
* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正
* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正
* Update packages/backend/src/misc/schema.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix
* array oneOfをより正確な型に
* array oneOfをより正確な型に
* wip
* ✌️
* なんかもういろいろ
* remove
* very good schema
* api schema
* wip
* refactor: awaitAllの型定義を変えてみる
* fix
* specify types in awaitAll
* specify types in awaitAll
* ✌️
* wip
* ...
* ✌️
* AllowDateはやめておく
* 不必要なoptional: false, nullable: falseを廃止
* Packedが展開されないように
* 続packed
* wip
* define note type
* wip
* UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように
* wip
* wip
* wip specify user type of other schemas
* ok
* convertSchemaToOpenApiSchemaを改修
* convertSchemaToOpenApiSchemaを改修
* Fix
* fix
* ✌️
* wip
* 分割代入ではなくallOfで定義するように
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
syuilo
4a64280a7c
lint
2022-01-03 02:12:50 +09:00
syuilo
c69b72e199
fix lint
2021-12-09 23:58:30 +09:00
syuilo
0e4a111f81
refactoring
...
Resolve #7779
2021-11-12 02:02:25 +09:00