5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-15 06:08:18 +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 self.priority = 30
def perform(remote_flag:) def perform(remote_flag:)
return if remote_flag.can_queue? return if remote_flag.may_queue?
remote_flag.queue! remote_flag.queue!

View file

@ -37,7 +37,7 @@ class ActorModeration < ApplicationRecord
before do before do
allow_remotely! 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
end end

View file

@ -13,12 +13,11 @@ class DeploySocialDistributedPress < Deploy
key = Shellwords.escape file.path key = Shellwords.escape file.path
dest = Shellwords.escape destination 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 end
create_hooks!
enable_fediblocks!
end end
# Igual que DeployLocal # Igual que DeployLocal