dakkar
bc531ac414
Merge remote-tracking branch 'misskey/develop' into future-2024-03-23
2024-03-24 11:53:52 +00:00
dakkar
beb00789df
Merge branch 'develop' into future-2024-03-23
2024-03-24 11:26:36 +00:00
dakkar
4271402e0d
recognise numbers and boolean values
2024-03-24 11:17:55 +00:00
dakkar
0e8cdb30b7
allow setting values not present in the config file
...
replicas and arrays in general, are more complicated :/
2024-03-24 11:12:17 +00:00
zyoshoka
a1bc8fa77b
test(backend): fix streaming test error when replying to followers-only note ( #13618 )
2024-03-24 16:46:52 +09:00
zyoshoka
539718f6a8
fix(misskey-js): fix ESLint error in generator due to operationId
change ( #13619 )
2024-03-24 16:46:15 +09:00
dakkar
74362af828
allow custom oneko image via themes - fixes #472
...
after this change, one can set a custom image by:
* upload an appropriate image to the drive (some images can be
found at
https://github.com/vencordcss/onekocord/tree/main/onekoskins ),
possibly with the "keep original" option set
* copy the URL to the image in the drive
* create/edit a theme so that it contains (inside `props`):
"oneko-image": '"url(https://yourinstance.example.com/files/ee17b385-a084-4e2a-b531-225dfb96cc3c )',
with the proper URL
That's it!
2024-03-23 12:19:13 +00:00
syuilo
3db26f2b94
fix(backend): fix openAPI operationId format
2024-03-23 20:43:29 +09:00
かっこかり
6bd78770de
enhance(frontend): リアクション受け入れがいいねのみの場合はボタンホバーでツールチップが出るように ( #13613 )
2024-03-22 18:21:14 +09:00
かっこかり
c9c6424205
enhance(frontend): TOTPの入力ダイアログを改良 ( #13607 )
...
* enhance(frontend): TOTPの入力ダイアログを改良
* Update Changelog
2024-03-22 15:03:21 +09:00
tamaina
40bb6069ec
fix(frontend): URLプレビューのto/hrefがない問題を修正
...
Fix of 9ae577871b (diff-cfa02e203bdbd03dbf312a889f009ca7f9ebd8376334ebd74c4961b716b22d93)
2024-03-22 08:54:34 +09:00
dakkar
435cab01c8
deal with (possible, future) non-alnum config keys
2024-03-21 10:00:16 +00:00
おさむのひと
831c74a25b
fix: URLプレビューの動作改善+動作設定を可能にする ( #13579 )
...
* wip
* support new version
* URLプレビュー無効化時、フロント側も非表示にしてリクエストをしないようにする
* fix lint
* fix lint
* tweak preview request error handles
* fix: CHANGELOG.md
* fix
* fix
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-21 18:46:42 +09:00
かっこかり
f4838e50b4
enhance(antenna): Botの投稿を除外できるように ( #13603 )
...
* enhance(antenna): Botの投稿を除外できるように (MisskeyIO#545)
(cherry picked from commit a95ce067c6cf0a93647e358aabc984bdbe99e952)
* Update Changelog
* remove translations
* spdx
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-03-21 07:51:01 +09:00
dakkar
25e6409cc9
allow overriding all string config values via env - fixes #465
...
will need end-user documentation!
2024-03-20 15:38:20 +00:00
syuilo
7795045b23
Update about-misskey.vue
2024-03-20 20:01:56 +09:00
かっこかり
ca2df14a8f
fix(frontend): woodenPanelの配色を修正 ( #13561 )
...
* fix(frontend): woodenPanelの配色を修正
* fix
2024-03-20 13:10:09 +09:00
おさむのひと
115d91812e
fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする ( #13598 )
...
* fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする
* fix CHANGELOG.md
2024-03-20 10:30:45 +09:00
KevinWh0
459e684117
fixed some of the issues with it
2024-03-19 22:00:28 +01:00
dakkar
f4e89f2e6b
bump tmp@0.2.3 - fixes #464
...
see also https://github.com/raszi/node-tmp/issues/295
2024-03-19 17:13:43 +00:00
かっこかり
0226a670dd
fix(backend): ユーザーやノートのOGPでローカルとリモートユーザーの見分けが付かない問題を修正 ( #13586 )
...
* enhance(OGP): ユーザーやノートのOGPでローカルとリモートユーザーの見分けが付かない問題を修正 (MisskeyIO#528)
(cherry picked from commit 0c3de462d99c47297bebc162581bac6f78f21b49)
* Update Changelog
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-03-18 18:34:31 +09:00
かっこかり
067cdf3ce4
enhance(frontend): ページのデザインを調整 ( #13590 )
...
* enhance(frontend): ページのデザインを調整
* 共有ボタンを直感的な導線に変更
* Update Changelog
* Update packages/frontend/src/components/page/page.image.vue
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-18 18:21:27 +09:00
かっこかり
a38646bd0f
fix(backend): フォローリクエストを作成する際に既存のものは削除するように ( #13588 )
...
* fix: delete old follow request (if exists) before creating new
(cherry picked from commit ea948ccadc
)
* Update Changelog
* Update Changelog
---------
Co-authored-by: Kaity A <kaity@atikayda.au>
2024-03-18 14:20:28 +09:00
かっこかり
b65203c9f8
fix(frontend): WebGL2コンテキストの初期化に失敗するとMisskeyが起動できなくなる問題を修正 ( #13587 )
...
* Fixed startup crash with seasonal effects
(cherry picked from commit eba0c2cc61
)
* Update Changelog
* Update Changelog
---------
Co-authored-by: Leah <kevinlukej@gmail.com>
2024-03-17 20:33:33 +09:00
BackRunner
dcfab918e9
feat: send heartbeat right after visibility changed to 'visible' ( #13581 )
2024-03-17 18:47:29 +09:00
syuilo
282cfae1b2
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-03-17 10:34:15 +09:00
syuilo
7e63ab0f56
refactor(backend): refactor chart engine
2024-03-17 10:34:13 +09:00
KevinWh0
ccf5659ac3
made methods private
2024-03-16 01:34:20 +01:00
KevinWh0
8f300cf460
added setting
2024-03-16 01:23:02 +01:00
KevinWh0
395ea9ab9f
made notification dot appear if you load the page and there are already notifs
2024-03-16 01:08:08 +01:00
KevinWh0
a0c63c8cc4
added notification dot and it seems to work well
2024-03-16 00:27:26 +01:00
zyoshoka
4b1ca9ef61
fix(general): flash/create
でPlayの公開範囲を指定できない問題の修正と編集画面の調整 ( #13574 )
...
* fix(backend): param `visibility` wasn't included in `flash/create`
* fix(frontend): tweak flash editor ui
* Update CHANGELOG.md
2024-03-15 22:02:57 +09:00
Alina Sireneva
ecfaf7ff7a
chore: added license and patch info
2024-03-14 21:39:34 +03:00
dakkar
9478fc0095
Merge remote-tracking branch 'misskey/develop' into future-2024-03-14
2024-03-14 16:28:56 +00:00
dakkar
58bc8f2c10
merge: always align code to the left - fixes #436 ( !453 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/453
Closes #436
Approved-by: Essem <smswessem@gmail.com>
Approved-by: Leah <kevinlukej@gmail.com>
2024-03-14 14:48:30 +00:00
dakkar
94aed953b5
merge: make cookie a bit more secure - fixes #445 ( !468 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/468
Closes #445
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-14 14:47:38 +00:00
dakkar
aa7035a35a
merge: longer statement_timeout
for migrations - fixes 450 ( !466 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/466
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-14 14:46:42 +00:00
dakkar
45eab01fc4
merge: hide CW-ed featured notes on welcome page - fixes #458 ( !467 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/467
Closes #458
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-03-14 14:45:53 +00:00
Alina Sireneva
a69315a24b
fix: added wasm in vite config
2024-03-14 14:41:24 +03:00
Luna
d003c3ec1f
merge: Fixed broken line numbers ( !471 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/471
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Luna <her@mint.lgbt>
2024-03-14 01:36:46 +00:00
KevinWh0
b918f38ec2
fixed
2024-03-13 23:52:21 +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
zyoshoka
29f6ba6310
chore: add missing SPDX ID and workflow check ( #13570 )
...
* chore: add workflow which checks if SPDX ID exists
* chore: add missing SPDX ID in some files
* chore: change trigger condition
* chore: trigger on push
* lint
2024-03-13 22:37:18 +09:00
おさむのひと
5c1d86b796
refactor(backend): UserEntityService.packMany()の高速化 ( #13550 )
...
* refactor(backend): UserEntityService.packMany()の高速化
* 修正
2024-03-12 14:31:34 +09:00
anatawa12
6d9c234cb6
fix: URL preview popup for local URL appears in the upper left corner ( #13555 )
2024-03-12 13:50:24 +09:00
かっこかり
b280faa8e7
enhance(frontend): 各サーバーはMisskeyを利用したサービスであることを強調 ( #13559 )
...
* ロゴ周りを追加
* 調整
---------
Co-authored-by: uboar <10250330+uboar@users.noreply.github.com>
2024-03-12 13:48:14 +09:00
Alina Sireneva
d991eccd3f
fix: Promise.resolve
2024-03-11 16:42:10 +03:00
Alina Sireneva
0085305579
fix: load libopenmpt on demand
2024-03-11 15:32:59 +03:00
dakkar
6826e43ad7
make cookie a bit more secure - fixes #445
...
We can't make the cookie `HttpOnly` because we're setting it from
Javascript, but I'm not sure it's worth the trouble to redesign that:
`JSON.parse(localStorage.account).token` gives you the token anyway,
hiding the cookie from JS won't offer much protection.
At least we can mark is `Secure` (meaning, only send it over HTTPS)
and _delete it on logout_ (it wasn't!)
2024-03-10 10:26:04 +00:00
dakkar
ff189b1952
hide CW-ed featured notes on welcome page - fixes #458
...
not the most elegant solution, but simple and robust
2024-03-10 10:13:35 +00:00
yupix
6b676a928d
enhance(backend): antennas/updateの必須項目をantennaIdのみに ( #13542 )
...
* refactor: antennas/updateの必須項目を最小限に
* fix: userListIdがnullにできない
2024-03-10 17:31:39 +09:00
dakkar
43544a6479
longer statement_timeout
for migrations - fixes 450
2024-03-09 15:38:36 +00:00
dakkar
354cb2a675
handle non-ASCII emoji names
...
* use the more inclusive regexp for validating emoji names
* always normalize emoji names, aliases, categories
the latter point is necessary to allow matching, for example, `ä`
against `a`+combining diaeresis
this will also need to bump the version of `sfm-js` once we merge
https://activitypub.software/TransFem-org/sfm-js/-/merge_requests/2
2024-03-09 12:51:51 +00:00
syuilo
dbc4fd3e93
Update about-misskey.vue
2024-03-09 15:40:21 +09:00
tamaina
45d1af23bb
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-03-09 04:10:21 +00:00
tamaina
1b064d7e30
chore(backend): validateNoteの結果Errorはそのままthrowする
...
理由がわからないため
2024-03-09 04:10:17 +00:00
dakkar
760df9ebf0
copy changes to SkNote*
2024-03-08 16:10:52 +00:00
dakkar
15c78d1a01
Merge remote-tracking branch 'misskey/develop' into future
2024-03-08 16:09:56 +00:00
かっこかり
27f823e882
enhance(frontend): リアクションの総数を表示するか設定で選べるように ( #13539 )
...
* enhance(frontend): リプライ・リノート・リアクションの総数を表示するか設定で選べるように (MisskeyIO#512)
(cherry picked from commit 3c8475e5ac217f055eab0f6d0aedcbbcb2a2f27c)
* fix: いいねのみの場合は強制的にカウント表示
* make `showReactionsCount` default false
* リアクションだけ
* けしわすれ
* けしわすれ2
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-03-08 18:13:09 +09:00
dakkar
8ab3f3aad6
copy changes to SkNote*
2024-03-07 16:20:43 +00:00
dakkar
dfff4d2073
Merge remote-tracking branch 'misskey/develop' into future
2024-03-07 16:09:36 +00:00
かっこかり
f4a5740412
fix(frontend): 周年の実績が閏年を考慮するように ( #13525 )
...
* fix(frontend): 周年の実績が閏年を考慮するように
* まちがえた
* Update Changelog
* 変数の定義回数を減らす
2024-03-07 17:21:57 +09:00
かっこかり
c680e35aa0
enhance(frontend): 広告が同一ドメインの場合はRouterで遷移するように ( #13510 )
...
* enhance(frontend): 広告が同一ドメインの場合はRouterで遷移するように
* Update Changelog
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-07 16:36:06 +09:00
zyoshoka
412e9f284d
test(backend): enable typecheck by workflow ( #13526 )
2024-03-07 09:51:57 +09:00
かっこかり
7ead98cbe5
enhance(frontend): リアクションの総数を表示するように ( #13532 )
...
* enhance(frontend): リアクションの総数を表示するように
* Update Changelog
* リアクション選択済の色をaccentに
2024-03-06 21:08:42 +09:00
tamaina
62922352b3
Revert "perf: boot.jsの調整"
...
This reverts commit 00c1e4eb55
.
2024-03-06 09:49:01 +00:00
tamaina
00c1e4eb55
perf: boot.jsの調整
2024-03-06 09:40:47 +00:00
tamaina
4457b02db2
fix(frontend)?: importAppScriptはimportをawaitするように
2024-03-06 08:08:32 +00:00
dakkar
ff0117a1a5
check prohibited words when creating notes
...
some small differences (between Misskey and us) inside the `create`
method made `git` put all the changes inside the `import` method… I
thought I had copied them all, but I had missed one, and it's a pretty
important one: prohibited words were not being checked!
2024-03-05 16:52:05 +00:00
かっこかり
08d618bb8b
enhance(frontend): 自分のノートの添付ファイルから直接ファイルの詳細ページに飛べるようにする ( #13520 )
...
* enhance(frontend): 自分のノートの添付ファイルから直接ファイルの詳細ページに飛べるようにする
* 他のファイルタイプにも対応
* Update Changelog
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-05 18:06:57 +09:00
かっこかり
45672a70f9
fix(frontend): router遷移時にmatchAllに入った場合一度location.href
を経由するように ( #13509 )
...
* fix(frontend): router遷移時にmatchAllに入った場合一度`location.href`を経由するように
* Update Changelog
* Update CHANGELOG.md
* remove unnecessary args
2024-03-05 17:27:33 +09:00
Amelia Yukii
4c69cbcd2b
merge: update list of project members ( !452 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/452
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Leah <kevinlukej@gmail.com>
2024-03-04 20:35:57 +00:00
dakkar
2a4e26c05f
update list of project members
2024-03-04 20:35:57 +00:00
Amelia Yukii
1e658ee04d
merge: fix repo + feedback URLs for Firefish / IceShrimp ( !450 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/450
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-04 20:22:49 +00:00
Amelia Yukii
061cc40384
merge: allow lookup / search for http
URLs ( !457 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/457
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-04 20:20:53 +00:00
Leah
eba0c2cc61
Fixed startup crash with seasonal effects
2024-03-04 18:47:47 +00:00
tamaina
9542cb8d62
fix(backend): リモートサーバーの情報が更新できなくなっていた問題を修正 ( #13507 )
...
* fix(backend): fetchInstanceMetadataのLockが永遠に解除されない問題を修正
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix test
* fix
* comment
* comment
* improve test
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-03-04 13:48:57 +09:00
dakkar
96d8432b85
allow lookup / search for http
URLs
2024-03-03 14:45:34 +00:00
dakkar
03464cc379
always align code to the left - fixes #436
...
"featured notes" on the welcome page's right-hand column are shown
with the text right-aligned; code should not be affected by that. This
makes sure it isn't
2024-03-03 12:06:22 +00:00
dakkar
ebe8179c9e
save and restore UI language together with other prefs - fixes #443
2024-03-03 11:23:49 +00:00
zyoshoka
38837bd388
test(backend): refactor tests ( #13499 )
...
* test(backend): refactor tests
* fix: failed test
2024-03-03 20:15:35 +09:00
dakkar
7d00c4529b
fix repo + feedback URLs for Firefish / IceShrimp
2024-03-03 11:12:58 +00:00
dakkar
6ecfe7c7c3
remove duplicate method
2024-03-02 17:34:31 +00:00
dakkar
23f476dbf3
Merge branch 'develop' into release/2024.3.1
2024-03-02 17:28:34 +00:00
dakkar
af548d05ca
merge upstream for 2024.2.1
2024-03-02 16:36:49 +00:00
syuilo
3afdafed61
2024.3.1
2024-03-02 17:06:01 +09:00
tamaina
2744cbd310
fix(frontend): MkCustomEmojiでフォールバックをテキストか画像か選べるように
...
fix of #13487
2024-03-02 07:05:17 +00:00
おさむのひと
32690f576f
fix(frontend): ピン留め or 履歴に表示されるカスタム絵文字がサーバから削除されるとリアクションが出来なくなる ( #13486 )
...
* fix(frontend): ピン留めに登録されているカスタム絵文字がサーバから削除されるとリアクションが出来なくなる
* fix CHANGELOG.md
* fix Unicode Emojis
* fix Unicode Emojis
* fix
2024-03-02 13:28:10 +09:00
tamaina
114d3319e8
chore(client): 絵文字の画像読み込みに失敗した際はテキストではなくダミー画像を表示 ( #13487 )
2024-03-02 13:26:21 +09:00
Acid Chicken (硫酸鶏)
f704891932
fix: emoji colorization
2024-03-02 05:53:43 +09:00
syuilo
ba9d47fb69
2024.3.0
2024-03-01 20:22:06 +09:00
tamaina
eb60460d28
enhance: 禁止ワードチェック強化 ( #27 )
...
* enhance: 禁止ワードチェック強化
* リモートの禁止ワードチェックを添付ファイルとユーザーを登録する前に行うなど
Resolve https://github.com/misskey-dev/misskey/issues/13374
* 禁止ワートの対象の見直し
* performActivityで特定のエラーが出た際にDelayedに追加しないように
* use IdentifiableError
* NoteCreateService.checkProhibitedWords
* https://github.com/misskey-dev/misskey-private/pull/27/files#r1507416135
* remove comment
2024-03-01 20:16:32 +09:00
syuilo
d1bf432e14
add missing license headers
2024-03-01 17:28:46 +09:00
syuilo
4c6fc15858
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-03-01 17:27:11 +09:00
syuilo
6158ef138e
format
2024-03-01 17:27:03 +09:00
syuilo
5904d98208
Update packages/backend/test/e2e/mute.ts
...
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-03-01 17:26:27 +09:00
syuilo
ca6399437c
format
2024-03-01 17:26:13 +09:00
syuilo
2f31606eff
update deps
2024-03-01 14:16:44 +09:00
syuilo
14a3af679d
update deps
2024-03-01 14:06:34 +09:00
syuilo
033d71ee28
update deps
2024-03-01 13:52:39 +09:00
syuilo
a74406677c
fix packedRoleCondFormulaValueAssignedRoleSchema
2024-03-01 12:03:33 +09:00
tamaina
593358ed3f
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-02-29 11:49:49 +00:00
tamaina
bc30dc6bff
refactor: remove export of unicodeEmojisMap
2024-02-29 11:49:40 +00:00
Yuriha
26d4c5fd94
メンションの最大数をロールごとに設定可能にする ( #13343 )
...
* Add new role policy: maximum mentions per note
* fix
* Reviewを反映
* fix
* Add ChangeLog
* Update type definitions
* Add E2E test
* CHANGELOG に説明を追加
---------
Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com>
2024-02-29 20:48:02 +09:00
tamaina
b9bcceddfc
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-02-29 11:47:30 +00:00
tamaina
7565f7bec6
fix(client): use colorizeEmoji when unicodeEmojisMap.get
2024-02-29 11:47:24 +00:00
zyoshoka
16f16e6b08
fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように ( #13477 )
...
* fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように
* Update CHANGELOG.md
* test(backend): `notes/create`とWebSocket関連のテストを追加
2024-02-29 20:42:02 +09:00
かっこかり
39d6af135f
enhance: 通知の履歴をリセットできるように ( #13335 )
...
* enhance: 通知の履歴をリセットできるように
* Update Changelog
* 通知欄も連動して更新するように
* revert some changes
* Update CHANGELOG.md
* Remove unused part
* fix
2024-02-29 20:03:30 +09:00
syuilo
ec18991328
Update scroll.test.ts
2024-02-29 19:44:00 +09:00
syuilo
9d0fc96d1a
fix test
2024-02-29 18:04:03 +09:00
syuilo
98934b6738
fix type
2024-02-29 17:54:32 +09:00
syuilo
920c3be750
update deps
2024-02-29 11:10:03 +09:00
taichan
5f43c2faa2
enhance(backend): 通知がミュート・凍結を考慮するようにする ( #13412 )
...
* Never return broken notifications #409
Since notifications are stored in Redis, we can't expect relational
integrity: deleting a user will *not* delete notifications that
mention it.
But if we return notifications with missing bits (a `follow` without a
`user`, for example), the frontend will get very confused and throw an
exception while trying to render them.
This change makes sure we never expose those broken notifications. For
uniformity, I've applied the same logic to notes and roles mentioned
in notifications, even if nobody reported breakage in those cases.
Tested by creating a few types of notifications with a `notifierId`,
then deleting their user.
(cherry picked from commit 421f8d49e5
)
* Update Changelog
* Update CHANGELOG.md
* enhance: 通知がミュートを考慮するようにする
* enhance: 通知が凍結も考慮するようにする
* fix: notifierIdがない通知が消えてしまう問題
* Add tests (通知がミュートを考慮しているかどうか)
* fix: notifierIdがない通知が消えてしまう問題 (grouped)
* Remove unused import
* Fix: typo
* Revert "enhance: 通知が凍結も考慮するようにする"
This reverts commit b1e57e571dfd9a7d8b2430294473c2053cc3ea33.
* Revert API handling
* Remove unused imports
* enhance: Check if notifierId is valid in NotificationEntityService
* 通知作成時にpackしてnullになったらあとの処理をやめる
* Remove duplication of valid notifier check
* add filter notification is not null
* Revert "Remove duplication of valid notifier check"
This reverts commit 239a6952f717add53d52c3e701e7362eb1987645.
* Improve performance
* Fix packGrouped
* Refactor: 判定部分を共通化
* Fix condition
* use isNotNull
* Update CHANGELOG.md
* filterの改善
* Refactor: DONT REPEAT YOURSELF
Note: GroupedNotificationはNotificationの拡張なのでその例外だけ書けば基本的に共通の処理になり複雑な個別の処理は増えにくいと思われる
* Add groupedNotificationTypes
* Update misskey-js typedef
* Refactor: less sql calls
* refactor
* clean up
* filter notes to mark as read
* packed noteがmapなのでそちらを使う
* if (notesToRead.size > 0)
* if (notes.length === 0) return;
* fix
* Revert "if (notes.length === 0) return;"
This reverts commit 22e2324f9633bddba50769ef838bc5ddb4564c88.
* 🎨
* console.error
* err
* remove try-catch
* 不要なジェネリクスを除去
* Revert (既読処理をpack内で行うものを元に戻す)
* Clean
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/NotificationService.ts
* Clean
---------
Co-authored-by: dakkar <dakkar@thenautilus.net>
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 21:26:26 +09:00
zyoshoka
29350c9f33
refactor(frontend): os.ts
周りのリファクタリング ( #13186 )
...
* refactor(frontend): `os.ts`周りのリファクタリング
* refactor: apiWithDialogのdataの型付け
* refactor: 不要なas anyを除去
* refactor: 返り値の型を明記、`selectDriveFolder`は`File`のほうに合わせるよう返り値を変更
* refactor: 返り値の型を改善
* refactor: フォームの型を改善
* refactor: 良い感じのimportに修正
* refactor: フォームの返り値の型を改善
* refactor: `popup()`の`props`に`ref`な値を入れるのを許可するように
* fix: `os.input`系と`os.select`の返り値の型がおかしい問題とそれによるバグを修正
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 18:26:38 +09:00
zyoshoka
664aeb3ced
fix(backend): リノート時のHTLへのストリーミングの意図しない挙動を修正 ( #13425 )
...
* fix(backend): リノート時のストリーミングの意図しない挙動を修正
* Update CHANGELOG.md
* fix: 不要な返り値
* fix: 不適切な条件分岐を修正
* test(backend): add htl tests
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 17:43:17 +09:00
okayurisotto
b7d9d16201
refactor(backend): ノートのエクスポート処理でStreams APIを使うように ( #13465 )
...
* refactor(backend): ノートのエクスポート処理でStreams APIを使うように
* fixup! refactor(backend): ノートのエクスポート処理でStreams APIを使うように
`await`忘れにより、ジョブがすぐに完了したことになり削除されてしまっていた。
それによって、`NoteStream`内での`updateProgress`メソッドの呼び出しで、`Missing key for job`のエラーが発生することがあった。
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 15:34:58 +09:00
zyoshoka
0d47877db1
enhance(backend): フォロー・フォロワー関連の通知の受信設定の強化 ( #13468 )
...
* enhance(backend): 通知の受信設定に「フォロー中またはフォロワー」を追加
* fix(backend): 通知の受信設定で「相互フォロー」が正しく動作しない問題を修正
* Update CHANGELOG.md
2024-02-28 09:49:34 +09:00
zawa-ch
f906ad6ca7
Enhance: コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加 ( #13463 )
...
* コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加
* コメント修正
2024-02-27 18:45:46 +09:00
zyoshoka
0fb7b98f96
fix(backend): fix incorrect schemas ( #13458 )
2024-02-26 19:49:12 +09:00
zyoshoka
0a0af6887a
test(frontend): Chromaticテストが落ちるのを修正 ( #13448 )
...
* test(frontend): Chromaticテストが落ちるのを修正
* fix: テストケースを修正
* refactor: comment
2024-02-25 18:06:40 +09:00
FineArchs
dd48366ed8
admin/emoji/updateの必須項目を減らす 等 ( #13449 )
...
* admin/emoji/update enhancement
* add CustomEmojiService.getEmojiByName
* update endpoint
* fix
* Update update.ts
* Update autogen files
* type assertion
* Update CHANGELOG.md
2024-02-25 18:06:26 +09:00
tamaina
2c6f25b710
fix: 古いキャッシュを使うのを修正 ( #13453 )
2024-02-25 12:36:10 +09:00
Marie
2fa0e238b7
merge: Update index.vue - Also check enableMcaptcha for noBotProtection ( !442 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/442
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-02-24 18:16:43 +00:00
Marie
1b65c06d60
merge: fix: delete old follow request (if exists) before creating new ( !440 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/440
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-02-24 18:16:16 +00:00
Ashley Graves
17df852c33
Update index.vue - I'm dumb sorry
2024-02-24 17:15:24 +00:00
Ashley Graves
f3ca342318
Update index.vue - Also check enableMcaptcha for noBotProtection
2024-02-24 17:12:53 +00:00
zyoshoka
792168fdfa
fix(frontend): userActivation
がない環境において不具合が生じる問題を修正 ( #13451 )
2024-02-24 18:06:10 +09:00
Kaity A
def2e8dff0
Merge remote-tracking branch 'origin/develop' into fix/failed-follow
2024-02-24 05:05:25 +00:00
Kaity A
ea948ccadc
fix: delete old follow request (if exists) before creating new
2024-02-24 04:38:01 +00:00
syuilo
41747b6ee2
refactor
2024-02-24 11:50:10 +09:00
1Step621
e3dd3f6b63
Enhance(frontend): リアクションピッカーを調整 ( #13354 )
...
* 打てない絵文字を表示しないのではなくグレーアウトするように など
* fix: 今度は検索とピン留めに効いてなかった
* lint fix
* use Map
* 斜めに線を引いてわかりやすく
* 斜め線は右上からのほうが良かったかも
* デザイン調整
2024-02-24 10:22:23 +09:00
Marie
d1b787192a
fix: align note edit errors with note create errors
2024-02-23 17:01:35 +01:00
Marie
15d2319011
merge: upstream
2024-02-23 13:42:52 +01:00
tamaina
c0156b740b
enhance?: DeleteAccountServiceでユーザーを削除する際にuserChangeDeletedStateを発行する ( #13382 )
2024-02-23 18:15:39 +09:00
かっこかり
d834232232
enhance(games): 抜けている翻訳を追加・スタイル共通化 ( #13434 )
...
* enhance(games): 抜けている翻訳を追加・スタイル共通化
* frameDivider の使用箇所が見当たらなかったので削除
* ミス
* インナーでもcss変数を使う
* コロンを翻訳から外す
* 一部の翻訳を除去
* p
* revert some text
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-23 18:07:41 +09:00
tamaina
600d91beda
enhance: リモートのフォロワーから再度Followが来た場合、acceptを返してあげる ( #13388 )
...
* enhance: リモートのフォロワーから再度Followが来た場合、acceptを返してあげる
* nanka meccha kaeta
* ブロックチェックの後にフォロー関係の存在チェックをする
2024-02-23 18:04:30 +09:00
okayurisotto
a861f913a7
fix(backend): より多くの人に使われているハッシュタグが検索結果上位に来るように ( #11498 ) ( #13340 )
2024-02-23 18:02:12 +09:00
tamaina
b8d8b359bc
fix: プッシュ通知の変更が1時間ほど反映されない問題を修正 ( #13407 )
...
* fix: プッシュ通知の変更が1時間ほど反映されない問題を修正
* 410 to refresh
* refreshCache
2024-02-23 17:19:08 +09:00
1Step621
a85fccaeea
Fix(frontend): 絵文字オートコンプリートの優先順位がおかしいのを修正 ( #13423 )
...
* 絵文字オートコンプリートの優先順位がおかしいのを修正
* update CHANGELOG.md
* テストを追加
* lint fix
2024-02-23 17:01:42 +09:00
かっこかり
30fe072606
fix(test): Chromaticが落ちているのを一部修正? ( #13435 )
...
* fix(test): Chromaticが落ちているのを修正?
* いらん変更をけす
* 未来過ぎた
2024-02-23 14:13:46 +09:00
okayurisotto
64953fadc9
refactor(backend): Array.prototype.filter
での非null確認ではisNotNull
関数を使うように ( #13442 )
...
* `Array.prototype.filter`での非null確認では`isNotNull`関数を使うように
* `{}` -> `NonNullable<unknown>`
2024-02-23 14:12:57 +09:00
かっこかり
080a3c20bd
fix: SSR時のmetaをエスケープするように ( #13440 )
...
* fix: SSR時のmetaをエスケープするように
* エスケープ方法を変更
2024-02-23 14:10:13 +09:00
かっこかり
d20542c495
enhance: meta
をSSR HTMLに埋め込む ( #13436 )
...
* enhance: `meta`をSSR HTMLに埋め込む
* HTML Metaの有効時間を指定
* 1時間
* MetaEntityService
* JSONをPackするように
* ✌️
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-23 10:47:17 +09:00
Marie
b0bc69aac8
Reactions not working on child notes in detailed view
2024-02-22 21:16:08 +00:00
dakkar
4afbf3b91e
some fixes for note edits
2024-02-22 18:23:46 +00:00
FineArchs
bf5952fd63
flash/update で部分的に変更できるようにする ( #13396 )
...
* make flash/update params optional
* Update autogen files
pnpm run build-misskey-js-with-types
* Update update.ts
* Update CHANGELOG.md
* hasOwnProperty -> hasOwn
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-22 21:31:57 +09:00
tamaina
4d6fab06de
refactor: Refactor NoteReadService.read ( #13429 )
...
* refactor: Refactor NoteReadService.read
* clean up
* Update packages/backend/src/core/NoteReadService.ts
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-22 21:10:28 +09:00
syuilo
2bd9f05a92
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-02-22 20:59:57 +09:00
syuilo
26c8b53f70
enhance: サーバーごとにモデレーションノートを残せるように
2024-02-22 20:59:52 +09:00
Marie
349f846f32
Add fail safe for sponsors endpoint in case of not being able to connect
2024-02-21 18:59:31 +00:00
Vavency
897bc631f7
Optimized pattern drawing in MkModPlayer
2024-02-21 16:17:13 +00:00
anatawa12
b36e6b1a77
fix: 禁止キーワードを含むノートがDelayed Queueに追加されて再処理される問題 ( #13428 )
...
* refactor: use IdentifiableError instead of NoteCreateService.ContainsProhibitedWordsError
* fix: notes with prohibited words are reprocessed with delay
* docs(changelog): 禁止キーワードを含むノートがDelayed Queueに追加されて再処理される問題
* lint: fix lint errors
* fix: rethrowするべきなのにrethrowし忘れていたのを修正
2024-02-22 00:59:59 +09:00
anatawa12
e10ce7204c
fix: MkUserPopupが表示されてる状態でv-user-previewがついた要素がdetachされるとMkUserPopupが消えない問題 ( #13349 )
...
* fix: MkUserPopupが表示されてる状態でv-user-previewがついた要素がdetachされるとMkUserPopupが消えない問題
* docs(changelog): previewの中のユーザメンションをホバーした状態で投稿を編集するとユーザの情報popupが消えない問題を修正
* docs(changelog): ユーザの情報のポップアップが消えなくなることがある問題を修正
2024-02-21 20:15:04 +09:00
syuilo
fb0eb5a31f
🎨
2024-02-21 18:35:05 +09:00
tamaina
ae27085f69
fix: Bump sharp to 0.33.2 ( #13391 )
2024-02-21 14:42:37 +09:00
okayurisotto
750d262604
refactor(backend): ReactionService.prototype.convertLegacyReactions
( #13375 )
...
* add unit tests
* cleanup unnecessary type assertions
* `convertedReaction`変数の定義と変換表に対する存在確認処理の整理
* `count`変数の定義とループ処理での`Object.entries()`の活用
* 条件式の整理
* `Array.prototype.reduce`を使うように
* `Array.prototype.reduce`を使うように
* 配列操作を1つのメソッドチェーンに整理
これまでの実装では、`decodeReaction`の返り値が同一になる異なる入力値が同時に複数個存在した場合、後ろのもので上書きされてしまっていたはず。
これからの実装では、後ろのものは前のものに加算される。
(実際にこの挙動の変更が問題になるシチュエーションはまずないはず。)
* add unit test
* ドキュメントコメントの追加と型定義の調整
2024-02-21 14:31:50 +09:00
かっこかり
bbbb16795d
refactor(frontend): 不必要なconsole.logを除去・抑制 ( #13400 )
...
* refactor(frontend): 不必要なconsole.logを除去
* Update MkCode.core.vue
* Update game.board.vue
2024-02-21 14:27:06 +09:00
Amelia Yukii
78975ddcc8
merge: Switch source code bits ( !435 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/435
Approved-by: Julia Johannesen <julia@insertdomain.name>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-20 20:01:31 +00:00
dakkar
c9940b7359
Switch source code bits
2024-02-20 20:01:31 +00:00
Amelia Yukii
ff8cfeb05c
merge: avoid look-behind in nyaize - fixes 419 ( !433 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/433
Approved-by: Julia Johannesen <julia@insertdomain.name>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-20 20:00:22 +00:00
dakkar
b02ded29dd
avoid look-behind in nyaize - fixes 419
2024-02-20 20:00:22 +00:00
Marie
4a13508da0
Note Edited notification type
2024-02-20 15:10:41 +00:00
zyoshoka
f18a31c628
fix(frontend): 画面表示後最初の音声再生が爆音になることがある問題を修正 ( #13379 )
...
* fix(frontend): 画面表示後最初の音声再生が爆音になることがある問題を修正
* Update CHANGELOG.md
* Update CHANGELOG.md
2024-02-20 15:26:11 +09:00
zyoshoka
39c4e3a4f5
fix(frontend): チャートのラベルが消えている問題を修正 ( #13416 )
...
* fix(frontend): チャートのラベルが消えている問題を修正
* Update CHANGELOG.md
2024-02-20 14:00:57 +09:00
Marie
15665d1533
merge: Warn when missing alt text ( !423 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/423
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-02-20 04:45:31 +00:00
Sayamame-beans
ddd7b26f1c
enhance(frontend): ノート作成画面の添付メニューのdividerの位置を"添付取り消し"の上にする ( #13409 )
...
* enhance(frontend): change divider position for MkPostFormAttaches
* docs(changelog): update
2024-02-20 11:59:49 +09:00
KevinWh0
3c4f3cb81d
updated to use .some
2024-02-19 20:53:13 +01:00
Marie
6931f50af5
merge: check prohibited words when editing note ( !429 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/429
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-19 19:19:27 +00:00
Marie
3912436f4f
merge: hide blocked&c instances when not logged in - fixes #422 ( !430 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/430
Closes #422
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-19 19:09:11 +00:00
Marie
e248e41287
fix: merge conflict
2024-02-19 19:06:30 +00:00
Marie
d182402cfa
fix: icons and update urls
2024-02-19 18:46:42 +01:00
dakkar
bf82942245
hide blocked&c instances when not logged in - fixes 422
2024-02-19 14:53:24 +00:00
dakkar
9c1437bdf9
check prohibited words when editing note
2024-02-19 14:27:10 +00:00
dakkar
d1c174ea60
rename to get it applied after upstream changes
...
upstream `1708266695091-repositoryUrl-from-syuilo-to-misskey-dev.js`
changes `repositoryUrl` to one of the values this patch recognise, so
let's do ours after theirs
2024-02-19 11:41:35 +00:00
Marie
70f7f976fb
fix: url in new component
2024-02-19 10:51:25 +01:00
Marie
10bfc61670
merge: upstream
2024-02-19 10:47:42 +01:00
Marie
764bbcf05b
merge: Bridged error message for when you try search for a post and it fails ( !421 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/421
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-02-19 08:33:10 +00:00
Marie
6ef2d471e9
merge: fix: keep alt text of file if present ( !418 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/418
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-19 01:27:08 +00:00
1Step621
034f47205e
Fix(frontend): オートコンプリートが出るべき状況で出ないことがあるのを修正 ( #13376 )
...
* オートコンプリートが出るべき状況で出ないことがあるのを修正
* update CHANGELOG.md
2024-02-19 08:36:06 +09:00
anatawa12
1b1046bcdb
fix: syuilo/misskey時代から使用してるサーバーが改変したバージョンだと誤判定される問題 (DB migrationで修正) ( #13389 )
2024-02-19 08:34:31 +09:00
anatawa12
0b636d1bf9
fix: nodeinfoにenableMcaptchaとenableTurnstileが無い ( #13387 )
2024-02-19 08:33:36 +09:00
Amelia Yukii
ec8a7b28a8
merge: rework boost visibility #388 ( !420 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/420
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-02-18 16:26:07 +00:00
Moe Poi
eedd8fd698
Add missing turnstile-response
2024-02-17 19:14:38 +00:00
syuilo
7562d233c5
fix of 9a70ce8f5e
...
Co-Authored-By: RyotaK <49341894+Ry0taK@users.noreply.github.com>
2024-02-17 13:09:16 +00:00
tamaina
0a8ffd9cfa
Merge pull request from GHSA-qqrm-9grj-6v32
...
* maybe ok
* fix
* test wip
* ✌️
* fix
* if (res.ok)
* validateContentTypeSetAsJsonLD
* 条件を考慮し直す
* その他の+json接尾辞が付いているメディアタイプも受け容れる
* https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009
* add `; profile="https://www.w3.org/ns/activitystreams "`
* application/ld+json;
2024-02-17 13:09:08 +00:00
syuilo
6132bc3b3e
fix of 9a70ce8f5e
...
Co-Authored-By: RyotaK <49341894+Ry0taK@users.noreply.github.com>
2024-02-17 12:54:45 +00:00
tamaina
1948ca9aa8
Merge pull request from GHSA-qqrm-9grj-6v32
2024-02-17 12:36:44 +00:00
KevinWh0
2024030ebb
Added break so it doesnt prompt you per image
2024-02-17 12:55:27 +01:00
Cocoa Hoto
b0030d148d
fix: allow moderators see role assigned users; fix #13301 ( #13315 )
2024-02-17 14:41:18 +09:00
anatawa12
b3aa793f42
chore: 通報ページのユーザをクリックした際にユーザをウィンドウで開くように ( #13348 )
...
* chore: 通報ページのユーザをクリックした際にユーザをウィンドウで開くように
* docs(changelog): 通報ページのユーザをクリックした際にユーザをウィンドウで開くように
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-17 14:28:34 +09:00
syuilo
01de1519dd
fix of 9a70ce8f5e
...
Co-Authored-By: RyotaK <49341894+Ry0taK@users.noreply.github.com>
2024-02-17 14:26:48 +09:00
syuilo
875069c6b0
Update package.json
2024-02-17 13:43:04 +09:00
Acid Chicken (硫酸鶏)
acba96c1d3
feat: license violation protection ( #13285 )
...
* spec(frontend): aboutページにリポジトリ・フィードバックのURLを表示させる
Cherry-picked from MisskeyIO#441
Cherry-picked from MisskeyIO#438
* feat: license violation protection
* build: fix typo
* build: fix typo
* fix: farewell to the static type land
* fix: key typo
* fix: import typo
* fix: properly interpret `prominently`
* docs: add disclaimer
* docs: update CHANGELOG
* chore: add gap
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-17 13:34:50 +09:00
anatawa12
fa243276c5
feat: add link to local note in initial comment of abuse note ( #13347 )
...
* feat: add link to local note in initial comment of abuse note
* docs(changelog): ノートの通報時にリモートのノートであっても自インスタンスにおけるノートのリンクを含むように
2024-02-17 12:43:39 +09:00
tamaina
9a70ce8f5e
Merge pull request from GHSA-qqrm-9grj-6v32
...
* maybe ok
* fix
* test wip
* ✌️
* fix
* if (res.ok)
* validateContentTypeSetAsJsonLD
* 条件を考慮し直す
* その他の+json接尾辞が付いているメディアタイプも受け容れる
* https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009
* add `; profile="https://www.w3.org/ns/activitystreams "`
* application/ld+json;
2024-02-17 12:41:19 +09:00
KevinWh0
c6e29f6882
Cleaned up some code
2024-02-17 01:28:55 +01:00
KevinWh0
11cb134d4d
It works, Just figuring out some ts errors hopefully
2024-02-16 21:53:27 +01:00
KevinWh0
6240f78c83
Seemed to have fixed it
2024-02-16 19:01:54 +01:00
tamaina
8c1a582348
2024.2.0-beta.13
2024-02-16 15:04:12 +00:00
dakkar
aa72db76c4
rework boost visibility #388
...
* only show allowed visibilities
* "local only" is a switch
notice that the backend will limit the visibility, too
2024-02-16 13:26:13 +00:00
zyoshoka
37959bab1d
refactor(backend): remove/replace deprecated type deps ( #13252 )
2024-02-16 20:09:07 +09:00
dakkar
b5cfd92e2b
point default repo/feedback URLs to our repos
...
the migration will update instances that have the old defaults, too
2024-02-16 10:54:33 +00:00
かっこかり
5e317eac8c
fix misskey-js version
2024-02-16 19:17:37 +09:00
taiy
860e8bb5d8
fix(frontend/pageMetadata): ページタイトルが更新されない問題 ( #13289 )
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-16 16:17:09 +09:00
かっこかり
f5459a25df
fix(frontend): vue v3.4.16以降でタイムラインが正常に表示できない問題を修正 ( #13248 )
...
* fix(frontend): vue v3.4.16でタイムラインが正常に表示できない問題を修正
* type
* Revert "fix: downgrade vue to 3.4.15"
This reverts commit e12369ac13
.
* Update pnpm-lock.yaml
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-16 15:39:48 +09:00
syuilo
f8ac072bc3
fix type
2024-02-16 15:19:55 +09:00
syuilo
7cfe7da73d
fix
2024-02-16 15:09:05 +09:00
syuilo
f55e1ee138
refactor(backend): misc/cacheをシンプルな実装に戻した
2024-02-16 15:07:12 +09:00
MeiMei
cfa573a3a1
リモートユーザーが復活してもキャッシュにより該当ユーザーのActivityが受け入れられないのを修正 Fix #13273 ( #13275 )
...
* リモートユーザーが復活してもキャッシュにより該当ユーザーのActivityが受け入れられないのを修正 Fix #13273
* CHAGELOG
* Use Redis event
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-02-16 14:30:53 +09:00
zyoshoka
40bbae3d6c
fix(backend): add missing schemas and fix incorrect schemas ( #13295 )
...
* fix(backend): add missing schemas and fix incorrect schemas
* fix: ci
* fix: ci (本命)
* fix: run `pnpm build-misskey-js-with-types`
* fix: typos
* fix: role-condition-formula-value contains `id`
* fix: incorrect schema
2024-02-16 14:27:33 +09:00
Kisaragi
147e8f1e3e
feat(backend): likeOnlyなどでハートにフォールバックする際異体字セレクタがない方に揃える ( #13299 )
...
* feat(backend): likeOnlyなどでハートにフォールバックする際異体字セレクタがない方に揃える
close #13298
* Update ReactionService.ts
* chore(backend): prefer single quote for string literal
2024-02-16 14:25:48 +09:00
Amelia Yukii
be36a793cd
merge: Fix Note Edits being federated incorrectly ( !417 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/417
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-15 22:18:58 +00:00
Acid Chicken (硫酸鶏)
b8800b8b95
build: upgrade Storybook to 8 beta ( #13297 )
...
* chore: upgrade Storybook to 8
* ci: restore Storybook workflow
* build: createRequire
* ci: TurboSnap life extension
2024-02-14 18:48:25 +09:00
Acid Chicken (硫酸鶏)
19e3753202
fix: TypeAssertionExpression breaks Storybook builds
2024-02-14 13:56:13 +09:00
taiy
b82821074b
fix(frontend): エラーページのトラブルシューティングがリンク切れしている問題 ( #176 ) ( #13288 )
2024-02-14 13:10:36 +09:00
Marie
8f6dfa611e
fix: keep alt text of file if present
2024-02-13 22:01:53 +00:00
Marie
8b90c6c045
merge: Never return broken notifications #409 ( !415 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/415
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-13 18:23:37 +00: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
dakkar
1015901a9d
avoid parsing undefined
...
I don't understand why upstream wouldn't have this same problem ☹
We already have this same conditional in `ApRenderService.renderNote`
and `ApRenderService.renderUpNote`, and Misskey doesn't
2024-02-13 14:04:07 +00:00
Marie
fef5dbb6e2
fix: note edits being federated incorrectly
2024-02-13 13:08:44 +00:00
Marie
0f1fc41632
merge: allow disabling achievement notifications #319 ( !412 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/412
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-13 09:19:22 +00:00
Acid Chicken (硫酸鶏)
309a943528
perf: omit search for immutable static requests ( #13265 )
...
* perf: omit search for immutable static requests
* perf: also applies to /files
* fix: exclude /proxy
* /files/:key/*を301 redirectに
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-02-13 10:43:06 +09:00
Marie
4007fbb8d8
merge: Merge Upstream Changes ( !408 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/408
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-02-12 23:14:55 +00:00
tamaina
32c5c43b6d
enhance: 禁止ワードはリモートノートも対象に ( #13280 )
...
Resolve #13279
2024-02-13 04:54:01 +09:00
tamaina
e12369ac13
fix: downgrade vue to 3.4.15
2024-02-12 19:16:44 +00:00
Kisaragi
b95e25004f
refactor(msjs): avoid any (part 1) ( #13247 )
...
* refactor(msjs): avoid any
* run api extractor
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
2024-02-12 11:38:16 +09:00
syuilo
a1e12c0ec3
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-02-12 11:37:55 +09:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
Acid Chicken (硫酸鶏)
3dc095d1c9
feat: provide tarball ( #13260 )
...
* feat: provide tarball
* build: pack on build-assets
* chore: use ignore-walk
* chore: debug
* build: dependencies
2024-02-12 10:02:27 +09:00
dakkar
421f8d49e5
Never return broken notifications #409
...
Since notifications are stored in Redis, we can't expect relational
integrity: deleting a user will *not* delete notifications that
mention it.
But if we return notifications with missing bits (a `follow` without a
`user`, for example), the frontend will get very confused and throw an
exception while trying to render them.
This change makes sure we never expose those broken notifications. For
uniformity, I've applied the same logic to notes and roles mentioned
in notifications, even if nobody reported breakage in those cases.
Tested by creating a few types of notifications with a `notifierId`,
then deleting their user.
2024-02-11 12:25:50 +00:00
syuilo
674fd0bdd0
Update about-misskey.vue
2024-02-11 21:05:34 +09:00
Marie
2e7df3297c
fix: diff between NoteCreateService and NoteEditService
2024-02-09 19:51:41 +01:00
Marie
48c1f94dc5
fix: downgrade vue
2024-02-09 19:39:58 +01:00
Marie
85355813ad
merge: latest changes
2024-02-09 19:22:06 +01:00
Marie
2d125137a5
merge: fix: Update l-sushi.json5 to ensure the hashtag colour matches the main accent colour ( !406 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/406
Approved-by: Marie <marie@kaifa.ch>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-09 17:45:22 +00:00
dakkar
b029738ec0
sanitise some admin-controlled HTML #406
...
this protects from rogue admins injecting bad HTML in
rules/descriptions
2024-02-09 12:19:19 +00:00
dakkar
7e05e4c0d9
allow disabling achievement notifications #319
...
This is currently the only configurable notification type that can
only be set to "all" or "none", all the others allow filtering by
sender user, so I had to tweak the drop-down
This opens the way to also eaisly make `note`, `roleAssigned` and
`followRequestAccepted` configurable.
Tested using the API console and sending requests to
`i/claim-achievement`. When the setting was "all", the achievement was
notified and it appeared in `/my/achievements`; when the setting was
"none", the achievement only appeared in `/my/achievements` but no
notification was generated.
2024-02-09 11:34:44 +00:00
かっこかり
7a8cf274ca
fix misskey-js version
2024-02-09 18:08:08 +09:00
syuilo
7fc1d77893
update deps
2024-02-09 17:10:16 +09:00
syuilo
c23c97d303
perf(frontend): splash screenのdomが消えない場合があるのを修正
...
https://github.com/misskey-dev/misskey/issues/10805
2024-02-09 16:25:58 +09:00
おさむのひと
614c9a0fc6
fix: 特定文字列を含むノートを投稿できないようにする管理画面用設定項目を追加 ( #13210 )
...
* fix: 特定文字列を含むノートを投稿できないようにする管理画面用設定項目を追加
* Serviceでチェックするように変更
2024-02-09 10:07:18 +09:00
tamaina
c0cb76f0ec
chore: use vite@5.1.0 / pnpm@8.15.1
2024-02-08 17:24:51 +00:00
かっこかり
d40612ac52
fix(frontend): aiscriptのコードブロックでのハイライト指定を修正 ( #13208 )
2024-02-09 00:08:33 +09:00
かっこかり
0f7918c51b
refactor(backend): exist -> exists ( #13203 )
...
* refactor(backend): exist -> exists
* fix
2024-02-08 16:04:41 +09:00
かっこかり
90b633b5a6
fix(frontend) misskey-js type ( #13202 )
2024-02-08 14:15:56 +09:00
zyoshoka
5299d17060
test(frontend): migrate MSW in Storybook to v2 ( #13195 )
2024-02-08 13:28:49 +09:00
MeiMei
82c34f7f45
Fix: Summaly proxy利用時にプレイヤーが動作しないことがあるのを修正 ( #13196 )
...
* Fix: Summaly proxy利用時にプレイヤーが動作しないことがあるのを修正
* CHANGELOG
2024-02-08 13:16:22 +09:00
Marie
af5ebdfced
merge: more upstream changes
2024-02-07 21:52:27 +01:00
syuilo
52bf808d89
typo
2024-02-07 20:52:23 +09:00
かっこかり
155896a851
enhance(frontend/HorizontalSwipe): 操作性の改善 ( #13038 )
...
* Update swipe thresholds and touch-action
* スワイプ中にPullToRefreshが反応しないように
* 横スワイプに関与する可能性のある要素がある場合はスワイプを発火しないように
* update threshold
* isSwipingを外部化
* rename
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-02-07 20:02:29 +09:00
MeiMei
313ce82192
正しい 2024.2.0-beta.10 改版手順? ( #13173 )
...
* 正しい 2024.2.0-beta.10 改版手順?
* run build-misskey-js-with-types
2024-02-07 19:59:06 +09:00
1Step621
56d7f58626
Fix(frontend): MkCodeEditorで行がずれていくのを修正 ( #13188 )
...
* MkCodeEditorで行がずれていくのを修正
* update CHANGELOG.md
2024-02-07 19:58:21 +09:00
MeiMei
e89d760240
Enhance: 連合向けのノート配信を軽量化 ( #13192 )
...
* AP HTML表現をシンプルに
* a
* CHANGELOG
* リンク
2024-02-07 19:57:59 +09:00
Marie
1fa347390a
fix: add missing diff between SkNote* and MkNote*
2024-02-06 21:27:42 +01:00
Marie
6a94a52131
merge: upstream
2024-02-06 21:23:37 +01:00
おさむのひと
c81b61eb2e
fix(misskey-js): 自動生成物の冒頭からバージョンと日付を削除 ( #13185 )
2024-02-06 21:03:29 +09:00
かっこかり
500ea793b3
fix(bubble-game): 共有用画像のコメントにnullが入る問題を修正 ( #13183 )
2024-02-06 19:24:52 +09:00
Kisaragi
93e711d8a9
chore(frontend): reword possible typo ( #13182 )
2024-02-06 17:17:52 +09:00
MeiMei
d6cb68b091
AP Key の JSON-LD 表現を修正 ( #13170 )
2024-02-06 16:51:14 +09:00
かっこかり
6829ecb509
enhance(frontend): リモートへの引用リノートと同一のリンクにはリンクプレビューを表示しないように ( #13178 )
...
* enhance(frontend): リモートへの引用リノートと同一のリンクにはリンクプレビューを表示しないように
* Update Changelog
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-02-06 16:49:57 +09:00
Soli
4bf3974abd
fix(frontend): エラー画像URLを設定した後解除すると,デフォルトの画像が表示されない問題の修正 ( #13172 )
...
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-02-06 16:47:17 +09:00
1Step621
74245df382
Enhance(frontend): フロント側でもリアクション権限のチェックをするように ( #13134 )
...
* フロント側でもリアクション権限のチェックをするように
* update CHANGELOG.md
* lint fixes
* remove unrelated diffs
* deny -> reject
denyは「(信用しないことを理由に)拒否する」という意味らしい
* allow -> accept
* EmojiSimpleにlocalOnlyを含めるように
* リアクション権限のない絵文字は打てないように(ダイアログを出すのではなく)
* regenerate type definitions
* lint fix
* remove unused locales
* remove unnecessary async
2024-02-06 16:45:21 +09:00
かっこかり
edb39a089d
enhance(frontend): KeepAliveのページキャッシュを削除できるように ( #13180 )
...
* enhance(frontend): 内部のページキャッシュを削除できるように
* Update Changelog
2024-02-06 16:26:03 +09:00
かっこかり
16eccad492
enhance(frontend): シンタックスハイライトにテーマを適用できるように ( #13175 )
...
* enhance(frontend): シンタックスハイライトにテーマを適用できるように
* Update Changelog
* こっちも
* テーマの値がディープマージされるように
* 常にテーマ設定に準じるように
* テーマ更新時に新しいshikiテーマを読み込むように
2024-02-06 15:03:07 +09:00
Marie
0aadc302c3
fix: quote being returned as null instead of false on mastodon api
2024-02-05 19:38:00 +00:00
Susan S
a26ac74bf0
Update l-sushi.json5 to ensure the hashtag colour matches the main accent colour
2024-02-05 14:39:01 +00:00
Amelia Yukii
31a74dc591
merge: upd: shorten navbars to save space on mobile ( !404 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/404
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-05 11:55:01 +00:00
blueb
9b0d078fba
upd: replace pencil icon, widget icon
2024-02-05 06:39:15 -05:00
blueb
327d4b3e88
upd: shorten navbars to save space on mobile
2024-02-05 06:27:29 -05:00
zyoshoka
0df069494e
refactor(frontend): os.popup()
のevents
の型チェックを有効化 ( #13165 )
2024-02-05 15:02:30 +09:00
taichan
ddfc3b8a6a
Fix(frontend): クロップ後の解像度が異様に低くなる問題の修正&クロップに失敗する問題&コメントにnullという文字列が入る問題の修正 ( #13162 )
...
* Fix(frontend): Fix resolution of cropped image (misskey-dev#11489)
* CHANGELOG
* Fix(frontend): クロップの際、folderIdがnullだと文字列のnullが送られ検索できない問題
* Fix: キャプションが存在しないときにクロップすると'null'がキャプションに入ってしまう問題 (misskey-dev#11813)
* Update CHANGELOG
2024-02-05 15:01:31 +09:00
syuilo
03351cec0c
update patrons
2024-02-05 11:03:12 +09:00
ShittyKopper
27ce301f45
fix: reply hover effect
2024-02-04 16:42:43 +03:00
ShittyKopper
592f77371f
upd: rename SkNoteSub property
2024-02-04 15:21:57 +03:00
ShittyKopper
3107345d3c
fix: local instance ticker bug that fails to render notes in dev mode
2024-02-04 15:21:57 +03:00
ShittyKopper
5ef8e3123b
upd: only enable hover effect on SkNoteDetailed and replies
2024-02-04 15:21:57 +03:00
ShittyKopper
c61adcf61d
upd: expandAllCws also expands all long posts on first click
...
this mimics glitch-soc behavior
2024-02-04 15:21:57 +03:00
ShittyKopper
bffac25c57
upd: smoothly resize reply avatars depending on container size
2024-02-04 15:21:57 +03:00
ShittyKopper
7461332d0f
upd: add hover effect to quote posts
2024-02-04 15:21:57 +03:00
ShittyKopper
3818e9531f
upd: make note footer wider on smaller screens
...
3cc8320eb7
Co-authored-by: blueb <ihateblueb@proton.me>
2024-02-04 15:21:57 +03:00
ShittyKopper
1bc2da2bda
upd: make avatars smaller on replies to allow more space for text
...
i'm unsure about the batch of @container blocks at the end of the CSS,
they seem like leftovers from a previous implementation. removing them
didn't seem to change anything but i may be overlooking something.
2024-02-04 15:21:57 +03:00
ShittyKopper
1baec59efd
fix: missing icon in MkMediaVideo
2024-02-04 15:21:57 +03:00
ShittyKopper
44a8249404
fix: blue highlight on chromium when using click to open
2024-02-04 15:21:57 +03:00
ShittyKopper
bc99318707
fix: mentions wrapping
2024-02-04 15:21:57 +03:00
ShittyKopper
cd52686fd3
fix: click to open on quotes
2024-02-04 15:21:57 +03:00
ShittyKopper
02c9c42075
fix: links triggering clickToOpen
2024-02-04 15:21:57 +03:00
blueb
fae3af4342
fix: adjust alignment and margin of icon in detailed note tabs
2024-02-04 15:21:57 +03:00
Gianni Ceccarelli
dabf1867fd
keep cached avatar&banner when refresh fails to get new values ( #13145 )
...
* keep cached avatar&banner when refresh fails to get new values
when the remote explicitly tells us a user image is gone, we remove
our cached value, but if we fail to get the image, we keep whatever
value we already have
this should minimise the problem of avatars randomly disappearing
* autogen bits
* pnpm run build-misskey-js-with-types
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-02-04 21:03:49 +09:00
Gianni Ceccarelli
bafef1f8b4
ignore instance.actor
when checking if there are local users ( #13146 )
...
* ignore `instance.actor` when checking if there are local users
We've seen this happen a few times:
* there was some AP software at $some_domain
* it gets replaced by Misskey
* before the first user can be created, an AP activity comes in
* Misskey resolves the activity
* to do this, it creates the `instance.actor` to sign its request
* now there *is* a local user, so the `meta` endpoint returns
`requireSetup:false`
* the admin is very confused
This commit factors out the check, and doesn't count the
`instance.actor` as a real user.
* autogen bits
2024-02-04 20:46:28 +09:00
atsuchan
2c4ba4723f
fix(backend): メール配信機能が無効ならばメールを送ることのないように ( #13152 )
...
Do not send email if email delivery is disabled
2024-02-04 20:44:35 +09:00
ShittyKopper
f40c3a2d9f
fix: duplicate root dom element in dev mode
2024-02-04 12:51:14 +03:00
ShittyKopper
a4439ed803
fix: bring back the ability to hover on videos to show alt text
2024-02-04 12:51:14 +03:00
ShittyKopper
8a55d8a468
upd: add a download button to videos and audio
...
this only works for media from the same origin due to annoying browser
restrictions, but then the same applies to every other download button
in misskey (e.g. the one in drive) and there's basically nothing i can
to do solve it.
2024-02-04 12:51:14 +03:00
Marie
6b068d2311
upd: add back focus
2024-02-03 21:17:46 +00:00
dakkar
dff7b98ebc
add types like upstream did in MkNoteDetailed
2024-02-03 21:14:00 +00:00
Marie
23e9067f57
fix: accidental replacing of noteEl to rootEl
2024-02-03 21:37:51 +01:00
Marie
bd0186296c
fix: scrolling to note
2024-02-03 21:35:55 +01:00
Marie
2a50e6e9e7
upd: apply changes
2024-02-03 21:29:46 +01:00
Marie
11628e4b6a
merge: upstream
2024-02-03 20:19:44 +01:00
Marie
f93a8e2d38
merge: Fix sfm-js linkage ( !399 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/399
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-03 18:28:47 +00:00
Marie
d3d0e510d8
merge: DeepLX-JS support ( !396 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/396
Closes #324
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-03 17:54:59 +00:00
Marie
65a1bc2199
upd: add i18n
2024-02-03 18:49:41 +01:00
Marie
469c3f3f1a
upd: remove https
2024-02-03 18:41:47 +01:00
Marie
75bce2228f
merge: some fixes to NoteEdit and muting ( !376 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/376
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Luna <her@mint.lgbt>
Approved-by: Marie <marie@kaifa.ch>
2024-02-03 17:25:17 +00:00
Marie
65a7623944
merge: follow-up to !390 ( !397 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/397
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-02-03 17:05:21 +00:00
Leah
441523b6d4
merge: Added lines and line numbers to syntax errors ( !395 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/395
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-03 16:05:33 +00:00
Marie
f091b84c6e
chore: change sfm registry and name
2024-02-03 15:01:09 +01:00
dakkar
4bc517ca89
import fs/promises the right way
...
thanks Marie
2024-02-03 12:55:56 +00:00
dakkar
bb3694bfed
lint
2024-02-03 12:55:46 +00:00
dakkar
1bb5021c54
decode entity references from tweets
...
apparently *some* tweets have those ☹
2024-02-03 12:05:08 +00:00
dakkar
a981bca7a3
simpler logic
...
thanks Alina
2024-02-03 11:37:20 +00:00
dakkar
3a3a051bb5
make almost all fs ops async
...
there's no `fs.promises.exists`
2024-02-03 11:33:42 +00:00
dakkar
7684f45a5e
simpler mapping
...
thanks Alina
2024-02-03 11:30:39 +00:00
dakkar
25948c9232
simpler json-isation
...
thanks Alina for the suggestion
2024-02-03 11:29:46 +00:00
Marie
83f1c596b0
upd: add caption to deeplx url input
2024-02-03 09:19:00 +01:00
KevinWh0
93bd4dc8fe
added lines and lines to errors
2024-02-02 21:32:08 +01:00
Amelia Yukii
ea44895b6b
Merge branch 'oneko' into 'develop'
...
feat: oneko
See merge request TransFem-org/Sharkey!387
2024-02-02 11:59:43 +00:00
ShittyKopper
2e0557c90c
upd: lazy load SkOneko on demand
2024-02-02 14:56:58 +03:00
syuilo
6c67b2e40e
fix(frontend): チャートのlegendがクリックに反応しない問題を修正
...
これにより発生 https://github.com/misskey-dev/misskey/pull/12926
2024-02-02 18:15:25 +09:00
かっこかり
430290c084
fix(frontend): selectUserのパラメータを調整 ( #13142 )
...
* fix(frontend): selectUserのパラメータを調整
* ついでに軽微なスタイルの修正
2024-02-02 16:49:09 +09:00
かっこかり
c38f5ee528
fix(frontend): アバターデコレーションのアニメーションが止まらない ( #13139 )
...
* fix(frontend): アバターデコレーションのアニメーションが止まらない
* Update Changelog
* i -> index
* key
* revert lint fixes
2024-02-02 15:19:23 +09:00
かっこかり
9e1145df81
enhance(frontend): shiki v1に移行 ( #13138 )
...
* enhance(frontend): shiki v1に移行
* optimize chunks, エラーを握りつぶす
* wasmを分離
* バンドルサイズの警告の最小値を650kBに引き上げ
* optimize
2024-02-02 15:05:18 +09:00
zyoshoka
e5876440cb
refactor(frontend): os.popup()
のprops
の型チェックを有効化 ( #13140 )
...
* refactor(frontend): `os.popup()`の`props`の型チェックを有効化
* refactor: `ComponentProps`に書き換え
* refacor: `import type`
2024-02-02 15:04:42 +09:00
yukineko
d8bdbd53ed
fix: api-docが開けない問題を修正 ( #13132 )
...
* refactor: 自己参照を使用している箇所に`selfRef`を持たせるように
* feat: スキーマ生成時に自己参照を含むかどうかを指定できるように
* fix: api.jsonにselfRefが含まれているのを修正
* refactor: 他の箇所と同様にselfRefの除去を行うように
* remove: 不要なimportを削除
2024-02-02 12:47:07 +09:00
おさむのひと
85809a240e
fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする ( #13130 )
...
* fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする
* fix CHANGELOG.md
* fix
2024-02-02 11:24:45 +09:00
tamaina
07dc99d197
「見たことのあるリノートを省略して表示」が効いていない問題を修正 ( #13133 )
...
* fix: 「見たことのあるリノートを省略して表示」が効いていない問題を修正
fix #13131
* add a comment
2024-02-02 11:24:20 +09:00
Essem
e3f25a84df
fix: Add default error image domain to CSP
2024-02-01 17:29:13 -06:00
Amelia Yukii
a6e257f502
Merge branch 'feture/code-injection-fix' into 'develop'
...
CVE: Fixed code injection from twitter import
See merge request TransFem-org/Sharkey!390
(cherry picked from commit 127f8556d4
)
2a8e93e4
Fixed code injection from twitter import
2024-02-01 15:07:35 +00:00
KevinWh0
2a8e93e4be
Fixed code injection from twitter import
2024-02-01 15:58:50 +01:00
ShittyKopper
132bf2d200
feat: oneko
2024-02-01 17:31:04 +03:00
tamaina
b0a38c0cae
fix: Hide reactions of all remote users / feat: moderators can see reactions of all users ( #13128 )
...
* fix: Hide reactions of all remote users
https://github.com/misskey-dev/misskey/issues/12964
* feat: Moderators can see reactions of all users
https://github.com/misskey-dev/misskey/issues/13127
* modify CHANGELOG.md
* fix iAmModerator
2024-02-01 20:05:45 +09:00
syuilo
6915fde1cf
enhance(frontend): 🌸
2024-02-01 15:07:29 +09:00
1Step621
0641454c23
Fix(frontend): リバーシで自分自信を招待できるのを修正 & os.selectUser()のincludeSelfが機能していないのを修正 ( #13117 )
...
* リバーシで自分自信を招待できるのを修正 & os.selectUser()のincludeSelfが機能していないのを修正
* lint fix
2024-02-01 09:43:23 +09:00
zyoshoka
5079a4b7dd
fix(ci): misskey-js
のバージョンチェックをトリガーする条件の修正 ( #13116 )
...
* fix(misskey-js): バージョンチェックのトリガー条件を修正
* chore(misskey-js): 2024.2.0-beta.8
2024-02-01 09:42:55 +09:00
おさむのひと
d5860d0685
fix(frontend): styleの指定方法を変更 ( #13120 )
2024-01-31 20:35:07 +09:00
zyoshoka
2db5b61616
refactor(backend): User関連のスキーマ/型の指定を強くする ( #12808 )
...
* refactor(backend): User関連のスキーマ/型の指定を強くする
* refactor(backend): `pack()`の引数にスキーマを指定するように
* chore: fix ci
* fix: 変更漏れ
* fix ci
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-31 15:45:35 +09:00
syuilo
8aea3603a6
refactor(frontend): global/router -> router
2024-01-30 21:07:34 +09:00
syuilo
e90dea4be9
update deps
2024-01-30 20:59:44 +09:00
かっこかり
6a41afaaee
fix/refactor(reversi): 既存のバグを修正・型定義を強化 ( #13105 )
...
* 既存のバグを修正
* fix types
* fix misskey-js autogen
* Update index.d.ts
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-30 20:54:30 +09:00
yukineko
a6a91fec3a
refactor: frontendのcomponentsの型エラーを改善 ( #12926 )
...
* add: safeFloatParserを追加
* fix: 欠けていた型を追加
* refactor: pageBlockTypesをjson-schemaに移植
* refactor: components/global内の型エラーが出ている箇所を修正
* lint: fix null check style
* refactor: fix type error
* refactor: fix some type errors
* fix: 翻訳が抜けていた箇所を修正
* refactor: getJsonSchemaで正しいスキーマが返されるように修正
* fix: MkChartの型エラーとbytesオプションが機能していない問題を修正
* fix(misskey-js): `drive`->`folderUpdated`のpayloadの型が間違っていたのを修正
* refactor: fix some type errors
* change: Captcha読み込み中の文言をLoadingに変更
* refactor(backend/misskey-js): MainEventの型を改善
* refactor: chartjs-plugin-gradientが二重でpluginに登録されていたのを修正
* update: misskey-js.api.md
* refactor: fix some type errors
* fix: backendのtypecheckが落ちていたのを修正
* update: misskey-js.api.md
* add: json-schemaのnoteにpollの型定義を追加
* refactor: noteのjson-schemaの型を改善
* refactor: MkPoll
* refactor: fix some type errors
* change: UserLiteにisLockedを持たせるように
* fix: notificationスキーマにroleが含まれていないのを修正
* Revert "change: UserLiteにisLockedを持たせるように"
This reverts commit 1bb0c8e7a9b19a4e9f21bf7381712b98f27672a5.
* fix: フォロー通知から鍵垢へのフォローを行うと処理中のまま止まってしまう問題を修正
* refactor: noteスキーマのvisibilityにenumを追加
* change: deepCloneのCloneableTypeにundefinedを追加
* refactor: fix some type errors
* refactor: `allowEmpty: false`を使用していた箇所を`minLength: 1`に置き換え
* enhance: API 'retension' のresponseの型を追加
* fix: Chart関連のtooltipが正しい位置に表示されない問題を修正
* refactor: fix some type errors
* fix: 型情報が不足していたのを修正
* enhance: announcementスキーマにenumを追加
* enhance: ロールポリシーの型定義をRoleServiceからjson-schemaに移植
* refactor: policiesを`ref: RolePolicies`に統一
* fix: API `meta` のレスポンスの型にpoliciesが含まれていないのを修正
* refactor: fix some type errors
* fix: backendのlintが落ちているのを修正
* fix: MkFoldableSectionの開閉時のanimationが適用されていない問題を修正
* fix: backendのtypecheckが落ちているのを修正
* update: run build-misskey-js-with-types
* fix: MkDialogのmount時に文字数制限の判定が行われない問題を修正
* update: CHANGELOG.md
* refactor: MkUserSelectDialogの型を改善
* fix: deepCloneでundefinedはcloneしないように (#9207 )
* change: frontendのcloneをbackend側にも反映
* update: CHANGELOG.md
* fix: RoleServiceからPackを通して型RolePoliciesに依存させないように
* Update packages/frontend/src/scripts/get-note-summary.ts
* revert RoleService.ts changes
* change: optional chaining -> non-null assertion
* remove: unused import
* fix: propsで渡されたuserがUserLiteの場合に意図しない動作になってしまうのを修正
* change: fix null check style
* refactor: fix type error
* change: fix null check style
* Update packages/frontend/src/components/MkDrive.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: css moduleでglobalを使わないように
* refactor: roleのiconUrlは必ず存在するものとして扱うように
* enhance: MenuButtonのactiveにcomputedを受け付けられるように
* Update packages/frontend/src/components/MkNotePreview.vue
* Update MkWindow.vue
* refactor: notification.noteは必ず存在するものとして扱うように
* Update packages/frontend/src/components/MkNotification.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: MkSignupDialogでdoneのemit時にresを含んでいなかったのを修正
* Update packages/frontend/src/scripts/clone.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: 不要な返り値の型を削除
* refactor: 不要なnullチェックを削除
* update: misskey-js-autogen
* update: clone.ts
* refactor
* Update MkNotification.vue
* Update MkNotification.vue
* ✌️
* Update MkNotification.vue
* Update MkNotification.vue
* Update MkNotification.vue
* Update MkNotifications.vue
* Update MkUserSetupDialog.Profile.vue
* Update MkUserCardMini.vue
* ✌️
* Update MkMenu.vue
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-30 19:53:53 +09:00
tamaina
9ac2c36d76
iOSで大きな画像を変換してアップロードできない問題を修正 ( #13109 )
...
Fix https://github.com/misskey-dev/misskey/issues/12026
2024-01-30 15:01:24 +09:00
Kagami Sascha Rosylight
e21cecefa1
test(frontend): load default config to start vite ( #12867 )
...
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2024-01-29 21:39:34 +09:00
dakkar
b77c025245
link twitter names to twitter, not nitter #382
...
nitter seems very dead
2024-01-28 16:06:16 +00:00
かっこかり
b62d9f3920
feat(frontend/nirax): リダイレクトを設定できるように ( #13030 )
...
* feat(frontend/nirax): リダイレクトを設定できるように
* revert demonstrative changes
* fix
* revert unrelated changes
* リダイレクトの際にパスが変わらない問題を修正
* リダイレクトが必要なrouteを設定
* fix lint
* router向けe2eテストの追加
* fix
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
2024-01-28 19:22:38 +09:00
woxtu
cdac3988b5
fix(backend): Fix typos in job configurations ( #13086 )
...
* Fix typos
* Update CHANGELOG
2024-01-28 15:08:45 +09:00
かっこかり
9753cce4aa
enhance(frontend): リモートのユーザーはメニューから直接リモートで表示できるように ( #13087 )
...
* enhance(frontend): リモートのユーザーはメニューから直接リモートで表示できるように
* change changelog
* Apply suggestions from code review
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-27 18:25:15 +09:00
かっこかり
30f4023c36
refactor(frontend/MediaPlayer): cssの重複を削除 ( #13094 )
...
* Update MkMediaAudio.vue
* Update MkMediaVideo.vue
2024-01-27 16:33:30 +09:00
かっこかり
15727088be
fix misskey-js version
2024-01-27 10:34:07 +09:00
おさむのひと
b7270c6238
fix(dev): pnpm devで依存関係更新が一部反映されない ( #13091 )
2024-01-27 09:18:09 +09:00
Marie
074c47fdf8
upd: misskey-js api definitions
2024-01-26 21:31:14 +01:00
Marie
c6e3ec07d1
add: DeepLX-JS support
...
Closes #324
2024-01-26 21:29:38 +01:00
dakkar
e93e73673a
probably more correct muting logic
...
we want to notify if neither the thread nor the user are muted;
otherwise, for example, notes in a muted thread from a non-muted user
would get notified
2024-01-26 18:09:25 +00:00
dakkar
b0fcc11d9e
null-ify text after trimming
...
this comes from upstream, it's already present in the "import"
section, I think it was missed in a merge
2024-01-26 18:07:49 +00:00
dakkar
83e9057b27
apply to NoteEditService all recent changes from NoteCreateService
2024-01-26 18:07:34 +00:00
Marie
e5c060eecf
fix: don't show mentions and boosts towards muted user posts in timeline
...
Closes #336
2024-01-26 01:59:19 +01:00
Marie
c8c505fb92
fix: allow viewing of muted users posts
...
This would allow admins and mods to see muted users posts as well as normal users to view them if they ever get a link sent to them.
2024-01-26 01:39:53 +01:00
Marie
47cf7f6822
fix: don't show replies to muted users in timelines
...
Closes #337
2024-01-26 01:39:01 +01:00
Marie
6c6ccdc1e0
fix: properly mute notifications when mentioned by muted users
...
Closes #339
2024-01-26 01:24:26 +01:00
Marie
1bec69df16
fix: reactions being shown on muted/blocked users
...
Closes #342
2024-01-26 01:00:12 +01:00
Marie
4be70a8d98
fix: boost being available on DMs on detailed view
...
Closes #346
2024-01-26 00:56:09 +01:00
Marie
e89f4ff3c8
fix: boosts not being muted when muting thread
...
Closes #347
2024-01-25 19:39:41 +01:00
Marie
610f208c57
fix: don't let user invite themself to reversi game
2024-01-25 14:23:51 +01:00
Marie
913dd581ef
merge: upstream
2024-01-25 14:21:42 +01:00
Marie
92ee0a5863
fix: notes/versions not checking visibility
...
Issue reported by fEmber
2024-01-25 14:17:57 +01:00
Marie
b68c358688
fix: reversi allowing you to search globally instead of just locally
...
Misskey used a local option in the select section but os nor userselectdialog supported this.
2024-01-25 14:11:41 +01:00
syuilo
60156a40b2
fix(reversi/backend): refactor and fixes
2024-01-24 16:44:12 +09:00
syuilo
5719a929ad
enhance(reversi): 変則なしマッチングを可能に
2024-01-24 16:37:06 +09:00
syuilo
d27b3525cd
enhance(reversi): improve matching system
2024-01-24 15:18:50 +09:00
syuilo
7beb4ed131
fix(frontend/reversi): fix game preview
2024-01-24 14:52:19 +09:00
かっこかり
177c35e321
fix(frontend/pizzax): オブジェクトにnullがある場合に正しくマージされないのを修正 ( #13073 )
...
* fix(frontend/pizzax): オブジェクトにnullがある場合に正しくマージされない
* fix types
* マージを内製
2024-01-24 14:45:27 +09:00
syuilo
a97d4fa4ef
fix(reversi): wait redis operation to improve stability
2024-01-24 13:53:55 +09:00
syuilo
908e0f3b8b
perf(reversi): set expire matchSpecific and matchAny
2024-01-24 13:51:16 +09:00
syuilo
b68446b289
enhance(reversi): tweak MATCHING_TIMEOUT_MS
2024-01-24 13:32:08 +09:00
syuilo
a3ba315dc6
enhance(reversi): improve game setting flow
2024-01-24 13:17:34 +09:00
syuilo
d060bb44e1
enhance(reversi): improve stability
2024-01-24 10:51:49 +09:00
syuilo
645f5e8633
enhance(reversi): 開始時に対局をシェアできるように
2024-01-24 10:36:02 +09:00
syuilo
547be1973d
fix of 65557d5f27
2024-01-24 10:35:44 +09:00
syuilo
65557d5f27
enhance(reversi): more robust matching process
2024-01-24 10:16:05 +09:00
syuilo
cc420c245f
enhance(reversi): 準備中の自分の対局も一覧に表示するように
2024-01-24 09:41:22 +09:00
syuilo
443d1b2f5c
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-01-24 09:31:06 +09:00
syuilo
1f8d275094
🎨
2024-01-24 09:30:38 +09:00
かっこかり
2efcb27043
fix(frontend/HorizontalSwipe): スワイプ・UIアニメーションが無効の際はトランジションを行わないように ( #13076 )
...
* fix(frontend/HorizontalSwipe): アニメーションを減らすが考慮されるように
* fix
* fix
* revert unused change
* fix
2024-01-24 09:22:51 +09:00
Marie
5f36bb6747
fix: background being funky on user profiles
2024-01-23 12:18:12 +01:00
syuilo
e8ba0b3f54
enhance(reversi): improve desync handling
2024-01-23 10:51:59 +09:00
syuilo
f48f7149f8
🎨
2024-01-23 09:43:54 +09:00
まっちゃとーにゅ
d2ccce6366
fix(build): スクリプトの名前の変更漏れ ( #13068 )
...
* fix(build): スクリプトの名前の変更漏れ
* 漏れの漏れ
2024-01-23 07:57:56 +09:00
tamaina
af2d81a990
perf: (productionの)dependenciesから@typesを削除、reversi/bubble-gameをesbuildにする ( #13067 )
...
* perf: (productionの)dependenciesから@typesを削除、reversi/bubble-gameをesbuildにする
* fix
* fix
2024-01-23 06:36:44 +09:00
Marie
d15e4a85bb
chore: typecheck
2024-01-22 22:13:10 +01:00
Marie
55ea66127a
fix: close button not closing auto expanded notes
...
Closes #359
2024-01-22 20:11:26 +01:00
Marie
fd69a2fbbd
merge: upstream
2024-01-22 19:58:43 +01:00
tamaina
31a39776f5
chore: publish misskey-js automatically ( #13014 )
...
* chore: publish @misskey-dev/misskey-js
* remove @misskey-dev/
* ??
* correct version
* version
2024-01-23 00:19:43 +09:00
syuilo
e0ad066382
fix lint
2024-01-22 18:32:32 +09:00
syuilo
99fe03bd4d
🎨
2024-01-22 18:31:59 +09: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
syuilo
d380ed36de
fix lint
2024-01-22 18:00:46 +09:00
syuilo
5c8888d6a8
enhance(reversi): render ogp
2024-01-22 17:59:12 +09:00
syuilo
4af3640bd3
fix lint
2024-01-22 17:44:03 +09:00
syuilo
94e282b612
perf(reversi): improve performance of reversi backend
2024-01-22 15:41:29 +09:00
syuilo
259992c65f
enhance(reversi): some tweaks
2024-01-22 12:03:32 +09:00