Commit Graph

28 Commits

Author SHA1 Message Date
FineArchs 09dfb9bde3
feat: AiScriptでホストのアドレスを参照できる定数 (#11924)
* add HOST_URL

* Update CHANGELOG.md

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-30 09:39:21 +09:00
FineArchs f269841a83
Feat: AiScriptでリモートサーバーのAPIを叩く関数を追加 (#11887)
* add Mk:apiExternal

* fix

* lint

* Update CHANGELOG.md

* Update api.ts

* add apiExternal()

* add apiExternal()

* allow / ambiguity

* use os.apiExternal()

* add checks

* fix url
2023-09-29 15:21:45 +09:00
FineArchs 30b231225c
Mk:apiで外部サーバーとの接続を禁止 (#11883)
* Mk:url(): no automatic token attaching when ep is url

* Limit requests to external servers by Mk:api

* remove unused import

* Update CHANGELOG.md

* Update packages/frontend/src/scripts/aiscript/api.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-24 14:41:41 +09:00
FineArchs 578b0ebe0c
Scratchpadに非同期のエラーを処理する機能を追加 (#11850)
* opts.callをtopCallに置換

* AiScriptのエラーコールバックをscratchpadに導入

* lint

* Update CHANGELOG.md
2023-09-19 16:53:43 +09:00
syuilo b0f6c44f36 refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
FineArchs 44985ae858
feat: Mk:apiが失敗時エラー型の値を返すように (#2) (#11843)
* Mk:apiが失敗時エラー型の値を返すように (#2)

* Update CHANGELOG.md
2023-09-18 14:23:33 +09:00
syuilo 55d392818c enhance(frontend): add Ui:C:postForm to play 2023-09-09 09:54:54 +09:00
syuilo 724ed47e5f enhance(frontend): AiScriptからMisskeyサーバーAPIを呼び出す際の制限を撤廃
Resolve #7123
2023-09-01 13:21:47 +09:00
syuilo 8038049068 enhance(frontend/aiscript): 現在の設定言語を取得できるように
Resolvve #11750
2023-08-21 11:53:06 +09:00
Shun Sakai c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348)
* chore: Add the SPDX information to each file

Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.

* tweak format

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
setaria 78b502bcab
URL取得変数を関数に変更 #11392 (#11393) 2023-07-27 09:00:22 +09:00
setaria c13fd42015
現在閲覧中のURLを取得するプロパティを追加 (#11234)
* 現在閲覧中のURLを取得するプロパティを追加 #11232

* commit the uncommitted remainder

---------

Co-authored-by: setaria <v.setaria@gmail.com>
2023-07-13 19:52:18 +09:00
okayurisotto d84796588c
cleanup: trim trailing whitespace (#11136)
* cleanup: trim trailing whitespace

* update(`.editorconfig`)

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 07:08:16 +09:00
tsukimizake cbd183a7a9
fix: return null from Mk:dialog (#10676) 2023-05-02 09:56:20 +09:00
syuilo 24a3a0bbff fix(client): An error occurs when you press the Play button of Misskey Play
Fix #10381
2023-03-22 16:26:11 +09:00
Kagami Sascha Rosylight 63df2c851e
refactor: remove all unused imports (#9951)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo af1c9251fc chore(client): add type check 2023-02-05 20:38:33 +09:00
tamaina 605b0f27e4 Merge branch 'develop' into emoji-re 2023-01-25 14:22:26 +00:00
syuilo ed9facbb33 fix(client): Aiscript: button is not defined
Fix #9704
2023-01-23 12:53:44 +09:00
tamaina a8b19f4aa8 Merge branch 'develop' into emoji-re 2023-01-22 12:07:38 +00:00
syuilo 8f0c598772 improve aiscript ui 2023-01-17 17:09:43 +09:00
tamaina 21e4c3dfe9 wip 2023-01-16 09:39:58 +00:00
syuilo 60d9bb0218 enhance(client): add timeline flash preset 2023-01-16 10:31:30 +09:00
syuilo 956375e2e8 enhance(client): AiScriptからカスタム絵文字一覧を参照できるように 2023-01-16 10:13:14 +09:00
syuilo 91503405b4 refactor(client): typed localStorage 2023-01-07 10:13:02 +09:00
syuilo d890383a00 add Ui:C:folder for AiScript 2023-01-05 17:09:36 +09:00
syuilo ebe340d510
MisskeyPlay (#9467)
* wip

* wip

* wip

* wip

* wip

* Update ui.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* 🎨

* wip

* ✌️
2023-01-05 13:59:48 +09:00
syuilo 9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00