5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-15 02:18:19 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-12 20:45:37 +00:00
commit 322b5c1fd2
3 changed files with 6 additions and 7 deletions

View file

@ -13,7 +13,7 @@ class ActivityPub
self.priority = 30
def perform(remote_flag:)
return if remote_flag.can_queue?
return if remote_flag.may_queue?
remote_flag.queue!

View file

@ -37,7 +37,7 @@ class ActorModeration < ApplicationRecord
before do
allow_remotely!
site.activity_pubs.paused.where(actor_id: self.actor_id).allow_all!
site.activity_pubs.paused.where(actor_id: self.actor_id).approve_all!
end
end

View file

@ -13,12 +13,11 @@ class DeploySocialDistributedPress < Deploy
key = Shellwords.escape file.path
dest = Shellwords.escape destination
run %(bundle exec jekyll notify --trace --key #{key} --destination "#{dest}"), output: output
run(%(bundle exec jekyll notify --trace --key #{key} --destination "#{dest}"), output: output).tap do |_|
create_hooks!
enable_fediblocks!
end
end
create_hooks!
enable_fediblocks!
end
# Igual que DeployLocal