Commit graph

280 commits

Author SHA1 Message Date
Marie fd69a2fbbd
merge: upstream 2024-01-22 19:58:43 +01:00
おさむのひと 850d38414e
fix: 2024-01-22 10:50時点のdevelopにてCIがコケている (#13060)
* fix: バブルゲームのビルド失敗修正

* fix: api.jsonの定義誤りを修正

* fix: lint.yml(typecheck)

* fix: fix eslint error

* fix: frontend vitest version

* fix: frontend vitest version

* fix:

* fix: cypress

* fix: misskey-js test

* fix: misskey-js tsd(tsdはpakcage.jsonのexportsをサポートしない?)

* fix: conflict

* fix: 間違えて上書きしたところを修正

* fix: 再

* fix: api.json

* fix: api.json

* fix: タイムアウト延長

* Update packages/misskey-js/jest.config.cjs

Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2024-01-22 18:01:54 +09:00
かっこかり 4f95b8d9d2
fix(frontend/pizzax): デフォルト値が適用できないことがあるのを修正 (#13057)
* fix(frontend/pizzax): デフォルト値が適用できないことがあるのを修正

* fix

* いらんプロパティをけす
2024-01-22 09:20:56 +09:00
Marie 013032dd93
fix: downgrade eslint to fix bug
prefer-nullish-coalescing broke in the 6.19.0 update with a funky bug which has an open PR to be fixed https://github.com/typescript-eslint/typescript-eslint/issues/8261
2024-01-21 14:18:47 +01:00
Marie db012fc8c3
merge: upstream (1) 2024-01-21 13:11:23 +01:00
syuilo f4657eb16f update deps 2024-01-21 18:43:01 +09:00
syuilo f86d0186d2 fix(dev): fix pnpm dev 2024-01-20 11:18:53 +09:00
syuilo 952386ba8f refactor: extract bubble-game engine as independent package 2024-01-20 09:53:26 +09:00
syuilo a637b4e282 feat: reversi
Resolve #12962
2024-01-19 20:51:49 +09:00
Marie 4c1f6be735
merge: upstream 2024-01-15 12:07:35 +01:00
zyoshoka d792f4f348
fix(backend): 虚無ノートを投稿できる問題の修正と api.json の OpenAPI Specification 3.1.0 への対応 (#12969)
* fix(backend): `text: null`だけのノートは投稿できないように

* add test

* Update CHANGELOG.md

* chore: bump OpenAPI Specification from 3.0.0 to 3.1.0

* chore: テストがすでにコメントで記述されていたのでそっちを使うことにする

* fix test

* fix(backend): prohibit posting whitespace-only notes

* Update CHANGELOG.md

* fix(backend): `renoteId`または`fileIds`(`mediaIds`)または`poll`が`null`でない場合に、`text  が空白文字のみで構成されたリクエストになることを許可して、結果は`text: null`を返すように

* test(backend): 引用renoteで空白文字のみで構成されたtextにするとレスポンスが`text: null`になることをチェックするテストを追加

* fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように

* fix(misskey-js): OpenAPI 3.1に対応

* fix(misskey-js): 型生成をOpenAPI Specification 3.1.0に対応

* fix(ci): `validate-api.json`をOpenAPI Specification 3.1.0に対応

* fix(ci): スキーマ書き換えの際のミスを修正

* Revert "fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように"

This reverts commit a9ca55343df6ea1679599acbc4801f78aa3a242b.

* fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように

* Revert "fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように"

This reverts commit 865458989f9ddacc38d1bb3743a41ea828dbf324.

* fix(misskey-js): `openapi-parser`で`validate`のかわりに`parse`を用いるように

* Update CHANGELOG.md
2024-01-13 16:54:25 +09:00
Marie 4df3145993
merge: upstream 2024-01-11 00:57:57 +01:00
FineArchs 6bae440f39
bump aiscript version to 0.17.0 (#12955)
* bump aiscript version to 0.17.0

* Update CHANGELOG.md
2024-01-10 09:47:47 +09:00
Marie 91969623bd
merge: upstream 2024-01-10 00:25:19 +01:00
syuilo 1063d39de8 enhnace(frontend): tweak game 2024-01-09 21:15:56 +09:00
Marie 3c2c72539a
chore: update sfm dep 2024-01-09 04:11:41 +01:00
Marie 7552cea69a
merge: upstream 2024-01-09 02:57:57 +01:00
おさむのひと 35ec41fc1e
enhance(backend): テストの高速化 (#12939)
* enhance(backend): テストの高速化

* add ls

* 自動的にマージされるようなので不要

* 起動方法を揃える

* fix test
2024-01-08 17:43:52 +09:00
Chocolate Pie 072f67d6e7
feat: Add support for mCaptcha (#12905)
* feat: Add support for mCaptcha

* fix: Fix docker compose configuration

* chore(frontend/docs): update changelog & fix eslint errors

* `@mcaptcha/vanilla-glue`をダイナミックインポートするように

* chore: Add missing prefix to CHANGELOG

* refactor(backend): 適当につけた変数の名前を変更
2024-01-06 20:14:33 +09:00
かっこかり 3187c6b28d
refactor(frontend): MkNumberのアニメーションを内製してgsapを削除 (#12859)
* (refactor) MkNumberのアニメーションを内製

* 秒数調整

* fix

* fix pnpm-lock

* Update packages/frontend/src/components/MkNumber.vue

* Update packages/frontend/src/components/MkNumber.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-02 16:55:02 +09:00
syuilo 379079ee42 chore(frontend): update vue to 3.4 2023-12-31 17:01:56 +09:00
tamaina 1d5a0d0777
chore: use @misskey-dev/eslint-plugin (#12860)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-31 15:26:57 +09:00
tamaina 2a33981811
chore: use summaly, browser-image-resizer, and sharp-read-bmp on registry.npmjs.org instead of git (#12856)
* chore: use @misskey-dev/summaly on registry.npmjs.org instead of git

* fix backend dependency

* fic backend dependency

* @misskey-dev/sharp-read-bmp

* fix

* use @misskey-dev/browser-image-resizer
2023-12-31 09:45:35 +09:00
Trivernis 5af915e17e Merge branch 'develop' into feature/config-dropdir 2023-12-29 20:04:22 +01:00
Marie 18e82c0627
fix: frontend not being able to build 2023-12-28 19:37:22 +01:00
Marie 870f70a683
upd: up sfm.js version 2023-12-28 13:06:11 +01:00
Marie 592027cf68
merge: upstream 2023-12-28 09:54:32 +01:00
Kagami Sascha Rosylight 544b8106b2
feat(backend/oauth): allow CORS for token endpoint (#12814)
* feat(backend/oauth): allow CORS for token endpoint

* no need to explicitly set origin to `*`

* Update CHANGELOG.md
2023-12-28 09:46:19 +01:00
trivernis 06d110a773
Lock glob to exact package version 10.3.10 2023-12-27 21:02:10 +01:00
Trivernis 8b31c12607 Merge branch 'develop' into feature/config-dropdir 2023-12-27 14:11:42 +01:00
trivernis 64d34f595c
Change loadConfig to load all yaml files in the config directory 2023-12-27 14:09:59 +01:00
Kagami Sascha Rosylight ad346b6f36
feat(backend/oauth): allow CORS for token endpoint (#12814)
* feat(backend/oauth): allow CORS for token endpoint

* no need to explicitly set origin to `*`

* Update CHANGELOG.md
2023-12-27 15:10:24 +09:00
Marie 5bc036180f upd: module versions 2023-12-25 21:37:13 +01:00
dakkar 62a0f43c84 add package 2023-12-25 17:31:21 +00:00
Marie 5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
zyoshoka 13990279c3
enhance: Unicode 15.0で新たに追加された絵文字をリアクションに使えるように (#12683) 2023-12-18 14:51:29 +09:00
syuilo 507d436699 update mfm-js 2023-12-18 13:22:34 +09:00
syuilo 8a9f4ef441 update deps 2023-12-18 13:14:58 +09:00
Marie 765038f9a6 fix: lockfile 2023-12-18 03:37:03 +01:00
Marie c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
syuilo 2ecc0299b4 update deps 2023-12-16 14:00:27 +09:00
おさむのひと b5c319b2c7
fix(frontend): testが落ちるのを修正 (#12679) 2023-12-16 08:56:26 +09:00
おさむのひと 386fcedf35
(dev-mode) devモードの改善 (#12639)
* fix dev-mode

* fix dev-mode

* fix dev-mode

* fix dev-mode

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-14 20:16:02 +09:00
syuilo a2a6a94614 update deps 2023-12-14 18:28:04 +09:00
woxtu 76d1ed39a1
Cleanup unused dependencies (#12660) 2023-12-14 18:25:39 +09:00
syuilo aedc1d0ee9 update deps 2023-12-14 13:22:12 +09:00
syuilo 319267e096 update deps 2023-12-09 13:02:14 +09:00
zyoshoka 406b4bdbe7
refactor(frontend): 非推奨となったReactivity Transformを使わないように (#12539)
* refactor(frontend): 非推奨となったReactivity Transformを使わないように

* refactor: 不要な括弧を除去

* fix: 不要なアノテーションを除去

* fix: Refの配列をrefしている部分の対応

* refactor: 不要な括弧を除去

* fix: lint

* refactor: Ref、ShallowRef、ComputedRefの変数の宣言をletからconstに置換

* fix: type error

* chore: drop reactivity transform from eslint configuration

* refactor: remove unnecessary import

* fix: 対応漏れ
2023-12-07 14:42:09 +09:00
syuilo 9c90ff7d06 update deps 2023-12-04 19:40:46 +09:00
おさむのひと 336416261a
バックエンドが生成するapi.jsonからmisskey-jsの型を作成する (#12434)
* ひとまず生成できるところまで

* ファイル構成整理

* 生成コマンド整理

* misskey-jsへの組み込み

* fix generator.ts

* wip

* fix generator.ts

* fix package.json

* 生成ロジックの調整

* 型レベルでのswitch-case機構をmisskey-jsからfrontendに持ち込めるようにした

* 型チェック用のtsconfig.jsonを作成

* 他のエンドポイントを呼ぶ関数にも適用

* 未使用エンティティなどを削除

* misskey-js側で手動定義されていた型を自動生成された型に移行(ただしapi.jsonがvalidでなくなってしまったので後で修正する)

* messagingは廃止されている(テストのビルドエラー解消)

* validなapi.jsonを出力できるように修正

* 修正漏れ対応

* Ajvに怒られて起動できなかったところを修正

* fix ci(途中)

* パラメータenumをやめる

* add command

* add api.json

* 都度自動生成をやめる

* 一気通貫スクリプト修正

* fix ci

* 生成ロジック修正

* フロントの型チェックは結局やらなかったので戻しておく

* fix pnpm-lock.yaml

* add README.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 21:00:05 +09:00
Mar0xy b2d188aab1
chore: bump axios dep version in megalodon 2023-11-30 02:29:50 +01:00
syuilo 51cf906b25 update deps 2023-11-27 21:05:20 +09:00
Mar0xy 42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
syuilo 77ac51a680 update typescript to 5.3 2023-11-21 11:32:13 +09:00
syuilo 4f9922d46c update deps 2023-11-17 15:10:04 +09:00
Jaehong Kang 04075ee0be
enhance(backend): Implementation of HTTP header and body validation to fix SIF-2023-002 (#12334)
Using Buffer instead of string

Co-authored-by: perillamint <perillamint@silicon.moe>
2023-11-15 11:13:34 +09:00
syuilo 65c5626b65
Merge pull request from GHSA-3f39-6537-3cgc
This commit implements HTTP header and body validation to fix
[SIF-2023-002](https://advisory.silicon.moe/advisory/sif-2023-002/)

Signed-off-by: perillamint <perillamint@silicon.moe>
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-14 17:09:45 +09:00
syuilo 30bb24d18c update deps 2023-11-14 10:35:48 +09:00
ikasoba 54870d067b
aiscript-vscodeのバージョンを更新 (#12299) 2023-11-10 17:18:23 +09:00
Marie ecf63c4333
merge: remove tensorflow, AiService (#140) 2023-11-05 14:42:15 +01:00
ShittyKopper 2eda00d9b9 upd: rip out AiService 2023-11-05 11:55:19 +03:00
Mar0xy 7c480424a6
merge: upstream 2023-11-03 15:35:12 +01:00
syuilo 1729307fcf update deps 2023-11-03 14:41:21 +09:00
Mar0xy 8388b18df9
merge: upstream 2023-11-01 12:39:07 +01:00
syuilo 77db652bff update deps 2023-11-01 14:06:54 +09:00
Mar0xy 4dd23a3793
merge: upstream 2023-10-31 19:33:24 +01:00
かっこかり 1a8243f1ca
MkCodeのパースエンジンをShikiに変更 (#12102)
* (swap) prism -> shiki

* fix styles

* (bump) aiscript-vscode to v0.0.5

* refactor

* replace prism-editor (beta)

* Update scratchpad.vue

* (enhance) MkCodeEditor自動インデント改行

* (fix) lint

* (add) scratchpad: MkStickyContainer

* Update CHANGELOG.md

* clean up

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-29 14:12:40 +09:00
Mar0xy f92773d995
fix: lockfile 2023-10-29 01:00:54 +02:00
syuilo a8dc6d08b1 update deps 2023-10-28 12:31:18 +09:00
syuilo fdeee5dd05 update deps 2023-10-23 09:20:55 +09:00
syuilo 42a3489bcb update deps 2023-10-20 15:46:12 +09:00
syuilo cc256f117e update deps 2023-10-19 19:51:59 +09:00
Mar0xy 4b230d792c
merge: upstream changes 2023-10-18 19:48:03 +02:00
syuilo 145c5c8b2b update deps 2023-10-18 09:43:59 +09:00
syuilo e9db0680c4 update deps 2023-10-17 09:04:17 +09:00
Mar0xy 68886b9ab5
merge: upstream performance changes & instance silencing 2023-10-16 23:38:21 +02:00
syuilo 9338ab461e update deps 2023-10-16 20:13:05 +09:00
Mar0xy f8f128b347
merge: all upstream changes 2023-10-13 19:01:17 +02:00
syuilo cf6e53b2ac update deps 2023-10-10 16:26:48 +09:00
syuilo 13dbfef9f8 update deps 2023-10-09 20:55:40 +09:00
syuilo e6ca53c5e1 update rollup to 4.0.0 2023-10-06 17:36:43 +09:00
syuilo 95dc70021f update deps 2023-10-06 17:19:17 +09:00
Mar0xy 38e35e1472
merge: upstream 2023-10-03 15:20:49 +02:00
Mar0xy 3d8414e499
fix: like button opening post view, remove tabler 2023-10-01 02:34:07 +02:00
Mar0xy f2e299a7a9
upd: change icon font 2023-09-30 18:52:13 +02:00
syuilo ac19b055c7 update deps 2023-09-29 15:11:08 +09:00
Mar0xy 8595a325ce
merge: upstream 2023-09-26 02:26:30 +02:00
Mar0xy 5d7c86668a
upd: lock 2023-09-25 01:53:42 +02:00
Mar0xy 08cd1f313c
test: fix lock 2023-09-25 01:22:04 +02:00
Mar0xy c782085af4
upd: change oauth 2023-09-24 19:47:12 +02:00
syuilo 82a51d49a0 improve moderation log 2023-09-24 15:10:56 +09:00
syuilo 509cea511c update deps 2023-09-24 11:09:49 +09:00
Mar0xy afda15260f
upd: megalodon to v7 2023-09-24 01:44:53 +02:00
Mar0xy 2375d043d1
add: Megalodon, initial mastodon api 2023-09-23 18:49:47 +02:00
syuilo 5a4cf059ee update deps 2023-09-23 12:46:19 +09:00
syuilo 032b6c6afb update deps 2023-09-22 16:47:42 +09:00
Mar0xy 7111c6c90b
upd: swap bcrypt to argon2, add misskey-js to dev, auto load replies 2023-09-22 00:21:57 +02:00
syuilo 51c3ef5561 update deps 2023-09-21 15:24:47 +09:00
syuilo 6459eadcf1 update deps 2023-09-21 10:25:44 +09:00
syuilo b9c6992aac
update deps (#11849)
* update deps

* wip

* wip
2023-09-20 16:43:45 +09:00