Commit Graph

1844 Commits

Author SHA1 Message Date
syuilo 1cc931c74d 🎨 2022-12-31 20:40:47 +09:00
syuilo b64daa5a58 🎨 2022-12-31 20:36:49 +09:00
syuilo 3e508d7540 🎨 2022-12-31 20:14:24 +09:00
syuilo c05ad8990a 🎨 2022-12-31 19:46:16 +09:00
tamaina aba06b4ef9 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-31 06:18:32 +00:00
tamaina 57037928d5 Fix #9438 2022-12-31 06:18:23 +00:00
syuilo cb237a0428 🎨 2022-12-31 13:18:27 +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
syuilo e1846e2e6a 🎨 2022-12-31 08:17:00 +09:00
tamaina 1a408db3b1 fix: use || for emoji url fallback instead of ?? 2022-12-30 13:37:58 +00:00
tamaina 8090850ed6 import sanitizeHtml from 'sanitize-html'; 2022-12-30 10:51:23 +00:00
syuilo 2d89741afb ReactionsViewerが消えることがある問題を修正 2022-12-30 19:01:01 +09:00
syuilo c631e14e53 🎨 2022-12-30 18:33:26 +09:00
syuilo 3968597a7b improve heatmap 2022-12-30 18:26:36 +09:00
syuilo 78a8e918a0 🎨 2022-12-30 17:34:42 +09:00
syuilo c72ee0a6c4 remove console.log 2022-12-30 15:41:41 +09:00
syuilo d147181a82 🎨 2022-12-30 15:40:29 +09:00
syuilo 43fafc8d57 enhance(client): tweak url preview 2022-12-30 14:24:00 +09:00
syuilo 4767804bcc 🎨 2022-12-30 14:10:00 +09:00
syuilo 2244cf2995 refactor 2022-12-30 13:56:22 +09:00
syuilo 93d3cc310d 🎨 2022-12-30 13:52:40 +09:00
syuilo 632c7d2ac6 refactor 2022-12-30 13:37:14 +09:00
syuilo 254fede524 🎨 2022-12-30 13:29:30 +09:00
syuilo e023a9b3d8 🎨 2022-12-30 13:27:37 +09:00
tamaina 87a0ed8b46
fix(client): add sanitize-html to MkAutocomplete (#9433)
* 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

* edit mkautocomplete.vue use sanitize-html

* fix package.json
2022-12-30 13:02:18 +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 f227091826 fix(client): fix position calculation of nested context menu 2022-12-30 11:32:45 +09:00
syuilo dac4f68382 fix of 912791b3ab 2022-12-30 11:14:11 +09:00
syuilo ec64a99914 fix of 912791b3ab 2022-12-30 11:10:38 +09:00
syuilo f528d174cc fix of 912791b3ab 2022-12-30 11:06:38 +09:00
syuilo 198123ff5f Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-30 08:41:26 +09:00
syuilo dcfc526453 fix 912791b3ab 2022-12-30 08:41:22 +09:00
tamaina e35e788ebb fix(client): use MkEmoji for custom emoji in MkEmojiPicker 2022-12-29 15:15:30 +00:00
tamaina 329ef760bf fix(server): /emoji to accept `@.` host expression 2022-12-29 14:54:31 +00:00
syuilo 0d571f5480 🎨 2022-12-29 17:26:10 +09:00
syuilo 352e16be2e 🎨 2022-12-29 17:24:46 +09:00
syuilo e6112506df 通知設定が開けないのを修正 2022-12-29 17:20:24 +09:00
syuilo 666c9be447 🎨 2022-12-29 17:16:35 +09:00
syuilo 912791b3ab
refactor: 絵文字URLを引き回すのをやめる (#9423) 2022-12-29 10:14:44 +09:00
syuilo 510e6ec7e9 🎨 2022-12-29 09:58:11 +09:00
syuilo d19dab8a66 fix style 2022-12-29 09:36:41 +09:00
syuilo 845c202109 fix(client): オートコンプリートが出ない問題を修正 2022-12-29 09:31:49 +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 6e6d9f3029 🎨 2022-12-28 18:22:46 +09:00
syuilo 229d185354 🎨 2022-12-28 18:02:11 +09:00
syuilo dc68c39cb1 tweak classic ui 2022-12-28 14:44:53 +09:00
syuilo ef6f361fb9 Update MkRetentionHeatmap.vue 2022-12-28 14:25:51 +09:00
syuilo 8b73f215eb retention chart 2022-12-28 14:13:47 +09:00
syuilo 2547c8c117 refactor 2022-12-28 13:42:30 +09:00
syuilo 4c24bd3933 tweak ui 2022-12-28 13:34:47 +09:00
syuilo 0be42fc3a9 refactor 2022-12-28 13:29:42 +09:00
syuilo a970309b8b tweak ui 2022-12-28 13:26:30 +09:00
syuilo 7d8d5a52a5 🎨 2022-12-28 13:19:56 +09:00
syuilo f6b1f91cfa fix(client): チャートのツールチップが画面に残ることがあるのを修正
Fix #9290
2022-12-28 13:15:31 +09:00
syuilo 5350548739 🎨 2022-12-28 11:32:10 +09:00
syuilo 13677ff2b0 remove v-size directive 2022-12-28 09:32:22 +09:00
syuilo 9b595b93f8 update es version 2022-12-28 09:17:33 +09:00
syuilo e584b7f1cf 🎨 2022-12-28 09:10:33 +09:00
syuilo af9e742e71 fix(server): bodyLimit for each endpoints 2022-12-28 09:07:41 +09:00
syuilo 70908ef337
typo 2022-12-27 18:35:56 +09:00
syuilo 5ade7822ac ✌️ 2022-12-27 18:31:05 +09:00
syuilo 4f15b6f7c2 Revert "perf?(client): remove needless scoped annotation for style"
This reverts commit ada04c1932.
2022-12-27 18:29:39 +09:00
syuilo ada04c1932 perf?(client): remove needless scoped annotation for style 2022-12-27 18:01:06 +09:00
syuilo 10a659eb99 clean up 2022-12-27 17:28:59 +09:00
tamaina e3f2845cf8
enhance(client): Sync widgets (#8512)
* feature: sync widgets among devices

* fix

* nanka iroiro
* classic.widgets.vueの機能をuniversal.widgets.vueに統合
* 左右のウィジェット編集状態を同期するように
* 左右やカラム間でウィジェットを行き来できるように
* MkWidgetsをCSS Module化

* set min-height: 100px;

* fix deck widget

* Update packages/client/src/ui/deck/widgets-column.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* merge

* Update classic.vue

* Delete classic.widgets.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-27 14:55:11 +09:00
syuilo 9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
syuilo db6fff6f26 wip: retention for dashboard 2022-12-27 14:31:24 +09:00
syuilo 6caf7d7f20 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-27 14:25:23 +09:00
syuilo 88dca1400e 🎨 2022-12-27 14:25:20 +09:00
Nya Candy 574c57eda7
fix(client): userpage ui (#9179)
* fix(unverified): clip pages ui

* fix(unverified): user page width

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-27 14:19:43 +09:00
syuilo 6c674034fa 🎨 2022-12-27 14:16:45 +09:00
syuilo c213e28ad7 🎨 2022-12-27 12:43:21 +09:00
syuilo 2353b5f553 enhance(client): make heatmap available on about page 2022-12-27 12:30:34 +09:00
Sam Smucny 5ebcdb4f31
enhance(client): Add link to copy RSS feed in user profile menu (#9419)
* add link to RSS feed

* update changelog and locale file

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-27 12:14:42 +09:00
syuilo 3d9f58b188 🎨 2022-12-27 11:23:20 +09:00
syuilo 40a16a47de 🎨 2022-12-27 09:51:40 +09:00
syuilo 1aed1c587e enhance(client): heatmap for dashboard 2022-12-27 09:47:54 +09:00
syuilo b4e3d21d62 fix icon 2022-12-26 08:15:30 +00: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 be0d396106 🎨 2022-12-26 14:34:46 +09:00
syuilo e0d207a173 🎨 2022-12-26 13:40:20 +09:00
syuilo 0ed42e0ea9 🎨 2022-12-26 13:33:43 +09:00
syuilo 6083356a3e 🎨 2022-12-26 13:26:21 +09:00
syuilo 78ee06985e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-26 13:06:27 +09:00
syuilo cc23ee76e4 fix style 2022-12-26 13:06:25 +09:00
tamaina f0fe930aae
fix(client): prevent infinite resize loop (#9232)
* clientWidth?

* spacer?

* size directive?

* size directive

* use const
2022-12-26 12:55:10 +09:00
syuilo 6acc10b4ba feat(client): add user list widget 2022-12-26 10:29:47 +09:00
syuilo 251c5b71bf oops 2022-12-26 09:22:39 +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 5e6851ce39 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-26 08:40:17 +09:00
syuilo c95da27019 enhance(client): use container queries if available to improve perf 2022-12-26 08:40:13 +09:00
tamaina 65be649454 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-25 18:23:08 +00:00
tamaina 03ee60f81b 🎨 fix #9414 2022-12-25 18:23:01 +00:00
tamaina af649b0480
encodeURIComponent for static image proxy filename (#9410) 2022-12-25 18:05:53 +09:00
tamaina d4accb48e1 Merge remote-tracking branch 'refs/remotes/origin/develop' into develop 2022-12-25 07:13:18 +00:00
tamaina cc9149f6b2 fix
https://github.com/misskey-dev/misskey/pull/9400#discussion_r1056909900
2022-12-25 07:12:44 +00:00
syuilo e6d43c9282 fix
https://github.com/misskey-dev/misskey/pull/9399#issuecomment-1364635903
2022-12-25 16:03:21 +09:00
Kagami Sascha Rosylight decde50c86
enhance(client): show Unicode emoji tooltip with its name (#9399)
* enhance(client): show Unicode emoji tooltip with its name

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-25 15:52:52 +09:00
Kagami Sascha Rosylight ef1224118c
refactor(client): fix TypeScript errors from MkPageHeader (#9400) 2022-12-25 15:48:51 +09:00
syuilo 477437282d 🎨 2022-12-25 15:43:46 +09:00
syuilo 47853484a5 🎨 2022-12-25 15:36:03 +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 c7f4fd1215 lint 2022-12-24 14:52:30 +09:00
syuilo deaea7ce9f 🎨 2022-12-24 14:45:27 +09: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 b3decf965f pages関連 2022-12-24 11:57:06 +09:00
syuilo fabd1f1791 🎨 2022-12-24 11:04:07 +09:00
syuilo 8539c7b20f 🎨 2022-12-24 08:46:30 +09:00
syuilo 2efd06f4ad enhance(client): show warning on screen when logged in as bot
Related #9386
2022-12-23 17:13:43 +09:00
syuilo f9ea2d4ee7 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-23 16:57:22 +09:00
syuilo 024664e2fd fix dummy image path 2022-12-23 16:57:20 +09:00
Kagami Sascha Rosylight 3cd66f19e2
fix(client): explicitly depend on `@vue/runtime-core` (#9401) 2022-12-23 16:50:50 +09:00
syuilo 6f8767c08a 🎨 2022-12-23 16:46:38 +09:00
syuilo 52361579ad 🎨 2022-12-23 16:46:08 +09:00
syuilo 052e667f03 enhance(client): enhance dashboard of control panel 2022-12-23 15:21:55 +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
Kagami Sascha Rosylight 1b6473ac27
refactor(client): explicit `showing` property for tooltips (#9368) 2022-12-22 16:59:11 +09:00
Kagami Sascha Rosylight 049373de3b
style(client): fix `vue/v-on-event-hyphenation` (#9389) 2022-12-22 16:51:48 +09:00
Kagami Sascha Rosylight f1fd1d2585
style: add missing trailing commas (#9387) 2022-12-22 16:01:59 +09:00
Kagami Sascha Rosylight 69087f2242
enhance(client): update emoji picker immediately on all input (#9385)
* enhance: update emoji picker immediately on all input

* refactor: remove reference to window.clipboardData

* refactor: done() receives a string

* refactor: typescript-favored `.char` access
2022-12-22 14:28:13 +09:00
syuilo d970534d92 enhance(client): improve ux of sound settings 2022-12-22 09:01:58 +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
syuilo 689411c19a refactor(client): refacotr MkMediaCaption 2022-12-21 16:00:00 +09:00
syuilo 20fd9db77f 🎨 2022-12-21 15:36:18 +09:00
syuilo d5be8ab999 🎨 2022-12-21 15:32:59 +09:00
syuilo f8f8f5bec5 🎨 2022-12-21 15:27:30 +09:00
syuilo f52bd8a8a3 MFMのアニメーションをデフォルトで無効に 2022-12-21 15:18:05 +09:00
syuilo 5cac199710 revert: use sortablejs-vue3 instead of vuedraggable for more stability 2022-12-21 15:10:21 +09:00
syuilo 60b3d73cc9 use sortablejs-vue3 instead of vuedraggable for more stability 2022-12-21 11:04:49 +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
syuilo c4603c7a96 🎨
Fix #9374
2022-12-21 08:39:28 +09:00
syuilo cae4acfbd3
多分 #9374 2022-12-20 20:41:12 +09:00
syuilo be1a2f142b 🎨 2022-12-20 16:05:48 +09:00
syuilo 6b7a3435a5 🎨 2022-12-20 15:24:31 +09:00
syuilo 001b660cbe 🎨 2022-12-20 15:15:34 +09:00
syuilo 9d7812f436 🎨 2022-12-20 15:11:20 +09:00
syuilo bc0e600e51 🎨 2022-12-20 13:21:40 +09:00
syuilo b1faaebc93 🎨 2022-12-20 13:20:19 +09:00
syuilo 6966049453 🎨 2022-12-20 13:12:32 +09:00
syuilo 39bfb456cc 🎨 2022-12-20 13:11:44 +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 b4b9d5d552 🎨 2022-12-20 11:06:39 +09:00
syuilo 83c84efb34 🎨 2022-12-20 11:00:05 +09:00
syuilo f90617ab07 🎨 2022-12-20 10:52:39 +09:00
syuilo 8663ce3b96 🎨 2022-12-20 10:40:56 +09:00
syuilo 569d380769 Update style.scss 2022-12-20 10:37:01 +09:00
syuilo 119ee826a0 🎨 2022-12-20 08:59:31 +09:00
syuilo 6be8a00faf 🎨 2022-12-20 08:53:24 +09:00
syuilo d70b71a6e4 🎨 2022-12-20 08:50:48 +09:00
syuilo f69a65ccb0 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-12-20 08:35:51 +09:00
syuilo 7037f2d566 tabler icons 2022-12-20 08:35:49 +09:00
tamaina dd93a07c0f fix(client): fix script id of Captcha 2022-12-19 16:31:21 +00: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 e3b8482891
fix(client): add missing ref for MkButton (#9357) 2022-12-19 16:47:56 +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
Kagami Sascha Rosylight 411b088418
refactor: fix broken Vue component custom properties (#9351) 2022-12-19 10:40:57 +09:00
Kagami Sascha Rosylight 2c9a3f643c
enhance(client): case insensitive emoji search (#9346) 2022-12-19 09:00:45 +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 88859cf67d
fix(client): Handle null of rootEl in MkWindow.vue (#9326)
* fix(client): Handle null of rootEl in MkWindow.vue

* comment

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-18 19:52:50 +09:00
tamaina 867e31c9ff
enhance: Push notification of Antenna note (#9338)
* wip

* wip

* wip

* fix

* fix

* 🎨
2022-12-18 19:50:02 +09:00
tamaina c5179e8f1c
chore(client): 🎨 about button (#9339) 2022-12-18 16:43:09 +09:00
Kagami Sascha Rosylight a47d172d60
enhance(client): Compress non-animated PNG files (#9334)
* style: fix TS lint errors about `ev.target`

* enhance: compress non-animated PNG

* PNG to PNG?

* defer jest things (add it later)

* Delete jest.config.cjs

* check the compressed file size

* log compression stats

* use ??

* handle if ($i == null)

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-12-18 15:40:38 +09:00
Kagami Sascha Rosylight b6995f6e4b
chore: deploy vue-tsc for client typecheck (#9341) 2022-12-18 15:32:54 +09:00
Kagami Sascha Rosylight bb3d274db6
refactor(client): add proper types to `never[]` (#9340) 2022-12-18 13:13:05 +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
syuilo 96dda253b0 fix(server): GitHubログインしようとするとreply.setCookie is not a function
fix #9327
2022-12-17 11:02:49 +09:00
tamaina 9c5dfd2da7 chore(backend): fix duplicated css preload 2022-12-14 08:32:52 +00:00
Kagami Sascha Rosylight e8a49c9c9e
Fix MetaService unit tests (#9319) 2022-12-14 14:26:25 +09:00
tamaina f4f293d5f3
fix(client): Downgrade to Vite v3 (#9313)
* Revert "refactor(client): Create root.vue and select the ui in it (#9312)"

This reverts commit 0294555e2b.

* use vite v3

* Revert "Revert "refactor(client): Create root.vue and select the ui in it (#9312)""

This reverts commit 56910e27fb.

* Revert "refactor(client): Create root.vue and select the ui in it (#9312)"

This reverts commit 0294555e2b.

* use vite@3.2.4

* update to v3.2.5
2022-12-14 13:35:18 +09:00
Kagami Sascha Rosylight 4b98920f02
Fix import related TypeScript errors (#9321)
* Add missing @types packages

* Fix TS1272 type only imports

* Fix TS2821 import assertion
2022-12-14 00:01:45 +09:00
Kagami Sascha Rosylight f30d54fe88
Call `tsc --noEmit` also for backend/client (#9316) 2022-12-13 00:40:30 +09:00
Kagami Sascha Rosylight cfd7cf0f1e
refactor(sw): Typecheck the service worker (#9314)
* Typecheck the service worker

Currently the service worker build never typechecks, since esbuild and typescript-eslint don't do such job.

esbuild: https://esbuild.github.io/content-types/#typescript

>However, esbuild does not do any type checking so you will still need to run tsc -noEmit in parallel with esbuild to check types. This is not something esbuild does itself.

typescript-eslint: https://typescript-eslint.io/linting/troubleshooting#why-dont-i-see-typescript-errors-in-my-eslint-output

>TypeScript's compiler (or whatever your build chain may be) is specifically designed and built to validate the correctness of your codebase. Our tooling does not reproduce the errors that TypeScript provides, because doing so would slow down the lint run [1], and duplicate the errors that TypeScript already outputs for you.

Adding this step adds tons of TS errors 😱

* Override lib-webworker with service worker
2022-12-12 22:20:35 +09:00
tamaina 0294555e2b
refactor(client): Create root.vue and select the ui in it (#9312) 2022-12-12 21:01:43 +09:00
Kagami Sascha Rosylight 8211893210
Fix lint errors (except `@typescript-eslint/prefer-nullish-coalescing`) (#9311)
* `yarn workspace client run lint --fix`

* `eslint-disable-next-line no-var` for service worker self

* A few more manual sw fixes

* word change
2022-12-12 19:27:47 +09:00
syuilo fc44d4c9f9 fix(client): use proxied image for instance icon 2022-12-10 16:52:05 +09:00
syuilo b3ec605ec3 🎨 2022-12-10 16:48:45 +09:00
syuilo 2f9de0c765 re-enable chartjs-plugin-gradient 2022-12-10 16:39:04 +09:00
syuilo c5213dddbf update deps 2022-12-10 16:38:41 +09:00
syuilo 2067180328 improve nest logger 2022-12-10 15:45:30 +09:00
syuilo b4b742ca89 fix #9299 2022-12-10 15:25:39 +09:00
xtexChooser 020cd5cc02
fix: typo (#9300) 2022-12-10 08:55:07 +09:00
syuilo 847f59369b tweak blurhash 2022-12-09 16:03:10 +09:00
syuilo e4c2bba89a fix(client): use proxied image for instance icon 2022-12-08 17:33:04 +09:00
syuilo d73cc8f9b8 refactor(server): rename AppModule to RootModule 2022-12-08 17:22:27 +09:00
syuilo 6bb194de54 refactor(server): move RepositoryModule into models directory 2022-12-08 17:19:37 +09:00
syuilo 6d46e5cf77 enhance: fallback option for media proxy 2022-12-08 17:16:50 +09:00
syuilo 2a86942f07 fix(client): use proxied image for instance icon 2022-12-08 16:57:57 +09:00
Sam Smucny f89a163305
Add tooltips to visibility icons (#9287) 2022-12-08 14:57:23 +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 53fb516179 add todo 2022-12-08 13:44:38 +09:00
syuilo 686bea6e2a
Update ServerService.ts 2022-12-08 13:40:42 +09:00
syuilo 8b4ba370f7
Update ServerService.ts 2022-12-08 07:46:11 +09:00
syuilo 9d14476a6a fix(server): cookieが取得されないのを修正 2022-12-06 14:17:53 +09:00
syuilo 3b7c943440 fix(server): cookieが設定されないのを修正 2022-12-06 14:14:41 +09:00
syuilo 9cda400c80 fix(server): GitHub連携ができない問題を修正 2022-12-06 12:41:11 +09:00
syuilo f3e869ddae feat(client): add new gabber kick sounds 2022-12-06 12:34:39 +09:00
syuilo f1855020ad update dep 2022-12-06 12:31:50 +09:00
syuilo 4ea1a173a8 refactor: use ?? 2022-12-06 12:06:17 +09:00
syuilo b4be9d270c perf(server): improve syslog performance 2022-12-06 09:38:55 +09:00
syuilo d8611506cf inboxが処理できない問題を多分修正 2022-12-06 09:21:36 +09:00
syuilo 3e493effaf chore: add missing decoration of PushNotificationService 2022-12-06 09:17:37 +09:00
tamaina 83e1d53928 fix: lintが動かないのを修正, swもlint 2022-12-05 13:21:44 +00:00
tamaina 8b961ba035 chore: fix spelling error "Enviroment"
Fix #9269
2022-12-05 12:23:10 +00:00
syuilo c0c23b135c bull-board復活 2022-12-04 17:33:51 +09:00
syuilo 9ce13d487b chore: fix import position 2022-12-04 17:05:32 +09:00
syuilo bbb49457f9 refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
syuilo e73581f715 🎨 2022-12-04 14:26:21 +09:00
syuilo 496639f5b0 fix typo 2022-12-04 13:16:25 +09:00
syuilo b29a50eca6 fix import paths 2022-12-04 13:14:35 +09:00
syuilo 2b1a673e32 chore: remove needless experimental-json-modules flag 2022-12-04 10:52:53 +09:00
syuilo 69016735be update deps 2022-12-04 10:39:11 +09:00
syuilo 8950114f7d refactor: remove needless const notation 2022-12-04 10:32:12 +09:00
syuilo 22ccb0fa71 refactor 2022-12-04 10:16:03 +09:00
tamaina 14221e78b7 Fix forkbomb 2
also in extractApMentions and parseAudience

Co-authored-by: mei23 <m@m544.net>
2022-12-03 16:59:28 +00: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
Laura Hausmann 2037c83541
fix(client): make note visibility inheritance behave correctly when default is set to followers-only (#9238)
* Fix post visibility

* Also in the case of specified

* fix

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-12-03 06:14:37 +09:00
Derek 66513b9893
fix(server): "forkbomb" DOS mitigation (#9247)
* Add recursion limit to resolver

* Use shared resolver in featured and question

* Changelog

* Changelog fix

* Update CHANGELOG.md

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Add host to recursion limit error message

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-12-03 06:13:36 +09:00
tamaina 5decad9cf1 fix: add missing , 2022-12-02 14:12:09 +00:00
tamaina 19c50f5d0c 🎨 MkInstanceTicker 2022-11-30 05:01:43 +00:00
syuilo 594c329dbd update deps 2022-11-29 13:14:57 +09:00
tamaina dba80a7e8e
Fix #9234 (#9235) 2022-11-27 09:04:09 +09:00
tamaina 707398b1d9
enhance: Modify MkInstanceTicker (#9236)
* fix and enhance MkNoteDetailed

* change instanceticker

* 🎨

* fix

* 🎨

* fix

* 🎨

* revert MkNoteDetailed
2022-11-27 08:57:11 +09:00