Commit graph

718 commits

Author SHA1 Message Date
syuilo
c5c40a73b7 feat: conditional role
Resolve #9539
2023-01-13 11:03:54 +09:00
syuilo
74910f8d70 Revert "perf: build backend with swc (#9463)"
This reverts commit 4579d02296.
2023-01-13 09:32:56 +09:00
syuilo
e00003edff refactor 2023-01-13 08:56:06 +09:00
tamaina
b2117ba3a1 リモートユーザーはcanPublicNoteがfalseでもhomeにしないように
https://github.com/misskey-dev/misskey/issues/9534#issuecomment-1380645073
2023-01-12 16:54:11 +00:00
tamaina
ba349fc62f Fix #9534 2023-01-12 16:33:00 +00:00
파링
4579d02296
perf: build backend with swc (#9463)
* feat: build backend with swc

* fix: swc build target

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-12 21:05:45 +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
c5cfbd99d0 perf(server): improve nodeinfo performance
Resolve #9505
2023-01-10 20:08:55 +09:00
syuilo
33b22a323c perf(server): improve stats api performance 2023-01-10 20:06:25 +09:00
syuilo
789d61d175 enhance(server): アンケート選択肢の文字数制限を緩和
Resolve #9511
2023-01-10 16:41:38 +09:00
syuilo
3bc0cdbfb7 typo 2023-01-09 17:22:21 +09:00
syuilo
6a18360269 update mfm-js 2023-01-09 16:07:14 +09:00
syuilo
462acc9eee カスタム絵文字一覧情報をmetaから分離 2023-01-09 15:50:25 +09:00
syuilo
e4144a17a4 fix(server): アンテナタイムライン(ストリーミング)が、フォローしていないユーザーの鍵投稿も拾ってしまう問題を修正
Fix #9025
2023-01-09 14:12:42 +09:00
syuilo
3cfd017538 fix(server): 特定のPNG画像のアップロードに失敗する問題を修正
Co-Authored-By: haru <64310155+usbharu@users.noreply.github.com>
2023-01-09 14:03:22 +09:00
syuilo
962373cf06 fix(server): 非公開のクリップのURLでOGPレンダリングされる問題を修正
Fix #9129
2023-01-09 13:26:42 +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
tamaina
b442c38f41
enhance: Push Notification badges to Tabler Icons (#9406)
* enhance: Push Notification badges to Tabler Icons

* add receiveFollowRequest icon
2023-01-08 16:47:57 +09:00
syuilo
2e2ed1385f delete pollVote notification 2023-01-08 10:54:45 +09:00
syuilo
54e3fccd87 enhance(server): refactor and tweak emoji proxy 2023-01-07 14:19:25 +09:00
tamaina
c336201084 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-06 14:01:02 +00:00
tamaina
0f3399753d chore: remove Search from the name of OpenSearch 2023-01-06 14:00:54 +00: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
syuilo
3e7d8b5f17 update deps 2023-01-06 19:59:31 +09:00
syuilo
88c64ece78
Update ClientServerService.ts 2023-01-06 14:07:34 +09:00
syuilo
495d513efd disable custom emoji proxy temporary
https://github.com/misskey-dev/misskey/pull/9431#issuecomment-1373006446
2023-01-06 13:47:18 +09:00
syuilo
6b2b403d94 Update flash.pug 2023-01-06 10:34:43 +09:00
syuilo
e2ca90b0a1 enhance(server): SSR for flash 2023-01-06 10:20:42 +09:00
CyberRex
bcc3380cfc
fix(backend): Set correct access control of admin/drive/files (#9472) 2023-01-06 08:05:02 +09:00
syuilo
6f9aa94e3a fix instance sort 2023-01-05 16:38:12 +09:00
syuilo
ebe340d510
MisskeyPlay (#9467)
* wip

* wip

* wip

* wip

* wip

* Update ui.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* 🎨

* wip

* ✌️
2023-01-05 13:59:48 +09:00
tamaina
fa04b7a3c3 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-04 11:09:15 +00:00
tamaina
e02183bb1b chore: remove unused function (truncateUnreadAntennaNote) 2023-01-04 11:09:05 +00:00
syuilo
d306db4ff8 fix(server): pages/likeのエラーIDが重複しているのを修正 2023-01-04 17:41:39 +09:00
syuilo
1ed078d7f9 fix(server): fix pages/update 2023-01-04 17:41:09 +09:00
syuilo
e44f83fb9c update AiScript to 0.12.0 2023-01-03 15:51:49 +09:00
syuilo
db1ca28de3 clean up 2023-01-03 14:27:18 +09:00
syuilo
4cc71d2443 ✌️ 2023-01-03 09:32:36 +09:00
syuilo
4d0859ce7f drop latestStatus of instance 2023-01-03 09:03:04 +09:00
syuilo
c8bd139713 drop lastCommunicatedAt of instance 2023-01-03 09:00:42 +09:00
syuilo
7093573f0c drop latestRequestSentAt of instance 2023-01-03 08:48:00 +09:00
syuilo
771348e887 PV集計はローカルユーザーのみに 2023-01-03 08:29:25 +09:00
syuilo
a9f4217214 update deps 2023-01-02 20:02:51 +09:00
syuilo
969e9df889 feat: add per user pv chart 2023-01-01 17:45:49 +09:00
syuilo
4c4af2ae84 clean up 2023-01-01 17:38:02 +09:00
syuilo
e414737179 feat: make possible to export favorited notes
#9331
2023-01-01 16:53:10 +09:00
syuilo
ee6e022b2a enhance(server): productionじゃない限りレートリミットを無効に 2023-01-01 11:58:16 +09:00
syuilo
6f51e7300e ✌️ 2023-01-01 09:35:14 +09:00
syuilo
6140865252 tweak max-age 2022-12-31 09:14:53 +09:00
syuilo
51d8d2abbf cache emoji response 2022-12-31 09:12:42 +09:00
syuilo
6f648fc058 clean up 2022-12-31 08:51:35 +09:00
syuilo
7157fd663c fix(server): driveCapacityOverrideMbが公開情報になっているのを修正 2022-12-31 08:46:27 +09:00
syuilo
b2d6561bc6 enhance(server): clean emoji response 2022-12-31 08:43:13 +09:00
tamaina
1a408db3b1 fix: use || for emoji url fallback instead of ?? 2022-12-30 13:37:58 +00: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
tamaina
329ef760bf fix(server): /emoji to accept @. host expression 2022-12-29 14:54:31 +00:00
syuilo
912791b3ab
refactor: 絵文字URLを引き回すのをやめる (#9423) 2022-12-29 10:14:44 +09:00
Soni L
123e490311
Support OpenSearch (closes #7058) (#9427)
Co-authored-by: Chaos <chaoticryptidz@owo.monster>
2022-12-29 07:53:59 +09:00
syuilo
25c8d7782d update deps 2022-12-28 18:28:01 +09:00
syuilo
af9e742e71 fix(server): bodyLimit for each endpoints 2022-12-28 09:07:41 +09:00
syuilo
9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
atsuchan
50e3839b60
Fix: Block delivery (#9397)
* Fix: Block delivery

* Fix: Block delivery -
2022-12-26 17:05:44 +09:00
syuilo
d106fb39ab feat: introduce fluent emoji 2022-12-26 16:04:56 +09:00
syuilo
dd4c411d22 ダッシュボードにモデレーター一覧を表示 2022-12-26 09:22:10 +09:00
syuilo
c801434d11 fix(server): アンテナの作成数上限を追加 2022-12-26 08:50:17 +09:00
syuilo
4b4cfa4270 getJsonで256kbに制限 2022-12-25 15:02:47 +09:00
syuilo
225dbec8b9 64kb 2022-12-25 14:56:59 +09:00
syuilo
ab1a433400 fix 2022-12-25 14:53:50 +09:00
syuilo
b518c35e00 fix(server): Ap inboxの最大ペイロードサイズを256kbに制限 2022-12-25 14:52:42 +09:00
syuilo
94b1c99c86 fix(server): trim long text of note from ap
Fix #9407
2022-12-25 14:28:51 +09:00
syuilo
f44a7e2536 refactor 2022-12-25 14:22:23 +09:00
syuilo
3e81913b6a feat: introduce retention-rate aggregation 2022-12-25 09:09:46 +09:00
syuilo
b11f8b0aae chore: fix reporisotry name 2022-12-25 08:30:13 +09:00
syuilo
ef87a9db7b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-25 08:27:09 +09:00
syuilo
b648c4bc4d chore: fix reporisotry name 2022-12-25 08:27:06 +09:00
tamaina
a47bf48339 enhance: convert video thumbnail to webp 2022-12-24 16:03:05 +00:00
tamaina
2512a4d32a chore: Delete comment that is not true 2022-12-24 15:15:48 +00:00
syuilo
738593d38c chore: ✌️ 2022-12-24 14:39:17 +09:00
syuilo
4ede367c1e GET非対応APIにGETでリクエストすると接続が開きっぱなしになる
Fix #9404
2022-12-24 13:55:50 +09:00
syuilo
024664e2fd fix dummy image path 2022-12-23 16:57:20 +09:00
syuilo
b0e3bc1f03 update deps 2022-12-23 08:58:02 +09:00
syuilo
145c15f0d9 fix(server): add missing vary header
Fix #9393
2022-12-23 08:50:58 +09:00
rinsuki
aee09f63e1
fix: WebFinger returns 500 (#9390) 2022-12-22 17:46:46 +09:00
syuilo
a9a245b461 enhance(server): delete outdated notes of antenna regularly to improve db performance 2022-12-22 08:32:01 +09:00
syuilo
ad4d8b07d3 enhance(server): delete outdated hard-mutes regularly to improve db performance 2022-12-22 08:29:18 +09:00
syuilo
1fd9ba8dcb enhance(server): delete outdated notifications regularly to improve db performance 2022-12-22 08:17:13 +09:00
CyberRex
fe158339da
improve(backend): Skip note score incrementing when bots reacted (#9367)
fix

Improved code quality

fix

small fix
2022-12-21 10:23:03 +09:00
tamaina
2fe86fd869
enhance: Vite HMR while yarn dev, and more build tuning (#9361)
* enhance: Vite HMR while yarn dev, and more build tuning

* use localhost

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-20 13:05:36 +09:00
syuilo
917ef465a5
Use tabler icons (#9354)
* wip

* wip

* wip

* Update style.scss

* wip

* wip

* wip

* wip
2022-12-19 19:01:30 +09:00
Kagami Sascha Rosylight
c3cb218975
fix(backend): request.body may be undefined (#9356) 2022-12-19 15:57:36 +09:00
syuilo
52cbe07a78 Revert "wip"
This reverts commit f83bd31fd5.
2022-12-19 13:54:35 +09:00
syuilo
f83bd31fd5 wip 2022-12-19 13:53:41 +09:00
syuilo
9e9142a110 update depsd 2022-12-19 13:20:47 +09:00
Effy Elden
5e448deb03
Fix peers API returning suspended instances (#9348)
* Fix peers API returning suspended instances

* Fix missing comma
2022-12-19 09:00:13 +09:00
tamaina
ac0a59835e
wip (#9349) 2022-12-19 08:59:17 +09:00
tamaina
867e31c9ff
enhance: Push notification of Antenna note (#9338)
* wip

* wip

* wip

* fix

* fix

* 🎨
2022-12-18 19:50:02 +09:00
Kagami Sascha Rosylight
af9034355c
Remove redundant ts-node things (#9335) 2022-12-18 07:51:31 +09:00
tamaina
4ecc42744c
enhance: Implement the toggle to (or not to) close push notifications when notifications or messages are read (#9219)
* create file

* wip

* fix

* wip

* tabun dekita

* ✌️

* implement subscribe push notification button to tutorial

* check-exists→show-registration

* add column sendReadMessage

* fix migration file

* sw api

* change PushNotificationService

* wip

* ✌️

* fix tutorial footer flex
2022-12-18 01:59:59 +09:00