anatawa12
acf84a2516
FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題を修正 ( #13837 )
...
* fix: FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題
* docs(changelog): FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題を修正
2024-05-20 08:28:28 +09:00
dakkar
c05cc63e24
look inside url
when checking activity origin - #512
...
The previous assertion that:
> if it's a complicated thing and the `activity.id` doesn't match, I
> think we're fine rejecting the activity
was wrong: at least peertube sends activities that have `url` as an
array of objects.
Notice that this does *not*, in fact, fix #512 : the peertube activity
does not contain its short URL (`https://example.com/w/someid `), so
there's no way to confirm that it is the activity we requested.
2024-05-18 16:48:10 +01:00
dakkar
aa7271469e
fix types in config.ts
...
my recent changes to allow overrides from the environment had bad types
2024-05-18 15:56:21 +01:00
dakkar
95ec40d3c8
merge: allow overriding all string config values via env - fixes #465 ( !476 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/476
Closes #465
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Luna <her@mint.lgbt>
2024-05-17 16:46:02 +00:00
dakkar
2d89b08a08
use the current resolver for quotes - #524
...
this might solve the loop problem, if the protection already in place
for replies was enough
2024-05-15 16:47:06 +01:00
dakkar
42d9da161b
first basic protection - #524
2024-05-14 16:58:06 +01:00
dakkar
8732668372
lint
2024-05-11 14:31:56 +01:00
dakkar
4e28004d0e
copy changes from createNote to updateNote
2024-05-11 14:21:17 +01:00
dakkar
451b0ecc9b
Merge remote-tracking branch 'misskey/release/2024.5.0' into future-2024-04-25-post
2024-05-11 14:13:07 +01:00
dakkar
a81be17d69
make the linter happy
2024-05-11 13:40:28 +01:00
dakkar
30bd7768d6
Merge branch 'develop' into future-2024-04-25-post
2024-05-11 13:11:07 +01:00
dakkar
91ef2ceed7
port changes from global timeline to bubble timeline
2024-05-11 12:38:01 +01:00
Sugar
194d8a5527
feat: send edit events to servers that interacted
...
a server replied to, renoted or reacted to a note knows about a note,
and as such it should get notified about it being edited.
this matches similar logic in mastodon.
2024-05-11 09:44:03 +02:00
おさむのひと
f6af6d9679
fix(backend): UserEntityService.getRelationsの取得処理を軽量化 ( #13811 )
...
* fix(backend): UserEntityService.getRelationsの取得処理を軽量化
* rollback
2024-05-10 15:33:25 +09:00
おさむのひと
b298897bde
fix(backend): 不要なUserProfileの取得を修正 ( #13812 )
...
* fix(backend): 不要なuserProfileの取得を修正
* fix: pnpm@9.0.6 to pnpm@9.1.0
* Revert "fix: pnpm@9.0.6 to pnpm@9.1.0"
This reverts commit eaf265ec2cf255cadeaa516d5b668134bc397211.
2024-05-10 15:32:23 +09:00
dakkar
9d91196344
allow offset
in admin/emoji/list
- #490
...
also, use `skip` + `take` instead of `limit` (the TypeORM docs say so
https://github.com/typeorm/typeorm/blob/master/docs/select-query-builder.md#adding-limit-expression )
2024-05-09 21:02:34 +01:00
dakkar
cd5686f9ab
fix spacing
2024-05-09 17:37:22 +01:00
dakkar
f1d96b8ae8
merge: fix: incorrect type for quote property ( !480 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/480
Closes #401
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-05-09 09:05:16 +00:00
dakkar
01256af028
merge: Rework cache clearing to be fault tolerant ( !497 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/497
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 08:01:18 +00:00
dakkar
89f412c696
merge: Send default reactions as Like activities to Iceshrimp.NET instances ( !505 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/505
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 07:59:46 +00:00
Ember
ed91663672
merge: don't count "system" local accounts in user chart - fixes #451 ( !500 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/500
Closes #451
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-07 20:17:54 +00:00
dakkar
89f4f0e5f4
don't count "system" local accounts in user chart - fixes #451
2024-05-07 20:17:53 +00:00
Ember
58ff225c4e
merge: really edit notes in more cases - fixes #424 ( !504 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/504
Closes #424
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Ember <acomputerdog@gmail.com>
2024-05-07 20:16:39 +00:00
dakkar
eab690a5e3
really edit notes in more cases - fixes #424
2024-05-07 20:16:38 +00:00
Tess K
5e20de45d7
merge: Compact LD-signed activities against well-known context ( !503 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/503
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-05-04 17:19:42 +00:00
syuilo
2b21c19362
update deps ( #13624 )
...
* update deps
* Update package.json
* update deps
* build: pass --strip-leading-paths to restore 0.2.x behavior (#13684 )
* ✌️
* ✌️
* pureimageの代わりに@napi-rs/canvasを使う (#13748 )
* pureimageの代わりに@napi-rs/canvasを使う
* remove writestream
* remove createtemp
* wip
* Update ClientServerService.ts
* update pnpm to 9.x
* update deps
* re: update pnpm to 9.x
* update node
* ✌️
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-05-04 20:56:14 +09:00
Essem
f843bf6c17
fix: Add unicode flag to custom emoji regexes
2024-05-03 11:48:00 -05:00
dakkar
d0a2708f91
merge: handle non-ASCII emoji names ( !464 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/464
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-02 21:06:10 +00:00
ShittyKopper
e333283905
Send default reactions as Like activities to Iceshrimp.NET instances
2024-05-02 02:37:59 +03:00
dakkar
45182c17e2
fix imports
2024-05-01 17:41:33 +01:00
Kisaragi
c530a46e54
enhance(backend): ドライブのファイルがNSFWかどうか個別に連合されるように ( #13756 )
...
* fix(backend): ノートのattachmentにおいて、attach.sensitiveが元から存在する場合はそれを尊重する
* docs: update changelog (per misskey-dev#13756)
* feat(backend,apub): renderDocumentがsensitiveを連合するようにする
per https://github.com/misskey-dev/misskey/issues/13755#issuecomment-2081303014
* chore(backend): 追加したコメントを削除
* docs: changelogをより丁寧にする
* docs: changelogの項目名をPRに合わせる
* docs: tweak
apply suggestion from mei23
2024-05-01 17:13:20 +09:00
Daiki Mizukami
d2a5bb39e3
Merge pull request from GHSA-2vxv-pv3m-3wvj
...
* fix: normalize incoming signed activities
* Tweak style
* Update CHANGELOG.md
* Log compacted activity as well
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-05-01 16:33:58 +09:00
dakkar
6ae01e28aa
Compact LD-signed activities against well-known context
...
This should defend against some spoofing attacks, see also
https://nvd.nist.gov/vuln/detail/CVE-2022-24307 for Mastodon,
febb499fcb
from Iceshrimp and
e790d6be90
for Firefish
Thanks to @tesaguri@fedibird.com for reporting and providing the patch.
2024-04-30 10:16:57 +01:00
zyoshoka
2ff90a80d4
fix(backend): add detailed schema to fetch-rss
endpoint ( #13764 )
2024-04-29 15:36:01 +09:00
MeiMei
c7d7da8fc5
AP Link等は添付ファイル扱いしないようになど ( #13754 )
...
* Linkは添付ファイルではない
* CHANGELOG
2024-04-28 10:53:33 +09:00
anatawa12
fe1172fbb6
fix: ハイフンを含むリモート絵文字が描画されない ( #13715 )
2024-04-27 20:41:55 +09:00
ikasoba
20eb4bc296
Fix(backend): ActivityPubでのHTMLへのシリアライズを修正 ( #13752 )
...
* devモードでもActivityPub系エンドポイントへアクセスできるように
* ActivityPubでのHTMLのシリアライズを修正
* ハードコードしていたurlを`httpUrl`へ修正
* テストの追加
2024-04-27 20:26:55 +09:00
かっこかり
cb5d8bdcdd
fix(backend): ページのOGP URLが違うのを修正 ( #13749 )
...
* fix(backend): ページのOGP URLが違うのを修正
* Update Changelog
* typo
2024-04-27 18:53:28 +09:00
MeiMei
6abb8c4994
Merge pull request from GHSA-m9qf-3pfj-2r86
...
* Add Cache-Control to Bull Board
* CHANGELOG
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-04-27 12:57:00 +09:00
dakkar
deb2474bdb
sync notes/edit.ts from notes/create.ts
2024-04-25 11:44:24 +01:00
dakkar
7606bce362
sync NoteEditService from NoteCreateService
2024-04-25 11:44:24 +01:00
dakkar
183cf962a0
sync NoteCreateService.create with .import
...
again, git merged on the wrong function
2024-04-25 11:44:24 +01:00
dakkar
76a4ebae8a
re-instate "followed users from muted instances are not muted"
2024-04-25 11:44:24 +01:00
dakkar
4fe8a26081
Merge remote-tracking branch 'misskey/develop' into future-2024-04-25
2024-04-25 11:44:24 +01:00
dakkar
ea6629cebf
Merge branch 'develop' into future-2024-04-10-post
2024-04-25 11:18:30 +01:00
Cocoa Hoto
85339ca751
feat: improve emoji endpoint ( #13742 )
2024-04-25 11:03:34 +09:00
PrivateGER
493775ad7b
reformat expression
2024-04-24 16:05:30 +02:00
dakkar
0f3764ff71
teach ReactionService about non-ASCII emoji names
2024-04-23 14:42:02 +01:00
Latte macchiato
dd3d562a1e
Rework cache clearing to be fault tolerant
2024-04-19 21:58:37 +00:00
anatawa12
f9aed8f2bf
fix: 正規化されていない状態のhashtagが連合されてきたhtmlに含まれているとhashtagが正しくhashtagに復元されない問題を修正 ( #13733 )
2024-04-19 19:42:01 +09:00
おさむのひと
cd7f7271ca
enhance: 新しいコンディショナルロール条件の実装 ( #13732 )
...
* enhance: 新しいコンディショナルロールの実装
* fix: CHANGELOG.md
2024-04-19 15:22:23 +09:00
anatawa12
e423b8ce4b
細かいミュートの処理の修正 ( #13695 )
...
* fix: some replies are removed from global timeline
* refactor: 各チャンネルのミュートとブロックの処理をまとめる
* fix: リノートをミュートでその人のノートのリノートをミュートしていたを修正
* refactor: isPureRenotePackedを他のところでも使う
* docs(changelog): CHANGELOGを更新
* test: withReplies = falseでフォローしてる人によるリプライが流れてくる
* test: ノートミュートしているユーザーの通常ノートのリノートが流れてくる/含まれる
2024-04-17 14:23:41 +09:00
MeiMei
c687b4eaa5
fix(backend): nginx経由で/files/にRangeリクエストされた場合に正しく応答できないのを修正 ( #13712 )
...
* Fix files
* CHANGELOG
2024-04-15 09:28:09 +09:00
かっこかり
bba3097765
enhance: クリップのノート数を表示するように ( #13686 )
...
* enhance: クリップのノート数を表示できるように
* Update Changelog
2024-04-14 21:30:24 +09:00
zyoshoka
8c5d9a6295
fix(backend): incorrect logic for determining whether Quote or not ( #13700 )
...
* fix(backend): incorrect logic for determining whether Quote or not
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-04-14 10:23:48 +09:00
かっこかり
7cf0c18f83
fix(backend): FileServerServiceでレンジリクエストの場合に適切なレスポンスコードが返らない問題を修正 ( #13701 )
...
* return 206 for every ranged response - fixes #494
(cherry picked from commit 92eec2178f
)
* detect size of remote files - fixes #494
without this, remote files are assumed to have size 0 (even if we just
downloaded them!) and the range-related code won't run
(cherry picked from commit 960f4fcff7
)
---------
Co-authored-by: dakkar <dakkar@thenautilus.net>
2024-04-14 10:22:03 +09:00
かっこかり
5c7c44c9eb
fix(backend): 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように ( #13703 )
...
* fix(backend): 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように (MisskeyIO#606)
(cherry picked from commit 6b7df2bd10dc28b84f525a621b66fc49bf59cac6)
* Update Changelog
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-04-13 20:38:25 +09:00
dakkar
e0afeff248
merge: hide images/videos in og cards, when under a CW - fixes #487 ( !488 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/488
Closes #487
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-04-11 20:40:38 +00:00
Marie
011ccd3a9a
merge: bump devel
version ( !486 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/486
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-04-11 17:21:32 +00:00
dakkar
e4d7b2311f
fix merge mistake
2024-04-11 14:03:56 +01:00
dakkar
a3b4ca782a
Merge remote-tracking branch 'misskey/develop' into future-2024-04-10
2024-04-11 13:39:55 +01:00
dakkar
a58f4a6fed
Merge branch 'develop' into future-2024-03-23-post
2024-04-11 13:22:57 +01:00
dakkar
960f4fcff7
detect size of remote files - fixes #494
...
without this, remote files are assumed to have size 0 (even if we just
downloaded them!) and the range-related code won't run
2024-04-09 16:21:30 +01:00
dakkar
92eec2178f
return 206 for every ranged response - fixes #494
2024-04-09 15:42:29 +01:00
dakkar
56dca6dbf5
hide images/videos in og cards, when under a CW - fixes #487
2024-04-07 16:58:13 +01:00
Marie
d6c736f1a5
fix conflicts
2024-04-07 15:42:28 +00:00
Marie
bb7b4a8ea4
merge: fix: send null for empty edited_at in mastodon api ( !487 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/487
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-04-07 15:36:59 +00:00
dakkar
0690b9a429
merge: fix: load libopenmpt on demand ( !469 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/469
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-04-07 14:56:16 +00:00
zyoshoka
959cc8ff37
refactor(general): use Date.now()
instead of creating a new Date
instance ( #13671 )
2024-04-07 21:14:13 +09:00
Sugar🍬🍭🏳️⚧
e779c1e667
fix: send null for empty edited_at in mastodon api
2024-04-04 10:43:28 +02:00
かっこかり
efafa02f68
enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように ( #13568 )
...
* enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように
(cherry picked from commit 23d38a2d6492a2b24e9b2c031d66c3e8a5d382ef)
* Update Changelog
* Update Changelog
* Revert "Update Changelog"
This reverts commit 93fd996932b87ef550c38b48bd0678060f3ed1af.
* fix(test) ffmpegをインストールするように
* 入れる方間違えた
* fix test
* 拡張子変わらなかったのでそのまま行く
* ログを出力するように
* msg
* remove unused import
* add log
* attempt to fix test error
* Revert "attempt to fix test error"
This reverts commit d9d6524cadd655e6d8e9398b26fdfef332f30f4d.
* Update FileInfoService.ts
* oggも検査の対象にする
2024-03-31 12:43:39 +09:00
dakkar
328546c4cd
Merge branch 'develop' into release/2024-03-30
2024-03-30 11:08:26 +00:00
dakkar
074de82bf7
some validation fixes
2024-03-30 11:05:58 +00:00
zyoshoka
b35ae97ba7
fix(backend): better notes/translate
error response ( #13631 )
...
* fix(backend): better `notes/translate` error response
* Update CHANGELOG.md
* test(backend): perform administrative operations as `root`
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-30 13:51:53 +09:00
Nila
f3500ffda9
fix: report progress out of 100% in CleanRemoteFilesProcessorService ( #13633 )
...
* Report progress out of 100% in CleanRemoteFilesProcessorService
* Add changelog entry
2024-03-30 10:28:47 +09:00
かっこかり
f90be427f5
fix(frontend): 「今日誕生日のフォロー中ユーザー」ウィジェットが正しく動作しない問題を修正 ( #12835 )
...
* (fix) タイムゾーンによっては誕生日のフォロー中ユーザーが正しく読み込まれない
* 文言をわかりやすく
* Update Changelog
* (add) reload button
* Update CHANGELOG.md
* run misskey-js
* fix
* Revert "文言をわかりやすく"
This reverts commit c5ab6419563cc70ec8ba758e800c74d3469131e3.
* Update packages/frontend/src/widgets/WidgetBirthdayFollowings.vue
* Update packages/frontend/src/widgets/WidgetBirthdayFollowings.vue
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-25 18:31:30 +09:00
Marie
56b19ab6bb
fix: incorrect type for quote property
2024-03-24 23:41:23 +00:00
dakkar
7374218a33
fix UserEntityService
...
upstream has removed the Drive bits, but we're still using them, to
update avatar / banner / background URLs
2024-03-24 12:14:05 +00:00
dakkar
bc531ac414
Merge remote-tracking branch 'misskey/develop' into future-2024-03-23
2024-03-24 11:53:52 +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
syuilo
3db26f2b94
fix(backend): fix openAPI operationId format
2024-03-23 20:43:29 +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
かっこかり
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
かっこかり
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
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
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
dakkar
9478fc0095
Merge remote-tracking branch 'misskey/develop' into future-2024-03-14
2024-03-14 16:28:56 +00: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
Alina Sireneva
0085305579
fix: load libopenmpt on demand
2024-03-11 15:32:59 +03:00
yupix
6b676a928d
enhance(backend): antennas/updateの必須項目をantennaIdのみに ( #13542 )
...
* refactor: antennas/updateの必須項目を最小限に
* fix: userListIdがnullにできない
2024-03-10 17:31:39 +09: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
tamaina
1b064d7e30
chore(backend): validateNoteの結果Errorはそのままthrowする
...
理由がわからないため
2024-03-09 04:10:17 +00:00
dakkar
dfff4d2073
Merge remote-tracking branch 'misskey/develop' into future
2024-03-07 16:09:36 +00: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
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
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
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
ca6399437c
format
2024-03-01 17:26:13 +09:00
syuilo
a74406677c
fix packedRoleCondFormulaValueAssignedRoleSchema
2024-03-01 12:03:33 +09: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
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
98934b6738
fix type
2024-02-29 17:54:32 +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
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
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
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
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
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
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
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
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
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
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
dakkar
c9940b7359
Switch source code bits
2024-02-20 20:01:31 +00:00
Marie
4a13508da0
Note Edited notification type
2024-02-20 15:10:41 +00: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
Marie
10bfc61670
merge: upstream
2024-02-19 10:47:42 +01: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
anatawa12
0b636d1bf9
fix: nodeinfoにenableMcaptchaとenableTurnstileが無い ( #13387 )
2024-02-19 08:33:36 +09: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
Cocoa Hoto
b0030d148d
fix: allow moderators see role assigned users; fix #13301 ( #13315 )
2024-02-17 14:41:18 +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
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
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
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
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
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
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
tamaina
32c5c43b6d
enhance: 禁止ワードはリモートノートも対象に ( #13280 )
...
Resolve #13279
2024-02-13 04:54:01 +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
Marie
2e7df3297c
fix: diff between NoteCreateService and NoteEditService
2024-02-09 19:51:41 +01:00
Marie
85355813ad
merge: latest changes
2024-02-09 19:22:06 +01:00
おさむのひと
614c9a0fc6
fix: 特定文字列を含むノートを投稿できないようにする管理画面用設定項目を追加 ( #13210 )
...
* fix: 特定文字列を含むノートを投稿できないようにする管理画面用設定項目を追加
* Serviceでチェックするように変更
2024-02-09 10:07:18 +09:00
かっこかり
0f7918c51b
refactor(backend): exist -> exists ( #13203 )
...
* refactor(backend): exist -> exists
* fix
2024-02-08 16:04:41 +09:00
Marie
af5ebdfced
merge: more upstream changes
2024-02-07 21:52:27 +01:00
MeiMei
e89d760240
Enhance: 連合向けのノート配信を軽量化 ( #13192 )
...
* AP HTML表現をシンプルに
* a
* CHANGELOG
* リンク
2024-02-07 19:57:59 +09:00
Marie
6a94a52131
merge: upstream
2024-02-06 21:23:37 +01:00
MeiMei
d6cb68b091
AP Key の JSON-LD 表現を修正 ( #13170 )
2024-02-06 16:51:14 +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
Marie
0aadc302c3
fix: quote being returned as null instead of false on mastodon api
2024-02-05 19:38:00 +00: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
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
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
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
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
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
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
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
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
dakkar
b77c025245
link twitter names to twitter, not nitter #382
...
nitter seems very dead
2024-01-28 16:06:16 +00:00
woxtu
cdac3988b5
fix(backend): Fix typos in job configurations ( #13086 )
...
* Fix typos
* Update CHANGELOG
2024-01-28 15:08:45 +09: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
e89f4ff3c8
fix: boosts not being muted when muting thread
...
Closes #347
2024-01-25 19:39:41 +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
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
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
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
e8ba0b3f54
enhance(reversi): improve desync handling
2024-01-23 10:51:59 +09:00
Marie
d15e4a85bb
chore: typecheck
2024-01-22 22:13:10 +01:00
Marie
fd69a2fbbd
merge: upstream
2024-01-22 19:58:43 +01:00
syuilo
e0ad066382
fix lint
2024-01-22 18:32:32 +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
syuilo
a431dde537
refactor(reversi): refactoring of reversi backend
2024-01-22 09:29:06 +09:00
syuilo
1a01a85182
perf(reversi): improve performance of reversi backend
2024-01-22 08:39:38 +09:00
Marie
db012fc8c3
merge: upstream (1)
2024-01-21 13:11:23 +01:00
syuilo
f4657eb16f
update deps
2024-01-21 18:43:01 +09:00
かっこかり
fb309f3d4f
return a Vary: Accept
header for all dual-format endpoints #365 ( #13044 )
...
`/users/:user`, `/@:user`, `/notes/:note` return different responses
depending on the request's `Accept:` header. If we don't consistently
return a `Vary: Accept` header, browsers and caching proxies will get
confused, and return AP representations when HTML was requested, or
vice versa.
Co-authored-by: dakkar <dakkar@thenautilus.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-21 18:14:42 +09:00
syuilo
6039f27bd5
enhance(reversi): tweak reversi
2024-01-21 12:05:51 +09:00
syuilo
a17251d913
enhance(reversi): tweak reversi
2024-01-21 10:07:43 +09:00
syuilo
fcd7ffe956
enhance(reversi): tweak reversi
2024-01-20 21:23:33 +09:00
syuilo
b9a81edae5
enhance(reversi): tweak reversi
2024-01-20 13:14:46 +09:00
syuilo
bc7b2f1876
lint fix
2024-01-20 09:56:13 +09:00
syuilo
a637b4e282
feat: reversi
...
Resolve #12962
2024-01-19 20:51:49 +09:00
AsukaMari
b17eb8e537
fix: Some fixes for #12850 ( #12862 )
...
- refinement the error message when trueMail validation fails
- the settings of trueMail are not displayed after saving
- changing how `Active Email Validation` is saved
2024-01-19 18:48:30 +09:00
Marie
0d766a6310
merge: fix make sure that signToActivityPubGet defaults to true ( #352 )
...
Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/352
Reviewed-by: dakkar <dakkar@noreply.git.joinshakrey.org>
2024-01-17 17:01:39 +01:00
syuilo
945d6a2b09
enhance(drop-and-fusion): ゲームバランスの調整など
2024-01-17 20:11:32 +09:00
a
0283142d0e
Fix: properly handle cc followers ( #13009 )
...
* Fix: properly handle cc followers
Fix #13001
* Update CHANGELOG.md
* Fix syntax error
2024-01-17 18:19:20 +09:00
Marie
4c1f6be735
merge: upstream
2024-01-15 12:07:35 +01:00
かっこかり
8b0fdfcd69
enhance: 動画・音声周りのUIと動作改良 ( #12925 )
...
* wip
* (fix) `/files` をバイトレンジリクエストに対応させる
* video
* audio
* fix
* fix
* spdx
* fix (rangeRequest)
* fix
* Update CHANGELOG.md
* (add) ボリュームを保存できるように
* (fix) ミュート復帰時に音量が固定される
* named export
* tweak design
* Add sensitive class for audio component
* Refactor seekbar styles
* Refactor hms
* Revert "(add) ボリュームを保存できるように"
This reverts commit 6271f9493b63f96d0dd9915207e97fe120ef9037.
* Revert "(fix) ミュート復帰時に音量が固定される"
This reverts commit a65002b56ecdcb10f76bcc2debbe38593a69643f.
* revert revert changes
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-15 18:17:01 +09:00
YS
d92aaf81c4
refactor: noteテーブルのインデックス整理と配列カラムへのクエリでインデックスを使うように ( #12993 )
...
* Optimize note model index
* enhance(backend): ANY()をやめる (MisskeyIO#239)
* add small e2e test drive endpoint
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-01-15 08:19:27 +09:00
GrapeApple0
ec4e57bb67
fix: isPrivateIpで検証時にipバージョンが一致するかを確認するように ( #12988 )
...
* fix: isPrivateIpで検証時にipバージョンが一致するかを確認するように
* Update CHANGELOG.md
* Update CHANGELOG.md
2024-01-14 15:57:26 +09:00
ShittyKopper
de66ecbbd0
fix: actually make signToActivityPubGet default to true
2024-01-13 14:47:55 +03:00
zyoshoka
d792f4f348
fix(backend): 虚無ノートを投稿できる問題の修正と api.json
の OpenAPI Specification 3.1.0 への対応 ( #12969 )
...
* fix(backend): `text: null`だけのノートは投稿できないように
* add test
* Update CHANGELOG.md
* chore: bump OpenAPI Specification from 3.0.0 to 3.1.0
* chore: テストがすでにコメントで記述されていたのでそっちを使うことにする
* fix test
* fix(backend): prohibit posting whitespace-only notes
* Update CHANGELOG.md
* fix(backend): `renoteId`または`fileIds`(`mediaIds`)または`poll`が`null`でない場合に、`text が空白文字のみで構成されたリクエストになることを許可して、結果は`text: null`を返すように
* test(backend): 引用renoteで空白文字のみで構成されたtextにするとレスポンスが`text: null`になることをチェックするテストを追加
* fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように
* fix(misskey-js): OpenAPI 3.1に対応
* fix(misskey-js): 型生成をOpenAPI Specification 3.1.0に対応
* fix(ci): `validate-api.json`をOpenAPI Specification 3.1.0に対応
* fix(ci): スキーマ書き換えの際のミスを修正
* Revert "fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように"
This reverts commit a9ca55343df6ea1679599acbc4801f78aa3a242b.
* fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように
* Revert "fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように"
This reverts commit 865458989f9ddacc38d1bb3743a41ea828dbf324.
* fix(misskey-js): `openapi-parser`で`validate`のかわりに`parse`を用いるように
* Update CHANGELOG.md
2024-01-13 16:54:25 +09:00
dakkar
d2d75b25bf
emoji search: show closest match first #338
2024-01-12 16:58:21 +00:00
かっこかり
be57ff4985
run pnpm build-misskey-js-with-types
( #12972 )
2024-01-11 23:41:22 +09:00
Marie
bbdc4e7789
merge: upstream
2024-01-11 11:43:20 +01:00
syuilo
cf54c2ba47
feat: ranking system of bubble game
...
Resolve #12961
2024-01-11 18:13:39 +09:00
Nila The Dragon
e0e5236864
Revert auto-formatted change in NodeinfoServerService
2024-01-09 22:25:46 +01:00
Nila The Dragon
9ceb74b98d
feat: Implement Donation URL
2024-01-09 21:32:47 +01:00
Marie
8009e73741
chore: typecheck
2024-01-09 04:10:31 +01:00
Marie
7552cea69a
merge: upstream
2024-01-09 02:57:57 +01:00
dakkar
9d939bcc49
authorised fetch: log more details
...
this will help debugging problems in the implementation; thanks to
@ShittyKopper for the suggestion
2024-01-08 18:54:01 +00:00
zyoshoka
618e2ba1d2
fix(backend): drive/files/update
におけるファイル名のバリデーションが機能していない問題を修正 ( #12923 )
...
* fix(backend): `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正
* Update CHANGELOG.md
* refactor: `!== undefined` -> `!= null`
* add test
2024-01-08 17:40:37 +09:00
Kagami Sascha Rosylight
0c2118e963
refactor: make sure promises are settled before app shutdown ( #12942 )
...
👍
2024-01-08 12:28:13 +09:00
かっこかり
6a02dfdd3b
enhance(frontend): バブルゲームの諸々を修正・改良 ( #12938 )
...
* enhance(frontend): バブルゲームのテクスチャをゲーム開始時にキャッシュするように
* (fix) カーソルが枠線内を動くように
* (add) 最大コンボ数を表示するように
* (add) 実績を追加
* Update ja-JP.yml
* tweak
* tweak flavor
* perf tweak
* refactor
* perf tweak
* lint
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-08 11:02:05 +09:00
zyoshoka
0e536bdd86
refactor(frontend): widgets/server-metric
内の型エラーを除去 ( #12937 )
2024-01-07 23:56:46 +09:00
Kagami Sascha Rosylight
2a9db983fc
feat: export clips ( #12931 )
...
* feat: export clips
* Update CHANGELOG.md
2024-01-07 10:35:58 +09:00
_
f2dee7b25e
Fix: リストライムラインの「リノートを表示」が正しく機能しない問題を修正 ( #12932 )
...
* fix: list timeline withRenotes
* add CHANGELOG
2024-01-07 09:57:01 +09:00
Chocolate Pie
072f67d6e7
feat: Add support for mCaptcha ( #12905 )
...
* feat: Add support for mCaptcha
* fix: Fix docker compose configuration
* chore(frontend/docs): update changelog & fix eslint errors
* `@mcaptcha/vanilla-glue`をダイナミックインポートするように
* chore: Add missing prefix to CHANGELOG
* refactor(backend): 適当につけた変数の名前を変更
2024-01-06 20:14:33 +09:00
riku6460
24645e3d3d
enhance(backend): ActivityPub 周りで連合先から HTTP 429 Too Many Requests を受け取った際にジョブをリトライするように ( #12917 )
...
* enhance(backend): ActivityPub 周りで HTTP 429 Too Many Requests を受け取った際にリトライするように
* add to changelog
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-06 09:40:08 +09:00
MeiMei
d415fd29a3
enhance(backend): ActivityPub Deliver queueでBodyを事前処理するように ( #12916 )
...
* Pre-processing deliver body
* CHANGELOG
* ループ内で計算されると意味がないので
* 同じ処理を同じ形に
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-01-06 09:07:48 +09:00
Marie
3c3c5e190a
upd: add tossface emojis as an option
2024-01-04 20:42:25 +01:00
かっこかり
a9127e3ecd
enhance(frontend): チャンネルノートのピン留めをノートメニューからできるように ( #12887 )
...
* enhance(frontend): チャンネルノートのピン留めをノートメニューからできるように
* Update Changelog
2024-01-03 13:35:40 +09:00
Marie
12d60ea457
upd: lower minimum wait time on reactions/delete endpoint
...
Closes #301
2024-01-03 02:21:49 +01:00
Marie
d412879560
fix: bubble state not working on federation page
2024-01-02 20:43:11 +01:00
Marie
a1a57889fc
upd: add bubble to instance federation page as state
...
Closes #296
2024-01-02 13:35:03 +01:00
Marie
81dea75eb7
upd: higher character limit for poll options
...
Limited to 150 to account for {}, "" and commas in DB column
Closes #297
2024-01-02 12:39:47 +01:00
Kagami Sascha Rosylight
09aba4cf16
chore(backend/logger): log data for every level if exists ( #12863 )
2024-01-02 16:52:51 +09:00
Marie
1805150533
fix: visibility check on masto import
...
Originally from PR #288
2023-12-31 22:41:35 +01:00
dakkar
8bc77072cb
fix: sort multiple config files
...
`globSync` doesn't guarantee the order in which it returns the
matching paths, so without the `sort()`, the config files may be
merged differently each time the server is started
2023-12-31 18:44:53 +00:00
Marie
4f2fa60a72
merge: bugfix auth-fetch ask to never cache responses ( #284 )
...
Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/284
2023-12-31 19:24:29 +01:00
Marie
3ec00398a3
fix: security with notes/show endpoint
2023-12-31 19:21:59 +01:00
Marie
233eff48f3
merge: pleroma note import - Use hashed filename for exists check ( #283 )
...
Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/283
2023-12-31 18:43:38 +01:00
Marie
b1c26201ca
upd: Note Length customization
...
note length is now configurable through the config file
Closes #281
falls back to 3000 (misskey default) if not used/included in config
2023-12-31 18:22:02 +01:00
Marie
031d748d0c
fix: /oauth/oauth to /oauth
2023-12-31 17:25:38 +01:00
dakkar
61c193c08f
lint
2023-12-31 16:17:45 +00:00
smitten
8d6d5923da
Simplify hash steps
2023-12-31 11:14:41 -05:00
smitten
327694d4cf
Use base64url digest
2023-12-31 09:13:51 -05:00
smitten
e9428a5a05
Use hex digest
2023-12-31 09:03:46 -05:00
dakkar
6d5d3d9ea1
auth-fetch: ask to never cache responses
...
I could have factored out all the lines that set cache headers, but
that would have made future merges even more complicated ☹
thanks ShittyCopper for reporting the problem!
2023-12-31 13:27:38 +00:00
Marie
b700fadbe3
upd: add home as a visibility for mastodon imports
2023-12-31 06:32:39 +01:00
Marie
07f06d7ed6
fix: if condition
2023-12-31 04:09:44 +01:00
Marie
fc6581b948
fix: correct followers visibility on import
2023-12-31 03:50:05 +01:00
Marie
667daebb79
upd: prevent vanilla mastodon imports from importing DMs
...
Also adds the visibility function to mastodon imports
2023-12-31 03:48:51 +01:00
smitten
0bb0d69543
Use hashed filename for exists check
2023-12-30 20:44:31 -05:00
tamaina
2a33981811
chore: use summaly, browser-image-resizer, and sharp-read-bmp on registry.npmjs.org instead of git ( #12856 )
...
* chore: use @misskey-dev/summaly on registry.npmjs.org instead of git
* fix backend dependency
* fic backend dependency
* @misskey-dev/sharp-read-bmp
* fix
* use @misskey-dev/browser-image-resizer
2023-12-31 09:45:35 +09:00
Trivernis
5af915e17e
Merge branch 'develop' into feature/config-dropdir
2023-12-29 20:04:22 +01:00
MomentQYC
7948018e6a
feat: Add support for TrueMail ( #12850 )
...
Co-authored-by: MarryDream <2190758465@qq.com>
2023-12-29 18:23:29 +09:00
Marie
9a9f61a6c0
fix: typecheck
2023-12-28 12:52:12 +01:00
Marie
592027cf68
merge: upstream
2023-12-28 09:54:32 +01:00
Chocolate Pie
530a282524
fix(test): CIが落ちている問題を修正 ( #12816 )
...
* fix(test): CIが落ちているのを修正
* fix(ci)?: CIの`typecheck`が落ちる問題を修正
* fix(ci): コンフィグファイルのタイポを修正
2023-12-28 09:46:46 +01:00
MomentQYC
3f60d7c44b
Add a prompt for Tor Browser users ( #12776 )
...
* perf: Add a prompt for Tor Browser users
* typo
2023-12-28 09:46:46 +01:00
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
Chocolate Pie
82822e29d9
Merge pull request from GHSA-7pxq-6xx9-xpgm
...
* fix: fix improper authorization when accessing with third-party application
* refactor: refactor type definitions
* fix: get rid of unnecessary access limitation
* enhance: サードパーティアプリケーションがWebsocket APIを使えるように
* fix: add missing parentheses
* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"
This reverts commit 5150053275
.
* frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする
* enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加
* enhance(test): Websocket APIに対するテストも追加
* enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合
* fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正
* enhance(backend): Websocketの接続に最低限必要な権限を変更
* fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように
* fix(backend): エンドポイントにアクセスするために必要な権限を変更
* fix(frontend/locale): Add missing type declaration
* chore: update `misskey-js/src/autogen`
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-12-28 09:45:54 +01:00
shiosyakeyakini
790f509ebe
fix(backend): 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 ( #12801 ) ( #12802 )
...
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-28 09:45:15 +01:00
zyoshoka
8daff4a998
refactor(frontend): Reactivityで型を明示するように ( #12791 )
...
* refactor(frontend): Reactivityで型を明示するように
* fix: プロパティの参照が誤っているのを修正
* fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
2023-12-28 09:45:15 +01:00
anatawa12
34cdba6c11
fix: 自分のdirect noteがuser list timelineに追加されない ( #12782 )
...
* fix: 自分のdirect noteがuser list timelineに追加されない
* docs(changelog): Fix: 自分のdirect noteがuser list timelineに追加されない
2023-12-28 09:43:12 +01:00
Nya Candy
6f65091cef
fix: lint ( #12761 )
2023-12-28 09:42:47 +01:00
syuilo
42cc909c5b
enhance(backend): センシティブワードの設定がハッシュタグトレンドにも適用されるように
2023-12-28 09:42:47 +01:00
Marie
1f5256b99c
upd: mute reaction notifications if thread is muted
...
Closes #263
2023-12-27 23:53:37 +01:00
trivernis
93094bcb72
Keep only the changes to loading the config files using glob patterns
2023-12-27 16:35:14 +01:00
trivernis
df7f4aa3ec
Add support for glob syntax to config file env variables
...
This change allows loading config files using glob syntax, for
exakple `production-*.yml` to load all config files prefixed with
*production*. With this change the config file can also be configured
using two additional env variables `SHARKEY_CONFIG_YML`
and `SHARKEY_CONFIG_FILE`.
2023-12-27 16:08:37 +01:00
trivernis
64d34f595c
Change loadConfig to load all yaml files in the config directory
2023-12-27 14:09:59 +01:00
Chocolate Pie
a598baaf01
fix(test): CIが落ちている問題を修正 ( #12816 )
...
* fix(test): CIが落ちているのを修正
* fix(ci)?: CIの`typecheck`が落ちる問題を修正
* fix(ci): コンフィグファイルのタイポを修正
2023-12-27 17:36:38 +09:00
MomentQYC
e0040f5da3
Add a prompt for Tor Browser users ( #12776 )
...
* perf: Add a prompt for Tor Browser users
* typo
2023-12-27 15:55:56 +09: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
Chocolate Pie
c96bc36fed
Merge pull request from GHSA-7pxq-6xx9-xpgm
...
* fix: fix improper authorization when accessing with third-party application
* refactor: refactor type definitions
* fix: get rid of unnecessary access limitation
* enhance: サードパーティアプリケーションがWebsocket APIを使えるように
* fix: add missing parentheses
* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"
This reverts commit 5150053275
.
* frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする
* enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加
* enhance(test): Websocket APIに対するテストも追加
* enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合
* fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正
* enhance(backend): Websocketの接続に最低限必要な権限を変更
* fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように
* fix(backend): エンドポイントにアクセスするために必要な権限を変更
* fix(frontend/locale): Add missing type declaration
* chore: update `misskey-js/src/autogen`
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-12-27 15:08:59 +09:00
shiosyakeyakini
9022b05fea
fix(backend): 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 ( #12801 ) ( #12802 )
...
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-26 18:42:37 +09:00
zyoshoka
75034d9240
refactor(frontend): Reactivityで型を明示するように ( #12791 )
...
* refactor(frontend): Reactivityで型を明示するように
* fix: プロパティの参照が誤っているのを修正
* fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
2023-12-26 14:19:35 +09:00
anatawa12
fd040c50b1
fix: 自分のdirect noteがuser list timelineに追加されない ( #12782 )
...
* fix: 自分のdirect noteがuser list timelineに追加されない
* docs(changelog): Fix: 自分のdirect noteがuser list timelineに追加されない
2023-12-25 11:56:00 +09:00
Marie
fd57c7e24c
merge: authorized fetch ( #247 )
...
Closes #217
2023-12-24 10:02:53 +01:00
Nya Candy
cae40e68e4
fix: lint ( #12761 )
2023-12-24 15:24:51 +09:00
syuilo
6fce36374d
enhance(backend): センシティブワードの設定がハッシュタグトレンドにも適用されるように
2023-12-24 15:23:56 +09:00
dakkar
a3dd61dec4
fix logging
2023-12-23 21:27:48 +00:00
dakkar
e6c02909c7
fix typo
...
thanks @Marie
2023-12-23 20:11:53 +00:00
Marie
53365159e8
merge: real-time updates on note detail view ( #246 )
...
Closes #223
Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/246
Reviewed-by: Marie <marie@kaifa.ch>
2023-12-23 21:00:00 +01:00
dakkar
477cda0b63
authorized fetch: log when things go wrong
2023-12-23 15:26:42 +00:00
dakkar
1984416e3e
authorized fetch: let /@instance.actor through
...
this is probably never actually used, but it still looks like a good
idea (also, FireFish does it)
thanks @ShittyKoper for noticing!
2023-12-23 15:26:42 +00:00
dakkar
e5ea882ed7
authorized fetch #217
...
the implementation is copied from the other places we already check
HTTP signatures, and cross-checked with Firefish's implementation
2023-12-23 15:26:42 +00:00
Marie
6526968f2d
fix: check
2023-12-23 16:08:04 +01:00
dakkar
683b4aafb2
real-time updates on note detail view
...
`useNoteCapture` already subscribes to all updates for a note, so
we can tell it when a note gets replied to, too
Since I'm not actually adding any extra subscription in the client,
just an extra callback, there should be no overhead when replies are
not coming in.
Also, all the timelines already call `useNoteCapture` for each note
displayed, so we know the whole `GlobalEventService` thing works fine.
Many thanks to VueJS for taking care of all the DOM complications
2023-12-23 14:09:51 +00:00
Marie
b3b89567ee
merge: upstream
2023-12-23 14:26:24 +01:00
anatawa12
2f425aa03f
fix: ブロックされててもpure RNできる ( #12758 )
...
なぜかわからないけど元々Quoteはできるようなのでそれに戻しました
2023-12-23 17:55:34 +09:00
syuilo
e852f4b60d
Revert "fix(backend): renote判定がおかしい"
...
This reverts commit f43599552f
.
2023-12-23 17:55:27 +09:00
syuilo
f43599552f
fix(backend): renote判定がおかしい
2023-12-23 17:54:29 +09:00
syuilo
6e4894c165
lint
2023-12-23 14:39:01 +09:00
GrapeApple0
5b5a537f56
feat: 登録を拒否するメールアドレスのドメインを手動で設定できるように ( #12740 )
...
* feat: 使い捨てアドレスのドメインを手動で設定できるように
* Update CHANGELOG.md
* disposableEmailDomains -> bannedEmailDomains
* isBlockedHostを使うように
2023-12-23 12:06:22 +09:00
Nya Candy
b3c4f7eddc
fix: email verify enable logic ( #12743 )
2023-12-23 11:00:14 +09:00
Marie
220344c552
fix: email validation
2023-12-23 02:15:12 +01:00
Marie
5db583a3eb
merge: upstream
2023-12-23 02:09:23 +01:00
Marie
e0155cffae
add: Custom MOTDs
...
This works almost exactly like FF's custom MOTDs with the only difference being that they get defined in the config file for performance reasons.
Closes #86
2023-12-22 13:10:21 +01:00
anatawa12
52b94dbc4a
fix: 引用RNがpure RNとして連合され、pure RNが引用RNとして連合される ( #12744 )
...
* fix: quote notes are rendered as pure renote
* fix: filesが指定されてて空配列のときにQuote扱いされる
* chore: isQuoteの仕様をmisc/is-quote.tsと揃える
* docs: is-quote.tsの方にNoteCreateService.isQuoteのことを書いて更新忘れを防ぐ
2023-12-22 14:03:39 +09:00
おさむのひと
433d46e57f
fix(backend): テストが死んでいるのを修正 ( #12738 )
...
* fix test
* fix test
* fix test
* fix test
* fix test
2023-12-22 09:06:13 +09:00
Marie
043f26c895
upd: improve performance for checking if instance is marked as NSFW on images
2023-12-21 23:15:49 +01:00
Marie
4ca3c05487
upd: make new posts be marked as NSFW if instance is marked as NSFW
...
Closes #226
2023-12-21 23:15:03 +01:00
Marie
9c6a7aed98
fix: websocket for timelines not checking following for muted instance users
...
Closes #233
2023-12-21 22:42:06 +01:00
Marie
90f8d8e575
upd: fix tag view not respecting blocks and suspensions
...
Closes #234
2023-12-21 22:24:23 +01:00
GrapeApple0
79ca93cefb
enhance: api.jsonのレスポンスの内容を実際の内容に合わせる ( #12723 )
...
* Create packedAdSchema
* admin/emoji/add
* admin/get-user-ips
* admin/roles/users
* admin/get-index-stats
* admin/accounts/find-by-email
* fix type of admin/ad/list
* federation/stats
* endpoints
* get-online-users-count
* i/2fa/register-key
* i/2fa/key-done
* i/2fa/register
* i/apps
* i/authorized-apps
* i/registry/get-all
* i/registry/get
* i/registry/get-detail
* i/registry/key-with-type
* i/registry/scopes-with-domain
* i/update-email
* i/move
* i/webhooks/create
* fix miss type
* i/webhooks/show
* i/webhooks/list
* flash/create
* roles/users
* server-info
* test
* users/lists/get-memberships
* users/achievements
* fetch-rss
* fetch-external-resources
2023-12-21 16:57:05 +09:00
anatawa12
b2254a66d3
chore: remove hashtag from featured immediately ( #12668 )
...
* chore: remove hashtag from featured immediately
* docs(changelog): ハッシュタグのトレンド除外設定が即時に効果を持つように修正
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-21 11:34:19 +09:00
syuilo
b3ab96b5ee
fix(backend): ロールアサインの通知がある状態でページをリロードすると通知欄に何もでなくなる
...
Fix #12729
2023-12-21 11:23:31 +09:00
syuilo
15b0d2aff2
enhance: ロールにアサインされたときの通知 ( #12607 )
...
* wip
* Update misskey-js.api.md
* Update CHANGELOG.md
* Update RoleService.ts
* Update locales/ja-JP.yml
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* Update UserListService.ts
* Update misskey-js.api.md
* fix (#12724 )
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2023-12-21 10:39:11 +09:00
Kagami Sascha Rosylight
4175b7809b
chore(QueueProcessorService): show error stack for failures ( #12727 )
2023-12-21 10:29:30 +09:00
Marie
cf3299312a
merge: allow themes to specify a font ( #230 )
...
Closes #225
Closes #25
2023-12-19 11:35:24 +01:00
zawa-ch
4e2d802967
enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように ( #12702 )
...
* Enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12072 )
* refactor: crowdin 編集部分のコミットを打ち消し
https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158
* refactor: オブジェクトの名前修正
https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158
* fix: 設定項目の説明を削除
名称が具体的になって必要なくなったため
https://github.com/misskey-dev/misskey/pull/12702#discussion_r1429932463
2023-12-18 20:59:20 +09:00
1STEP621
f6ff3b1f1a
Fix: Renoteの判定が間違っているのを修正 ( #12706 )
...
* RNと引用RNの判定が間違っているのを修正
* remove dump.rdb
* update CHANGELOG.md
* lint fix
2023-12-18 19:49:19 +09:00
zyoshoka
13990279c3
enhance: Unicode 15.0で新たに追加された絵文字をリアクションに使えるように ( #12683 )
2023-12-18 14:51:29 +09:00
syuilo
5150053275
fix(backend): add missing kind definition for admin endpoints to improve security
2023-12-18 12:32:26 +09:00
Marie
c92c2d065f
upd: replace mfm with sfm
2023-12-18 03:03:05 +01:00
かっこかり
fda5147d06
fix(dev): ファイルの読み込みに失敗することがあるのを修正 ( #12684 )
...
* (enhance) コード入力をMkCodeEditorに変更
* (fix) devでファイルの読み込みに失敗することがある
* Revert "(enhance) コード入力をMkCodeEditorに変更"
This reverts commit 726d56c3e962680efc5b5a166e2210d09730341f.
2023-12-16 13:23:25 +09:00
syuilo
9f49b9f4d2
fix(backend): HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"しか使えない
...
Fix #12678
2023-12-16 10:58:44 +09:00
shiosyakeyakini
3e256eee2c
Fix(backend): JSONSchemaに不足しているパラメータを追加 ( #12680 )
...
* Fix(backend): JSONSchemaに不足しているパラメータを追加
* nullable:falseに修正
---------
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-12-16 09:00:32 +09:00
anatawa12
bd4d8694dd
perf: early return users/notes and users/featured-notes if me is blocked by requesting user ( #12663 )
2023-12-15 11:24:13 +09:00
woxtu
5cc3d3c873
Remove an unnecessary type assertion ( #12666 )
2023-12-15 11:22:49 +09:00
Gianni Ceccarelli
7f2a66f262
allow a theme to specify a font - #225
2023-12-14 14:24:10 +00:00
syuilo
417852779f
enhance: アイコンデコレーションの位置を微調整できるように
2023-12-14 20:58:08 +09:00
syuilo
aedc1d0ee9
update deps
2023-12-14 13:22:12 +09:00
syuilo
37820ad572
fix(backend): モデレーションログがモデレーターは閲覧できないように修正
...
Fix #12622
2023-12-13 18:31:32 +09:00
syuilo
5472f4b934
enhance: アイコンデコレーションを複数設定できるように
2023-12-13 16:56:19 +09:00
Camilla Ett
06ca63f9c2
Fix(backend): inboxJobPerSecのデフォルト値を16から32に ( #12631 )
2023-12-13 08:14:34 +09:00
Insert5StarName
702fc6b6f7
chore: update repo links
2023-12-09 03:02:14 +01:00
ikasoba
e38af60fd0
fix: secure: true
なエンドポイントの型が misskey-js に含まれていない ( #12603 )
...
* 作った
* 修正
* 修正
2023-12-08 15:15:17 +09:00
KanariKanaru
e6d01e33e6
fix(backend): ブロックした相手から自分のノートが見えないように(/users/featured-notes, /users/notes) ( #12511 )
...
* fix: ブロックした相手から自分のノートが見えないように(ユーザー,チャンネル)
* Update CHANGELOG.md
* /users/featured-notesでもブロックを考慮するように
* cacheServiceを使うように
* /channels/timeline.tsで必要のないnoteFilterを持たないように
* Update CHANGELOG.md
* FanoutTimelineEndpointServiceへの対応
- ブロックされている場合は、/users/notesでノートが表示されない
- ミュートしている場合は、ノートが表示される
2023-12-07 18:15:38 +09:00
KanariKanaru
bcf6b7f5ee
enhance: meilisearchを有効にしてもミュートやブロックを考慮するように ( #12575 )
...
* enhance: meilisearchを有効にしてもミュートやブロックを考慮するように
* Update CHANGELOG.md
2023-12-07 17:09:31 +09:00
anatawa12
1d3ef7b42f
fix(backend): pagination with sinceId broken ( #12586 )
...
* fix(backend): pagination with sinceId broken
* fix(backend): pagination with sinceId broken for dbFallback
2023-12-07 17:07:06 +09:00
yupix
e42c91dee7
feat: Roleに関するSchemaを追加 ( #12572 )
...
* feat: Roleに関連するschemaを追加
* feat: 新しいRoleSchemaを使うように
* chore: misskey.jsのデータを更新
* chore: misskey-js.api.mdを更新
2023-12-06 15:47:57 +09:00
Mar0xy
93869a5f34
add: mark instance as NSFW
...
Closes transfem-org/Sharkey#197
2023-12-05 22:20:52 +01:00
Mar0xy
62d1cb490b
add: custom icon font
2023-12-05 22:20:51 +01:00
Marie
0de8053bc0
merge: prettier query for bubble timeline ( #204 )
2023-12-04 15:46:20 +01:00
Mar0xy
d5b598d696
fix: edit when it comes to quotes
2023-12-04 15:45:26 +01:00
dakkar
216d177997
fix the spacing
...
thanks, linter
2023-12-04 14:26:37 +00:00
dakkar
c05de08a3b
prettier query for bubble timeline
...
I *think* this works; in my test instance (with no federated notes…)
the generated query looks correct, and PostgreSQL doesn't complain.
2023-12-04 14:13:52 +00:00
anatawa12
8866c530c4
fix(backend): エポックを固定することで年越し時にトレンドが壊れる問題を修正 ( #12567 )
2023-12-04 20:33:11 +09:00
anatawa12
bb38e62ae6
chore: 自分へのリプライのみ走査するように ( #12570 )
2023-12-04 17:56:48 +09:00
yupix
33034b0e02
feat: ユーザースキーマの改善 ( #12568 )
...
* chore: notifyにenumを設定
* feat: securityKeysListの型を明確に
* feat: notificationRecieveConfigにpropertiesを定義
* chore: misskey.jsのmodelを更新
* fix: as constをつけ忘れている
2023-12-04 16:53:31 +09:00
anatawa12
18109fcef7
Filter User / Instance Mutes in FanoutTimelineEndpointService ( #12565 )
...
* fix: unnecessary logging in FanoutTimelineEndpointService
* chore: TimelineOptions
* chore: add FanoutTimelineName type
* chore: forbid specifying both withReplies and withFiles since it's not implemented correctly
* chore: filter mutes, replies, renotes, files in FanoutTimelineEndpointService
* revert unintended changes
* use isReply in NoteCreateService
* fix: excludePureRenotes is not implemented
* fix: replies to me is excluded from local timeline
* chore(frontend): forbid enabling both withReplies and withFiles
* docs(changelog): インスタンスミュートが効かない問題の修正について言及
2023-12-04 14:38:21 +09:00
Mar0xy
2f99c7e9dc
add: Bubble timeline
...
Closes transfem-org/Sharkey#154
2023-12-04 02:10:51 +01:00
Mar0xy
ec5facd09a
upd: increase cw limit
...
Closes transfem-org/Sharkey#193
2023-12-03 17:56:54 +01:00
おさむのひと
55c8ec80ed
fix (backend): 「みつける」のなかにミュートしたユーザが現れてしまう問題を修正 ( #12559 )
...
* fix (backend): 「みつける」のなかにミュートしたユーザが現れてしまう問題を修正
* fix
2023-12-03 20:46:19 +09:00
Acid Chicken (硫酸鶏)
af15f8d09d
fix(backend): reject malformed timestamp ( #12554 )
2023-12-03 14:38:42 +09:00
6543
34223f3da4
fix(backend): enhance nodeinfo by export instance admin via nodeAdmins key ( #12503 )
...
https://codeberg.org/thefederationinfo/nodeinfo_extension
2023-12-03 13:42:41 +09:00
おさむのひと
e17d741f4b
enhance(misskey-js) misskey-jsのストリーミングAPI定義をバックエンドに追従 ( #12552 )
...
* (enhance) misskey-jsのストリーミングAPI定義をバックエンドに追従
* fix ci
* fix ci
2023-12-03 12:45:18 +09:00
Nanaka Hiira
2eb86e0619
fix(backend): /emojiにおける拡張子の削除方法を修正 ( #12543 )
...
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-12-03 10:28:35 +09:00
おさむのひと
c68d87538a
リストタイムラインでミュートが貫通してしまう問題に対処 ( #12534 )
...
* ユーザリストTL系の各種動作を修正・統一
* fix
* fix CHANGELOG.md
* テスト追加
2023-12-03 10:19:37 +09:00
shiosyakeyakini
4de4a2e143
fix: withChannelNotesとwithFilesを同時に指定したときの考慮 ( #12550 )
...
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-12-03 10:18:28 +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
おさむのひと
92029ac325
fix : #12544 ( #12545 )
...
* meを渡し忘れている
* fix CHANGELOG.md
* Revert "fix CHANGELOG.md"
This reverts commit aaee4e9b8a6abf510f393bc02282f6ac016d2124.
2023-12-02 20:11:31 +09:00
MeiMei
238e8ce939
fix: Filter featured collection ( #12541 )
2023-12-02 19:32:30 +09:00
anatawa12
a631b976c9
Refine fanout timeline ( #12507 )
...
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb
* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し
* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装
* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list
* style: fix lint error
* chore: split logic to multiple functions
* chore: implement redis fallback
* chore: 成功率を上げる
* fix: db fallback not working
* feat: allowPartial
* chore(frontend): set allowPartial
* chore(backend): remove fallbackIfEmpty
HTL will never be purged so it's no longer required
* fix: missing allowPartial in channel timeline
* fix: type of timelineConfig in hybrid-timeline
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
Camilla Ett
8968bfd309
fix(backend): カスタム絵文字のインポート時の動作を修正 ( #12360 )
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 17:07:57 +09:00
anatawa12
b6b838416d
chore: remove unimplemented excludeNsfw ( #12520 )
2023-12-02 12:05:53 +09:00
anatawa12
da0ecb650e
chore: フォローしたときにHTLをパージしなくする ( #12522 )
2023-12-02 12:04:30 +09:00
Mar0xy
a707b410d0
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop
2023-11-30 23:45:25 +01:00
Mar0xy
7251f12908
upd: lower max uses per hour on import notes
2023-11-30 22:05:13 +01:00
dakkar
c958d935e4
thread Pleroma imports as well
...
I have _not_ tested this, but it should work fine, those exports are
the same shape as Mastodon's
2023-11-30 13:26:55 +00:00
dakkar
c59e74dfd5
fix chaining for Mastodon notes
...
the id / replyId are not at the top level, so now `recreateChain`
takes a list of keys to walk, not just a single key
2023-11-30 13:26:55 +00:00
dakkar
15503b96a0
properly thread Mastodon imports
2023-11-30 13:26:55 +00:00
Gianni Ceccarelli
e392d523a7
prepare to import more notes
...
`recreateChain` converts a list of notes into a forest of notes, using
notes that are not replies as roots, and replies as child nodes,
recursively.
Previously, notes that are replies to notes not included in the
export, and their children, were never put in the forest, and
therefore wheren't imported.
This can be fine when importing from Twitter, since we can't really
link a note to a tweet.
And, for the moment, it's acceptable when importing from *key, because
the export doesn't contain the instance URL, so we can't resolve ids
to remote notes.
It's less fine when importing from Mastodon / Pleroma / Akkoma,
because in those cases we _can_ link to the remote note that the user
was replying to.
This commit makes `recreateChain` optionally return "orphaned" note
trees, so in the (near) future we can use it to properly thread
imported notes from those services.
2023-11-30 13:26:55 +00:00
yupix
ca424df80e
fix: invite系の戻り値が間違っている close #12517 ( #12518 )
2023-11-30 15:56:25 +09:00
かっこかり
b05d71fabf
feat(frontend): 今日誕生日のフォロー中のユーザーを一覧表示できるウィジェットを追加 ( #12450 )
...
* (add) 今日誕生日のフォロイー一覧表示
* Update Changelog
* Update Changelog
* 実装漏れ
* create index
* (fix) index
2023-11-30 14:49:26 +09:00
Mar0xy
9383e3affd
upd: remove accidental additions
2023-11-30 04:05:11 +01:00
Mar0xy
fcbb291ef1
upd: pass a few more AP values
...
The added values are all taken from Mastodon code in hope to make editing and everything else sync better
2023-11-30 04:01:07 +01:00
Mar0xy
65a2ea6a74
upd: improve post editing on polls
...
Fixes not being able to edit post if poll expiry was set and now checks properly if poll was edited or not
2023-11-30 02:11:47 +01:00
Mar0xy
5f7fc54ee9
upd: delete emoji file from drive on emoji deletion
2023-11-29 18:45:42 +01:00
yupix
3b3b908ccd
fix: packedNoteSchemaにclippedCountが抜けている ( #12499 )
2023-11-29 08:08:06 +09:00
Mar0xy
62bcd42891
upd: create Folders for imported media
2023-11-28 22:46:10 +01:00
Mar0xy
7e2cf4238f
upd: apply 300x300 PWA icon
...
Closes transfem-org/Sharkey#165
2023-11-28 03:48:22 +01:00
anatawa12
d32631d159
fix: query error in notes/featured ( #12439 )
2023-11-26 12:54:23 +09:00
zyoshoka
2ee48ae04d
fix(backend): ギャラリーの人気の投稿の選出にidを用いるように ( #12448 )
2023-11-26 10:05:56 +09:00
zyoshoka
7a494b2aa7
fix(backend): rename FunoutTimelineService to FanoutTimelineService ( #12453 )
2023-11-26 10:02:22 +09:00
zyoshoka
3e0231d995
fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正 ( #12455 )
...
* fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正
* Update CHANGELOG.md
* add test
* fix: incorrect bob's username
2023-11-26 10:01:06 +09:00
Marie
5131a3414d
fix: correct acctUri
2023-11-25 21:02:41 +01:00
Marie
a5fccab128
upd: provide uri on accounts
2023-11-25 20:59:21 +01:00
Mar0xy
7ba8529141
fix: importing remote emojis with used name
...
Closes transfem-org/Sharkey#164
2023-11-24 18:19:01 +01:00
yukineko
252efe8252
fix: 特定の条件下でチャンネルやユーザーのノート一覧に最新のノートが表示されなくなる問題を修正 ( #12431 )
...
* fix: 特定の条件下でチャンネルやユーザーのノート一覧に最新のノートが表示されなくなる問題を修正
* update: CHANGELOG.md
2023-11-24 20:19:46 +09:00
anatawa12
536f08c401
fix: hard mute limit not applied ( #12428 )
...
* fix: hard mute limit not applied
* Update CHANGELOG.md
2023-11-24 15:09:25 +09:00
woxtu
f7bdf5a2c0
Replace deprecated Repository.findOneById()
( #12426 )
2023-11-24 09:48:36 +09:00
Mar0xy
04dbf7ebe9
chore: replace icons, change errors
2023-11-23 19:22:34 +01:00
かっこかり
ed6f866a4f
enhance/fix(AP/frontend): 最近追加されたMFMのもろもろを修正 ( #12420 )
...
* (enhance) MFM rubyが連合されるように
* Update Changelog
* Update Changelog
* (fix) unixtimeのフォールバック (AP)
* (fix) unixtimeのフォールバック (frontend)
* Update Changelog
2023-11-23 19:49:45 +09:00
かっこかり
4a2a44831b
fix(backend): 招待コードが使い回せる問題を修正 ( #12423 )
...
* (fix) 招待コードを一度のみ利用できるように
* Update Changelog
2023-11-23 19:34:14 +09:00
anatawa12
864827f788
Hard mute ( #12376 )
...
* feat(backend,misskey-js): hard mute storage in backend
* fix(backend,misskey-js): mute word record type
* chore(frontend): generalize XWordMute
* feat(frontend): configure hard mute
* feat(frontend): hard mute notes on the timelines
* lint(backend,frontend): fix lint failure
* chore(misskey-js): update api.md
* fix(backend): test failure
* chore(frontend): check word mute for reply
* chore: limit hard mute count
2023-11-23 18:56:20 +09:00
Mar0xy
42bf8e5e76
merge: upstream
2023-11-22 23:40:27 +01:00
Mar0xy
81c36908d9
fix: attachments not working on FB import
2023-11-22 19:02:43 +01:00
Mar0xy
d078a72f38
upd: add Facebook
to note importing
2023-11-22 16:00:46 +01:00
syuilo
b15f293b82
fix lint, resolve code smell
...
Co-Authored-By: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2023-11-22 18:46:27 +09:00
おさむのひと
c284d41b5b
swagger-cli validateがvalidとなるapi.jsonを作れるようにする ( #12403 )
...
* api.jsonがswagger-cli validateでエラーにならないように生成ロジックを修正
* フィールドの消し方に不備があったので変更
* バックエンドを起動しなくてもapi.jsonを作れるようにした
* deepCopyしてからレスポンス部分を作るようにした
* fix CHANGELOG.md
* securitySchemesの定義を復活&ApiCallServiceの実装的にベアラトークンなのでその形で
* bodyが無い(空オブジェクト)のときはrequestBodyを描画しないようにする
* allowGetがtrueな項目はget用の記載も作成
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-22 17:08:56 +09:00
皐月なふ (Nafu Satsuki)
18bdec9641
fix: verifymail.io APIの設定項目が反映されない ( #12399 )
2023-11-22 10:13:46 +09:00
Mar0xy
cb9cbc8f15
chore: remove unused type
2023-11-21 22:23:55 +01:00
Mar0xy
3f86903cae
upd: use Meilisearch for file type searching
2023-11-21 22:23:01 +01:00
nenohi
481bca4cf2
広告掲載ページにてfilterをわかりやすく ( #12385 )
2023-11-21 19:50:06 +09:00
おさむのひと
b3d1cc9525
サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない ( #12391 )
...
* サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない
* Fix CHANGELOG.md
* lastUsedAtの更新に不備が出るので修正
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-21 15:32:34 +09:00
おさむのひと
b5be0e5780
note.tsのchannelを正しい形にしたことにより表出化した型チェックエラーを修正 ( #12395 )
...
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-21 15:12:05 +09:00
おさむのひと
8bd9077f77
json-schema配下の最新化 ( #12312 )
...
* user.ts、page.ts、drive-folder.tsを各EntityServiceの戻り値をもとに最新化
* 再確認
* fix error
* note以外の残りのファイルを対応
* fix CHANGELOG.md
* fix CHANGELOG.md
* fix user.ts
* fix user.ts
* コメント対応
* fix note.ts
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-21 11:13:56 +09:00
syuilo
ed0cc443ea
fix(backend): ロールタイムラインが保存されない問題を修正
2023-11-21 09:55:49 +09:00
syuilo
b65fd34981
tweak of 2b6f789a5b
2023-11-19 10:18:57 +09:00
Nafu Satsuki
2b6f789a5b
feat(moderation): モデレーターがユーザーのアイコンもしくはバナー画像を未設定状態にできる機能を追加 (MisskeyIO#222)
...
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2023-11-18 21:07:47 +09:00
syuilo
30dc6e691d
lint fix
2023-11-18 21:04:00 +09:00
Nafu Satsuki
0a73973a7c
メールアドレスの認証にverifymail.ioを使えるようにする。
2023-11-18 21:01:53 +09:00
Mar0xy
19fc5a74f0
merge: improve recreateChain
...
Resolves #159
2023-11-18 12:38:13 +01:00
Mar0xy
4929467016
upd: import own replies to own tweets
2023-11-17 20:10:16 +01:00
Mar0xy
55ef4c4d93
upd: completely change handling of indexable
2023-11-17 15:05:58 +01:00
Mar0xy
902e5a81f9
fix: pinned being set to null causing errors in masto api
2023-11-17 14:05:36 +01:00
Mar0xy
2267f5a619
upd: change indexable
value to noindex
...
As described in https://docs.joinmastodon.org/entities/Account/#noindex
2023-11-17 13:58:06 +01:00
Mar0xy
1a78ed400c
upd: remove event stream calls on import
2023-11-17 13:49:12 +01:00
syuilo
4b3f9bd9a6
enhance(backend): MFMのunixtimeをISO形式で連合するように
2023-11-17 15:44:36 +09:00
Mar0xy
a3fd51d6e0
upd: change the way likes get handled
2023-11-16 23:47:44 +01:00
Mar0xy
5af274ef0a
upd: register contentParser
2023-11-16 20:21:33 +01:00
Mar0xy
67dceab22e
fix: errors
2023-11-16 20:08:16 +01:00
Mar0xy
2fae63fe15
upd: add multipart support to oauth/token
2023-11-16 20:04:19 +01:00
Mar0xy
6ca27b48cf
upd: add multipart/form support to a few mastodon endpoints
2023-11-16 19:45:54 +01:00
おさむのひと
1eb769dbe8
LTLに特定条件下でチャンネル投稿が混ざり込む現象の修正 ( #12347 )
...
* LTLにチャンネル投稿を含まないように修正
* fix CHANGELOG.md
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-16 16:02:46 +09:00
syuilo
9d78a1a8b3
enhance(backend): make ftt db fallback configurable
2023-11-16 10:20:57 +09:00
Mar0xy
8779c0defd
chore: replace misskey_app
with sharkey_app
2023-11-15 23:52:09 +01:00
Mar0xy
572fe7d8e7
upd: replace default error images
2023-11-15 23:47:29 +01:00
syuilo
ca81f0ddbb
fix(backend): 追加情報のカスタム絵文字がユーザー情報のtagに含まれない問題を修正
...
Fix #12316
2023-11-15 16:17:21 +09:00
syuilo
be6778ac61
chore(backend): improve performance
2023-11-15 16:10:05 +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
zyoshoka
aa6d0d4359
fix(backend): 非公開の投稿に対して返信できないように ( #12333 )
...
* fix(backend): 非公開の投稿に対して返信できないように
* Update CHANGELOG.md
* fix: test
2023-11-15 11:10:45 +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
2d2eefe3d4
feat: メールアドレスを使用してユーザー名を割り出す機能
...
Resolve #10158
2023-11-14 07:58:18 +09:00
Mar0xy
e4bd74183f
chore: remove type in DbNoteImportToDbJobData
2023-11-13 13:09:21 +01:00
Mar0xy
6f76a3a1f8
upd: import replies to own posts on *key
2023-11-13 13:07:49 +01:00
Mar0xy
9b3993a652
fix: prevent *key renotes/boosts from being imported
...
Stop renotes/boosts from *key from being imported due to missing functionality of getting the related posts
2023-11-13 10:25:39 +01:00
おさむのひと
e1cc95d308
ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正 ( #12321 )
...
* ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正
* fix CHANGELOG.md
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-13 09:27:37 +09:00
Mar0xy
6170461dc5
upd: add additional checks for akkoma and pleroma
2023-11-12 22:27:20 +01:00
Mar0xy
5c38e6b824
add: custom like emoji per instance, fix like
...
This fixes the fact that likes on mastodon didn't get federated properly and let's instance admins choose a custom emoji
2023-11-12 22:16:47 +01:00
Mar0xy
1f8c12b984
fix: use a proper function
2023-11-12 18:19:44 +01:00
Mar0xy
8cad8f0ae5
fix: broken unicode in strings on IG imports
2023-11-12 18:12:39 +01:00
Mar0xy
486a2ad839
upd: remove unused function, fix logger message
2023-11-12 18:01:39 +01:00
Mar0xy
bc25b28a4e
fix: cleanup not available on development env
2023-11-12 17:32:24 +01:00
Mar0xy
b7fc13efb7
upd: pass full thinuser
2023-11-12 15:48:28 +01:00
Mar0xy
2d1e8ee44d
upd: update limit
2023-11-12 15:37:36 +01:00
Mar0xy
de9ea4d9f1
fix: type
2023-11-12 15:16:27 +01:00
Mar0xy
83f328de8a
add: Importing of Posts
...
- Supports Instagram, Mastodon/Pleroma/Akkoma, Twitter and *key
2023-11-12 15:12:42 +01:00
Mar0xy
4f0e0f067e
upd: set file user to system when adding emoji
...
Prevents cluttering of user's drive and fits the custom emoji import which sets the user as system
2023-11-12 14:00:35 +01:00
atsuchan
50430e310a
Fix: latestRequestReceivedAt ( #12270 )
2023-11-11 14:51:29 +09:00
Mar0xy
d94b1c3fe0
chore: lint
2023-11-09 15:07:23 +01:00
Mar0xy
885800ee5e
revert: deletion of oauth.pug
2023-11-09 15:06:57 +01:00
Mar0xy
fdb36f1d96
fix: oauth/authorize and token showing error page
2023-11-09 15:00:38 +01:00
Mar0xy
fd51854670
revert: trending support for redis 6.3
...
It seems this change has caused redis to periodically crash on big instances
2023-11-09 14:51:19 +01:00
GrapeApple0
28e394eddc
fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないように ( #12263 )
...
* fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないように
* Update CHANGELOG.md
2023-11-09 21:35:07 +09:00
Nya Candy
e2cac3d949
fix: show real instance url ( #12273 )
...
* Update CHANGELOG.md
* fix: show real instance url
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: nenohi <kimutipartylove@gmail.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
Co-authored-by: FineArchs <133759614+FineArchs@users.noreply.github.com>
2023-11-09 21:21:39 +09:00
Mar0xy
49e3a31bba
fix: not starting due to duplicate endpoint
2023-11-08 22:55:18 +01:00
Mar0xy
0087bc3ace
test: oauth/authorize on api endpoint
2023-11-08 22:45:40 +01:00
Mar0xy
c5008452c1
fix: oauth/authorize not working
2023-11-08 22:18:28 +01:00
Mar0xy
88da6f16a9
upd: add oauth decision endpoint
2023-11-08 21:11:54 +01:00
zyoshoka
2834e54e78
fix(backend): make token nullable ( #12280 )
2023-11-08 21:10:41 +09:00
Mar0xy
04657c14c7
upd: remove leftover nsfw ai option
2023-11-07 19:23:58 +01:00
Mar0xy
9cd2759769
feat: isIndexable
2023-11-07 19:16:57 +01:00
Mar0xy
53f2089116
fix: lastReceivedAt always being N/A
2023-11-07 18:30:04 +01:00
Mar0xy
ccd3789cc6
fix: plugin uninstall throwing error
2023-11-07 18:22:52 +01:00
Mar0xy
d85cf658ca
upd: export headers used during signin
2023-11-07 18:18:04 +01:00
Mar0xy
42a5d473e5
upd: remove remaining parts of tw
2023-11-07 17:10:27 +01:00
Mar0xy
42ecde475e
upd: add IPs to data export
2023-11-07 12:20:46 +01:00
Mar0xy
fabb876256
upd: send email on export completion
2023-11-07 11:31:11 +01:00
Mar0xy
e9b6ed941b
add: endpoint and processor for account data export
2023-11-07 03:31:47 +01:00
Marie
ecf63c4333
merge: remove tensorflow, AiService ( #140 )
2023-11-05 14:42:15 +01:00
ShittyKopper
36c136cfd2
upd: remove more traces of sensitiveMediaDetection
...
kept the api endpoint props just to stay compatible with clients that
expect them to be there. they are unused and won't get saved
2023-11-05 16:28:55 +03:00
Mar0xy
e50ac8ccc7
fix: withreplies not being applied to DB fallback
2023-11-05 13:25:35 +01:00
Mar0xy
35b3ac228c
merge: upstream
2023-11-05 11:19:03 +01:00
ShittyKopper
2eda00d9b9
upd: rip out AiService
2023-11-05 11:55:19 +03:00
Marie
2cce28533f
fix(backend): isBot not being set on Application
type ( #12248 )
...
* fix: bot not being set on all relays
* updatePerson missing the change
* chore: replace wrong word with correct word
2023-11-05 10:22:10 +09:00
syuilo
c2ddb649f8
enhance: 非通知なお知らせを作成できるように
2023-11-05 09:04:38 +09:00
syuilo
bdbb3266ae
fix(backend): アーカイブしたお知らせがコントロールパネルに表示される問題を修正
2023-11-05 09:04:03 +09:00
Mar0xy
647e76ab36
merge: upstream
2023-11-04 14:32:28 +01:00
ozelot
1e737dbb94
fix(backend): GTLの「リノートを表示」オプションが機能しないのを修正 ( #12234 )
...
* fix(backend): GTLの「リノートを表示」オプションが機能しないのを修正 (#12233 )
* docs: Update changelog
* Apply suggestions from code review
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-04 18:45:59 +09:00
Mar0xy
7c480424a6
merge: upstream
2023-11-03 15:35:12 +01:00
おさむのひと
39a3f4ae98
feat: チャンネル内→チャンネル外へのリノート制限機能追加 ( #12230 )
...
* チャンネル内→チャンネル外へのリノート制限機能追加
* fix CHANGELOG.md
* コメント対応(canRenoteSwitch→allowRenoteToExternal)
* コメント対応(別チャンネルへのリノート対策)
* コメント対応(canRenote->allowRenoteToExternal)
* fix comment
* Update misskey-js.api.md
* ✌️
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 17:34:23 +09:00
かっこかり
24e629ca5c
enhance: 初期設定とチュートリアルを統合 ( #12141 )
...
* better onboarding experience
* enhance: iroiro
* (add) title
* (enhance) 戻る・次へボタンを全ページでstickyに
* fix merging
* (add) iroiro
* remove unnecessary file
* Update CHANGELOG.md
* tweak texts
* (fix) reactionViewer mock
* change strings
* Update MkTutorialDialog.Note.vue
* Update ja-JP.yml
* (fix) reactionViewer error
* (fix) path
* refactor
* fix
* Update MkPostForm.vue
* Update ja-JP.yml
* Update ja-JP.yml
* tweak text
* Update ja-JP.yml
* Update ja-JP.yml
* Update ja-JP.yml
* (add) achivement
* (add) もう一度見れますよメッセージを追加
* Revert "feat: レジストリAPIをサードパーティから利用可能に (#12229 )"
This reverts commit 79346272f8
.
* Revert "(add) もう一度見れますよメッセージを追加"
This reverts commit 6123b35215133f0d5e5db356bb43f4acbafab8fa.
* Revert "Revert "feat: レジストリAPIをサードパーティから利用可能に (#12229 )""
This reverts commit bae684e484ef99308d7ac816a822047117efe1c6.
* tweak
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 15:35:07 +09:00
yukineko
025ae436b5
enhance: アカウント登録時のメールアドレス認証に30分の有効期限を設定 ( #12221 )
...
* add: metaにemailVerificationExpiresInを追加
* enhance: 招待コード使用時, メアド認証時に認証期限を確認するように
* add: クライアント側に実装
* update: CHANGELOG.md
* add: コメントを追加
* Revert "add: metaにemailVerificationExpiresInを追加"
This reverts commit ceb6ccff51a406bfd87b4da6c59401ce5551dd95.
* Revert "add: コメントを追加"
This reverts commit 7ee301c3eed4ded295490a6614650a3720317772.
* change(client): メール認証の有効期限を30分で固定するように変更
* change(backend): メール認証の有効期限を30分で固定するように変更
* update: CHANGELOG.md
2023-11-03 14:54:28 +09:00
anatawa12
3e00b32fae
build: port vite port configuration ( #12223 )
2023-11-03 13:34:57 +09:00
syuilo
0efacdfcf0
fix cw test
2023-11-03 13:26:48 +09:00
syuilo
79346272f8
feat: レジストリAPIをサードパーティから利用可能に ( #12229 )
...
* wip
* wip
* Update remove.ts
* refactor
2023-11-03 13:23:03 +09:00
syuilo
82526ad4f3
CWを使用する場合、注釈を空にすることを許可しない
...
Resolve #12217
2023-11-03 08:17:35 +09:00
Mar0xy
4da9d94a16
fix: replies showing if not set to show replies
2023-11-03 00:12:54 +01:00
Mar0xy
a8b4689501
upd: add modplayer
2023-11-02 23:14:36 +01:00
dakkar
219c7fa6ec
always preserve old text when editing a note
...
before this change:
* create a note, with text
* `note` has a row with the text
* `note_edit` doesn't have any matching row
* edit the note, removing all the text
* the row in `note` has the new, empty, text
* `note_edit` has a matching row, but its `oldText` is NULL
so the original text is lost
after this change, the row in `note_edit` always keeps the previous
text
2023-11-02 14:28:23 +00:00
syuilo
f62ad3ed3e
feat: notification grouping
...
Resolve #12211
2023-11-02 15:57:55 +09:00
ShittyKopper
72204d9294
Revert "prototype: decreased rounding"
...
This reverts commit 7a51e2d404
.
2023-11-01 21:43:26 +03:00
ShittyKopper
e1844db11b
upd: add corner roundness setting
2023-11-01 21:43:26 +03:00
Mar0xy
d252dc3d93
upd: apply same changes to featured
2023-11-01 15:00:24 +01:00