Commit Graph

1558 Commits

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

* 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