Commit Graph

24006 Commits

Author SHA1 Message Date
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
tamaina bae7939d79 update deps 2022-12-10 12:43:27 +00:00
syuilo 3a7c1eb921 12.120.0-alpha.14 2022-12-10 16:53:42 +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 eb353c2c59 12.120.0-alpha.13 2022-12-10 16:39:26 +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 187237b35e Update ja-JP.yml 2022-12-08 17:40:20 +09:00
syuilo 15fa2f7c91 12.120.0-alpha.12 2022-12-08 17:33:18 +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 bd35d0fb2a 12.120.0-alpha.11 2022-12-08 14:18: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
rinsuki 54ccacff97
fix: dockerignore not excluding packages/*/node_modules (#9296) 2022-12-08 07:30:42 +09:00
tamaina 214de03301
GitHub Actions Test PR: Cache on Lint (#9289)
* update lint.yml

* wip

* fix

* fix

* continue-on-error: true
2022-12-08 03:18:15 +09:00
tamaina d9541a7db8
fix: Update Dockerfile (#9292)
- copy .yarn/install-state.gz
- add --immutable to yarn install
2022-12-08 03:16:05 +09:00
syuilo 733515329a 12.120.0-alpha.10 2022-12-07 10:33:19 +09:00
syuilo cd50b9db1d
New Crowdin updates (#9088)
* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Spanish)

* New translations ja-JP.yml (Spanish)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Chinese Traditional)

* New translations ja-JP.yml (Chinese Traditional)

* New translations ja-JP.yml (Slovak)

* New translations ja-JP.yml (Catalan)

* New translations ja-JP.yml (Catalan)

* New translations ja-JP.yml (Catalan)

* New translations ja-JP.yml (Catalan)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Thai)

* New translations ja-JP.yml (Thai)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Bengali)

* New translations ja-JP.yml (Ukrainian)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Chinese Traditional)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Vietnamese)

* New translations ja-JP.yml (Indonesian)

* New translations ja-JP.yml (Slovak)

* New translations ja-JP.yml (Thai)

* New translations ja-JP.yml (Czech)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Romanian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Spanish)

* New translations ja-JP.yml (Arabic)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (Korean)

* New translations ja-JP.yml (Polish)

* New translations ja-JP.yml (Portuguese)

* New translations ja-JP.yml (Japanese, Kansai)

* New translations ja-JP.yml (Catalan)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Thai)

* New translations ja-JP.yml (Thai)

* New translations ja-JP.yml (Thai)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Chinese Traditional)

* New translations ja-JP.yml (Spanish)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Slovak)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Catalan)

* New translations ja-JP.yml (Greek)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Korean)

* New translations ja-JP.yml (Portuguese)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Ukrainian)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Thai)
2022-12-07 10:25:46 +09:00
Marcel 7b6cd6187f
Update docker.yml (#9046)
not only tag 12.118.1; 12 and 12.118 and 12.118.1
2022-12-07 04:32:03 +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
rinsuki 5e14f3ff55
chore: Add yarn itself to repository (#9239)
* chore: Add yarn itself to repository

Fix #9230

* use yarn v3.3.0

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-12-05 23:06:38 +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