tamaina
95918607f4
modify comment
2024-07-18 00:04:35 +09:00
tamaina
72cda5ca80
modify comment
2024-07-18 00:02:36 +09:00
tamaina
e602f2efda
move delete host
2024-07-17 23:55:39 +09:00
tamaina
de677a5b1f
// node-fetch will generate this for us. if we keep 'Host', it won't change with redirects!
2024-07-17 23:28:37 +09:00
tamaina
1f0e7a40b6
fix
2024-07-17 23:26:57 +09:00
tamaina
b7349e5771
delete request.headers['host'];
2024-07-17 23:03:30 +09:00
tamaina
fe77f216c3
inboxJobPerSec: 64
2024-07-17 22:49:07 +09:00
tamaina
ffd12d0539
deliverJobConcurrency: 16, deliverJobPerSec: 1024, inboxJobConcurrency: 4
2024-07-17 18:36:04 +09:00
tamaina
5afc659afa
set result to keypairEntityCache
2024-07-17 18:15:17 +09:00
tamaina
41883c451d
better comment
2024-07-17 18:01:03 +09:00
tamaina
09b2e71e62
better error handling of this.userPublickeysRepository.delete
2024-07-17 17:57:45 +09:00
tamaina
44f0064301
e2e/timelines.tsで個々のテストに対するtimeoutを削除, maxConcurrency: 32
2024-07-17 17:33:27 +09:00
tamaina
38a5e09a36
Revert "maxWorkers: '90%'"
...
This reverts commit 9e0a93f110
.
2024-07-17 17:10:10 +09:00
tamaina
9e0a93f110
maxWorkers: '90%'
2024-07-17 17:08:08 +09:00
tamaina
d3280fe7b3
Revert "genRSAAndEd25519KeyPairではキーを直列に生成する?"
...
This reverts commit d0aada55c1
.
2024-07-17 16:59:01 +09:00
tamaina
c2d084bac4
maxConcurrency: 8
2024-07-17 16:58:55 +09:00
tamaina
a80a7f6458
maxConcurrency: 16
2024-07-17 16:53:34 +09:00
tamaina
613c1273b8
maxConcurrency: 8
2024-07-17 16:30:54 +09:00
tamaina
d0aada55c1
genRSAAndEd25519KeyPairではキーを直列に生成する?
2024-07-17 16:20:39 +09:00
tamaina
57bfffedae
Revert "defaultMaxListeners = 512"
...
This reverts commit f2c412c180
.
2024-07-17 16:17:09 +09:00
tamaina
f2c412c180
defaultMaxListeners = 512
2024-07-17 16:14:24 +09:00
tamaina
7e2c3e4439
remove gen-key-pair.ts
2024-07-17 16:03:44 +09:00
tamaina
c80b16cdf8
refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair
2024-07-17 15:29:13 +09:00
tamaina
3777779aa9
Merge branch 'develop' into ed25519
2024-07-17 15:10:45 +09:00
Kisaragi
ce39c3a2fb
chore(backend): registed -> registered ( #14213 )
...
* chore(backend): registed -> registered
* Update CHANGELOG.md
2024-07-15 14:58:48 +09:00
Souma
1b84760c19
enhance(backend): Load settings via environment variables ( #14179 )
...
* feat(backend): Load settings via environment variables
If they're not loaded from the config file.
* chore(docker): Add hints for environment variables
It supports users to know about them.
* docs(changelog): Add the description about this change
Users can notice what's changed by this PR.
* style(backend): Fix code syntax
To pass the linter.
2024-07-14 21:33:22 +09:00
Kisaragi
f0b9d70720
ci: cache eslint ( #14204 )
...
* ci: cache eslint
* dummy commit to trigger
* fix syntax error
2024-07-14 21:30:57 +09:00
Sayamame-beans
4b9c60ad21
fix(backend): ユーザーのリアクション一覧でミュート/ブロックが機能していなかった問題を修正 ( #14100 )
...
* fix: mute/block was not considered on users/reactions
* docs(changelog): update changelog
* chore: Apply suggestion from code review
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
---------
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-07-14 20:24:29 +09:00
syuilo
c5607d8633
enhance(backend): configにsignToActivityPubGetの指定が無い場合trueと見做すように
...
trueの方が望ましいため
2024-07-14 20:14:43 +09:00
Kisaragi
31e82fc29a
test(backend): kill many any
in backend test (partial) ( #14054 )
...
* kill any on utils:api
* kill any on timeline test
* use optional chain to kill TS2532 on timeline test
変更前: 該当ノートが見つからなければundefinedに対するプロパティアクセスとしてテストがクラッシュ
変更後: 該当ノートが見つからなければoptional chainがundefinedとして評価されるが、strictEqualの右辺がnon-nullableなためアサーションに失敗しテストがクラッシュ
* kill `as any` for ApMfmService
* kill argument any for api-visibility
* kill argument any across a few tests
* do not return value that has yielded from `await`-ing `Promise<void>`
* force cast
* runtime non-null assertion to coerce
* rewrite `assert.notEqual(expr, null)` to `assert.ok(expr)`
こうすることでassertion type扱いになり、non-nullableになる
* change return type of `failedApiCall` to `void`
戻り値がどこにも使われていない
* split bindings for exports.ts
型が合わなくて文句を言ってくるので適切に分割
* runtime non-null assertion
* runtime non-null assertion
* 何故かうまく行かないので、とりあえずXORしてみる
* Revert "何故かうまく行かないので、とりあえずXORしてみる"
This reverts commit 48cf32c930
.
* castAsErrorで安全ではないキャストを隠蔽
* 型アサーションの追加
* 型アサーションの追加
* 型アサーションの追加
* voidで値を返さない
* castAsError
* assert.ok => kill nullability
* もはや明示的な型の指定は必要ない
* castAsError
* castAsError
* 型アサーションの追加
* nullableを一旦抑止
* 変数を分離して型エラーを排除
* 不要なプロパティを削除する処理を隠蔽してanyを排除
* Repository type
* simple type
* assert.ok => kill nullability
* revert `as any` drop
reverts fe95c05b3f
partialy
* test: fix invalid assertion
partially revert b99b7b5392
* test: 52d8a54fc7
により型が合うようになった部分の`as any`を除去
* format
* test: apply https://github.com/misskey-dev/misskey/pull/14054#discussion_r1672369526 (part 1)
* test: use non-null assertion to suppress too many error
* Update packages/backend/test/utils.ts
Co-authored-by: anatawa12 <anatawa12@icloud.com>
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:33:16 +09:00
Sayamame-beans
7afa593d11
Feat: ユーザーのアイコン/バナーの変更可否をロールで設定可能に ( #14078 )
...
* feat: implement role policy "canUpdateBioMedia"
* docs(changelog): update changelog
* docs(changelog): update changelog
* chore: regenerate misskey-js type definitions
* chore: Apply suggestion from code review
Co-authored-by: anatawa12 <anatawa12@icloud.com>
* chore: fix unnecessarily strict inequality check
* chore: policies should be gotten only once
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:31:05 +09:00
かっこかり
58c596cacf
fix(backend): 一般ユーザーから見たユーザーのバッジの一覧に公開されていないものが含まれることがある問題を修正 ( #14195 )
...
* enhance(backend): 公開バッジのみをpackするように (MisskeyIO#652)
(cherry picked from commit b8a90659f35fef49d1d00fb2f9b152226c97643c)
* Update Changelog
* fix
* Update UserEntityService.ts
---------
Co-authored-by: CyberRex <26585194+CyberRex0@users.noreply.github.com>
2024-07-14 09:26:25 +09:00
Gianni Ceccarelli
c83c831c53
parse notRespondingSince
from redis instance cache ( #14079 )
...
if we don't do this, we'll get a string, and `DeliverProcessorService`
will error out `i.notRespondingSince.getTime is not a function`
2024-07-13 20:26:48 +09:00
syuilo
91de35ecdf
fix(backend): デフォルトテーマに無効なテーマコードを入力するとUIが使用できなくなる問題を修正
...
Fix #13955
2024-07-13 10:30:28 +09:00
おさむのひと
6cd15275bb
fix: サジェストされるユーザのリストアップ方法を見直し ( #14180 )
...
* fix: サジェストされるユーザのリストアップ方法を見直し
* fix comment
* fix CHANGELOG.md
* ノートの無いユーザ(updatedAtが無いユーザ)は含めないらしい
* fix test
2024-07-12 21:14:09 +09:00
かっこかり
600f16d625
fix(backend): api-docをScalarに変更 ( #14152 )
...
* fix(backend): api-docをScalarに変更
* Update Changelog
2024-07-09 21:57:19 +09:00
かっこかり
9ef6c4716c
fix(backend): 名前を空白文字列だけにできる問題を修正 ( #14119 )
...
* fix(backend): 名前を空白文字列だけにできる問題を修正
* Update Changelog
* fix test
* Unicodeを含める
* fix
* ユーザー名がUnicode制御文字とスペースのみで構成される場合はnullに
* Revert "ユーザー名がUnicode制御文字とスペースのみで構成される場合はnullに"
This reverts commit 6c752a69c0
.
* [ci skip] changelog typo
2024-07-07 14:19:00 +09:00
かっこかり
984d582796
fix(frontend): サーバーサイドbootでエラー画面の描画時にDOMが初期化できていないことがあるのを修正 ( #14139 )
2024-07-07 09:56:09 +09:00
おさむのひと
fe852920c3
fix(backend): parse5関係の型のimport方法を変更 ( #14146 )
2024-07-07 09:55:06 +09:00
syuilo
8e1d94c6c7
fix import path
2024-07-06 21:46:19 +09:00
anatawa12
5d03efa1bb
dev: fix pnpm dev is broken ( #14123 )
...
* dev: pnpm dev is broken
* dev: fix crash pnpm dev because of unhandled promise
2024-07-03 06:40:31 +09:00
woxtu
de1fe7cc5a
Use built-in API ( #14095 )
2024-07-02 14:47:07 +09:00
Kisaragi
eafae79869
test(backend): goodbye, Lenna ( #14111 )
2024-07-02 14:29:44 +09:00
syuilo
427648c4b8
update deps ( #14057 )
...
* wip
* locales/index.jsのymlファイル取得ロジックを調節
* regenerate pnpm-lock.yaml
* fix(backend): typecheck fails
* chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend
* chore: migrate ESLint configs to flat config (#14094 )
* chore: migrate ESLint configs to flat config
* fix: update paths
* fix: frontend lint fails
* refactor(misskey-js): lint build.js
* update deps
---------
Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
Co-authored-by: zyoshoka <root@zyoshoka.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-07-02 11:38:34 +09:00
tamaina
7353c7397f
merge fix
2024-06-29 09:24:14 +09:00
tamaina
7306a6c7c7
Merge branch 'develop' into ed25519
2024-06-29 09:24:02 +09:00
ぬるきゃっと
a6edd50a5d
chore(docker-compose): 推奨の名前にする ( #14096 )
...
* chore(docker-compose): 推奨の名前にする
5c18e329d5/spec.md (compose-file)
* yaml to yml
* fix
* fix
2024-06-28 11:16:12 +09:00
zyoshoka
961cb6c5ee
fix(backend): fix creating reactions bugs ( #13901 )
...
* fix(backend): add fallback for empty string when creating reaction
* fix(backend): prohibit reactions to Renote
* test(backend): add some tests for `notes/reactions/create` endpoint
* Update CHANGELOG.md
* lint
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-06-22 19:49:38 +09:00
woxtu
00b213373b
Remove @types/node-fetch ( #13948 )
2024-06-22 19:46:29 +09:00
Kisaragi
9368eb3038
refactor: say bye to the weird groupBy friends ( #13975 )
...
* refactor(frontend): say bye to the weird groupBy friends
* refactor(backend): say bye to the weird groupBy friends
2024-06-22 19:40:55 +09:00