mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-18 23:59:34 +00:00
Update translation files
Updated by "Squash Git commits" hook in Weblate. Translation: Pleroma fe/Akkoma Backend (Config Descriptions) Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-config-descriptions/
This commit is contained in:
parent
99d660c9ad
commit
eba3cce77b
|
@ -103,7 +103,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Rich media will now hard-exit after 5 seconds, to prevent timeline hangs
|
- Rich media will now hard-exit after 5 seconds, to prevent timeline hangs
|
||||||
- HTTP Content Security Policy is now far more strict to prevent any potential XSS/CSS leakages
|
- HTTP Content Security Policy is now far more strict to prevent any potential XSS/CSS leakages
|
||||||
- Follow requests are now paginated, matches mastodon API spec, so use the Link header to paginate.
|
- Follow requests are now paginated, matches mastodon API spec, so use the Link header to paginate.
|
||||||
- `internal.fetch` and `relay` actors are now represented with the actor type `Application`
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- /api/v1/accounts/lookup will now respect restrict\_unauthenticated
|
- /api/v1/accounts/lookup will now respect restrict\_unauthenticated
|
||||||
|
|
|
@ -2010,7 +2010,6 @@ defmodule Pleroma.User do
|
||||||
%User{
|
%User{
|
||||||
invisible: true,
|
invisible: true,
|
||||||
local: true,
|
local: true,
|
||||||
actor_type: "Application",
|
|
||||||
ap_id: uri,
|
ap_id: uri,
|
||||||
nickname: nickname,
|
nickname: nickname,
|
||||||
follower_address: uri <> "/followers"
|
follower_address: uri <> "/followers"
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
defmodule Pleroma.Repo.Migrations.InstanceActorsToActorTypeApplication do
|
|
||||||
use Ecto.Migration
|
|
||||||
|
|
||||||
def up do
|
|
||||||
execute("""
|
|
||||||
update users
|
|
||||||
set actor_type = 'Application'
|
|
||||||
where local
|
|
||||||
and (ap_id like '%/relay' or ap_id like '%/internal/fetch')
|
|
||||||
""")
|
|
||||||
end
|
|
||||||
|
|
||||||
def down do
|
|
||||||
execute("""
|
|
||||||
update users
|
|
||||||
set actor_type = 'Person'
|
|
||||||
where local
|
|
||||||
and (ap_id like '%/relay' or ap_id like '%/internal/fetch')
|
|
||||||
""")
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -19,12 +19,6 @@ defmodule Pleroma.Web.ActivityPub.RelayTest do
|
||||||
assert user.ap_id == "#{Pleroma.Web.Endpoint.url()}/relay"
|
assert user.ap_id == "#{Pleroma.Web.Endpoint.url()}/relay"
|
||||||
end
|
end
|
||||||
|
|
||||||
test "relay actor is an application" do
|
|
||||||
# See <https://www.w3.org/TR/activitystreams-vocabulary/#dfn-application>
|
|
||||||
user = Relay.get_actor()
|
|
||||||
assert user.actor_type == "Application"
|
|
||||||
end
|
|
||||||
|
|
||||||
test "relay actor is invisible" do
|
test "relay actor is invisible" do
|
||||||
user = Relay.get_actor()
|
user = Relay.get_actor()
|
||||||
assert User.invisible?(user)
|
assert User.invisible?(user)
|
||||||
|
|
Loading…
Reference in a new issue