syuilo
8cab16c824
fix(server): /api/signin always returns 429 when request header x-forwarded-for contains client port
...
Fix #9408
2023-01-24 17:51:09 +09:00
tamaina
6589e8a390
Fix #9710 ? ( #9712 )
...
* wip
* update pnpm-lock
* use our own DevNull
* fix
* deliverJobConcurrencyをmacSocketsで割ってソケット数にする
2023-01-24 15:54:14 +09:00
MeiMei
10e526ba56
fix: Escape SQL LIKE ( #9493 )
...
* SQL LIKE escape
* CHANGELOG
2023-01-08 20:32:17 +09:00
tamaina
5ec89ea0c3
カスタム絵文字にプロキシを復活 ( #9481 )
...
* wip
* Revert "Update ClientServerService.ts"
This reverts commit 88c64ece78
.
* Revert "disable custom emoji proxy temporary"
This reverts commit 495d513efd
.
* ✌️
2023-01-06 22:34:50 +09:00
tamaina
8b46edeccf
enhance: Proxy custom emojis to reduce image size and accelerate the frontend ( #9431 )
...
* fix(server): /emoji to accept `@.` host expression
* fix(client): use MkEmoji for custom emoji in MkEmojiPicker
* change convertToWebp
* nanka iroiro
* remove
* fix
* nearLosslessは労多くして益少なしなのでやめる
* do not cleanup tmp for development
* update sharp.js to 0.31.3
* mixed: true
* fix MkAutocomplete of 912791b3ab
* clean up
* https://github.com/misskey-dev/misskey/pull/9431#discussion_r1059215943
2022-12-30 12:00:50 +09:00
syuilo
f44a7e2536
refactor
2022-12-25 14:22:23 +09:00
xtexChooser
020cd5cc02
fix: typo ( #9300 )
2022-12-10 08:55:07 +09:00
tamaina
e81c2962a0
enhance: AVIF support ( #9281 )
...
* chore: Make image/avif browsersafe
* server side
* change FileInfoService
* ✌️
* avifはMastodonでは絶望的 see https://github.com/misskey-dev/misskey/issues/9283
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-08 14:49:49 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +09:00
syuilo
3a7182bfb5
Fastify ( #9106 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* Update SignupApiService.ts
* wip
* wip
* Update ClientServerService.ts
* wip
* wip
* wip
* Update WellKnownServerService.ts
* wip
* wip
* update des
* wip
* Update ApiServerService.ts
* wip
* update deps
* Update WellKnownServerService.ts
* wip
* update deps
* Update ApiCallService.ts
* Update ApiCallService.ts
* Update ApiServerService.ts
2022-12-03 19:42:05 +09:00
syuilo
d5aee2ea58
improve performance
2022-11-17 09:31:07 +09:00
syuilo
dabe5bf7e9
fix type errors
2022-09-24 14:45:44 +09:00
syuilo
b1abf47ce7
fix type
2022-09-24 07:17:45 +09:00
syuilo
567c550120
lint
2022-09-20 05:32:18 +09:00
syuilo
3010dc207a
refactor(backend): refactor ChartManagementService
2022-09-20 05:19:37 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
Acid Chicken (硫酸鶏)
a3c2dbbfb5
fix(server): make sure `getFileInfo` doesn't fail if `detectSensitivity` ever fails ( #9020 )
2022-07-19 17:09:21 +09:00
syuilo
522ddba3d7
enhance(server): tweak identicon generation
2022-07-09 13:22:35 +09:00
syuilo
e560601815
feat: auto nsfw detection ( #8840 )
...
* feat: auto nsfw detection
* ✌️
* Update ja-JP.yml
* Update ja-JP.yml
* ポルノ判定のしきい値を高めに
* エラーハンドリングちゃんとした
* Update ja-JP.yml
* 感度設定を強化
* refactor
* feat: add video support for auto nsfw detection
* rename: image -> media
* .js
* fix: add missing error handling
* fix: use valid pathname instead of using filename due to invalid usage
* perf(nsfw-detection): decode frames
* disable detection of video for some reasons
* perf(nsfw-detection): streamify detection process for video
* disable disallowUploadWhenPredictedAsPorn option
* fix(nsfw-detection): improve reliability
* fix(nsfw-detection): use Math.ceil instead of Math.round
* perf(nsfw-detection): delete tmp frames after used
* fix(nsfw-detection): FSWatcher does not emit ready event
* perf(nsfw-detection): skip black frames
* refactor: strip exists check
* Update package.json
* めっちゃ変えた
* lint
* Update COPYING
* オプションで動画解析できるように
* Update yarn.lock
* Update CHANGELOG.md
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
Johann150
bc3ae901cc
refactor: remove duplicate code ( #8895 )
2022-06-27 21:48:10 +09:00
Johann150
a5241379af
fix lints
2022-06-24 12:44:22 +02:00
Johann150
ecdaeea94f
enhance: word mute checks CW ( #8873 )
2022-06-23 20:26:47 +09:00
tamaina
b70473ed60
feat: Add Badge Image to Push Notification ( #8012 )
...
* fix
* nanka iroiro
* wip
* wip
* fix lint
* fix loginId
* fix
* refactor
* refactor
* remove follow action
* clean up
* Revert "remove follow action"
This reverts commit defbb41648
.
* Revert "clean up"
This reverts commit f94919cb9c
.
* remove fetch specification
* renoteの条件追加
* apiFetch => cli
* bypass fetch?
* fix
* refactor: use path alias
* temp: add submodule
* remove submodule
* enhane: unison-reloadに指定したパスに移動できるように
* null
* null
* feat: ログインするアカウントのIDをクエリ文字列で指定する機能
* null
* await?
* rename
* rename
* Update read.ts
* merge
* get-note-summary
* fix
* swパッケージに
* add missing packages
* fix getNoteSummary
* add webpack-cli
* ✌️
* remove plugins
* sw-inject分離したがテストしてない
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix
* ✌️
* clean up config
* typesを戻した
* backend/src/web/index.ts
* notification-badges
* add scripts
* change create-notification.ts
* Update packages/client/src/components/notification.vue
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* disconnect
* oops
* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた
* truncate notification
* Update packages/client/src/ui/_common_/common.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* clean up
* clean up
* refactor
* キャッシュ対策
* Truncate push notification message
* fix
* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正
* components/drive-file-thumbnail.vue
* components/drive-select-dialog.vue
* components/drive-window.vue
* merge
* fix
* Service Workerのビルドにesbuildを使うようにする
* return createEmptyNotification()
* fix
* fix
* i18n.ts
* update
* ✌️
* remove ts-loader
* fix
* fix
* enhance: Service Workerを常に登録するように
* pollEnded
* pollEnded
* URLをsw.jsに戻す
* clean up
* fix lint
* changelog
* alpha-test
* also with twemoji
* add isMimeImage function
* catch
* Colour => Color
* char2file => char2filePath
* Update autocomplete.vue
* remove clone?
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-20 00:33:46 +09:00
Johann150
3a42fe50c6
fix: tmpdir cleanup removes contained files ( #8826 )
2022-06-14 23:00:10 +09:00
MeiMei
c05723ca6a
Fix IP address rate limit ( #8758 )
...
* Fix IP address rate limit
* CHANGELOG
* Tune getIpHash
2022-05-31 17:44:22 +09:00
Johann150
e27c6abaea
refactor: temporary files ( #8713 )
...
* simplify temporary files for thumbnails
Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.
* refactor: deduplicate code for temporary files/directories
To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.
Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.
* fix: clean up identicon temp files
The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.
* fix: ensure cleanup is called when download fails
* fix: ensure cleanup is called in error conditions
This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.
* fix: use correct type instead of `any`
2022-05-25 16:50:22 +09:00
iwata
22bb1a1793
test: e2eテストがCIで失敗していた問題をいくつか修正 ( #8642 )
...
* test: indexeddbをテスト毎に初期化するように
* fix: metaが無いときにfetch-metaを同時に呼ぶと死ぬことがある問題を修正
* test: ログイン後のクライアント側処理を待たずにリロードされてログイン出来ないことがあったのを修正
2022-05-14 15:16:45 +09:00
Johann150
89c5fd0931
perf: fix caching ( #8660 )
...
The cache implementation did previously not store the results of the
computation and was thus not a cache at all. This can cause a significant
number of database queries each time someone with a large number of
followers does something that causes an activity to be federated.
2022-05-14 13:28:27 +09:00
tamaina
12a3c6872f
enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション ( #8216 )
...
* wip
* Update packages/client/src/os.ts
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備
* メニュー型定義を分離 (TypeScriptの型支援が効かないので)
* disabled
* make keepOriginal to follow setting value
* ✌️
* fix
* fix
* ✌️
* WEBP
* aaa
* ✌️
* webp
* lazy load browser-image-resizer
* rename
* rename 2
* Fix
* clean up
* add comment
* clean up
* jpeg, pngにもどす
* fix
* fix name
* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
* 動画サムネイルはjpegに
* エラーハンドリング
* ✌️
* v2.2.1-misskey-beta.2
* browser-image-resizer#v2.2.1-misskey.1
* ✌️
* fix alert
* update browser-image-resizer to v2.2.1-misskey.2
* lockfile
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
tamaina
065324d30b
Fix #8535 Excessive stack ... 'SchemaTypeDef<?>' ( #8547 )
...
* Fix #8535 Excessive stack ... 'SchemaTypeDef<?>'
Co-authored-by: acid-chicken <root@acid-chicken.com>
* add comment
* clean up
Co-authored-by: acid-chicken <root@acid-chicken.com>
2022-04-27 10:49:00 +09:00
tamaina
1b2ba09be0
fix: Fix schema key type error #8517 ( #8538 )
2022-04-24 11:43:15 +09:00
syuilo
31e5c5f69a
refactor
...
Resolve #8467
2022-04-17 20:58:37 +09:00
syuilo
44a01c4b5a
refactoe
2022-04-16 17:19:30 +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
syuilo
8e5f2690f2
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
4e139d2aae
fix query
2022-03-27 16:16:13 +09:00
syuilo
17589843da
perf(server): use cached user info in getUserFromApId
2022-03-26 19:09:57 +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
9320c1699a
perf(server): disable some antenna features to improve performance
2022-03-22 00:07:43 +09:00
syuilo
eb9e6d230f
perf(server): reduce db query
2022-03-21 01:22:00 +09:00
dogcraft
db900c8324
Fix bug : "IPCIDR is not a constructor" ( #8400 )
2022-03-12 19:23:57 +09:00
syuilo
45c5f0c60a
update deps
2022-03-07 23:51:34 +09:00
syuilo
39d9c613ac
fix
2022-02-27 14:10:31 +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
0a882471f3
fix: better language settings
...
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
tamaina
fd8f8162e1
SchemaTypeの型計算量を削減 ( #8332 )
...
* schema typeの型計算量を削減
* reduce some type error
* wip
* fix
* clean up
* more shrink
2022-02-19 23:21:28 +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
Johann150
afb6304979
fix: regular expressions in word mutes ( #8254 )
...
* fix: handle regex exceptions for word mutes
* add i18n strings
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
* stricter input validation in backend
* add migration for hard mutes
* fix
* use correct regex library in migration
* use query builder to avoid SQL injection
Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00