Commit graph

1465 commits

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