Commit Graph

20 Commits

Author SHA1 Message Date
Marie d5b372f7a9
upd&merge: Merge Cherrypick/MisskeyIO's external url popup, delete old popup warning and modify script to handle undefined domains 2024-10-04 02:31:22 +02:00
Marie 696c76768d
chore: lint 2024-09-16 01:14:31 +02:00
Marie d2564836ed
upd: prompt for confirmation on external links 2024-09-16 01:12:20 +02:00
Marie 9b7301fb2e
upd: Prompt for confirmation when Plugin:open_url is used 2024-09-15 23:54:31 +02:00
dakkar f0dd0b8993 revert AiScript hack for plugins
aiscript 0.19 should have fixed the problem, and no longer `abort`
when an error gets handled (or, in this case, logged)
2024-08-03 18:04:06 +01:00
dakkar d6a1db1e7b ugly work-around to prevent plugins from breaking timelines
as the comment says, this is a complicated interaction that must be
fixed upstream (I'm not going to fork aiscript for this!)

but at least this stops errors in plugins from completely breaking
Sharkey's frontend
2024-06-20 10:23:29 +01:00
FineArchs 88d47ab024
プラグインの簡易的なログを表示する機能 (#13564)
* add plugin logging

* change variable name

* Update plugin.ts

* Update CHANGELOG.md
2024-03-13 22:38:26 +09:00
tamaina c1514ce91d (re) update SPDX-FileCopyrightText
Fix  #13290
2024-02-13 15:59:27 +00:00
tamaina 311c2172d7 Revert "update SPDX-FileCopyrightText"
This reverts commit 9b5aeb76d8.
2024-02-13 15:50:11 +00:00
syuilo 9b5aeb76d8 update SPDX-FileCopyrightText 2024-02-12 11:37:45 +09:00
FineArchs f8d5a46dbf
Fix: AiScriptのreadlineの修正をPlay以外にも適用 (#12841)
* add AiScriptReadline() in api.ts

* apply AiScriptReadline on flash.vue

* AiScriptReadline → aiScriptReadline

* Update flash.vue

* Update scratchpad.vue

* Update WidgetAiscript.vue

* Update WidgetAiscriptApp.vue

* Update WidgetButton.vue

* Update plugin.ts
2024-01-04 12:26:57 +09:00
まっちゃとーにゅ ab5d2eca1f enhance(frontend): window.openやaタグにnoopenerオプションをつける (MisskeyIO#283) 2023-12-08 19:46:25 +09:00
syuilo bfca457510 enhance(frontend): improve aiscript plugin error handling 2023-11-06 11:21:43 +09:00
syuilo b0f6c44f36 refactor(frontend): use ESM 2023-09-19 16:37:43 +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
タービン 42833cd921
Fix #10261 (#10323) 2023-03-15 10:44:24 +09:00
KokiSakano 830fabef12
refactor: plugin.tsの型を修正する (#10027)
* refactor:plugin内のすべての関数にreturn typeを設定

* fix:pluginContextsから取得できない場合は早期リターンする

* fix:valueがstring以外の時は早期リターンする

* fix:valueが取得できる時以外は早期リターンする

* fix:pluginに型をつける

* fix:絞り込みをassertStringに変更

* fix:修正漏れ

* fix:valToJsからvalueを取得するように変更
2023-03-01 15:19:20 +09:00
syuilo 5f3640c7fd fix(client): validate input response in aiscript 2023-02-05 20:29:10 +09:00
syuilo e44f83fb9c update AiScript to 0.12.0 2023-01-03 15:51:49 +09:00
syuilo 9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
Renamed from packages/client/src/plugin.ts (Browse further)