woxtu
8c77153c04
Fix auto-fixable issues ( #11314 )
2023-07-19 11:27:50 +09:00
okayurisotto
cf3e39178b
refactor(backend): 存在確認のfindOneBy
をexist
に置き換え ( #11224 )
...
* refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え
* cleanup
2023-07-11 14:58:58 +09:00
syuilo
081a14d6f3
perf(backend): use limit() instead of take()
2023-07-08 16:53:07 +09:00
okayurisotto
d84796588c
cleanup: trim trailing whitespace ( #11136 )
...
* cleanup: trim trailing whitespace
* update(`.editorconfig`)
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 07:08:16 +09:00
syuilo
8099bc24e1
refactor(backend): use node16 for moduleResolution ( #10938 )
...
* refactor(backend): use node16 for moduleResolution
* update deps
* Update tsconfig.json
* ✌️
* revive KEYWORD
* restore strict-event-emitter-types dependency
* restore ms dependency
* cancel redundant import reorder
* fix
* Delete ms.ts
* remove rndstr
---------
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2023-06-25 21:13:15 +09:00
syuilo
fd7b77c542
enhance(backend): migrate bull to bullmq ( #10910 )
...
* wip
* wip
* Update QueueService.ts
* wip
* refactor
* ✌️
* fix
* Update QueueStatsService.ts
* refactor
* Update ApNoteService.ts
* Update mock-resolver.ts
* refactor
* Update mock-resolver.ts
2023-05-29 11:54:49 +09:00
syuilo
3804c6e7ad
feat: センシティブなカスタム絵文字のリアクションを受け入れない設定を追加
2023-05-19 09:43:38 +09:00
syuilo
d10d5a8d53
enhance: タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように
...
Resolve #10646
2023-05-16 12:16:37 +09:00
syuilo
29a84230b0
enhance(backend): SearchService.searchNoteでhost指定対応
2023-05-07 11:59:06 +09:00
syuilo
5dfbce7571
feat: チャンネルの削除
...
Resolve #7171
Resolve #9935
2023-05-06 08:15:17 +09:00
syuilo
5c08f2b93b
feat: Introduce Meilisearch ( #10755 )
...
* wip
* wip
* Update SearchService.ts
* Update SearchService.ts
* wip
* wip
* Update SearchService.ts
* Update CHANGELOG.md
* wip
* Update SearchService.ts
* Update docker-compose.yml.example
2023-05-05 08:52:14 +09:00
Namekuji
d28866f71a
enhance: account migration ( #10592 )
...
* copy block and mute then create follow and unfollow jobs
* copy block and mute and update lists when detecting an account has moved
* no need to care promise orders
* refactor updating actor and target
* automatically accept if a locked account had accepted an old account
* fix exception format
* prevent the old account from calling some endpoints
* do not unfollow when moving
* adjust following and follower counts
* check movedToUri when receiving a follow request
* skip if no need to adjust
* Revert "disable account migration"
This reverts commit 2321214c98
.
* fix translation specifier
* fix checking alsoKnownAs and uri
* fix updating account
* fix refollowing locked account
* decrease followersCount if followed by the old account
* adjust following and followers counts when unfollowing
* fix copying mutings
* prohibit moved account from moving again
* fix move service
* allow app creation after moving
* fix lint
* remove unnecessary field
* fix cache update
* add e2e test
* add e2e test of accepting the new account automatically
* force follow if any error happens
* remove unnecessary joins
* use Array.map instead of for const of
* ユーザーリストの移行は追加のみを行う
* nanka iroiro
* fix misskey-js?
* ✌️
* 移行を行ったアカウントからのフォローリクエストの自動許可を調整
* newUriを外に出す
* newUriを外に出す2
* clean up
* fix newUri
* prevent moving if the destination account has already moved
* set alsoKnownAs via /i/update
* fix database initialization
* add return type
* prohibit updating alsoKnownAs after moving
* skip to add to alsoKnownAs if toUrl is known
* skip adding to the list if it already has
* use Acct.parse instead
* rename error code
* 🎨
* 制限を5から10に緩和
* movedTo(Uri), alsoKnownAsはユーザーidを返すように
* test api res
* fix
* 元アカウントはミュートし続ける
* 🎨
* unfollow
* fix
* getUserUriをUserEntityServiceに
* ?
* job!
* 🎨
* instance => server
* accountMovedShort, forbiddenBecauseYouAreMigrated
* accountMovedShort
* fix test
* import, pin禁止
* 実績を凍結する
* clean up
* ✌️
* change message
* ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに
* Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに"
This reverts commit 3bd7be35d8aa455cb01ae58f8172a71a50485db1.
* validateAlsoKnownAs
* 移行後2時間以内はインポート可能なファイルサイズを拡大
* clean up
* どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする
* handle error?
* リモートからの移行処理の条件を是正
* log, port
* fix
* fix
* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように
* refactor (use checkHttps)
* MISSKEY_WEBFINGER_USE_HTTP
* Environment Variable readme
* NEVER USE IN PRODUCTION
* fix punyHost
* fix indent
* fix
* experimental
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-30 00:09:29 +09:00
syuilo
521eb95dbc
perf(backend): cache avatar and banner url to db
2023-04-06 19:48:24 +09:00
syuilo
e03d5a86a4
lint fix
2023-03-30 12:16:03 +09:00
syuilo
4d73080da1
perf(backend): improve performance of timeline apis
2023-03-19 16:52:38 +09:00
syuilo
b644567735
feat: clip favorite
...
Resolve #10337
2023-03-16 17:24:49 +09:00
syuilo
89e2c302dd
refactor(backend): integrate CreateNotificationService to NotificationService
2023-03-16 14:24:11 +09:00
CyberRex
c05c504c86
Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( #10298 関係 ) ( #10317 )
...
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように
* Update CHANGELOG.md
* Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加
* Fix lint
* Mapを使用するように
* Fix typo
2023-03-14 19:11:31 +09:00
syuilo
5d1ccb9bdc
enhance: make configurable to whether notes search available by role
...
Resolve #10318
2023-03-13 17:52:24 +09:00
syuilo
dd6569a1bb
feat: Reaction acceptance ( #10256 )
...
* wip
* wip
* デフォルト設定
2023-03-08 08:56:47 +09:00
syuilo
4c2f7c64cc
feat: Per-user renote mute ( #10249 )
...
* feat: per-user renote muting
From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey
* Update ja-JP.yml
* Delete renote-muting.ts
* rename
* fix ids
* lint
* fix
* Update CHANGELOG.md
* リノートをミュートしたユーザー一覧を見れるように
* 🎨
* add test
* fix test
---------
Co-authored-by: Hélène <pleroma-dev@helene.moe>
2023-03-08 08:56:09 +09:00
syuilo
2b884ba338
enhance(server): tweak notes/featured api
2023-03-07 08:41:10 +09:00
tamaina
02d7ffd305
fix(server): 単純にrenoteできないのを修正
2023-02-26 11:10:24 +00:00
syuilo
a78a839841
refactor
2023-02-26 18:57:24 +09:00
xianon
67ca7ee4ec
ホームタイムラインの読み込みでクエリタイムアウトになるのを修正する ( #10106 )
2023-02-26 18:54:52 +09:00
tamaina
18dbcfa0b0
test(server): add validation test of api:notes/create ( #10090 )
...
* fix(server): notes/createのバリデーションが効いていない
Fix #10079
Co-Authored-By: mei23 <m@m544.net>
* anyOf内にバリデーションを書いても最初の一つしかチェックされない
* ✌️
* wip
* wip
* ✌️
* RequiredProp
* Revert "RequiredProp"
This reverts commit 74693900119a590263106fa3adefd008d69ce80c.
* add api:notes/create
* fix lint
* text
* ✌️
* improve readability
---------
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 11:28:05 +09:00
syuilo
ea04778649
feat: in-channel featured note
...
Resolve #9938
2023-02-25 18:26:35 +09:00
tamaina
e4336f5b76
fix(server): notes/createで、fileIdsと見つかったファイルの数が異なる場合はエラーにする ( #9911 )
...
* fix(server): notes/createで、fileIdsと見つかったファイルの数が異なる場合はエラーにする
* NO_SUCH_FILE
2023-02-24 16:32:01 +09:00
syuilo
7ce0f79f7f
chore(server): tweak notes/featured api
2023-02-19 17:50:14 +09:00
tamaina
e8c5307f66
perf(client): ウェルカムページを最適化 ( #9960 )
...
* perf(client): ウェルカムページの最適化
* remove max
2023-02-17 12:38:30 +09:00
Kagami Sascha Rosylight
8f9ce23e52
style(backend): fix all eslint errors ( #9967 )
2023-02-17 10:56:59 +09:00
Kagami Sascha Rosylight
63df2c851e
refactor: remove all unused imports ( #9951 )
...
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo
1b21bad202
refactor
2023-02-13 15:50:22 +09:00
syuilo
451bc0b444
refactor: fix types
2023-02-12 18:47:30 +09:00
syuilo
1139632f95
fix(server): 自分のノートをお気に入りに登録しても実績解除される問題を修正
2023-02-05 14:30:07 +09:00
syuilo
ee74df6823
fix(server): improve security
2023-02-04 18:21:07 +09:00
syuilo
0c12e80106
perf(server): cache blocking
2023-02-04 12:40:40 +09:00
tamaina
7c3143b8e5
enhance(backend): enhance SchemaType handling of anyOf ( #9762 )
...
* enhance(backend): enhance anyOf handling
* clean up
2023-02-01 20:04:01 +09:00
syuilo
d4fb201d05
fix(server): node-fetchおよびgotを使う以前の実装に戻す
...
see #9710
2023-01-25 12:00:04 +09:00
syuilo
26ae2dfc0f
add achievement
2023-01-22 08:00:42 +09:00
syuilo
81f11d8f86
refactor: rename role.options -> role.policies
2023-01-15 20:52:53 +09:00
syuilo
2047449294
enhance(server): add rate limits for some endpoints
2023-01-14 20:21:03 +09:00
syuilo
7df3ca7388
enhance(server): add rate limits for some endpoints
2023-01-14 15:59:15 +09:00
tamaina
978a9bbb3b
perf(backend): Use undici instead of node-fetch and got ( #9459 )
...
* Implement? HttpFetchService
* ✌️
* remove node-fetch
* fix
* refactor
* fix
* gateway timeout
* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)
* fix
* add logger and fix url preview
* fix ip check
* enhance logger and error handling
* fix
* fix
* clean up
* Use custom fetcher for ApRequest / ApResolver
* bypassProxyはproxyBypassHostsに判断を委譲するように
* set maxRedirections (default 3, ApRequest/ApResolver: 0)
* fix comment
* handle error s3 upload
* add debug message
* no return await
* Revert "no return await"
This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.
* reduce maxSockets
* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger
* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"
This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.
* add logger
* fix
* change logger name
* safe
* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
syuilo
2470afaa2e
Role ( #9437 )
...
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* Update create.ts
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* Update delete.ts
* Update delete.ts
* wip
* wip
* wip
* Update account-info.vue
* wip
* wip
* Update settings.vue
* Update user-info.vue
* wip
* Update show-file.ts
* Update show-user.ts
* wip
* wip
* Update delete.ts
* wip
* wip
* Update overview.moderators.vue
* Create 1673500412259-Role.js
* wip
* wip
* Update roles.vue
* 色
* Update roles.vue
* integrate silence
* wip
* wip
2023-01-12 21:02:26 +09:00
syuilo
91ced90fb2
fix imports
2023-01-09 08:58:16 +09:00
MeiMei
10e526ba56
fix: Escape SQL LIKE ( #9493 )
...
* SQL LIKE escape
* CHANGELOG
2023-01-08 20:32:17 +09:00
syuilo
2e2ed1385f
delete pollVote notification
2023-01-08 10:54:45 +09:00
syuilo
6f51e7300e
✌️
2023-01-01 09:35:14 +09:00
syuilo
22ccb0fa71
refactor
2022-12-04 10:16:03 +09:00