Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 2023.9.3 #67

Merged
merged 46 commits into from
Sep 30, 2023
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
5ad0906
feat(backend): MasterプロセスのPIDを書き出せるように (#11909)
CyberRex0 Sep 27, 2023
440f314
enhance(frontend): improve moderation log
syuilo Sep 27, 2023
9d0c077
fix: leverage join misskey multilingual behaviour (#11908)
tassoman Sep 27, 2023
055464a
enhance: improve moderation log
syuilo Sep 28, 2023
d860e53
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Sep 28, 2023
ce1218a
enhance: ユーザーページのノート一覧でRenoteを除外できるように
syuilo Sep 28, 2023
d854942
.js
syuilo Sep 28, 2023
eb740e2
enhance: タイムラインからRenoteを除外するオプションを追加
syuilo Sep 28, 2023
772d243
enhance: タイムラインからRenoteを除外するオプションを追加
syuilo Sep 28, 2023
63c6a9b
Feat: register_post_form_actionでcwを変更可能にする (#11911)
tai-cha Sep 28, 2023
a388e25
Update CHANGELOG.md
syuilo Sep 28, 2023
c106db8
feat: note edit
syuilo Sep 28, 2023
2438c04
enhance: 編集されたノートかどうか分かるように
syuilo Sep 28, 2023
7ce86a6
.js
syuilo Sep 28, 2023
4216a67
.js
syuilo Sep 29, 2023
b9da141
feat: 通知の受信設定を強化
syuilo Sep 29, 2023
9c44805
広告に関する修正(配信中の絞り込み、Create時にMiAdを返すように) (#11913)
nenohi Sep 29, 2023
424bb78
Update CHANGELOG.md
syuilo Sep 29, 2023
9771f1c
enhance: improve moderation log
syuilo Sep 29, 2023
c01731f
refactor
syuilo Sep 29, 2023
2529830
tweak
syuilo Sep 29, 2023
fbab67d
Update CHANGELOG.md
syuilo Sep 29, 2023
eb23fd4
update type
syuilo Sep 29, 2023
ac19b05
update deps
syuilo Sep 29, 2023
961f5a0
fix(backend): fix notes/create validation
syuilo Sep 29, 2023
b349d0b
:art:
syuilo Sep 29, 2023
0b0e58d
2023.9.2
syuilo Sep 29, 2023
b55ffa2
New Crowdin updates (#11901)
syuilo Sep 29, 2023
f269841
Feat: AiScriptでリモートサーバーのAPIを叩く関数を追加 (#11887)
FineArchs Sep 29, 2023
eb38f08
Update CHANGELOG.md
syuilo Sep 29, 2023
d92e2b6
Update create.test.ts
syuilo Sep 29, 2023
e5c339b
enhance(frontend): タイムラインでファイルが添付されたノートのみ表示するオプションを追加
syuilo Sep 29, 2023
5edc885
fix
syuilo Sep 29, 2023
7adc8fc
Merge pull request #11920 from misskey-dev/develop
syuilo Sep 29, 2023
a512915
fix(backend): Redisに古いMisskeyバージョンのキャッシュが残っている場合の問題を修正
syuilo Sep 29, 2023
0e681f3
Update CHANGELOG.md
syuilo Sep 29, 2023
cc6a96e
enhance(front)end: improve moderation log
syuilo Sep 29, 2023
392de4d
enhance: ノートの翻訳機能の利用可否をロールで設定可能に
syuilo Sep 29, 2023
e537497
2023.9.3
syuilo Sep 29, 2023
7e74cff
後方互換性の強化
syuilo Sep 29, 2023
ff6600d
Update CHANGELOG.md
syuilo Sep 29, 2023
d0917aa
fix test
syuilo Sep 29, 2023
b0714cb
[ci skip] New Crowdin updates (#11922)
syuilo Sep 30, 2023
09dfb9b
feat: AiScriptでホストのアドレスを参照できる定数 (#11924)
FineArchs Sep 30, 2023
0e6cd57
Merge pull request #11926 from misskey-dev/develop
syuilo Sep 30, 2023
5750705
Merge tag '2023.9.3' into merge-2023.9.3
anatawa12 Sep 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: AiScriptでホストのアドレスを参照できる定数 (misskey-dev#11924)
* add HOST_URL

* Update CHANGELOG.md

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
  • Loading branch information
FineArchs and syuilo authored Sep 30, 2023
commit 09dfb9bde3fc49a76c8aa7efd6e3741c5d452fed
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@
- Enhance: ノートの翻訳機能の利用可否をロールで設定可能に

### Client
- Enhance: AiScriptでホストのアドレスを参照する定数`SERVER_URL`を追加
- Enhance: モデレーションログ機能の強化
- Enhance: ローカリゼーションの更新

3 changes: 2 additions & 1 deletion packages/frontend/src/scripts/aiscript/api.ts
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import * as os from '@/os.js';
import { $i } from '@/account.js';
import { miLocalStorage } from '@/local-storage.js';
import { customEmojis } from '@/custom-emojis.js';
import { lang } from '@/config.js';
import { url, lang } from '@/config.js';

export function createAiScriptEnv(opts) {
return {
@@ -17,6 +17,7 @@ export function createAiScriptEnv(opts) {
USER_USERNAME: $i ? values.STR($i.username) : values.NULL,
CUSTOM_EMOJIS: utils.jsToVal(customEmojis.value),
LOCALE: values.STR(lang),
SERVER_URL: values.STR(url),
'Mk:dialog': values.FN_NATIVE(async ([title, text, type]) => {
await os.alert({
type: type ? type.value : 'info',