Commit Graph

27867 Commits

Author SHA1 Message Date
Daiki Mizukami 0d508db8a7
fix(backend): check visibility of following/followers of remote users / feat: moderators can see following/followers of all users (#14375)
* fix(backend): check visibility of following/followers of remote users

Resolves https://github.com/misskey-dev/misskey/issues/13362.

* test(backend): add tests for visibility of following/followers of remote users

* docs(changelog): update CHANGELOG.md

* feat: moderators can see following/followers of all users

* docs(changelog): update CHANGELOG.md

* refactor(backend): minor refactoring

`createPerson`と`if`の条件を統一するとともに、異常系の
処理をearly returnに追い出すための変更。

* feat(backend): moderators can see following/followers count of all users

As per https://github.com/misskey-dev/misskey/pull/14375#issuecomment-2275044908.
2024-08-09 12:10:51 +09:00
anatawa12 f244d42500
ci: change prerelease channels to alpha, beta, and rc (#14376) 2024-08-09 12:05:28 +09:00
syuilo 820becb4e4
fix import 2024-08-09 10:51:18 +09:00
syuilo 6e3e7d7df1 Update about-misskey.vue 2024-08-08 20:22:25 +09:00
dakkar 01958da57f merge: fix webfinger for instances without a `/host-meta` (!593)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/593

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 20:49:11 +00:00
dakkar 9672f0b48e fix comparison (thanks linter) 2024-08-06 21:21:38 +01:00
dakkar 03d9288f44 fix spacing (thanks linter) 2024-08-06 21:21:29 +01:00
dakkar f33aedfc9f merge: fix env variable type (!592)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/592

Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-08-06 19:41:26 +00:00
dakkar 652a8c5110 fix spacing 2024-08-06 20:33:25 +01:00
dakkar ae12e216ab remove useless semicolon 2024-08-06 20:32:34 +01:00
dakkar 87deb87456 put back bits that were lost in the merge 2024-08-06 20:32:03 +01:00
dakkar 51b031d3fc avoid double spaces 2024-08-06 20:30:14 +01:00
dakkar 8a37ed668e fix variable name is MkMediaList 2024-08-06 20:28:50 +01:00
dakkar 4c409dd6c6 fix comparison (thanks linter) 2024-08-06 19:51:11 +01:00
dakkar e9255d45f8 fix spacing (thanks linter) 2024-08-06 19:23:03 +01:00
dakkar 8d29df64fa fix webfinger for instances without a `/host-meta`
we were inconsistent with the colons, thanks to usedbunny for
noticing!
2024-08-06 19:07:01 +01:00
dakkar 65ae788d90 update our icons to the new custom font
mostly, `ph-bold` was replacing the font-family, so we're now using
`sk-icons-lg`
2024-08-06 18:05:15 +01:00
dakkar 94dceb9e15 Merge branch 'develop' into feature/misskey-2024.07 2024-08-06 17:51:51 +01:00
dakkar 4e7df7a5f2 merge: Remove infinite caches to prevent memory leak (!587)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/587

Closes #600 and #601

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 16:51:18 +00:00
dakkar 790c75b1a3 merge: Add icon for moving files/folders - for !583 (!586)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/586

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 16:33:17 +00:00
Hazel K 9930c64f2d Fix timeout comments
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-06 12:13:17 -04:00
Marie e82cc99528 chore: remove space 2024-08-06 15:59:24 +00:00
Marie 1033436349 chore: add note about updating css and font files 2024-08-06 15:58:56 +00:00
Marie d798809875 upd: add back in timestamps on src 2024-08-06 15:54:18 +00:00
Marie 45611e504c chore: fix positioning in contributing 2024-08-06 15:43:15 +00:00
Marie 6d7cebb61c chore: add icon font to contributing 2024-08-06 15:39:19 +00:00
Marie 9d4d2a1fad upd: align font with new repo 2024-08-06 15:35:52 +00:00
dakkar 2f97b5976f merge: use `XMLSerializer` for `toMastoApiHtml` - fixes #556 (!591)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/591

Closes #556

Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 14:09:35 +00:00
dakkar f85e8a4278 appease the linter 2024-08-06 11:42:03 +01:00
dakkar 9de422280f merge: feat: implement `attachLdSignatureForRelays` to control signing of Relayed activities (#599) (!579)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/579

Closes #599

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:40:14 +00:00
dakkar d899eb30b1 merge: delete old emoji file when replaced - fixes #608 (!589)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/589

Closes #608

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:39:41 +00:00
dakkar 5c3a4925d6 merge: Improve the check_connect script (!588)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/588

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:39:27 +00:00
dakkar 5565985f84 appease the linter 2024-08-06 11:35:03 +01:00
dakkar 8afe46122d fix type for env variable 2024-08-06 11:32:26 +01:00
dakkar cb5de3fbfc fix type for env variable 2024-08-06 11:24:43 +01:00
dakkar 151470d882 make "media silenced" work like "silenced"
that is, silencing `foo.com` also silences `sub.foo.com`
2024-08-06 11:14:24 +01:00
dakkar 02748edd17 remove spurious `.then()` 2024-08-06 11:03:09 +01:00
dakkar 6379deb5a7 fail `AbuseReportService.resolve` harder without remote users
as @fEmber noticed, if `findOneByOrFail` throws, we would have marked
the report as resolved, without logging that

this way, the whole operation fails (the frontend should not send us
ids of users that can't be resolved!)
2024-08-06 11:01:18 +01:00
dakkar dadf6496d1 remove double spaces from translations 2024-08-06 10:39:43 +01:00
dakkar 34c1e9ea2b Merge branch 'develop' into feature/misskey-2024.07
fixing conflicts in `package.json`
2024-08-06 10:35:14 +01:00
dakkar 712af44de4 merge: don't send real-time updates of replies to blocked users #457 #573 (!566)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/566

Approved-by: Tess K <me@thvxl.se>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:26:40 +00:00
dakkar f936db0599 merge: use correct user for preview/link of collapsed parent - fixes #575 (!581)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/581

Closes #575

Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:23:30 +00:00
dakkar 76a966041f merge: Fall back to port 3000 if none is specified (!584)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/584

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:23:08 +00:00
dakkar b93494d746 merge: make sure that `sensitive` is a boolean - fixes #596 (!590)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/590

Closes #596

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 09:20:53 +00:00
dakkar 61c13241ba use `XMLSerializer` for `toMastoApiHtml` - fixes #556
the `inline` bit is not pretty, but does the job
2024-08-06 10:13:53 +01:00
4censord 0386e52d6f
Impove the check_connect script 2024-08-06 00:35:35 +02:00
dakkar 58d329e3bd make sure that `sensitive` is a boolean - fixes #596
Some remote instances may send garbage. If the `sensitive` value
passed to `driveService.uploadFromUrl` is not a boolean, eventually
we'll get an exception from the database complaining about that. This
change avoids that problem.
2024-08-05 10:12:27 +01:00
dakkar 1e86cba7dc delete old emoji file when replaced - fixes #608
it's the same code that 5f7fc54ee9 added
to `delete` and `deleteBulk`, with the extra check that we're not
deleting the same file we're setting
2024-08-05 09:27:06 +01:00
dakkar 265afa9097 merge: allow overriding more config settings via env vars (!585)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/585

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-08-05 08:01:20 +00:00
Hazel K ba09338268 optimize cache GC by stopping early 2024-08-04 09:58:01 -04:00