Merge pull request #4399 from pixelfed/staging

Staging
This commit is contained in:
daniel 2023-05-21 01:54:24 -06:00 committed by GitHub
commit 7b5949f55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -45,6 +45,7 @@
- Update ProfileController, require login to view spam accounts, and disable profile embeds and atom feeds for spam accounts ([dd2f5bb9](https://github.com/pixelfed/pixelfed/commit/dd2f5bb9)) - Update ProfileController, require login to view spam accounts, and disable profile embeds and atom feeds for spam accounts ([dd2f5bb9](https://github.com/pixelfed/pixelfed/commit/dd2f5bb9))
- Update Settings, allow users to disable atom feeds ([3662d3de](https://github.com/pixelfed/pixelfed/commit/3662d3de)) - Update Settings, allow users to disable atom feeds ([3662d3de](https://github.com/pixelfed/pixelfed/commit/3662d3de))
- Update ApiV1Controller, filter muted/blocked accounts from tag timeline ([f42c1140](https://github.com/pixelfed/pixelfed/commit/f42c1140)) - Update ApiV1Controller, filter muted/blocked accounts from tag timeline ([f42c1140](https://github.com/pixelfed/pixelfed/commit/f42c1140))
- Update admin moderation logic, only re-add top level posts ([c6ffda96](https://github.com/pixelfed/pixelfed/commit/c6ffda96))
- ([](https://github.com/pixelfed/pixelfed/commit/)) - ([](https://github.com/pixelfed/pixelfed/commit/))
## [v0.11.6 (2023-05-03)](https://github.com/pixelfed/pixelfed/compare/v0.11.5...v0.11.6) ## [v0.11.6 (2023-05-03)](https://github.com/pixelfed/pixelfed/compare/v0.11.5...v0.11.6)

View file

@ -1138,8 +1138,10 @@ trait AdminReportController
StatusService::del($status->id); StatusService::del($status->id);
StatusService::get($status->id); StatusService::get($status->id);
if($status->in_reply_to_id == null && $status->reblog_of_id == null) {
PublicTimelineService::add($status->id); PublicTimelineService::add($status->id);
} }
}
if($action == 'mark-all-read') { if($action == 'mark-all-read') {
AccountInterstitial::whereType('post.autospam') AccountInterstitial::whereType('post.autospam')

View file

@ -800,11 +800,15 @@ class ApiV1Dot1Controller extends Controller
StatusService::del($status->id, true); StatusService::del($status->id, true);
if($state !== 'public') { if($state !== 'public') {
if($status->uri) { if($status->uri) {
if($status->in_reply_to_id == null && $status->reblog_of_id == null) {
NetworkTimelineService::add($status->id); NetworkTimelineService::add($status->id);
}
} else { } else {
if($status->in_reply_to_id == null && $status->reblog_of_id == null) {
PublicTimelineService::add($status->id); PublicTimelineService::add($status->id);
} }
} }
}
} else if ($action == 'mark-unlisted') { } else if ($action == 'mark-unlisted') {
$state = $status->scope; $state = $status->scope;
$status->scope = 'unlisted'; $status->scope = 'unlisted';