Commit graph

100 commits

Author SHA1 Message Date
Kagami Sascha Rosylight
a2c0573f84
refactor(backend): replace private-ip with ipaddr.js (#11041)
* refactor(backend): replace private-ip with ipaddr.js

* restore ip-cidr
2023-06-25 06:35:09 +09:00
Kagami Sascha Rosylight
5d922e3084 chore(frontend): use @vitest/coverage-v8 2023-06-24 15:20:15 +02:00
syuilo
fd4c43786a chore(dev): use buraha via npm 2023-06-24 18:22:53 +09:00
syuilo
60cc7f62e6 update deps 2023-06-24 13:11:53 +09:00
syuilo
91d790bbb6 update deps 2023-06-02 11:34:38 +09:00
Acid Chicken (硫酸鶏)
337dd97b49
perf(#10923): CSS Modules のクラス名をインライン化する (#10930)
* perf(#10923): unwind css module class name

* perf(#10923): support multiple components

* refactor: clean up

* refactor(#10923): avoid `useCssModule()`

* fix(#10923): allow direct literal class name

* fix(#10923): avoid computed class name

* fix(#10923): allow literal keys

* fix(#10923): typo

* fix(#10923): invalid class names

* chore: test

* revert: test

This reverts commit 5c7ef366eceebe8ba260efa4d5d675f6c1775c45.

* fix(#10923): hidden tale

* perf(#10923): also unwind scoped css contained components

* perf(#10923): `normalizeClass` AOT compilation

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-01 17:19:46 +09:00
syuilo
8f14b42e81 perf: インスタンスデフォルトテーマを予めjson5 -> jsonに変換しておくことでjson5を初期バンドルに含めずに済むように 2023-05-30 11:51:29 +09:00
syuilo
8b33a70fc4 vue-plyrやめるなど
- 問題点が多い
- バンドルサイズ削減
2023-05-30 11:32:29 +09:00
tamaina
3c07d3fc08 use pnpm@8.6.0 2023-05-29 13:05:43 +00:00
syuilo
115167e6da update deps 2023-05-29 17:52:55 +09:00
syuilo
f930eaee02
perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node (#10884)
* perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node

Resolve #10883

* refactor

* Update StreamingApiServerService.ts

* Update StreamingApiServerService.ts

* ✌️

* Update StreamingApiServerService.ts

* fix main stream init

* fix timing 2

* setIntervalの重複を避ける(気休め)

* add comment

* ✌️

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-29 13:32:19 +09:00
syuilo
fd7b77c542
enhance(backend): migrate bull to bullmq (#10910)
* wip

* wip

* Update QueueService.ts

* wip

* refactor

* ✌️

* fix

* Update QueueStatsService.ts

* refactor

* Update ApNoteService.ts

* Update mock-resolver.ts

* refactor

* Update mock-resolver.ts
2023-05-29 11:54:49 +09:00
syuilo
1de774fa3d update deps 2023-05-24 10:16:42 +09:00
Acid Chicken (硫酸鶏)
81fd94e635
chore: update slacc (#10867)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-20 10:34:31 +09:00
syuilo
acd5e0b8f6 update deps 2023-05-19 16:34:56 +09:00
tamaina
59255e11b8
perf: MkImgWithBlurhashとMkMediaImageを最適化 (#10782)
* #10781

* fix tsconfig

* fetch image??

* Revert "fetch image??"

This reverts commit 0925c28d5a4f328264c39d5591dc736795541683.

* wip

* Revert "wip"

This reverts commit be97c6cb88318bcea441edeeecb69b6d6ed0dd8f.

* loading="eager"

* loading="eager" 2

* error

* wip

* wip

* wip

* wip

* clean up

* fix

* 生成するworkerを1つにする?

* clean up

* use buraha

* wip

* smaller width, height

* update buraha

* clean up

* fix

* Update MkMediaImage.vue

* Update MkImgWithBlurhash.vue

* Revert "fix(frontend): センシティブ設定された画像を開くとき一瞬レイアウトが崩れる問題を修正"

This reverts commit 41e9aa6f9b.

* Update MkMediaList.vue

* Update MkMediaList.vue

* Update MkMediaList.vue

* Update CHANGELOG.md

* wait for decode

* fix

* ?

* (test) remove container-type: inline-size;

* Revert "(test) remove container-type: inline-size;"

This reverts commit 9448e64228428175a3d624c04df1bfad0f59cb69.

* container-name

* Revert "container-name"

This reverts commit 94385d32213a00a06a59fbd2296d6ef1b5f91785.

* width: 100%;

* improve performance

* refactor

* wip

* WIP

* wip

* Revert "wip"

This reverts commit 36e3b75cab8114e423544b79a8e2df353880f43b.

* Revert "WIP"

This reverts commit 05b729ef9189aea052ba411ac10f30a46cc668c8.

* Revert "wip"

This reverts commit 0801e7936116c58154d7cecfea955dd15fa61a77.

* #10860

* wip

* no worker

* Revert "no worker"

This reverts commit a9c49e4fb49976958a7594393343d52be0e082d7.

* ✌️

* workerNumber固定は不要

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-19 09:44:06 +09:00
syuilo
e707aadbcc update deps 2023-05-17 14:11:32 +09:00
syuilo
d36e44bc57 Update pnpm-lock.yaml 2023-05-14 20:22:27 +09:00
syuilo
5be6438bbc update deps 2023-05-12 12:10:56 +09:00
syuilo
6f1994c665 update deps 2023-05-12 11:41:53 +09:00
syuilo
484dfb6a01 enhance(frontend): update aiscript to 0.13.2 2023-05-06 12:58:59 +09:00
Acid Chicken (硫酸鶏)
4a72941eda
perf: use slacc on check-word-mute (#10721)
* perf: use slacc on check-word-mute when all of specified words are single word

* perf: use slacc as possible

* build: avoid tarball

* chore: update slacc

* build: update package name
2023-05-05 19:49:34 +09:00
syuilo
5c08f2b93b
feat: Introduce Meilisearch (#10755)
* wip

* wip

* Update SearchService.ts

* Update SearchService.ts

* wip

* wip

* Update SearchService.ts

* Update CHANGELOG.md

* wip

* Update SearchService.ts

* Update docker-compose.yml.example
2023-05-05 08:52:14 +09:00
syuilo
bcd123371b update deps 2023-05-02 20:52:36 +09:00
Chocolate Pie
149ddebf16
fix(frontend): ロールのタイトルのバグを解決、Reactivity Transformで型エラーを出さないように (#10729)
* fix: #10569を解決

* fix: ロールが存在しない場合、タイトルにエラーメッセージを表示させる

* fix: Reactivity Transformで型エラーを出さないように

* feat: i18n対応

* feat: タブでエラー表示

* fix: エラーメッセージを分ける

* fix: 使う変数の間違えを修正

* productionビルドできない問題を修正

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-29 23:36:28 +09:00
syuilo
8b833c88ad vite動かなかったため戻した 2023-04-21 09:17:14 +09:00
syuilo
4054f9cccf update deps 2023-04-21 09:02:49 +09:00
tamaina
e89d0aa815 update pnpm and summaly 2023-04-20 04:34:59 +00:00
syuilo
8c9cb9ee15 update deps 2023-04-19 12:52:14 +09:00
syuilo
5f67ca434d update ioredis 5.x 2023-04-14 10:09:03 +09:00
Acid Chicken (硫酸鶏)
47c7b4b9cc
fix(#10609): remove isChromatic on real build (#10613)
* perf: remove isChromatic on real build

* revert: Revert #10475 in MkTime

This reverts commit 7d11cf8ec9.

* @rollup/plugin-replace as dependencies

* fix pnpm-lock,yaml

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-13 23:23:11 +09:00
Acid Chicken (硫酸鶏)
9bb6c536c0
test(#10336): add components/Mk[A-B].* stories (#10475)
* chore(#10336): register snippets

* test(#10336): add `components/Mk[A-B].*` stories

* build: desynced lockfile

* ci(#10336): preload assets

* ci(#10336): use pull_request

* build: update lockfile

* fix: reactivity transform

* chore: track upstream changes

* refactor: avoid temporary previous tapping declarations

* revert: avoid temporary previous tapping declarations

This reverts commit e649b1b1e6771bee674f2dfb044e0efd72d0be5d.

* test: flaky snapshots

* style: import
2023-04-13 12:20:39 +09:00
okayurisotto
6a23ffcce5
swのesbuildの更新とビルドスクリプトの更新 (#10549)
* cleanup(sw/build.js)

* fix(sw/build.js): `define`に真偽値を渡していた問題を修正

`define`では文字列を渡さなければならないので、`JSON.stringify`をするようにした。

* fix(sw/build.js): `string`が期待される`define`において`undefined`になる場合がある問題を修正

* update(sw): esbuild 0.17.15

* fixup! update(sw): esbuild 0.17.15

* fixup! fix(sw/build.js): `string`が期待される`define`において`undefined`になる場合がある問題を修正

コメントの文言を調整
2023-04-10 19:43:15 +09:00
Acid Chicken (硫酸鶏)
abda3b6c8c
ci(#10336): use TurboSnap (#10494)
* ci(#10336): use TurboSnap

* build: fix version

* ci(#10336): update build dir

* chore(#10336): fire changes

* chore: stabilize icon width on `PageHeader`

* chore: fire changes

* ci: invalid ignore

* ci: trace logs

* chore: debug

* revert: debug

This reverts commit 2329165e252640504ef17e97389e0460ada83e70.

* chore: do not reuse build dir

* build: scripts

* ci: tweak

* revert: re-revert debug

This reverts commit 596ef05d9eabe11c0ec3125fa4a87071d59b9b2f.

* chore: detect changes manually

* fix: syntax

* ci: do not use only-changed

* ci: fix command

* revert: re-re-revert debug

This reverts commit b027170d7504277006ce9abac386df8c38d55fd2.

* ci: use build dir

* revert: re-re-re-revert debug

This reverts commit 529ab126ed63ec10eeeaaee3e9ef581b75e739c9.

* ci: fix path

* revert: re-re-re-re-revert debug

This reverts commit 0b0c0b9ea48d37d617b777e9f602ccf8a2400381.

* ci: fix typo

* ci: only show story files

* revert: re-re-re-re-re-revert debug

This reverts commit 9f5b88df3225f23efd72bb099cfebe359af7acdb.

* ci: skip when no stories found

* ci: use skip

* revert: re-re-re-re-re-re-revert debug

This reverts commit 0df4bdc30bbf425c8682594d500a6d986517e721.

* ci: fix micromatch version

* revert: re-re-re-re-re-re-re-revert debug

This reverts commit 63063b02bbcb37e85b93afe3f919b185425ddcf0.

* revert: re-re-re-re-re-re-re-re-revert debug

This reverts commit 01d9669e2a2c758c478bad5379fe19768e2096bc.

* chore: pin tabler icon width globally

* ci: notify when Chromatic skips

* ci: fix endpoint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-07 20:34:23 +09:00
syuilo
a561b83070 fix deps 2023-04-06 20:29:17 +09:00
Acid Chicken (硫酸鶏)
55652a7a18
build(#10336): bump storybook to v7 2023-04-04 15:01:55 +09:00
Acid Chicken (硫酸鶏)
38b9fc4f25
chore: unused dependencies 2023-04-03 14:22:57 +09:00
Acid Chicken (硫酸鶏)
3f4d93a287
build(#10336): use unpkg for storybook tabler icons 2023-04-01 22:49:50 +09:00
Acid Chicken (硫酸鶏)
97e7f7efcc
fix: invalid lockfile 2023-04-01 22:28:41 +09:00
Acid Chicken (硫酸鶏)
8b30a0d641
build(#10336): missing dependencies 2023-04-01 21:57:31 +09:00
Acid Chicken (硫酸鶏)
ec8905f81c
build(#10336): staticify assets 2023-04-01 18:18:11 +09:00
Acid Chicken (硫酸鶏)
65f20de821
build(#10336): make storybook buildable 2023-04-01 18:05:14 +09:00
Acid Chicken (硫酸鶏)
139dade62c
build(#10336): use chokidar-cli 2023-04-01 14:17:52 +09:00
Acid Chicken (硫酸鶏)
2b831da1d1
Merge branch 'develop' of https://github.com/misskey-dev/misskey into storybook 2023-04-01 13:46:54 +09:00
syuilo
152247bfda refactor: remove autobind-decorator dep 2023-03-31 16:41:27 +09:00
Acid Chicken (硫酸鶏)
558d73b21a
build(#10336): fix missing type definition 2023-03-31 16:34:54 +09:00
Acid Chicken (硫酸鶏)
98fd6b5879
build(#10336): write stories for MkAcct 2023-03-31 01:01:53 +09:00
Acid Chicken (硫酸鶏)
d1c5556724
Merge branch 'develop' of https://github.com/misskey-dev/misskey into storybook 2023-03-30 23:02:38 +09:00
Acid Chicken (硫酸鶏)
3db0147392
build(#10336): bump storybook 2023-03-30 23:00:01 +09:00
tamaina
26068a3a8f use workspace:*, use pnpm@8.1.0 2023-03-30 13:01:00 +00:00