syuilo
be81c1a6d6
refactor
2023-10-04 11:15:37 +09:00
syuilo
6277a5545c
feat: improve tl performance ( #11946 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* Update NoteCreateService.ts
* wip
* Update user-notes.ts
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* wip
* Update timelines.ts
* Update timelines.ts
* Update timelines.ts
* wip
* wip
* wip
* Update timelines.ts
* Update misskey-js.api.md
* Update timelines.ts
* Update timelines.ts
* wip
* wip
* wip
* Update timelines.ts
* wip
* Update timelines.ts
* wip
* test
* Update activitypub.ts
* refactor: UserListJoining -> UserListMembership
* Update NoteCreateService.ts
* wip
2023-10-03 20:26:11 +09:00
syuilo
392de4df36
enhance: ノートの翻訳機能の利用可否をロールで設定可能に
...
Resolve #11923
2023-09-30 07:54:11 +09:00
syuilo
d92e2b6ae0
Update create.test.ts
2023-09-29 16:41:03 +09:00
syuilo
961f5a0caa
fix(backend): fix notes/create validation
2023-09-29 15:14:13 +09:00
syuilo
2438c047a7
enhance: 編集されたノートかどうか分かるように
2023-09-28 21:06:14 +09:00
syuilo
c106db89e1
feat: note edit
2023-09-28 17:21:16 +09:00
syuilo
772d2432b6
enhance: タイムラインからRenoteを除外するオプションを追加
2023-09-28 15:32:47 +09:00
syuilo
eb740e2c72
enhance: タイムラインからRenoteを除外するオプションを追加
2023-09-28 11:41:41 +09:00
syuilo
9e4d3ebe5f
enhance(backend): refine moderation log ( #10939 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update DriveService.ts
2023-09-23 18:28:16 +09:00
syuilo
cac1c2f1e9
fix(backend): notes/reactionsのページネーションが機能しない
2023-09-23 10:00:38 +09:00
syuilo
053da10e94
refactor(backend): update directory structure for models
2023-09-20 11:33:36 +09:00
syuilo
6cf466e5d1
update deps ( #11820 )
...
* update deps
* fix
* wip
* wip
* wip
* Update docker-compose.yml.example
* Delete reviewer-lottery.yml
* Update RepositoryModule.ts
* wip
* wip
* clean up
* update deps
* wip
* wip
2023-09-15 14:28:29 +09:00
Ezekiel Lee
af7e129b1e
fix(backend): timeout when querying mentions ( #11799 )
2023-09-08 08:44:46 +09:00
syuilo
f53cffaeb2
enhance(backend): タイムライン等の有効期限を設定可能に
...
Resolve #11773
2023-09-05 15:03:50 +09:00
woxtu
dd1783f984
chore(backend): Resolve import/no-default-export
rule violations ( #11732 )
...
* Disable `import/no-default-export` properly
* Disable `import/no-default-export`
2023-08-17 21:20:58 +09:00
syuilo
792622aead
refactor: prefix Mi for all entities ( #11719 )
...
* wip
* wip
* wip
* wip
* Update RepositoryModule.ts
* wip
* wip
* wip
* Revert "wip"
This reverts commit c1c13b37d2
.
2023-08-16 17:51:28 +09:00
anatawa12
b26e4dc505
fix: muteがapiからのuser list timeline取得で機能しない ( #11480 )
2023-08-08 13:23:25 +09:00
woxtu
8a6791da3f
refactor(backend): Remove unused injections ( #11462 )
...
* Remove unused injections
* Remove unused imports
2023-08-05 10:33:00 +09:00
syuilo
2b4c8c9e0f
update deps ( #11409 )
...
* update deps
* Update .eslintrc.js
* Update .eslintrc.js
* lint
* lint
* Update update.ts
* update deps
* Update .eslintrc.js
2023-07-31 19:14:20 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
tamaina
c1a19ff900
fix(backend): Use OFFSET instead of SKIP when using LIMIT ( #11379 )
...
* fix(backend): Use OFFSET instead of SKIP when using LIMIT
* update CHANGELOG.md
2023-07-25 19:21:50 +09:00
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 3bd7be35d8
.
* 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 7469390011
.
* 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 b5b0dc58a3
.
* reduce maxSockets
* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger
* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"
This reverts commit 997243915c
.
* 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
syuilo
0f7cbb5922
fix type
2022-09-24 10:39:17 +09:00
syuilo
614b11951b
refactor
2022-09-24 07:15:16 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
567c550120
lint
2022-09-20 05:32:18 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
syuilo
972b03f842
perf: allow get for notes/reactions
2022-07-05 19:16:21 +09:00
syuilo
52a1ec9af1
enhance(server): アンケートを新しい順にソート
2022-07-02 12:34:22 +09:00
Johann150
5728350267
fix: always respect instance mutes ( #8854 )
...
* fix: muted user query also checks instances
This way it can be ensured that the instance mute is used everywhere it
is required without checking the whole codebase again. Muted users and
muted instances should be used together anyways.
* fix lint
2022-06-25 14:23:59 +09:00
syuilo
963f538728
lint fixes
2022-06-14 18:01:23 +09:00
Johann150
21d54f2758
fix: validate text is not empty
...
fix #8747
2022-05-28 17:26:17 +02:00
Johann150
037ca92275
fix: postgres type error
...
Fix a bug introduced in #8659 . Solution was already tested there.
2022-05-15 11:32:00 +02:00
Johann150
4b872856c2
fix: keep file order ( #8659 )
2022-05-14 15:09:10 +09:00
xianon
60620bdb25
fix: アンテナ、クリップ、リストの表示を速くする ( #8518 )
...
* アンテナノートを取得するクエリがタイムアウトしないように速くする
* テーブル名を直接指定しないようにする
* クリップの取得を速くする
* リストの取得を速くする
2022-04-19 22:59:39 +09:00
syuilo
ff8313b48b
refactor
2022-04-17 20:51:59 +09:00
syuilo
1ee757cc5f
refactor: fix type
2022-04-17 13:21:07 +09:00
syuilo
e0a4864bea
refactor: fix type
2022-04-17 13:01:30 +09:00
syuilo
9f7cdb4bc7
refactor
2022-04-08 19:01:38 +09:00
syuilo
91f4ec3747
fix types
2022-04-03 16:30:22 +09:00
syuilo
41c2aed7dc
chore: fix lint
2022-04-03 15:33:22 +09:00
Johann150
c8935b32f8
fix: validation (better #8456 ) ( #8461 )
...
* Revert "revert 484e023c0"
This reverts commit c03b70c949
.
* also allow pure renote
* fix checks for pure renote
2022-04-03 13:57:26 +09:00
syuilo
c03b70c949
revert 484e023c0
2022-04-02 16:47:53 +09:00
Johann150
484e023c0c
enhance(doc): required input fields ( #8456 )
...
* remove empty file
If the endpoint is to be implemented later, the file can be added back,
but for now it is confusing to have an empty file.
* enhance(doc): document defaults
Default for `isPublic` is based on the database schema default value.
Defaults for `local` and `withFiles` are based on the behaviour of the endpoint.
* enhance(doc): explain nullable emoji category
* fix: make nullable if default is null
* enhance(doc): explain mute attribute expiresAt
* fix: define required fields
- `notes/create`: the default for `text` has been removed because ajv can not handle
`default` inside of `anyOf`, see
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
first alternative.
- `notes/create`: The `mediaIds` property has been marked as deprecated because it
has the same behaviour as using `fileIds`, but the implementation tries to handlè
`fileIds` first.
- The result schema for `admin/emoji/list` has been altered because the `host`
property will always be `null` as it is filtered this way in the database query.
See packages/backend/src/server/api/endpoints/admin/emoji/list.ts line 67.
* enhance(doc): explain nullable hostname
* update changelog
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-02 15:04:36 +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
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
22b56ac65c
refactor
2022-03-25 13:11:52 +09:00
tamaina
e314be5b59
Fix avatar/banner proxy ( #8346 )
...
* Fix avatar/banner proxy
Co-authored-by: mei23 <m@m544.net>
* use getAvatarUrl
* fix
* join avatar and banner to improve performance
* join
* Update hybrid-timeline.ts
* fix
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +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
syuilo
a1c7c1fb49
remove max note text length setting
...
Resolve #8323
2022-02-20 16:07:43 +09:00