Commit Graph

253 Commits

Author SHA1 Message Date
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
syuilo 60f3cc6f07 update aiscript to 0.16.0 2023-09-17 16:54:25 +09:00
syuilo 6cf466e5d1
update deps (#11820)
* update deps

* fix

* wip

* wip

* wip

* Update docker-compose.yml.example

* Delete reviewer-lottery.yml

* Update RepositoryModule.ts

* wip

* wip

* clean up

* update deps

* wip

* wip
2023-09-15 14:28:29 +09:00
syuilo ff9a65e8fa
feat: passkey support (#11804)
https://github.com/MisskeyIO/misskey/pull/149
2023-09-08 14:05:03 +09:00
woxtu 32f5949935
chore: Goodbye gulp (#11447)
* Add a script for building assets

* Replace with script executions

* Remove gulp dependencies

* Fix dependencies

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-07 16:56:17 +09:00
syuilo 98462ccbaf Update pnpm-lock.yaml 2023-09-06 18:35:40 +09:00
syuilo ca00a08e6e feat: introduce aidx and make it default
Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
2023-09-06 18:33:51 +09:00
syuilo 59ab4af7ca update deps 2023-09-05 17:43:43 +09:00
syuilo 1f7a81aae7
update deps (#11764)
* update deps

* node16

* wip

* wip

* wip

* Update test-utils.ts

* wip

* Update tsconfig.json

* wip

* Update package.json

* wip

* Update following.vue

* Update followers.vue

* Update index.vue

* Update share.vue

* Update MkUserPopup.vue

* Update MkPostForm.vue

* wip

* Update MkTokenGenerateWindow.vue

* Update MkPagination.vue

* refactor

* update deps

* update deps

* Update sw.ts

* wip

* wip

* wip

* Update FetchInstanceMetadataService.ts

* Update FetchInstanceMetadataService.ts

* update node

* update deps

* 🎨
2023-09-04 13:33:38 +09:00
tamaina f6a3f6f5f1
enhance(backend): Improve behavior of correctFilename (#11484)
* enhance(backend): Improve behavior of correctFilename

* ✌️

* 未知のファイル形式かつ拡張子がある場合は何もしない

* ✌️

* .ext

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-08-08 13:24:30 +09:00
syuilo 2b4c8c9e0f
update deps (#11409)
* update deps

* Update .eslintrc.js

* Update .eslintrc.js

* lint

* lint

* Update update.ts

* update deps

* Update .eslintrc.js
2023-07-31 19:14:20 +09:00
Ebise Lutica 007ed5c929
enhance(frontend): TwitterアイコンをXに変更 (#11436) 2023-07-31 17:05:40 +09:00
woxtu 5096be06ac
Remove an unused dependency (#11405) 2023-07-29 15:17:29 +09:00
Kagami Sascha Rosylight eb7b5f905a
feat(backend): support OAuth 2.0 authorization (#11053)
* feat(backend): support OAuth 2.0 authorization

* secureRndstr fix

* nanndekowareta

* nanndekowareta2

* nanndekowareta3

* unref?

* refactor to not close fastify

* use microformats-parser

* Update OAuth2ProviderService.ts

* clarify the reason behind dns lookup

* refactor(backend): use @types/oauth2orize-pkce (#11350)

* refactor(backend): use @types/oauth2orize-pkce

* Update package.json

* Update pnpm-lock.yaml

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>

---------

Co-authored-by: mtgto <hogerappa@gmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 18:51:58 +09:00
Acid Chicken (硫酸鶏) cf3ac3c0be
build: close #10953 2023-07-26 22:06:00 +09:00
Kagami Sascha Rosylight 47b684100d
refactor(frontend): use nodemon for storybook (#11297)
* refactor(frontend): use nodemon for storybook

* Update package.json
2023-07-20 17:41:48 +09:00
Acid Chicken (硫酸鶏) e6fca72171
perf: use slacc instead of unzipper (#10780)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-20 17:00:54 +09:00
syuilo 51b02ef23e Update pnpm-lock.yaml 2023-07-20 12:45:43 +09:00
syuilo 2ddf575cdc use storybook 7.0.27
Resolve #11318
2023-07-20 10:26:08 +09:00
syuilo 8a058876a3 update aiscript to 0.14.1 2023-07-20 10:24:09 +09:00
woxtu 5f5c4fc44f
Remove unused dependencies (#11327) 2023-07-20 06:53:35 +09:00
syuilo c50b952ff9 update aiscript to 0.14.0 2023-07-19 11:26:08 +09:00
syuilo 54c0ed2ed7 update deps 2023-07-18 20:00:45 +09:00
syuilo 545371011a use happy-dom 10.0.3
Resolve #11287
2023-07-16 07:43:55 +09:00
woxtu b392f44b81
refactor(backend): Improve UUID generation (#11286)
* Replace with `crypto.randomUUID()`

* Remove uuid
2023-07-15 18:39:38 +09:00
syuilo 9d5dd7201e update deps 2023-07-15 16:36:39 +09:00
syuilo 644023316e refactor: use esm 2023-07-08 13:03:31 +09:00
popkirby 8daca59ca6
perf(backend): use mutex for nsfw model loading (#11109)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-08 07:27:26 +09:00