Commit Graph

1586 Commits

Author SHA1 Message Date
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